Electronic device for performing frequency calibration, and operating method thereof
The electronic device addresses frequency discrepancies by storing correction values and adjusting frequencies based on a threshold, ensuring stable connections and GPS performance when switching between base stations.
Patent Information
- Application Number
- PCT/KR2025/095397
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-03
- Filing Date
- 2025-06-12
- Publication Date
- 2026-01-29
AI Technical Summary
Electronic devices experience excessive frequency corrections when switching between base stations, leading to connection failures and degraded GPS performance due to significant frequency differences, which can prevent radio frequency communication.
The electronic device stores correction values for frequency calibration and performs adjustments based on a threshold value to compensate for frequency differences when connecting to new base stations, using a clock generation circuit and processor to determine and correct frequency discrepancies.
This approach ensures stable connections by correcting frequency differences, preventing communication failures and maintaining GPS performance by adjusting frequency calibration based on stored correction values.
Smart Images

Figure KR2025095397_29012026_PF_FP_ABST
Abstract
Description
Electronic device for performing frequency calibration and method of operation thereof
[0001] Various embodiments relate to an electronic device for performing frequency calibration and a method of operating the same.
[0002] Electronic devices may perform excessive frequency corrections when connected to a specific base station. This can lead to excessive frequency differences between the device and the other base station when the device attempts to connect to another base station after the connection with that base station has been terminated. This frequency difference can cause the connection between the device and the other base station to fail. Furthermore, this frequency difference can degrade the device's GPS performance.
[0003] An electronic device may not be able to perform frequency calibration if the connection between the electronic device and another base station fails, and a state may occur in which the electronic device's radio frequency (RF) communication is impossible.
[0004] According to one embodiment, an electronic device may include a clock generation circuit, at least one processor including a processing circuit, and a memory storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store a correction value for correcting a frequency generated by the clock generation circuit in the memory. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to attempt to connect to a base station. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a difference between a first correction value applied for frequency correction and a previous correction value applied prior to the first correction value when a connection between the electronic device and the base station fails. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine whether the difference value is greater than or equal to a threshold value. The above instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform frequency correction based on the previous correction value such that the first frequency generated by the clock generation circuit is corrected when the difference value is determined to be greater than or equal to the threshold value.
[0005] According to one embodiment, an electronic device may include a clock generation circuit, at least one processor including a processing circuit, and a memory storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform frequency calibration based on a first correction value for compensation of a first frequency difference when a first frequency difference occurs in the electronic device while connected to a first base station. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to attempt to connect to a second base station after a connection between the electronic device and the first base station is terminated. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a difference between the first correction value and a previous correction value used in a previous frequency calibration of the frequency calibration when a connection between the electronic device and the second base station fails. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine whether the difference value is greater than or equal to a threshold value. The above commands, when individually or collectively executed by the at least one processor, may cause the electronic device to perform frequency correction based on the previous correction value if the difference value is determined to be greater than or equal to the threshold value. The above commands, when individually or collectively executed by the at least one processor, may cause the electronic device to perform frequency correction based on the previous correction value and then attempt to connect to the second base station.
[0006] According to one embodiment, a method of operating an electronic device may include an operation of storing a correction value for correcting a frequency generated by a clock generation circuit of the electronic device in a memory of the electronic device; and an operation of attempting to connect to a base station. The method of operating the electronic device may include an operation of determining a difference value between a first correction value applied for frequency correction and a previous correction value applied before the first correction value when a connection between the electronic device and the base station fails. The method of operating the electronic device may include an operation of determining whether the difference value is greater than or equal to a threshold value. The method of operating the electronic device may include an operation of performing frequency correction based on the previous correction value so that a frequency generated by the clock generation circuit is corrected when the difference value is determined to be greater than or equal to the threshold value.
[0007] According to one embodiment, an operating method of an electronic device may include an operation of performing frequency calibration based on a first correction value for compensation of a first frequency difference when a first frequency difference occurs in the electronic device while connected to a first base station. The operating method of the electronic device may include an operation of attempting to connect to a second base station after a connection between the electronic device and the first base station is terminated. The operating method of the electronic device may include an operation of determining a difference between the first correction value and a previous correction value used in a previous frequency calibration of the frequency calibration when a connection between the electronic device and the second base station fails. The operating method of the electronic device may include an operation of determining whether the difference value is greater than or equal to a threshold value. The operating method of the electronic device may include an operation of performing frequency calibration based on the previous correction value when it is determined that the difference value is greater than or equal to the threshold value. The operating method of the electronic device may include an operation of attempting to connect to the second base station after performing frequency calibration based on the previous correction value.
[0008] According to one embodiment, a non-transitory computer-readable storage medium may store instructions that, when executed by at least one processor, may cause an electronic device to perform operations. The operations may include: storing a correction value for correcting a frequency generated by a clock generation circuit of the electronic device in a memory of the electronic device; attempting to connect to a base station; determining a difference between a first correction value applied for frequency correction and a previous correction value applied before the first correction value when the connection between the electronic device and the base station fails; determining whether the difference value is greater than or equal to a threshold value; and performing frequency correction based on the previous correction value when it is determined that the difference value is greater than or equal to the threshold value so that a frequency generated by the clock generation circuit is corrected.
[0009] FIG. 1 illustrates a block diagram of an electronic device within a network environment according to one embodiment.
[0010] FIG. 2 is a block diagram of an electronic device in a network environment including multiple cellular networks according to one embodiment.
[0011] FIGS. 3A, 3B, 4A, and 4B are diagrams illustrating examples of operations of an electronic device when the electronic device fails to connect to a base station according to one embodiment.
[0012] FIG. 5 is a flowchart illustrating an example of a method for an electronic device to perform frequency calibration according to one embodiment.
[0013] FIG. 6 is a diagram illustrating an example of a table for frequency correction history according to one embodiment.
[0014] FIGS. 7 and 8 are flowcharts illustrating an example of a method of operating an electronic device according to one embodiment.
[0015] FIG. 9 is a flowchart illustrating an example of a method of operating an electronic device according to one embodiment.
[0016] FIG. 10 is a block diagram illustrating an example of a configuration of an electronic device according to one embodiment.
[0017] FIG. 11 is a drawing illustrating an example of the operation of an electronic device according to one embodiment.
[0018] Hereinafter, embodiments will be described in detail with reference to the attached drawings. In the description with reference to the attached drawings, identical components are assigned the same reference numerals regardless of the drawing numbers, and redundant descriptions thereof will be omitted.
[0019] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to an embodiment. 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 an 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)).
[0020] The processor (120) may control at least one other component (e.g., a hardware or software component) of the 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 calculation, 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 the resulting data in a non-volatile 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 a secondary 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 therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0021] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), 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 unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can 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 can include multiple 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), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0022] 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 non-volatile memory (134).
[0023] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0024] 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).
[0025] The audio output module (155) can output audio signals 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 incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0026] 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) may 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) may 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 display module (160) may be implemented with an illustrative foldable structure and / or a rollable structure. For example, the size of the display screen of the display module (160) may be reduced when folded, and may be expanded when unfolded.
[0027] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. In one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0028] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. 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.
[0029] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) to an external electronic device (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.
[0030] 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., electronic device (102)). In 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).
[0031] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0032] The camera module (180) can capture still images and videos. In one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0033] The power management module (188) can manage the 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).
[0034] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0035] The communication module (190) may support the 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., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., 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 global navigation satellite system (GNSS) 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, the corresponding communication module can 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 can 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) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0036] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power 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) can 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) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the 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), or 1 ms or less for round trip) for URLLC realization.
[0037] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may 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), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0038] 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 disposed on or adjacent to 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) disposed on or adjacent to a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0039] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0040] According to 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). According to 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 or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion 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 process the result as is or additionally and provide it as at least a portion 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 Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing 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.
[0041] Electronic devices according to the various embodiments disclosed in this document may take various forms. 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 appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0042] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, 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 indicates 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 among those phrases, 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 component) is referred to as "coupled" or "connected" to another component (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.
[0043] 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. A module may be an integral component, or a minimum unit or part of such a component 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).
[0044] 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) of FIG. 1). 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.
[0045] 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 as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0046] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, 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.
[0047]
[0048] FIG. 2 is a block diagram of an electronic device (201) in a network environment (200) including multiple cellular networks according to one embodiment.
[0049] Referring to FIG. 2, an electronic device (201) (e.g., the electronic device (101) of FIG. 1) may include a processor (210) (e.g., the processor (120) of FIG. 1 or a communication processor), a first-first radio frequency integrated circuit (RFIC) (222-1), a first-second RFIC (222-2), a second RFIC (224), a first radio frequency front end (RFFE) (232), a second RFFE (234), a first antenna module (242), a second antenna module (244), and a third antenna module (246). According to an embodiment, the first-first RFIC (222-1) and the first-second RFIC (222-2) may be implemented as one RFIC (222). The second network (199) may include a first cellular network (292) (e.g., a legacy network) and a second cellular network (294) (e.g., a 5G network). The electronic device (201) may further include at least one component among those described in FIG. 1 , and the second network (199) may further include at least one other network. In one embodiment, the second RFIC (224) may be omitted or included as part of the third RFIC (226).
[0050] According to one embodiment, the first RFIC (222-1), the first RFIC (222-2), the second RFIC (224), the first RFFE (232), and the second RFFE (234) of FIG. 2 may be included in the communication module (190) of FIG. 1 (e.g., the wireless communication module (192)), and the first antenna module (242), the second antenna module (244), and the third antenna module (246) of FIG. 2 may be included in the antenna module (197) of FIG. 1.
[0051] According to one embodiment, the processor (210) may support establishment of a communication channel in a band to be used for wireless communication with a first cellular network (292), and legacy network communication through the established communication channel. The first cellular network (292) may be, for example, a legacy network including a second generation (2G), 3G, 4G, or long term evolution (LTE) network. The processor (210) may support establishment of a communication channel corresponding to a first band (e.g., about 6 GHz to about 60 GHz) (or a frequency range (FR)2 of the 5G standard (e.g., 24.25 GHz to 52.6 GHz)) among the bands to be used for wireless communication with a second cellular network (294), and 5G network communication through the established communication channel. The second cellular network (294) may be a 5G network defined by 3GPP. The processor (210) can establish a communication channel corresponding to a second band (e.g., about 6 GHz or less) (or FR1 of the 5G standard (e.g., 410 MHz to 7.125 GHz)) among the bands to be used for wireless communication with the second cellular network (294), and support 5G network communication through the established communication channel.
[0052] According to one embodiment, the first RFIC (222-1) (or the first RFIC (222)) may, upon transmission, convert a baseband signal generated by the processor (210) into a radio frequency (RF) signal of a frequency band (e.g., about 700 MHz to about 3 GHz) used in the first cellular network (292). Upon reception, the RF signal may be received or acquired from the first cellular network (292) via the first antenna module (242) and preprocessed via the first RFFE (232). The first RFIC (222-1) (or the first RFIC (222)) may convert the preprocessed RF signal into a baseband signal so that it may be processed by the processor (210).
[0053] According to one embodiment, the 1-2 RFIC (222-2) (or the 1st RFIC (222)) may, upon transmission, convert a baseband signal generated by the processor (210) into an RF signal (hereinafter, a 5G Sub6 RF signal) of a Sub6 band (e.g., about 6 GHz or less) used in the second cellular network (294). Upon reception, the 5G Sub6 RF signal may be received or acquired from the second cellular network (294) via the second antenna module (244) and preprocessed via the second RFFE (234). The 1-2 RFIC (222-2) (or the 1st RFIC (222)) may convert the preprocessed 5G Sub6 RF signal into a baseband signal so that it can be processed by the processor (210).
[0054] According to one embodiment, the third RFIC (226) may convert the baseband signal generated by the processor (210) into an RF signal (hereinafter, 5G Above6 RF signal) of a 5G Above6 band (e.g., about 6 GHz to about 60 GHz) to be used in the second cellular network (294). Upon reception, the 5G Above6 RF signal may be received or acquired from the second cellular network (294) via the third antenna module (246) (e.g., antenna (248)) and preprocessed via the third RFFE (236). The third RFIC (226) may convert the preprocessed 5G Above6 RF signal into a baseband signal so that it can be processed by the processor (210). According to one embodiment, the third RFFE (236) may be formed as a part of the third RFIC (226).
[0055] According to one embodiment, the electronic device (201) may include a second RFIC (224) separately from or at least as a part of the third RFIC (226). In this case, the second RFIC (224) may convert a baseband signal generated by the processor (210) into an RF signal (hereinafter, referred to as an IF signal) of an intermediate frequency band (e.g., about 9 GHz to about 11 GHz) and transmit the IF signal to the third RFIC (226). The third RFIC (226) may convert the IF signal into a 5G Above6 RF signal. Upon reception, the 5G Above6 RF signal may be received or acquired from the second cellular network (294) via the third antenna module (246) (e.g., antenna (248)) and converted into an IF signal by the third RFIC (226). The second RFIC (224) can convert the IF signal into a baseband signal so that the processor (210) can process it.
[0056] According to one embodiment, at least one antenna module of the first antenna module (242) or the second antenna module (244) may be omitted or combined with another antenna module to process RF signals of a corresponding plurality of bands.
[0057] According to one embodiment, the third RFIC (226) and the antenna (248) may be disposed on the same substrate to form a third antenna module (246). For example, the processor (120) may be disposed on a first substrate (e.g., main PCB). In this case, the third RFIC (226) may be disposed on a portion (e.g., bottom surface) of a second substrate (e.g., sub PCB) separate from the first substrate, and the antenna (248) may be disposed on another portion (e.g., top surface) of the second substrate (e.g., sub PCB), thereby forming the third antenna module (246). By disposing the third RFIC (226) and the antenna (248) on the same substrate, it is possible to reduce the length of the transmission line therebetween. This can reduce, for example, the loss (e.g., attenuation) of signals in the high-frequency band (e.g., about 6 GHz to about 60 GHz) used in 5G network communications due to transmission line transmission. As a result, the electronic device (201) can improve the quality or speed of communication with the second cellular network (294) (e.g., the 5G network).
[0058] According to one embodiment, the antenna (248) may be formed as an antenna array including a plurality of antenna elements that may be used for beamforming. In this case, the third RFIC (226) may include a plurality of phase shifters (238) corresponding to the plurality of antenna elements, for example, as part of the third RFFE (236). Upon transmission, each of the plurality of phase shifters (238) may shift the phase of a 5G Above6 RF signal to be transmitted to an external source (e.g., a base station of a 5G network) of the electronic device (201) via its corresponding antenna element. Upon reception, each of the plurality of phase shifters (238) may shift the phase of a 5G Above6 RF signal received from an external source (e.g., a base station of a 5G network) via its corresponding antenna element to the same or substantially the same phase. This enables transmission or reception via beamforming between the electronic device (201) and the external source.
[0059] The second cellular network (294) may operate independently of the first cellular network (292) (e.g., Stand-Alone (SA)) or may be connected to it (e.g., Non-Stand Alone (NSA)). For example, a 5G network may only have an access network (e.g., a 5G radio access network (RAN) or next generation RAN (NG RAN)) and no core network (e.g., next generation core (NGC)). In this case, the electronic device (201) may access an external network (e.g., the Internet) under the control of a core network (e.g., evolved packet core (EPC)) of a legacy network after accessing the access network of the 5G network. Protocol information for communication with the legacy network (e.g., LTE protocol information) or protocol information for communication with the 5G network (e.g., New Radio (NR) protocol information) may be stored in a memory (e.g., memory (130) of FIG. 1) and accessed by the processor (210).
[0060]
[0061] FIGS. 3A, 3B, 4A, and 4B are diagrams illustrating examples of operations of an electronic device when the electronic device fails to connect to a base station according to one embodiment.
[0062] Referring to FIG. 3A, an electronic device (301) according to one embodiment (e.g., electronic device (101) of FIG. 1, electronic device (201) of FIG. 2) may include a crystal (303) and a clock generation circuit (305).
[0063] According to one embodiment, the crystal (303) can perform oscillation to output a signal having a frequency.
[0064] According to one embodiment, the clock generation circuit (305) may generate a clock signal (or reference clock) through an output signal of the crystal (303) and a capacitor array (305-1) and provide the clock signal to the electronic device (301). The clock generation circuit (305) may include a capacitor array (305-1) including a plurality of capacitors. At least some or all of the capacitors of the capacitor array (305-1) may be variable capacitors, but are not limited thereto, and the capacitors of the capacitor array (305-1) may have a fixed capacitance. The clock generation circuit (305) may be otherwise expressed as an oscillator circuit or a crystal oscillator (XO).
[0065] According to one embodiment, the electronic device (301) can generate a signal having a reference frequency (e.g., a frequency used for frequency up-conversion and frequency down-conversion) based on a clock signal. The electronic device (301) can mix a signal having a reference frequency with a baseband signal to generate an RF signal and radiate the RF signal through an antenna. The electronic device (301) can mix a signal of an RF band received through an antenna with a signal having a reference frequency to generate a baseband signal and process the baseband signal through a processor (e.g., the processor (120) of FIG. 1, the processor (210) of FIG. 2).
[0066] According to one embodiment, a frequency difference (or frequency error) may occur in the electronic device (301). For example, there may be a frequency difference between the electronic device (301) and a base station (e.g., the first base station (351) of FIG. 3A and the second base station (352) of FIG. 3B). As another example, the crystal (303) may have characteristics that change over time, and the frequency of an output signal of the crystal (303) (hereinafter referred to as “output frequency”) may change due to the change in the characteristics of the crystal (303). There may be a difference (or frequency error) between the changed output frequency of the crystal (303) and the target frequency (or natural frequency) of the crystal (303). The target frequency of the crystal (303) may be, for example, 76.8 MHz, but is not limited thereto.
[0067] According to one embodiment, the electronic device (301) may perform frequency calibration to compensate for a frequency difference when a frequency difference occurs (e.g., a frequency difference between the electronic device (301) and a base station and / or a frequency difference due to a change in crystal characteristics). For example, the electronic device (301) may perform frequency calibration based on a calibration value for calibrating a frequency (e.g., a clock frequency) generated by a clock generation circuit (350). The electronic device (301) may perform frequency calibration by adjusting the capacitance of the capacitor array (305-1) using the calibration value.
[0068] According to one embodiment, the electronic device (301) can adjust the capacitance of the capacitor array (305-1) by applying current to at least one of the capacitors of the capacitor array (305-1) and / or not applying current to at least one of the capacitors of the capacitor array (305-1). The present invention is not limited thereto, and at least one of the capacitors of the capacitor array (305-1) can be a variable capacitor. The electronic device (301) can adjust the capacitance of the capacitor array (305-1) by adjusting the capacitance of at least one variable capacitor of the capacitor array (305-1).
[0069] According to one embodiment, the electronic device (301) may attempt to connect to a first base station (351) and may connect to the first base station (351). The electronic device (301) may receive information about a communication frequency (f1) of the first base station (351) from the first base station (351). There may be a frequency difference (or frequency error) (hereinafter referred to as “first frequency difference”) between the communication frequency (f1) of the first base station (351) and the communication frequency of the electronic device (301).
[0070] According to one embodiment, the electronic device (301) may control the clock generation circuit (350) so that the first frequency difference can be compensated for when a first frequency difference occurs. For example, the electronic device (301) may perform frequency calibration based on a first calibration value (e.g., a first calibration value for compensation of the first frequency difference) for calibrating a frequency (e.g., a clock frequency) generated by the clock generation circuit (350). The electronic device (301) may perform frequency calibration by applying the first calibration value to the electronic device (301) (e.g., the clock generation circuit (305)). For example, the electronic device (301) may control the clock generation circuit (305) (e.g., the capacitor array (305-1)) using the first calibration value. The electronic device (301) may perform frequency calibration by adjusting the capacitance of the capacitor array (305-1) using the first calibration value.
[0071] According to one embodiment, the electronic device (301) can correct the frequency of a clock signal by performing frequency correction. The electronic device (301) can generate a signal having a corrected reference frequency through the clock signal of the corrected frequency. Accordingly, the communication frequency of the electronic device (301) can be adjusted to the communication frequency (f1) of the first base station (351), and the first frequency difference can be compensated for.
[0072] According to one embodiment, when the electronic device (301) performs frequency calibration (or compensates for the first frequency difference) based on the first calibration value, the electronic device (301) may store the first calibration value in a memory (e.g., memory (130) of FIG. 1). The electronic device (301) may record the first calibration value in a table for frequency calibration history (e.g., table (600) of FIG. 6). As will be described later, the electronic device (301) may store at least one of location information of the electronic device (301) or information of the first base station (351) in the memory when the frequency calibration is performed based on the first calibration value.
[0073] According to one embodiment, the electronic device (301) may attempt to connect to the second base station (352) after the connection between the electronic device (301) and the first base station (351) is terminated.
[0074] In one embodiment, the connection between the electronic device (301) and the second base station (352) may fail. For example, the communication frequency (f1) of the first base station (351) may be a frequency that is out of the normal frequency range by a certain amount or more. The communication frequency (f2) of the second base station (352) may be a communication frequency within the normal range. The communication frequency of the electronic device (301) may be adjusted to the communication frequency (f1) of the first base station (351) through frequency correction. FIG. 4A illustrates a communication frequency (410) within the normal range (e.g., the communication frequency of the second base station (352)) and an adjusted communication frequency (420) of the electronic device (301). The difference between the adjusted communication frequency (420) of the electronic device (301) and the communication frequency (410) (f2) of the second base station (352) may be greater than a certain level, so that when the electronic device (301) attempts to connect to the second base station (352), the connection between the electronic device (301) and the second base station (352) may fail. For another example, a frequency difference due to a change in the characteristics of the crystal (303) may occur in the electronic device (301), and the connection between the electronic device (301) and the second base station (352) may fail due to this frequency difference.
[0075] In one embodiment, the electronic device (301) may determine whether a difference between the first calibration value and a previous calibration value is greater than or equal to a threshold value (e.g., 15 ppm) when a connection between the electronic device (301) and the second base station (352) fails. The previous calibration value may represent, for example, a calibration value used in a frequency calibration performed prior to the frequency calibration using the first calibration value.
[0076] According to one embodiment, if the electronic device (301) determines that the difference between the first correction value and the previous correction value is greater than or equal to a threshold value, the electronic device (301) may apply the previous correction value to the electronic device (301). The first correction value may be applied to the electronic device (301) when the electronic device (301) attempts to connect to the second base station (352). If the connection between the electronic device (301) and the second base station (352) fails, the electronic device (301) may apply the previous correction value to correct the frequency generated by the clock generation circuit (305). For example, the electronic device (301) may adjust the capacitance of the capacitor array (305-1) based on the previous correction value. The adjusted communication frequency (e.g., f1) of the electronic device (301) may be adjusted to the communication frequency of the electronic device (301) when the previous correction value was applied to the electronic device (301). As in the example shown in Fig. 4b, when frequency correction is performed based on the previous correction value, the communication frequency (430) of the electronic device (301) can be adjusted to a frequency (410) within the normal range.
[0077] According to one embodiment, the electronic device (301) may attempt to connect to the second base station (352) with the previous correction value applied, and may be connected to the second base station (352).
[0078] In one embodiment, a frequency difference that causes a connection failure between the electronic device (301) and the second base station (352) may cause the GPS performance of the electronic device (301) to be reduced or inaccurate GPS information to be obtained. After the connection between the electronic device (301) and the second base station (352) fails, the electronic device (301) may perform frequency correction based on a previous correction value, thereby preventing a decrease in GPS performance and obtaining accurate GPS information.
[0079]
[0080] FIG. 5 is a flowchart illustrating an example of a method for an electronic device to perform frequency calibration according to an embodiment. FIG. 6 is a diagram illustrating an example of a table for frequency calibration history according to an embodiment.
[0081] Referring to FIG. 5, in operation 510, the electronic device (301) can determine whether a frequency difference (or frequency error) occurring in the electronic device (301) (e.g., a frequency difference between the base station 5 and the electronic device (301) and / or a frequency difference due to a change in the characteristics of the crystal (303)) is greater than or equal to a threshold level. The threshold level may be, for example, 5 ppm, but is not limited thereto.
[0082] The electronic device (301) may not compensate for the frequency difference if it determines that the frequency difference is below a threshold level (action 510-No).
[0083] If the electronic device (301) determines that the frequency difference is greater than or equal to a threshold level (operation 510 - Yes), then in operation 520, frequency correction can be performed. The electronic device (301) can perform frequency correction on a signal generated by the clock generation circuit (305) based on the correction value so that the frequency difference can be compensated for. The frequency correction can include, for example, an operation of adjusting (or changing) the capacitance of the capacitor array (305-1).
[0084] In operation 530, the electronic device (301) may store the correction value in a memory (e.g., memory (130) of FIG. 1). For example, the memory may store a table for frequency correction history (e.g., table (600) of FIG. 6), and the electronic device (301) may record the correction value in the table for frequency correction history.
[0085] According to one embodiment, the electronic device (301) can perform frequency calibration periodically. For example, the electronic device (301) can perform frequency calibration periodically on a minute-by-minute basis (e.g., 30 minutes), an hour-by-hour basis (e.g., 1 hour), a day-by-day basis (e.g., 1 day), or a weekend-by-week basis (e.g., 1 week).
[0086] An example of a table (600) for frequency correction history is shown in FIG. 6.
[0087] In the example illustrated in FIG. 6, the table (600) may include an index entry (610), a correction value entry (620), a location information entry (630), and a base station information entry (640). Depending on the embodiment, the location information entry (630) and / or the base station information entry (640) may be omitted from the table (600).
[0088] In the index item (610), for example, an index indicating the order of frequency calibration may be recorded. In the correction value item (620), a correction value for correcting the frequency generated by the clock generation circuit (305) may be recorded. The correction value may be recorded, for example, in the form of a code. In the example shown in FIG. 6, it may be 1 ppm per 100 codes. In the location information item (630), location information (e.g., GPS information) of the electronic device (301) when the frequency calibration was performed may be recorded. In the base station information item (640), information (e.g., identification information) of the base station connected to the electronic device (301) when the frequency calibration was performed (e.g., base station number and / or physical cell identifier (PCI) of the base station) may be recorded.
[0089] In the example illustrated in FIG. 6, an initial value (or initial correction value) (e.g., 1000) may be recorded in the correction value entry of index 0 of the table (600). The initial value (or initial correction value) may correspond to, for example, the capacitance of the capacitor array (305-1) at the time of factory shipment of the electronic device (301). The initial value (e.g., 1000) may be applied to the electronic device (301) before the frequency correction corresponding to index 1 is performed.
[0090] An electronic device (301) may attempt to connect to base station 1 and may be connected to base station 1. A frequency difference (hereinafter, frequency difference 1) (e.g., 5 ppm) may exist between the communication frequency of base station 1 and the communication frequency of the electronic device (301). If the frequency difference 1 is greater than a threshold level, the electronic device (301) may calculate a correction value 1 for compensating for the frequency difference 1 (e.g., 5 ppm). Since it may be 1 ppm per 100 codes, the frequency difference 1 (e.g., 5 ppm) may be expressed as 500. An initial value (e.g., 1000) may be applied to the electronic device (301), and thus the electronic device (301) may calculate a correction value 1 (e.g., 1500) by adding the initial value (e.g., 1000) and the frequency difference 1 (e.g., 500). The electronic device (301) can perform frequency calibration based on correction value 1 (e.g., 1500). The electronic device (301) can perform frequency calibration by applying correction value 1 (e.g., 1500) to the clock generation circuit (305). The electronic device (301) can adjust the capacitance of the capacitor array (305-1) based on correction value 1 (e.g., 1500) so as to compensate for a frequency difference of 5 ppm. Accordingly, the communication frequency of the electronic device (301) can be matched to the communication frequency of base station 1. The electronic device (301) can record correction value 1 (e.g., 1500) in the correction value item of index 1.
[0091] According to an embodiment, the electronic device (301) may obtain location information (e.g., GPS information) of the electronic device (301) when compensation for frequency difference 1 is performed. The electronic device (301) may record the location information of the electronic device (301) and / or information of base station 1 (e.g., number and / or PCI of base station 1) when compensation for frequency difference 1 is performed, corresponding to index 1.
[0092] The electronic device (301) may attempt to connect to base station 2 after the connection with base station 1 is terminated, and may be connected to base station 2. There may be a frequency difference (hereinafter, frequency difference 2) (e.g., 6 ppm) between the communication frequency of base station 2 and the communication frequency of the electronic device (301). If the frequency difference 2 is greater than or equal to a threshold level, the electronic device (301) may calculate a correction value 2 for compensating for the frequency difference 2 (e.g., 6 ppm). Since it may be 1 ppm per 100 codes, the frequency difference 2 (e.g., 6 ppm) may be expressed as 600. The electronic device (301) may have a correction value 1 (e.g., 1500), and thus the electronic device (301) may calculate a frequency correction value 2 (e.g., 2100) by adding the correction value 1 (e.g., 1500) and the frequency difference 2 (e.g., 600). The electronic device (301) can perform frequency calibration based on the calibration value 2 (e.g., 2100). The electronic device (301) can adjust the capacitance of the capacitor array (305-1) based on the calibration value 2 (e.g., 2100) so as to compensate for a frequency difference of 6 ppm. Accordingly, the communication frequency of the electronic device (301) can be matched to the communication frequency of the base station 2. The electronic device (301) can record the calibration value 2 (e.g., 2100) in the calibration value item of index 2.
[0093] According to an embodiment, the electronic device (301) may record location information (e.g., GPS information) of the electronic device (301) and / or information of base station 2 (e.g., number and / or PCI of base station 2) corresponding to index 2 when compensation for frequency difference 2 is performed.
[0094] When the correction value (e.g. 3500 recorded in the correction value item of index N-1) is applied to the electronic device (301), the electronic device (301) is connected to the base station N (e.g., the first base station (351) of Fig. 3a) may attempt to connect to the base station N can be connected to a base station N The frequency difference between the communication frequency of the electronic device (301) and the communication frequency of the electronic device (301) (hereinafter, the frequency difference N )(e.g. 20 ppm) may exist. The electronic device (301) may have a frequency difference N Correction value for frequency correction if it is above this critical level N can be calculated. It can be 1ppm per 100codes, so the frequency difference N (e.g. 20 ppm) can be expressed as 2000. The electronic device (301) may have a calibration value (e.g. 3500) applied, so that the electronic device (301) can measure the frequency difference between the calibration value (e.g. 3500) and the frequency. N (e.g. 2000) and add up the correction value N (e.g. 5500) can be calculated. The electronic device (301) can calculate the correction value N (e.g. 5500) can be used to perform frequency correction. The electronic device (301) can compensate for a frequency difference of 20 ppm by setting the correction value N (e.g., 5500) can be used to adjust the capacitance of the capacitor array (305-1). Accordingly, the communication frequency of the electronic device (301) can be adjusted to the base station. N can be matched to the communication frequency. The electronic device (301) can record the correction value (e.g., 5500) in the correction value item of index N.
[0095] According to an embodiment, the electronic device (301) has a frequency difference N Location information (e.g. GPS information) and / or base station of the electronic device (301) when compensation is performed N Information (e.g. base station) N The number and / or PCI) can be recorded corresponding to the index N.
[0096] Although not shown in the table (600) of FIG. 6, the electronic device (301) can perform frequency calibration periodically and record the calibration value for each frequency calibration performed in the table (600).
[0097] In one embodiment, the correction value N (e.g. 5500) When applied to the electronic device (301), the electronic device (301) is a base station N+1 (e.g., the second base station (352) of Fig. 3b) may attempt to connect to the frequency difference. N The communication frequency of the electronic device (301) and the base station by compensation N+1 There may be a frequency difference of a certain level or more between the communication frequencies, and due to this frequency difference, the electronic device (301) and the base station N+1 The connection between the electronic device (301) and the base station may fail. N+1 If the connection between the electronic device (301) fails, the base station N The correction value before connection (e.g. 3500 recorded in the correction value item of index N-1) can be applied to the electronic device (301), and the base station N+1 You can try to reconnect. This is explained in detail with reference to FIGS. 7 and 8.
[0098]
[0099] FIGS. 7 and 8 are flowcharts illustrating an example of a method of operating an electronic device according to one embodiment.
[0100] Referring to FIG. 7, in operation 711, the electronic device (301) is connected to a first base station (351) (e.g., the first base station (351) of FIG. 3a, the base station of FIG. 6) N ) can perform frequency correction while connected to the base station (351). For example, when the first frequency difference (e.g., the difference between the communication frequency of the first base station (351) and the communication frequency of the electronic device (301)) is greater than or equal to a threshold level, the electronic device (301) can calculate a first correction value (e.g., a correction value “5500” corresponding to the index N of the table (600) of FIG. 6) by considering the first frequency difference. The electronic device (301) can apply the first correction value as a correction value for frequency correction. The electronic device (301) can perform frequency correction based on the first correction value. The electronic device (301) can compensate for the first frequency difference by controlling the clock generation circuit (305) based on the first correction value (e.g., adjusting the capacitor array (305-1)).
[0101] In operation 713, the electronic device (301) may attempt to connect to a second base station (352) (e.g., the second base station (352) of FIG. 3B) after the connection between the electronic device (301) and the first base station (351) is terminated.
[0102] In operation 715, the electronic device (301) may check (or determine) whether the connection between the electronic device (301) and the second base station (352) has failed (or whether communication between the electronic device (301) and the second base station (352) is unavailable). For example, if the electronic device (301) transmits a connection request to the second base station (352) but does not receive a response from the second base station (352), the electronic device (301) may determine that the connection between the electronic device (301) and the second base station (352) has failed.
[0103] If the connection between the electronic device (301) and the second base station (352) fails (operation 715-Yes), the electronic device (301) may determine in operation 717 whether the difference between the first correction value and the previous correction value (e.g., the correction value "3500" corresponding to index N-1 of the table (600) of FIG. 6) is greater than or equal to a threshold value (e.g., 15 ppm or 1500). For example, the electronic device (301) may determine whether the difference between the first correction value (e.g., the correction value of FIG. 6) and the previous correction value (e.g., the correction value of FIG. 6) is greater than or equal to a threshold value (e.g., 15 ppm or 1500). "5500" ) and the previous calibration value (e.g., calibration value “3500” in FIG. 6) can be calculated. When 1 ppm per 100 codes, the calculated difference value (e.g., 2000) can correspond to 20 ppm. The electronic device (301) can determine that the difference value (e.g., 2000) between the first calibration value (e.g., 5500) and the previous calibration value (e.g., 3500) is greater than or equal to a threshold value.
[0104] According to an embodiment, the electronic device (301) may check whether there is a change in the base station (e.g., whether the second base station (352) is a different base station from the first base station (351)) when performing operation 717.
[0105] If the electronic device (301) determines that the difference between the first correction value and the previous correction value is less than the threshold value (operation 717-No), in operation 727, when attempting to connect to the second base station (352) by repeatedly changing the correction value, the electronic device (301) can check whether the connection between the electronic device (301) and the second base station (352) fails.
[0106] For example, the electronic device (301) may calculate a first change value (e.g., 6000) by adding the first correction value (e.g., 5500) and the first unit (e.g., 500 or 5 ppm) in the first iteration. The electronic device (301) may perform frequency calibration by applying the first change value (e.g., 6000) to the clock generation circuit (305). The electronic device (301) may perform frequency calibration based on the first change value (e.g., 6000). After performing the frequency calibration, the electronic device (301) may attempt to connect to the second base station (352). When the electronic device (301) is connected to the second base station (352), it may perform operation 721, which will be described later. If the connection between the electronic device (301) and the second base station (352) fails after performing the frequency calibration, the electronic device (301) may calculate a second change value (e.g., 6500) by adding the first change value (e.g., 6000) and the first unit (e.g., 500 or 5 ppm), perform frequency calibration based on the second change value, and then attempt to connect to the second base station (352). Continued connection attempts of the electronic device (301) may fail. In the Nth iteration, the electronic device (301) may calculate an Nth change value by adding the change value in the previous iteration (e.g., the (N-1)th iteration) and the first unit (e.g., 500 or 5 ppm), perform frequency calibration based on the Nth change value, and then attempt to connect to the second base station (352).
[0107] According to an embodiment, the electronic device (301) may perform repeated changes in the correction value a set number of times or may perform repeated changes in the correction value until the correction value reaches the maximum value of the frequency correction range that the clock generation circuit (305) can have.
[0108] Even if the electronic device (301) attempts to connect to the second base station (352) by repeatedly changing the correction value, the connection between the electronic device (301) and the second base station (352) may fail (Operation 757 - Example). In this case, the electronic device (301) may perform operation 815, which will be described later.
[0109] If the electronic device (301) determines that the difference between the first correction value and the previous correction value is greater than or equal to the threshold value (operation 717-Yes), in operation 719, the electronic device (301) may check whether the connection between the electronic device (301) and the second base station (352) fails after applying the previous correction value. For example, the electronic device (301) may perform frequency correction based on the previous correction value (e.g., 3500). The electronic device (301) may apply the previous correction value to the clock generation circuit (305) to adjust the capacitance of the capacitor array (305-1). The adjusted capacitance of the capacitor array (305-1) may correspond to the previous correction value. After performing the frequency correction by applying the previous correction value, the electronic device (301) may attempt to connect to the second base station (352).
[0110] If the connection between the electronic device (301) and the second base station (352) is successful after the application of the previous correction value (operation 719-No), the electronic device (301) may perform frequency correction in operation 721. If there is a frequency difference (hereinafter referred to as “second frequency difference”) between the communication frequency of the second base station (352) and the communication frequency of the electronic device (301) while connected to the second base station (352) (or if the second frequency difference is greater than or equal to a threshold level), the electronic device (301) may perform frequency correction based on a second correction value for compensating for the second frequency difference. The electronic device (301) may record the second correction value in a table for frequency correction history (e.g., table (600) of FIG. 6). For example, the second frequency difference may be 5 ppm. Since the previous correction value (e.g., 3500) was applied to the electronic device (301) before the compensation for the second frequency difference, the electronic device (301) can calculate the second correction value (e.g., 4000) by adding the previous correction value (e.g., 3500) and the second frequency difference (e.g., 500 or 5 ppm). The electronic device (301) can perform frequency correction based on the second correction value so that the second frequency difference can be compensated for. The electronic device (301) can record the second correction value (e.g., 4000) in the correction value item of index N+1 of the table (600). The electronic device (301) can record the location information of the electronic device (301) when the second frequency difference is compensated for in the location information item of index N+1 and / or record the information of the second base station (352) in the base station information item of index N+1.
[0111] According to one embodiment, if the connection between the electronic device (301) and the second base station (352) is successful after the application of the previous correction value, the electronic device (301) may determine the first base station (351) as a base station that may cause a call drop to the electronic device (301) (hereinafter referred to as a “bad station”). The electronic device (301) may transmit information about the bad base station to a server. The information about the bad base station may include, for example, at least one of identification information of the bad base station, location information of the electronic device (301) when the electronic device (301) communicated with the bad base station, or a correction value (e.g., a first correction value) when the electronic device (301) was connected to the bad base station.
[0112] After applying the previous correction value, the electronic device (301) may attempt to connect to the second base station (352), and the connection between the electronic device (301) and the second base station (352) may fail (Operation 719 - Example). Due to a change in the characteristics of the crystal (e.g., crystal (303) of FIGS. 3A and 3B), the output frequency of the crystal (303) may change, and if the difference between the changed output frequency and the target frequency of the crystal (303) is greater than a certain level, the connection between the electronic device (301) and the second base station (352) may fail even after applying the previous correction value. In this case, the connection failure in operation 715 may be caused by a frequency difference due to a change in the crystal characteristics rather than, for example, a difference between the communication frequency of the electronic device (301) and the communication frequency of the second base station (352).
[0113] If a connection failure occurs in operation 719 (operation 719-Yes), the electronic device (301) may calculate an expected correction value using the first correction value and the difference value (e.g., the difference value between the first correction value and the previous correction value) in operation 723. The expected correction value may represent, for example, a correction value for successful connection between the electronic device (301) and the second base station (352). For example, the electronic device (301) may predict that the connection between the electronic device (301) and the second base station (352) will be successful if there is a frequency correction of about a difference value (e.g., 2000 or 20 ppm) from the first correction value (e.g., 5500). The electronic device (301) may calculate an expected correction value (e.g., 7500=5500+2000) by adding the first correction value and the difference value.
[0114] In operation 723, the electronic device (301) can check whether the connection between the electronic device (301) and the second base station (352) fails after applying the expected correction value. For example, the electronic device (301) can perform frequency correction based on the expected correction value. The electronic device (301) can apply the expected correction value to the clock generation circuit (305) and adjust the capacitance of the capacitor array (305-1) based on the expected correction value. After performing the frequency correction by applying the expected correction value, the electronic device (301) can attempt to connect to the second base station (352).
[0115] If the connection between the electronic device (301) and the second base station (352) is successful after the application of the expected correction value (operation 725-No), the electronic device (301) may perform frequency correction in operation 721. If there is a frequency difference (hereinafter referred to as “third frequency difference”) between the communication frequency of the electronic device (301) and the communication frequency of the second base station (352) while the electronic device (301) is connected to the second base station (352) (or if the third frequency difference is greater than or equal to a threshold level), the electronic device (301) may perform frequency correction based on a third correction value for compensating for the third frequency difference, and record the third correction value in a table for frequency correction history (e.g., table (600) of FIG. 6). For example, the third frequency difference may be 5 ppm. Since the expected correction value (e.g., 7500) was applied to the electronic device (301) before the compensation for the third frequency difference, the electronic device (301) can calculate the third correction value (e.g., 8000) by adding the expected correction value (e.g., 7500) and the third frequency difference (e.g., 500). The electronic device (301) can perform frequency correction based on the third correction value and record 8000 in the correction value item corresponding to index N+1 of the table (600). The electronic device (301) can record the location information of the electronic device (301) when the third frequency difference is compensated for in the location information item of index N+1 and / or record the information of the second base station (352) in the base station information item of index N+1.
[0116] If the connection between the electronic device (301) and the second base station (352) fails after applying the expected correction value (operation 725 - Yes), in operation 811 of FIG. 8, the electronic device (301) may check whether the connection between the electronic device (301) and the second base station (352) fails when attempting to connect to the second base station (352) by repeatedly (or sequentially) changing the additional expected correction value by a first unit (e.g., 500 or 5 ppm). The additional expected correction value may be, for example, a correction value for the success of the connection between the electronic device (301) and the second base station (352). The electronic device (301) may perform the repeated change of the additional expected correction value a predetermined number of times or repeatedly change the additional expected correction value until the additional expected correction value reaches the maximum value of the frequency correction range of the clock generation circuit (305).
[0117] For example, in the first iteration, the electronic device (301) can calculate an additional expected correction value (hereinafter, the first additional expected correction value) (e.g., 8000=7500+500) in the first iteration using the expected correction value (e.g., 7500) and the first unit (e.g., 500 or 5 ppm). The electronic device (301) can perform frequency correction based on the first additional expected correction value and attempt to connect to the second base station (352). If the connection between the electronic device (301) and the second base station (352) fails, the electronic device (301) can perform the second iteration.
[0118] In the second iteration, the electronic device (301) can calculate an additional expected correction value (hereinafter, the second additional expected correction value) (e.g., 8500=8000+500) in the second iteration using the first additional expected correction value (e.g., 8000) and the first unit (e.g., 500 code or 5 ppm). The electronic device (301) can perform frequency correction based on the second additional expected correction value and attempt to connect to the second base station (352). If the connection between the electronic device (301) and the second base station (352) fails, the electronic device (301) can perform a third iteration.
[0119] When the electronic device (301) repeatedly changes the additional expected correction value by the first unit and attempts to connect between the electronic device (301) and the second base station (352), the connection between the electronic device (301) and the second base station (352) may be successful (Operation 811-No). In this case, in operation 813, the electronic device (301) may perform frequency correction. For example, in the second repetition, the electronic device (301) may attempt to connect to the second base station (352) and may be connected to the second base station (352). When there is a frequency difference (hereinafter referred to as “fourth frequency difference”) between the communication frequency of the electronic device (301) and the communication frequency of the second base station (352) (or when the fourth frequency difference is equal to or greater than a threshold level), the electronic device (301) may perform frequency correction based on a fourth correction value for compensating for the fourth frequency difference, and record the fourth correction value in a table for frequency correction history (e.g., table (600) of FIG. 6). The fourth frequency difference may be, for example, 5 ppm. Since the second additional expected correction value (e.g., 8500) was applied to the electronic device (301) before compensating for the fourth frequency difference, the electronic device (301) may calculate the fourth correction value (e.g., 9000) by adding the second additional expected correction value (e.g., 8500) and the fourth frequency difference (e.g., 500), and perform frequency correction based on the fourth correction value. The electronic device (301) can record 9000 in the correction value item corresponding to index N+1 of the table (600). The electronic device (301) can record the location information of the electronic device (301) when the fourth frequency difference is compensated in the location information item of index N+1 and / or record the information of the second base station (352) in the base station information item of index N+1.
[0120] When the electronic device (301) attempts to connect to the second base station (352) by repeatedly changing the additional expected correction value by the first unit, the connection between the electronic device (301) and the second base station (352) may fail (Operation 811-Yes). In this case, the electronic device (301) may check whether the connection between the electronic device (301) and the second base station (352) fails when the electronic device (301) attempts to connect to the second base station (352) by sweeping the frequency correction range (e.g., the frequency difference compensation range that the clock generation circuit (305) may have) by the second unit (e.g., 1 ppm) in operation 815. The frequency correction range may be based on, for example, the number of capacitors in the capacitor array (305-1).
[0121] For example, the clock generation circuit (305) can compensate for a frequency difference of 10 ppm to 100 ppm. In this case, the frequency correction range that the clock generation circuit (305) can have can be 10 ppm to 100 ppm (or 1000 to 10000 in code). The electronic device (301) can attempt to connect to the second base station (352) by sweeping the frequency correction range by a second unit (e.g., 100 or 1 ppm).
[0122] When the electronic device (301) attempts to connect to the second base station (352) by sweeping the frequency calibration range in the second unit, the connection between the electronic device (301) and the second base station (352) may be successful (Operation 815-No). In this case, the electronic device (301) may perform frequency calibration in operation 817. For example, the electronic device (301) may perform a sweep in the second unit in the range of 1000 to 10000, and at a specific calibration value (e.g., 9500), the electronic device (301) may be connected to the second base station (352). When there is a frequency difference (hereinafter referred to as “fifth frequency difference”) between the communication frequency of the electronic device (301) and the communication frequency of the second base station (352) (or when the fifth frequency difference is equal to or greater than a threshold level), the electronic device (301) may perform frequency correction based on a fifth correction value for compensating for the fifth frequency difference, and record the fifth correction value in a table for frequency correction history (e.g., table (600) of FIG. 6). The fifth frequency difference may be, for example, 5 ppm. Since a specific correction value (e.g., 9500) was applied to the electronic device (301) before compensating for the fifth frequency difference, the electronic device (301) may calculate the fifth correction value (e.g., 10000) by adding the specific correction value (e.g., 9500) and the fifth frequency difference (e.g., 500). The electronic device (301) can perform frequency correction based on the fifth correction value and record 10000 in the correction value item corresponding to index N+1 of the table (600). The electronic device (301) can record location information of the electronic device (301) when the fifth frequency difference is compensated for in the location information item of index N+1 and / or record information of the second base station (352) in the base station information item of index N+1.
[0123] When the electronic device (301) attempts to connect to the second base station (352) by sweeping the frequency correction range by the second unit, the connection between the electronic device (301) and the second base station (352) may fail (operation 815 - Yes). In this case, in operation 817, the electronic device (301) may provide a notification to the user regarding the connection failure (or communication failure).
[0124]
[0125] FIG. 9 is a flowchart illustrating an example of a method of operating an electronic device according to one embodiment.
[0126] Referring to FIG. 9, in operation 911 (e.g., operation 713 of FIG. 7), an electronic device (301) according to an embodiment may attempt to connect to a second base station (352) after the connection between the electronic device (301) and the first base station (351) is terminated. When the electronic device (301) attempts to connect to the second base station (352), a first correction value may be applied to the electronic device (301) as a correction value for frequency correction.
[0127] In operation 913 (e.g., operation 715 of FIG. 7), the electronic device (301) may check whether the connection between the electronic device (301) and the second base station (352) fails. If the connection between the electronic device (301) and the second base station (352) fails (operation 913-Yes), in operation 915, it may be checked whether the connection between the electronic device (301) and the second base station (352) fails after applying the initial value or the average value of the initial value and the first correction value.
[0128] For example, in operation 913, if the electronic device (301) checks that the connection between the electronic device (301) and the second base station (352) has failed, the electronic device (301) may perform frequency correction by applying an initial value (e.g., “1000” recorded in the correction value entry of index 0 of the table (600) of FIG. 6) to the electronic device (301) (e.g., the clock generation circuit (305)). The electronic device (301) may adjust the capacitance of the capacitor array (305-1) to the capacitance of the capacitor array (305-1) at the time of shipment from the factory, and may correct the frequency generated by the clock generation circuit (305). After performing the frequency correction, the electronic device (301) may attempt to connect to the second base station (352).
[0129] For another example, in operation 913, if the electronic device (301) checks that the connection between the electronic device (301) and the second base station (352) has failed, the electronic device (301) may calculate an average value (e.g., 3250) of an initial value (e.g., a correction value “1000” of index 0 of the table (600) of FIG. 6) and a first correction value (e.g., a correction value “5500” of index N of the table (600) of FIG. 6) and apply the calculated average value to the clock generation circuit (305) to perform frequency correction. The electronic device (301) may adjust the capacitance of the capacitor array (305-1) to a capacitance corresponding to the average value (e.g., 3250) and correct the frequency generated by the clock generation circuit (305). After performing the frequency correction, the electronic device (301) may attempt to connect to the second base station (352).
[0130] If the connection between the electronic device (301) and the second base station (352) fails after applying the initial value or the average of the initial value and the first correction value (operation 915-Yes), the electronic device (301) may perform operation 723.
[0131] If the connection between the electronic device (301) and the second base station (352) is successful after applying the initial value or the average value of the initial value and the first correction value (operation 915-No), the electronic device (301) may perform frequency calibration in operation 917. For example, after applying the average value (e.g., 3250), the electronic device (301) may be connected to the second base station (352). If there is a frequency difference (hereinafter referred to as “sixth frequency difference”) between the communication frequency of the electronic device (301) and the communication frequency of the second base station (352) (or if the sixth frequency difference is greater than or equal to a threshold level), the electronic device (301) may perform frequency calibration based on a sixth correction value for compensating for the sixth frequency difference, and record the sixth correction value in a table for the frequency calibration history (e.g., table (600) of FIG. 6). The sixth frequency difference may be, for example, 5 ppm. Since the average value (e.g., 3250) was applied to the electronic device (301) before compensation for the sixth frequency difference, the electronic device (301) can calculate the sixth correction value (e.g., 3750) by adding the average value (e.g., 3250) and the sixth frequency difference (e.g., 500). The electronic device (301) can perform frequency correction based on the sixth correction value and record 3750 in the correction value item corresponding to index N+1 of the table (600). The electronic device (301) can record the location information of the electronic device (301) when the sixth frequency difference is compensated for in the location information item of index N+1 and / or record the information of the second base station (352) in the base station information item of index N+1.
[0132] The embodiments described through FIGS. 1 to 8 can be applied to the operating method of the electronic device (301) of FIG. 9.
[0133]
[0134] FIG. 10 is a block diagram illustrating an example of a configuration of an electronic device according to one embodiment.
[0135] Referring to FIG. 10, an electronic device (1001) according to an embodiment (e.g., the electronic device (101) of FIG. 1, the electronic device (201) of FIG. 2, and the electronic device (301) of FIGS. 3A and 3B) may include a transceiver (1010), at least one processor (1020) (e.g., the processor (120) of FIG. 1, the processor (210) of FIG. 2), a memory (1030) (e.g., the memory (130) of FIG. 1), a clock generation circuit (1040) (e.g., the clock generation circuit (305) of FIGS. 3A and 3B), a global positioning system (GPS) receiving circuit (or GPS receiver) (1050), and a crystal (1060) (e.g., the crystal (303) of FIGS. 3A and 3B).
[0136] According to one embodiment, the transceiver (1010) may include, for example, an RFIC (e.g., at least one of RFICs (222-1, 222-2, 224, 226) of FIG. 2) and an RFFE (e.g., RFFEs (232, 234, 236) of FIG. 2). The transceiver (1010) may be operatively coupled to, for example, a processor (1020) and may communicate with, the processor (1020).
[0137] According to one embodiment, the processor (1020) (e.g., an application processor or a communications processor) may include processing circuitry.
[0138] According to one embodiment, the memory (1030) may store one or more instructions executable by the processor (1020). The one or more instructions, when individually or collectively executed by the processor (1020), may cause the electronic device (1001) to perform operations of the electronic device (1001).
[0139] According to one embodiment, the clock generation circuit (1040) can provide a clock signal (or a reference clock) to various components (e.g., a transceiver (1010)) of the electronic device (1001). The clock generation circuit (1040) can include a capacitor array (1041) (e.g., the capacitor array (305-1) of FIGS. 3A and 3B). The clock generation circuit (1040) can receive an output signal of a crystal (1060) and generate a clock signal through the output signal of the crystal (1060). The clock generation circuit (1040) can correct a frequency (e.g., a clock frequency) generated by the clock generation circuit (1040) through the capacitor array (1041). The clock generation circuit (1040) can output a signal of the corrected frequency (or a clock signal of the corrected frequency).
[0140] According to one embodiment, although not shown in FIG. 10, the transceiver (1010) may include a phase locked loop (PLL) circuit. The transceiver (1010) may receive a clock signal from a clock generation circuit (1040). The transceiver (1010) may generate a signal of a reference frequency through the clock signal and the PLL circuit. When receiving an RF signal, the transceiver (1010) may mix the signal of the reference frequency with the RF signal to perform frequency down-conversion on the RF signal. The transceiver (1010) may receive a baseband signal from the processor (1020) and perform frequency up-conversion on the baseband signal by mixing the signal of the reference frequency with the baseband signal.
[0141] According to one embodiment, the GPS receiving circuit (1050) can receive a GPS signal and perform preprocessing (e.g., filtering) on the GPS signal. The GPS receiving circuit (1050) can transmit the preprocessed GPS signal to the transceiver (1010). The transceiver (1010) can convert the preprocessed GPS signal into a signal of a bandwidth processable by the processor (1020) and transmit the converted signal to the processor (1020). The processor (1020) can obtain location information (e.g., latitude and longitude of the electronic device (1001)) through the signal received from the transceiver (1010).
[0142] According to one embodiment, the electronic device (1001) (e.g., processor (1020)) may store a correction value for correcting a frequency generated by the clock generation circuit (1040) (or a frequency of an input signal of the clock generation circuit (1040)) in the memory (1030). For example, the electronic device (1001) (e.g., processor (1020)) may periodically perform frequency correction and record the correction value used for frequency correction in the table (600). When a frequency difference between the communication frequency of the base station and the communication frequency of the electronic device (1001) is greater than a certain level, the electronic device (1001) (e.g., processor (1020)) may perform frequency correction so that the communication frequency of the electronic device (1001) approaches the communication frequency of the base station.
[0143] According to one embodiment, an electronic device (1001) (e.g., processor (1020)) may attempt to connect to a base station (e.g., second base station (352) of FIG. 3B).
[0144] According to one embodiment, due to a frequency difference occurring in the electronic device (1001), the electronic device (1001) (e.g., the processor (1020)) may experience a failure in the connection between the electronic device (1001) and a base station. The GPS performance may be reduced due to the frequency difference occurring in the electronic device (1001). The electronic device (1001) may obtain inaccurate GPS information due to the frequency difference occurring in the electronic device (1001). When the connection between the electronic device (1001) and the base station fails, the electronic device (1001) may calculate a difference between a first correction value applied for frequency correction (e.g., a correction value of index N of the table (600) of FIG. 6) and a previous correction value applied before the first correction value (e.g., a correction value of index N-1 of the table (600) of FIG. 6).
[0145] According to one embodiment, the electronic device (1001) (e.g., the processor (1020)) may determine whether a difference between the first calibration value and the previous calibration value is greater than or equal to a threshold value. If the electronic device (1001) (e.g., the processor (1020)) determines that the difference between the first calibration value and the previous calibration value is greater than or equal to the threshold value, the electronic device (1001) (e.g., the processor (1020)) may perform frequency calibration based on the previous calibration value so that the first frequency generated by the clock generation circuit (1040) is calibrated. For example, the electronic device (1001) (e.g., the processor (1020)) may adjust the capacitance of the capacitor array (1041) within the clock generation circuit (1040) based on the previous calibration value. After performing the frequency calibration based on the previous calibration value, the electronic device (1001) (e.g., the processor (1020)) may reattempt to connect to the base station. Depending on the implementation, the electronic device (1001) (e.g., processor (1020)) may perform frequency correction based on an initial value or an average value of the initial value and the first correction value when it determines that the difference between the first correction value and the previous correction value is greater than or equal to a threshold value.
[0146] According to one embodiment, the electronic device (1001) (e.g., the processor (1020)) may attempt to connect to a base station after performing frequency calibration based on a previous calibration value, and may be connected to the base station. In this case, the electronic device (1001) (e.g., the processor (1020)) may determine a frequency difference (e.g., a second frequency difference) between a communication frequency of the base station and a communication frequency of the electronic device (1001), and may perform frequency calibration based on the second calibration value so that the frequency difference (e.g., the second frequency difference) is compensated for. The electronic device (1001) (e.g., the processor (1020)) may store at least one of location information of the electronic device (1001) or information of the base station (e.g., identification information) when performing frequency calibration based on the second calibration value, and the second calibration value in the memory (1030) (e.g., record in the table (600) of FIG. 6).
[0147] In one embodiment, the electronic device (1001) (e.g., processor (1020)) may attempt to connect to a base station after performing frequency calibration based on a previous calibration value, and the connection between the electronic device (1001) and the base station may fail. The electronic device (1001) (e.g., processor (1020)) may calculate an expected calibration value for successful connection between the electronic device (1001) and the base station using the difference value and the first calibration value. The electronic device (1001) (e.g., processor (1020)) may attempt to connect to the base station by performing frequency calibration based on the expected calibration value.
[0148] According to one embodiment, if the connection between the electronic device (1001) and the base station fails after performing frequency correction based on the expected correction value, the electronic device (1001) (e.g., the processor (1020)) may repeatedly change the additional expected correction value for the success of the connection between the electronic device (1001) and the base station by the first unit.
[0149] In one embodiment, the electronic device (1001) (e.g., processor (1020)) may sweep the frequency correction range of the clock generation circuit (1040) by a second unit if the connection between the electronic device (1001) and the base station fails even after repeatedly changing the additional expected correction value.
[0150] In one embodiment, if the connection between the electronic device (1001) and the base station fails even after sweeping the frequency calibration range, the electronic device (1001) (e.g., the processor (1020)) may provide a notification to the user about the failure of the connection between the electronic device (1001) and the base station.
[0151] According to one embodiment, when a connection between the electronic device (1001) and a base station fails, the electronic device (1001) (e.g., the processor (1020)) may transmit to the server at least one of the first correction value, information on a base station (e.g., the first base station (351) of FIG. 3A) that communicated with the electronic device (1001) when frequency correction using the first correction value was performed, or location information of the electronic device (1001) when frequency correction using the first correction value was performed.
[0152] The embodiments described through FIGS. 1 to 9 can be applied to the electronic device (1001) of FIG. 10.
[0153]
[0154] FIG. 11 is a drawing illustrating an example of the operation of an electronic device according to one embodiment.
[0155] Referring to FIG. 11, an electronic device (1101) according to an embodiment (e.g., the electronic device (101) of FIG. 1, the electronic device (201) of FIG. 2, the electronic device (301) of FIGS. 3A and 3B, and the electronic device (1001) of FIG. 10) may determine a first base station (e.g., the first base station (351) of FIG. 3A) as a bad base station. The electronic device (1101) may transmit information about the first base station (351) (e.g., identification information of the first base station (351), location information of the electronic device (1101) when the electronic device (1101) communicated with the first base station (351), or a correction value used for frequency correction when the electronic device (1101) was connected to the first base station (351) (e.g., the first correction value)) to a server (1110).
[0156] According to one embodiment, the electronic device A (1120) may determine the base station B as a bad base station and transmit information about the base station B (e.g., at least one of identification information of the base station B, location information of the electronic device A (1120) when the electronic device A (1120) communicated with the base station B, or correction values used for frequency correction when the electronic device A (1120) was connected to the base station B) to the server (1110). The server (1110) may generate bad base station information (or a bad base station list) using information about bad base stations received from multiple electronic devices, and transmit the bad base station information to each of the multiple electronic devices.
[0157] According to one embodiment, the electronic device (1101) may receive information about a defective base station from the server (1110). The electronic device (1101) may attempt to connect to the base station (1130) after the connection between the electronic device (1101) and the base station B is terminated. If the connection between the electronic device (1101) and the base station (1130) fails, the electronic device (1101) may check whether the received information about a defective base station includes base station B, and if the information about a defective base station includes base station B, the electronic device (1101) may obtain a previous correction value (e.g., a correction value when connected to a base station before connecting to base station B) from a table (e.g., table (600) of FIG. 6). The electronic device (1101) can perform frequency correction based on the acquired previous correction value and then retry to connect to the base station (1130). The electronic device (1101) can quickly recover from a communication disconnection (or connection failure) even if a communication disconnection (or connection failure) occurs. If the connection between the electronic device (1101) and the base station (1130) fails, the electronic device (1101) can perform operation 723 of FIG. 7.
[0158] The embodiments described through FIGS. 1 to 10 can be applied to the electronic device (1101) of FIG. 11.
[0159]
[0160] According to one embodiment, an electronic device (101, 201, 301, 1001) may include a clock generation circuit (305, 1040), at least one processor (120, 210, 1020) including a processing circuit, and a memory (130, 1030) storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store a correction value for correcting a frequency generated by the clock generation circuit in the memory. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to attempt to connect to a base station. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a difference value between a first correction value applied for frequency correction and a previous correction value applied prior to the first correction value when a connection between the electronic device and the base station fails. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of determining whether the difference value is greater than or equal to a threshold value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of performing a frequency correction based on the previous correction value so that the first frequency generated by the clock generation circuit is corrected when the difference value is determined to be greater than or equal to the threshold value.
[0161] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: determine a frequency difference between a communication frequency of the base station and a communication frequency of the electronic device when the electronic device is connected to the base station after performing frequency calibration based on the previous calibration value; and perform frequency calibration based on a second calibration value such that the frequency difference is compensated for.
[0162] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store at least one of location information of the electronic device or information of the base station when frequency calibration is performed based on the second calibration value and the second calibration value in the memory.
[0163] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: calculate an expected correction value for success of connection between the electronic device and the base station using the difference value and the first correction value, if a connection between the electronic device and the base station fails after performing frequency correction based on the previous correction value; and attempt to connect to the base station by performing frequency correction based on the expected correction value.
[0164] In one embodiment, the operation of calculating the expected correction value may include calculating the expected correction value by adding the difference value and the first correction value.
[0165] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of repeatedly changing an additional expected correction value for success of the connection between the electronic device and the base station by a first unit if the connection between the electronic device and the base station fails after performing frequency correction based on the expected correction value.
[0166] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to repeatedly change the additional expected correction value and, if a connection between the electronic device and the base station fails, sweep the frequency correction range of the clock generation circuit by a second unit.
[0167] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an action that, if the connection between the electronic device and the base station fails even after sweeping the frequency correction range, provides a notification to the user of a failure of the connection between the electronic device and the base station.
[0168] In one embodiment, the operation of performing frequency correction based on the previous correction value may include the operation of adjusting at least one of the capacitors in the clock generation circuit based on the previous correction value.
[0169] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit to a server at least one of the first correction value, information about a base station with which the electronic device communicated when frequency correction using the first correction value was performed, or location information of the electronic device when frequency correction using the first correction value was performed, when a connection between the electronic device and the base station fails.
[0170] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform a frequency correction based on an initial value or an average of the initial value and the first correction value, if the difference value is determined to be greater than or equal to the threshold value.
[0171] According to one embodiment, an electronic device (101, 201, 301, 1001) may include a clock generation circuit (305, 1040), at least one processor (120, 210, 1020) including a processing circuit, and a memory (130, 1030) storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of performing frequency correction based on a first correction value for compensation of the first frequency difference when a first frequency difference occurs in the electronic device while connected to a first base station. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of attempting to connect to a second base station after a connection between the electronic device and the first base station is terminated. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine a difference between the first calibration value and a previous calibration value used in a previous frequency calibration of the frequency calibration when a connection between the electronic device and the second base station fails. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine whether the difference value is greater than or equal to a threshold value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform a frequency calibration based on the previous calibration value if the difference value is determined to be greater than or equal to the threshold value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of attempting to connect to the second base station after performing a frequency calibration based on the previous calibration value.
[0172] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to store in the memory at least one of location information of the electronic device or information of the first base station when compensation for the first frequency difference was performed and the first correction value.
[0173] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: establish a connection between the electronic device and the second base station, and, while connected to the second base station, perform frequency correction based on a second correction value for compensation of the second frequency difference when a second frequency difference occurs between a communication frequency of the second base station and a communication frequency of the electronic device.
[0174] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: calculate an expected correction value for success of connection between the electronic device and the second base station using the difference value and the first correction value when connection between the electronic device and the second base station fails after performing frequency correction based on the previous correction value; and attempt to connect to the second base station by performing frequency correction based on the expected correction value.
[0175] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an operation of repeatedly changing an additional expected correction value for success of the connection between the electronic device and the second base station by a first unit if the connection between the electronic device and the second base station fails after performing frequency correction based on the expected correction value.
[0176] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to: sweep a frequency calibration range of the clock generation circuit by a second unit if the connection between the electronic device and the second base station fails even after repeatedly changing the additional expected calibration value.
[0177] In one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform an action that, if the connection between the electronic device and the second base station fails even after sweeping the frequency correction range, provides a notification to the user about the failure of the connection between the electronic device and the second base station.
[0178] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform a frequency correction based on an initial value or an average of the initial value and the first correction value, if the difference value is determined to be greater than or equal to the threshold value.
[0179] According to one embodiment, a method of operating an electronic device (101, 201, 301, 1001) may include an operation of storing a correction value for correcting a frequency generated by a clock generation circuit of the electronic device in a memory of the electronic device. The method of operating an electronic device (101, 201, 301, 1001) may include an operation of attempting to connect to a base station. The method of operating an electronic device (101, 201, 301, 1001) may include an operation of determining a difference value between a first correction value applied for frequency correction and a previous correction value applied before the first correction value when a connection between the electronic device and the base station fails. The method of operating an electronic device (101, 201, 301, 1001) may include an operation of determining whether the difference value is greater than or equal to a threshold value. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of performing frequency correction based on the previous correction value so that the frequency generated by the clock generation circuit is corrected when the difference value is determined to be greater than or equal to the threshold value.
[0180] According to one embodiment, the operating method of the electronic device (101, 201, 301, 1001) may include an operation of performing frequency correction based on a first correction value for compensation of the first frequency difference when a first frequency difference occurs in the electronic device while connected to a first base station. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of attempting to connect to a second base station after the connection between the electronic device and the first base station is terminated. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of determining a difference value between the first correction value and a previous correction value used in a previous frequency correction of the frequency correction when the connection between the electronic device and the second base station fails. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of determining whether the difference value is greater than or equal to a threshold value. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of performing frequency correction based on the previous correction value when it is determined that the difference value is greater than or equal to the threshold value. The operating method of the electronic device (101, 201, 301, 1001) may include an operation of attempting to connect to the second base station after performing frequency correction based on the previous correction value.
[0181] According to one embodiment, a non-transitory computer-readable storage medium may store instructions that, when executed by at least one processor (120, 210, 1020), may cause an electronic device (101, 201, 301, 1001) to perform operations. The operations may include: storing a correction value for correcting a frequency generated by a clock generation circuit (305, 1040) of the electronic device in a memory (130, 1030) of the electronic device; attempting to connect to a base station; determining a difference between a first correction value applied for frequency correction and a previous correction value applied before the first correction value if the connection between the electronic device and the base station fails; determining whether the difference value is greater than or equal to a threshold value; and performing frequency correction based on the previous correction value so that a frequency generated by the clock generation circuit is corrected if the difference value is determined to be greater than or equal to the threshold value.
Claims
1. In electronic devices (101, 201, 301, 1001), Clock generation circuit (305, 1040); At least one processor (120, 210, 1020) comprising a processing circuit; and Memory for storing commands (130, 1030) Including, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An operation of storing a correction value for correcting the frequency generated by the clock generation circuit in the memory; The action of attempting to connect to a base station, In case the connection between the electronic device and the base station fails, an operation of determining a difference between a first correction value applied for frequency correction and a previous correction value applied before the first correction value; An operation for determining whether the above difference value is greater than or equal to a threshold value, and If the difference value is determined to be greater than or equal to the threshold value, an operation of performing frequency correction based on the previous correction value so that the first frequency generated by the clock generation circuit is corrected. to do, Electronic devices.
2. In paragraph 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: When the electronic device is connected to the base station after performing frequency correction based on the above-mentioned previous correction value, an operation of determining a frequency difference between the communication frequency of the base station and the communication frequency of the electronic device; and An operation of performing frequency correction based on the second correction value so that the above frequency difference is compensated for. to do, Electronic devices.
3. In paragraph 2, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An operation of storing at least one of the location information of the electronic device or the information of the base station when frequency correction is performed based on the second correction value and the second correction value in the memory. to do, Electronic devices.
4. In any one of paragraphs 1 to 3, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: When the connection between the electronic device and the base station fails after performing frequency correction based on the previous correction value, an operation of calculating an expected correction value for the success of the connection between the electronic device and the base station using the difference value and the first correction value; and An operation of attempting to connect to the base station by performing frequency correction based on the above expected correction value. to do, Electronic devices.
5. In paragraph 4, The operation of calculating the above expected correction value is: An operation of calculating the expected correction value by adding the difference value and the first correction value. including, Electronic devices.
6. In paragraph 5, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: If the connection between the electronic device and the base station fails after performing frequency correction based on the above expected correction value, an operation of repeatedly changing the additional expected correction value for the success of the connection between the electronic device and the base station by the first unit. to do, Electronic devices.
7. In paragraph 6, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: If the connection between the electronic device and the base station fails even after repeatedly changing the above additional expected correction value, an operation of sweeping the frequency correction range of the clock generation circuit by a second unit. to make Electronic devices.
8. In paragraph 7, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An action of providing a user with a notification of a failure in the connection between the electronic device and the base station when the connection between the electronic device and the base station fails even after sweeping the above frequency correction range. to make Electronic devices.
9. In any one of paragraphs 1 to 8, The operation of performing frequency correction based on the above previous correction value is as follows: An operation of adjusting at least one of the capacitors in the clock generation circuit based on the above-mentioned previous correction value. including, Electronic devices.
10. In any one of paragraphs 1 to 9, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An operation of transmitting to a server at least one of the first correction value, information on a base station that communicated with the electronic device when frequency correction using the first correction value was performed, or location information of the electronic device when frequency correction using the first correction value was performed, in case the connection between the electronic device and the base station fails. to do, Electronic devices.
11. In any one of paragraphs 1 to 10, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: If the difference value is determined to be greater than or equal to the threshold value, an operation of performing frequency correction based on the initial value or the average value of the initial value and the first correction value to make Electronic devices.
12. In the operating method of an electronic device (101, 201, 301, 1001), An operation of performing frequency correction based on a first correction value for compensation of the first frequency difference when a first frequency difference occurs in the electronic device while connected to the first base station; An action of attempting to connect to a second base station after the connection between the electronic device and the first base station is terminated; An operation of determining a difference between the first correction value and a previous correction value used in a previous frequency correction of the frequency correction when the connection between the electronic device and the second base station fails; An action to determine whether the above difference value is greater than or equal to a threshold value; If the difference value is determined to be greater than or equal to the threshold value, an operation of performing frequency correction based on the previous correction value; and An operation of attempting to connect to the second base station after performing frequency correction based on the above-mentioned previous correction value. including, How an electronic device operates.
13. In paragraph 12, An operation of storing at least one of the location information of the electronic device or the information of the first base station when compensation for the first frequency difference is performed and the first correction value in the memory of the electronic device. including more, How an electronic device operates.
14. In any one of paragraphs 12 to 13, An operation of forming a connection between the electronic device and the second base station, and performing frequency correction based on a second correction value for compensation of the second frequency difference when a second frequency difference occurs between the communication frequency of the second base station and the communication frequency of the electronic device while connected to the second base station. including more, How an electronic device operates.
15. In any one of paragraphs 12 to 14, An operation of calculating an expected correction value for the success of the connection between the electronic device and the second base station using the difference value and the first correction value, when the connection between the electronic device and the second base station fails after performing frequency correction based on the previous correction value, and An operation of attempting to connect to the second base station by performing frequency correction based on the above expected correction value. including more, How an electronic device operates.
Citation Information
Patent Citations
Method for system for follow up of frequency
JP2002305442A
Communication device and frequency synchronization method
JP2017175375A
Oscillator frequency control
KR101044845B1
Vacuum blood collection tube manufacturing system
KR1020240151616A
KR20190096261A