Antenna tuning circuit, method and electronic device
By switching the tuning switch state before the electronic device is shut down and maintaining power supply after shutdown, the problem of reduced antenna efficiency caused by uncertain tuning switch state is solved, and the RF signal coverage and FMD performance are improved.
Patent Information
- Application Number
- CN202510429505.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-04-08
AI Technical Summary
After the electronic device is turned off, the state of the tuning switch is uncertain and cannot be switched to the Bluetooth frequency band and matched impedance, resulting in reduced antenna efficiency, small RF signal coverage range, and poor FMD performance.
Before the electronic device is shut down, the tuning switch is switched to the on state through the tuning controller, and after the electronic device is shut down, power is supplied through the power manager to ensure that the tuning switch remains in the Bluetooth frequency band and matching impedance, thereby improving antenna efficiency.
The coverage of RF signals is increased and FMD performance is improved.
Smart Images

Figure CN120128208B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency, and in particular to an antenna tuning circuit, method and electronic device. Background Art
[0002] Currently, many mobile phones and other electronic devices support the find my device (FMD) feature. FMD uses Bluetooth Low Energy (BLE) technology to enable the low-power Bluetooth module to continue operating even after the device is turned off, transmitting radio frequency signals through the antenna. Other electronic devices nearby can then scan the radio frequency signals to determine the device's location and report it to the cloud, enabling the device to be found.
[0003] However, when an electronic device is turned off, the tuning switch and processor are both powered off. Before power is lost, the state of the tuning switch is unknown. If the tuning switch is not in the Bluetooth frequency band and the corresponding matching impedance, after power is lost, the tuning switch cannot be switched to the Bluetooth frequency band and the corresponding matching impedance, nor can it remain in the Bluetooth frequency band and the corresponding matching impedance. This reduces antenna efficiency, reduces RF signal coverage, and leads to poor FMD performance. Summary of the Invention
[0004] Embodiments of the present application provide an antenna tuning circuit, method, and electronic device, which can switch the state of a tuning switch to a Bluetooth frequency band and a corresponding matching impedance before the electronic device is shut down, and can maintain the tuning switch at the Bluetooth frequency band and the corresponding matching impedance after the electronic device is shut down, thereby improving the efficiency of the antenna, increasing the coverage range of the radio frequency signal, and thus improving the FMD performance.
[0005] To achieve the purpose, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an antenna tuning circuit is provided, which is applied to an electronic device; the antenna tuning circuit is connected to the antenna; the antenna tuning circuit includes a tuning switch, a power manager, a tuning controller, a Bluetooth chip and a processor; the antenna includes a Bluetooth antenna; the Bluetooth antenna is connected to the first end of the tuning switch; the power end of the tuning switch is connected to the power manager, and the control end of the tuning switch is connected to the tuning controller; the second end of the tuning switch is grounded through a first impedance matching circuit; the first end of the Bluetooth chip is connected to the Bluetooth antenna, the second end of the Bluetooth chip is connected to the power manager, and the third end of the Bluetooth chip is connected to the processor; the power manager and the tuning controller are respectively connected to the processor; the processor is used to: obtain shutdown information of the electronic device; the shutdown information is used to indicate that the electronic device is about to be shut down; before the electronic device is shut down, the state of the tuning switch is switched to the first state through the tuning controller, and a first control instruction is sent to the power manager; the first state is used to indicate that the first end and the second end of the tuning switch are conductive; the first control instruction is used to instruct the power manager to power the tuning switch and the Bluetooth chip after the electronic device is shut down.
[0007] The antenna tuning circuit can, before the electronic device is shut down, switch the tuning switch to a first state where the first end and the second end are conductive, via a tuning controller, and send a first control instruction to a power manager to control the power manager to power the tuning switch and the Bluetooth chip after the electronic device is shut down. Thus, the tuning switch can be switched to a Bluetooth frequency band and a corresponding matching impedance before the electronic device is shut down, and the tuning switch can remain in the Bluetooth frequency band and the corresponding matching impedance after the electronic device is shut down. This improves antenna efficiency, increases the coverage range of RF signals, and thus enhances FMD performance.
[0008] In an implementation method of the first aspect, the processor is also used to: obtain the power of the electronic device; when the power of the electronic device is greater than a first power threshold, before the electronic device is shut down, switch the state of the tuning switch to the first state through the tuning controller; and send a first control instruction to the power manager.
[0009] In this implementation, after obtaining the power level of the electronic device, the processor determines whether the power level of the electronic device is greater than a first power threshold. This is to determine whether the power level of the electronic device can meet the switching requirements of the tuning switch before the electronic device is shut down and the continued power consumption after the electronic device is shut down, thereby reducing the power consumption of the electronic device. If the power level of the electronic device is greater than the first power threshold, it indicates that the power level of the electronic device can meet the switching requirements of the tuning switch before the electronic device is shut down and the continued power consumption after the electronic device is shut down. Therefore, before the electronic device is shut down, the tuning controller can be used to switch the state of the tuning switch to the first state and send a first control instruction to the power manager.
[0010] In an implementation manner of the first aspect, the processor is further used to: when the power level of the electronic device is greater than a second power threshold and less than or equal to the first power threshold, before the electronic device is shut down, send a second control instruction to the power manager; the second control instruction is used to instruct the power manager to cut off power to the tuning switch and supply power to the Bluetooth chip after the electronic device is shut down.
[0011] In this implementation, since the power level of the electronic device is less than or equal to the first power threshold, the power level of the electronic device cannot meet the switching of the tuning switch before the electronic device is shut down and the continuous power consumption after the electronic device is shut down. The processor determines whether the power level of the electronic device is greater than the second power threshold in order to determine whether the power level of the electronic device can meet the continuous power consumption of the Bluetooth chip after the electronic device is shut down, thereby reducing the power consumption of the electronic device. When the power level of the electronic device is greater than the second power threshold, it indicates that the power level of the electronic device cannot meet the switching of the tuning switch before the electronic device is shut down and the continuous power consumption after the electronic device is shut down, but can meet the continuous power consumption of the Bluetooth chip after the electronic device is shut down. Therefore, before the electronic device is shut down, the second control instruction to power off the tuning switch and power on the Bluetooth chip can be sent to the power manager to reduce the power consumption of the electronic device.
[0012] In an implementation manner of the first aspect, the processor is further used to: when the power level of the electronic device is less than or equal to a second power threshold, before the electronic device is shut down, send a third control instruction to the power manager; the third control instruction is used to instruct the power manager to cut off power to the Bluetooth chip and the tuning switch after the electronic device is shut down.
[0013] In this implementation, since the power of the electronic device is less than or equal to the first power threshold, the power of the electronic device cannot meet the switching of the tuning switch before the electronic device is shut down and the continuous power consumption after the electronic device is shut down. When the power of the electronic device is less than or equal to the second power threshold, it indicates that the power of the electronic device cannot meet the continuous power consumption of the Bluetooth chip after the electronic device is shut down. Therefore, before the electronic device is shut down, an operation of sending a third control instruction to the power manager to cut off power to both the tuning switch and the Bluetooth chip can be executed to reduce the power consumption of the electronic device.
[0014] In an implementation manner of the first aspect, the processor is further used to: obtain the state of the tuning switch through the tuning controller; when the state of the tuning switch is in the second state, before the electronic device is shut down, switch the state of the tuning switch to the first state through the tuning controller, and send a first control instruction to the power manager; the second state is used to indicate that the first end and the second end of the tuning switch are disconnected.
[0015] In this implementation, the processor determines whether the state of the tuning switch is in the second state in order to determine whether to switch the state of the tuning switch to the first state based on the state. If the state of the tuning switch is in the second state, it indicates that the tuning switch is not in the Bluetooth frequency band and the corresponding matching impedance. In this case, it is necessary to switch the state of the tuning switch to the first state to adjust the tuning switch to the Bluetooth frequency band and the corresponding matching impedance. If the state of the tuning switch is in the first state, it indicates that the tuning switch is in the Bluetooth frequency band and the corresponding matching impedance. In this case, it is not necessary to switch the state of the tuning switch to the first state.
[0016] In an implementation manner of the first aspect, the processor is further configured to: when the tuning switch is in the first state, control the tuning switch to operate in the first frequency band through the tuning controller, and control the first impedance matching circuit to be turned on.
[0017] In this implementation, when the tuning switch is in the first state, the first end and the second end of the tuning switch are connected, the tuning switch is in the Bluetooth frequency band and connected to the corresponding matching impedance. In order to keep the Bluetooth antenna working efficiently, the tuning switch can be controlled by the tuning controller to operate in the first frequency band, so that the Bluetooth antenna operates in the first frequency band, and the first impedance matching circuit is controlled to be turned on, thereby matching the corresponding impedance.
[0018] In an implementation manner of the first aspect, the first frequency band is a 2.400 GHz to 2.4835 GHz frequency band.
[0019] In this implementation, by setting the first frequency band to be the 2.400 GHz to 2.4835 GHz frequency band, the tuning switch is placed in the 2.400 GHz to 2.4835 GHz Bluetooth frequency band, thereby improving the efficiency of the Bluetooth antenna.
[0020] In a second aspect, an antenna tuning method is provided, which is applied to an electronic device, the electronic device including an antenna; the antenna including a Bluetooth antenna; the method including: obtaining shutdown information of the electronic device; the shutdown information is used to indicate that the electronic device is about to be shut down; before the electronic device is shut down, switching the state of the tuning switch to a first state through a tuning controller, and sending a first control instruction to a power manager; the first state is used to characterize that the first end and the second end of the tuning switch are connected, the first end of the tuning switch is used to be connected to the Bluetooth antenna, and the second end of the tuning switch is used to be grounded through a first impedance matching circuit; the first control instruction is used to instruct the tuning switch and the Bluetooth chip to be powered by the power manager after the electronic device is shut down; the Bluetooth chip is used to transmit radio frequency signals with the Bluetooth antenna.
[0021] In an implementation manner of the second aspect, the method further includes: obtaining the power level of the electronic device; when the power level of the electronic device is greater than a first power level threshold, before the electronic device is shut down, switching the state of the tuning switch to the first state through the tuning controller, and sending a first control instruction to the power manager.
[0022] In an implementation manner of the second aspect, the method further includes: when the power level of the electronic device is greater than a second power threshold and less than or equal to the first power threshold, before the electronic device is shut down, sending a second control instruction to the power manager; the second control instruction is used to instruct the power manager to cut off power to the tuning switch and supply power to the Bluetooth chip after the electronic device is shut down.
[0023] In an implementation manner of the second aspect, the method further includes: when the power level of the electronic device is less than or equal to a second power threshold, before the electronic device is shut down, sending a third control instruction to the power manager; the third control instruction is used to instruct the power manager to cut off power to the Bluetooth chip and the tuning switch after the electronic device is shut down.
[0024] In an implementation manner of the second aspect, the method further includes: obtaining the state of the tuning switch through a tuning controller; when the state of the tuning switch is the second state, switching the state of the tuning switch to the first state through the tuning controller according to the shutdown information of the electronic device; the second state is used to represent that the first end and the second end of the tuning switch are disconnected.
[0025] In an implementation manner of the second aspect, the method further includes: when the tuning switch is in the first state, controlling the tuning switch to operate in the first frequency band through the tuning controller, and controlling the first impedance matching circuit to be turned on.
[0026] In an implementation manner of the second aspect, the first frequency band is a 2.400 GHz to 2.4835 GHz frequency band.
[0027] In a third aspect, an electronic device is provided, comprising the antenna tuning circuit according to the first aspect and any embodiment thereof, wherein the antenna tuning circuit is used to switch the antenna state of the electronic device and tune the antenna.
[0028] In a fourth aspect, an electronic device is provided, comprising: a memory and one or more processors, the memory being coupled to the processor; wherein the memory is used to store instructions executable by the processor, and the memory stores computer program code, the computer program code including computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the antenna tuning method as described in the second aspect and any embodiment thereof.
[0029] In a fifth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the antenna tuning method of the second aspect and any embodiment thereof.
[0030] In a sixth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the antenna tuning method of the second aspect and any embodiment thereof.
[0031] Among them, the technical effects brought about by the design methods of the second, third, fourth, fifth and sixth aspects can refer to the technical effects brought about by the different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a possible hardware structure of an electronic device provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of the structure of an antenna tuning circuit of an electronic device before shutting down is provided in the related art;
[0034] Figure 3 A schematic diagram of the structure of an antenna tuning circuit of an electronic device after it is turned off is provided in the related art;
[0035] Figure 4 A schematic diagram of FMD characteristics provided for related technology;
[0036] Figure 5 A schematic diagram of the wavelength depth and efficiency of an antenna when a tuning switch is operating normally and not operating is provided in the related art;
[0037] Figure 6 A schematic diagram of the structure of an antenna tuning circuit of an electronic device before shutting down provided in an embodiment of the present application;
[0038] Figure 7 A schematic diagram of the structure of an antenna tuning circuit of an electronic device after it is shut down, provided in an embodiment of the present application;
[0039] Figure 8 A schematic structural diagram of an antenna tuning circuit in which a tuning switch is a 4T switch provided in an embodiment of the present application;
[0040] Figure 9 A schematic diagram of the structure of an antenna tuning circuit provided by an embodiment of the present application, including 4T switches being turned on and various ports being connected;
[0041] Figure 10 A flowchart of an antenna tuning method provided in an embodiment of the present application;
[0042] Figure 11 A schematic diagram of a possible software structure of an electronic device provided in an embodiment of the present application;
[0043] Figure 12 A schematic diagram of an antenna tuning method combining hardware and software provided in an embodiment of the present application;
[0044] Figure 13 A schematic diagram of an antenna tuning method combined with a shutdown process provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following describes the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise specified, "multiple" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete way for ease of understanding. The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense. For example, they can refer to a physical direct connection or an indirect connection achieved through an electronic device, such as a connection achieved through a resistor, inductor, capacitor or other electronic device.
[0046] Bluetooth is a short-range wireless communication technology used for data transmission and communication between devices.
[0047] A tuning switch is an electronic switch used to adjust circuit parameters. It is commonly found in radio frequency (RF) and microwave circuits to optimize signal transmission and reception. The main functions of a tuning switch include frequency tuning, impedance matching, and signal optimization.
[0048] The find my device (FMD) feature is an important security feature in electronic devices such as mobile phones. It is used to help users locate, lock, or erase data on the device when the electronic device is lost or stolen.
[0049] An embodiment of the present application provides an electronic device having radio frequency functionality. The electronic device can be mobile or fixed. The electronic device can be deployed on land (e.g., indoors or outdoors, handheld or vehicle-mounted), on water (e.g., on ships), or in the air (e.g., on airplanes, balloons, and satellites). The electronic device can be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent, or terminal device. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, smart bracelet, smart screen, smart watch, virtual reality (VR) device, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical care, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. The embodiments of the present application do not limit the specific type and structure of the electronic device. A possible structure of the electronic device is described below.
[0050] Take the mobile phone as an example, Figure 1FIG. 1 shows a possible structure of an electronic device 100. The electronic device 100 may include a processor 6, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, a mobile communication module 250, a wireless communication module 260, an antenna tuning circuit 1, an antenna 2, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display 294, and a subscriber identification module (SIM) card interface 295. Optionally, in some embodiments, an audio digital signal processor (ADSP) 243 is also included.
[0051] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0052] The processor 6 may include one or more processing units, such as a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), an application processor (AP), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, and a neural network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. For example, the processor 6 may be an application processor (AP). Alternatively, the processor 6 may be integrated into a system on chip (SoC). Alternatively, the processor 6 may be integrated into an integrated circuit (IC) chip. The processor 6 may include an analog front end (AFE) and a micro-controller unit (MCU) in an IC chip.
[0053] Processor 6 may also include a memory for storing computer instructions and data. In some embodiments, the memory in processor 6 is a cache memory. This memory can store computer instructions or data that have just been used or are recycled by processor 6. If processor 6 needs to use the computer instructions or data again, it can directly call it from the memory. This avoids repeated accesses, reduces processor 6's waiting time, and thus improves system efficiency.
[0054] In some embodiments, the processor 6 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface.
[0055] In some embodiments, the processor may be a processor, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. The aforementioned processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0056] The ADSP 243 can be coupled to the audio module 270 and the sensor module 280. The ADSP 243 can be used to process audio signals and sensor data. When the processor 6 is in a dormant state, the ADSP 243 can still keep working, thereby reducing the power consumption of the electronic device 100.
[0057] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from those in the embodiment, or a combination of multiple interface connection methods.
[0058] The external memory interface 220 can be used to connect an external memory card to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 6 through the external memory interface 220 to implement data storage functions. For example, files such as music and videos can be stored in the external memory card.
[0059] The internal memory 221 can be used to store computer-executable program code, which includes computer instructions. The processor 6 executes the computer instructions stored in the internal memory 221 to execute various functional applications and data processing of the electronic device 100. In addition, the internal memory 221 can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0060] In the embodiment of the present application, when the computer instructions are executed by the processor 6 , the electronic device 100 executes the antenna tuning method in the embodiment of the present application.
[0061] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0062] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0063] Keys 290 include a power button, volume button, and other buttons. Keys 290 can be mechanical or touch-sensitive. Electronic device 100 can receive key inputs and generate key signal inputs related to user settings and function control of electronic device 100. Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. Indicator 292 can be an indicator light that can indicate charging status, battery level changes, messages, missed calls, notifications, and the like. SIM card interface 295 is used to connect a SIM card. A SIM card can be connected to and disconnected from electronic device 100 by inserting or removing it from SIM card interface 295. Electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than one. SIM card interface 295 can support nano SIM cards, micro SIM cards, and SIM cards. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
[0064] The electronic device 100 can implement a camera function using an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor. The ISP is used to process data fed back by the camera 293. In some embodiments, the ISP can be provided within the camera 293. The camera 293 is used to capture still images or videos. In some embodiments, the electronic device 100 can include one or N cameras 293, where N is a positive integer greater than one.
[0065] Electronic device 100 can implement display functions through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 6 may include one or more GPUs that execute computer instructions to generate or change display information.
[0066] The power management module 240 is configured to receive charging input from a charger. The charger may be a wireless charger, such as a wireless charging dock or another electronic device 100 with reverse wireless charging functionality. The power management module 240 may receive wireless charging input via the electronic device's wireless charging coil 242. Alternatively, the charger may be a wired charger, for example, via the USB port 230. The power management module 240 is also referred to as a charging chip.
[0067] The power management module 240 is connected to the battery 241. The power management module 240 receives input from the battery 241 and provides power to the processor 6, the internal memory 221, the display 294, the camera 293, and the wireless communication module 260. The power management module 240 can also monitor parameters such as the capacity of the battery 241, the number of cycles of the battery 241, and the health status of the battery 241 (leakage, impedance). In other embodiments, the power management module 240 can also be provided in the processor 6.
[0068] In the embodiment of the present application, the wireless communication function of the electronic device 100 can be implemented through the antenna tuning circuit 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modulation and demodulation processor, etc.
[0069] The mobile communication module 250 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G for the electronic device 100. The wireless communication module 260 can provide solutions for wireless communications such as wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) for the electronic device 100.
[0070] In the related art, exemplary, as shown in the attached Figure 2As shown, antenna tuning circuit 1 includes antenna 2, tuning switch 3, power manager 4, Bluetooth chip 5, and processor 6. Antenna 2 includes Bluetooth antenna 21 and Wi-Fi antenna 22. Bluetooth antenna 21 is connected to the first terminal of tuning switch 3. The power terminal of tuning switch 3 is connected to power manager 4. The control terminal of tuning switch 3 is connected to processor 6. Bluetooth antenna 21 is also connected to the first terminal of Bluetooth chip 5. The second terminal of Bluetooth chip 5 is connected to power manager 4, and the third terminal of Bluetooth chip 5 is connected to processor 6. When the Bluetooth function of electronic device 100 is functioning normally, power manager 4 supplies power to tuning switch 3, Bluetooth chip 5, and processor 6. On the one hand, processor 6 controls Bluetooth chip 5 to transmit radio frequency signals through Bluetooth antenna 21. On the other hand, processor 6 controls tuning switch 3 to switch state, so that tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. Since tuning switch 3 is energized, tuning switch 3 remains in the Bluetooth frequency band and the corresponding matching impedance, thus allowing Bluetooth antenna 21 to operate in the optimal Bluetooth frequency band.
[0071] Currently, many electronic devices 100 such as mobile phones support FMD features. Figure 3 As shown in FIG, on the one hand, after the electronic device 100 is turned off, the power manager 4 cuts off the power to the tuning switch 3 and the processor 6. After the tuning switch 3 and the processor 6 are cut off, the processor 6 cannot control the switching state of the tuning switch 3, so that the tuning switch 3 is in the Bluetooth frequency band and cannot control the Bluetooth chip 5. For example, as shown in FIG. Figure 3 -Attached Figure 4 As shown, on the other hand, the power manager 4 continues to supply power to the Bluetooth chip 5. After the electronic device 100 is turned off, the Bluetooth chip 5 continues to work and transmits radio frequency signals through the Bluetooth antenna 21. At this time, other electronic devices 101 around can obtain the location of the electronic device 100 by scanning the radio frequency signals transmitted by the Bluetooth antenna 21, and report it to the cloud to achieve the purpose of finding the electronic device 100.
[0072] For example, as shown in the attached Figure 5As shown, when the tuning switch 3 is operating normally, that is, the electronic device 100 is operating normally and is in a state of tuning the Bluetooth antenna 21, the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance, and the power manager 4 supplies power to the tuning switch 3 to keep the tuning switch 3 in the Bluetooth frequency band and the corresponding matching impedance. At this time, the coordinates of point ② are (2.44 GHz, -4.224761 dB), that is, the efficiency of the Bluetooth antenna 21 in the 2.44 GHz frequency band is -4.224761 dB. When tuning switch 3 is not operating, that is, before electronic device 100 is shut down, tuning switch 3 is not in the Bluetooth frequency band and the corresponding matching impedance. After electronic device 100 is shut down, power manager 4 powers off tuning switch 3 and processor 6. Processor 6 cannot use tuning switch 3 to switch the state to the Bluetooth frequency band and the corresponding matching impedance. Since tuning switch 3 is powered off, tuning switch 3 cannot be maintained in the Bluetooth frequency band and the corresponding matching impedance. At this time, the coordinates of point ① are (2.44 GHz, -12.40478 dB), which means that the efficiency of Bluetooth antenna 21 in the 2.44 GHz frequency band is -12.40478 dB. Therefore, when tuning switch 3 is not operating, the efficiency of Bluetooth antenna 21 decreases by approximately 8 dB compared to when tuning switch 3 is operating normally. Consequently, the efficiency of Bluetooth antenna 21 decreases, the RF signal coverage range is reduced, and thus poor FMD performance is achieved.
[0073] To this end, an embodiment of the present application provides an antenna tuning circuit 1 that can, before electronic device 100 is shut down, switch tuning switch 3 to a first state in which the first end and the second end are conductive, via a tuning controller, and send a first control instruction to power manager 4 to power tuning switch 3 and Bluetooth chip 5 after electronic device 100 is shut down. Thus, tuning switch 3 can be switched to a Bluetooth frequency band and a corresponding matching impedance before electronic device 100 is shut down, and tuning switch 3 can be maintained in the Bluetooth frequency band and the corresponding matching impedance after electronic device 100 is shut down, thereby improving the efficiency of Bluetooth antenna 21, increasing the coverage range of RF signals, and thereby enhancing FMD performance.
[0074] The antenna tuning circuit provided in the embodiment of the present application can be as shown in the attached Figure 1 The antenna tuning circuit 1 in the electronic device 100 shown in FIG. Figure 1 The antenna 2 in the electronic device 100 is shown. In the embodiment of the present application, the electronic device 100 including the antenna tuning circuit 1 is taken as an example to specifically describe the antenna tuning circuit 1 of the present application.
[0075] For example, as shown in the attached Figure 6 As shown, the antenna tuning circuit 1 is applied to an electronic device 100. The antenna tuning circuit 1 is connected to an antenna 2. Figure 2 The antenna tuning circuit in the related art shown further includes a tuning controller 7. A control end of the tuning switch 3 is connected to the tuning controller 7. A second end of the tuning switch 3 is grounded via a first impedance matching circuit 31. The tuning controller 7 is connected to a processor 6.
[0076] The processor 6 is configured to obtain shutdown information indicating that the electronic device 100 is about to shut down. Before the electronic device 100 shuts down, the tuning controller 7 switches the tuning switch 3 to the first state and sends a first control instruction to the power manager 4.
[0077] The first state is used to indicate that the first end and the second end of the tuning switch 3 are connected; the first control instruction is used to instruct the power manager 4 to supply power to the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 is shut down.
[0078] In a possible implementation, the antenna 2 may be a patch antenna, a dipole antenna, a chip antenna, etc. The embodiment of the present application does not limit the type of the antenna 2.
[0079] In a possible implementation, the antenna 2 may include a Bluetooth antenna 21, a Wi-Fi antenna 22, or a ZigBee antenna. The embodiment of the present application does not limit the type of the antenna 2.
[0080] In a possible implementation, the tuning switch 3 may be a single-pole double-throw switch, a relay switch, or a single-pole multi-throw switch. The embodiment of the present application does not limit the type of the tuning switch 3.
[0081] In this embodiment of the present application, the tuner controller 7, Bluetooth chip 5, and processor 6 are independent of each other. The tuner controller 7 can be integrated on a radio frequency chip. The processor 6 can be integrated on a system-on-chip (SOC). The Bluetooth chip 5 can be integrated on a separate chip from the SOC and radio frequency chip.
[0082] As attached Figure 6 The working principle of the antenna tuning circuit 1 in the embodiment of the present application is as follows:
[0083] Since after the electronic device 100 is shut down, the power manager 4 not only supplies power to the Bluetooth chip 5 but also powers off the tuning switch 3, processor 6, and tuning controller 7, in order to prevent the tuning switch 3 from being unable to switch to the Bluetooth frequency band and the corresponding matching impedance after the power manager 4 powers off the tuning switch 3 and processor 6, the processor 6 obtains the shutdown information that the electronic device 100 is about to shut down. Before the electronic device 100 is shut down, the tuning controller 7 switches the tuning switch 3 to the first state where the first end and the second end are connected, that is, switches the tuning switch 3 to the Bluetooth frequency band and the corresponding matching impedance, so that the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance before the electronic device 100 is shut down. The first control instruction for the power manager 4 to power the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 is shut down is sent to the power manager 4. For example, as shown in the attached figure, Figure 7 As shown, after electronic device 100 is shut down, although power manager 4 powers off tuner controller 7 and processor 6, processor 6 is unable to control the switching state of tuner switch 3 through tuner controller 7 and is unable to control Bluetooth chip 5. However, power manager 4 continues to power tuner switch 3 and Bluetooth chip 5. This allows tuner switch 3, still powered, to remain within the Bluetooth frequency band and corresponding matching impedance even after electronic device 100 is shut down. This ensures normal operation of tuner switch 3 and maintains high efficiency for Bluetooth antenna 21. Consequently, the efficiency of Bluetooth antenna 21 is improved (for example, from -12.40478dB to -4.224761dB), extending the RF signal coverage range (for example, from 2-3 meters to 6-8 meters), thereby enhancing FMD performance.
[0084] In a possible implementation, the tuning switch 3 may be a single-pole double-throw switch, a relay switch, or a single-pole multi-throw switch. The embodiment of the present application does not limit the type of the tuning switch 3.
[0085] In one possible implementation, the single-pole multi-throw switch can be a single-pole three-throw switch, i.e., a 3T switch, or a single-pole four-throw switch, i.e., a 4T switch. The embodiment of the present application does not limit the type of the single-pole multi-throw switch.
[0086] The following embodiments of the present application take a 4T switch as an example to specifically illustrate the antenna tuning circuit 1 of the present application.
[0087] For example, as shown in the attached Figure 8 As shown, the tuning switch 3 includes a first terminal (ANT terminal), an RF1 terminal, an RF2 terminal, an RF3 terminal, an RF4 terminal, a first ground terminal (GND1 terminal), a power terminal (VIO terminal), a control terminal, an address terminal (IDO terminal) and a second ground terminal (GND2 terminal).
[0088] The ANT terminal is used to connect to antenna 2. The RF1, RF2, RF3, and RF4 terminals are connected to the ANT terminal, corresponding to four different frequency bands. GND1 and GND2 are used for grounding. The VIO terminal is connected to the power supply and receives the power supply voltage VDD. The control terminal is a serial interface, including the SCLK terminal for inputting the clock signal and the SDATA terminal for inputting the data signal. The IDO terminal is used to input the address to identify different models of tuning switch 3.
[0089] In the embodiment of the present application, the second end may be an RF1 end, or an RF2 end, an RF3 end, or an RF4 end. The embodiment of the present application does not limit the port of the second end.
[0090] The following embodiments of the present application take the second end as the RF1 end as an example to specifically illustrate the antenna tuning circuit 1 of the present application.
[0091] For example, as shown in the attached Figure 9 As shown in the embodiment of the present application, the ANT terminal is connected to the Bluetooth antenna 21. The RF1 terminal is grounded through the first impedance matching circuit 31. The RF2 terminal is grounded through the second impedance matching circuit 32. The RF3 terminal is grounded through the third impedance matching circuit 33. The RF4 terminal is grounded through the fourth impedance matching circuit 34. The VIO terminal is connected to the power manager 4. The SCLK terminal and the SDATA terminal are respectively connected to the tuning controller 7. The connection relationship of the other components of the antenna tuning circuit 1 is the same as that of the attached figure. Figure 6 -Attached Figure 8 The connection method is the same as in , so I will not repeat it here.
[0092] As attached Figure 9 The working principle of the antenna tuning circuit 1 in the embodiment of the present application is as follows:
[0093] When tuning switch 3 is operating, power manager 4 supplies power to tuning switch 3. When the ANT terminal and the RF1 terminal are connected, tuning switch 3 is in a first state, in a first frequency band, causing Bluetooth antenna 21 to operate in the first frequency band. For example, in the first state, Bluetooth antenna 21 operates in the 2.400 GHz to 2.4835 GHz Bluetooth frequency band. The tuning controller 7 can control the first impedance matching circuit 31 to conduct via tuning switch 3 to match the corresponding impedance. When the ANT terminal and the RF2 terminal are connected, tuning switch 3 is in a second state, in a second frequency band, causing Bluetooth antenna 21 to operate in the second frequency band. For example, in the second state, Bluetooth antenna 21 operates in the first Wi-Fi frequency band of 4.915 GHz to 5.825 GHz. The tuning controller 7 can control the second impedance matching circuit 32 to conduct via tuning switch 3 to match the corresponding impedance. When the ANT terminal is connected to the RF3 terminal, the tuning switch 3 is in a third state and in a third frequency band, so that the Bluetooth antenna 21 operates in the third frequency band. For example, the third state causes the Bluetooth antenna 21 to operate in the second Wi-Fi frequency band of 5.925 GHz to 7.125 GHz, and the tuning controller 7 can control the third impedance matching circuit 33 to conduct via the tuning switch 3 to match the corresponding impedance. When the ANT terminal is connected to the RF4 terminal, the tuning switch 3 is in a fourth state and in a fourth frequency band, so that the Bluetooth antenna 21 operates in the fourth frequency band. For example, the fourth state causes the Bluetooth antenna 21 to operate in the 868 MHz Zigbee frequency band, and the tuning controller 7 can control the fourth impedance matching circuit 34 to conduct via the tuning switch 3 to match the corresponding impedance.
[0094] Furthermore, while the power manager 4 continues to supply power to the tuning switch 3, the VIO terminal of the tuning switch 3 is always powered on, thereby maintaining the state of the tuning switch 3. For example, after the tuning switch 3 is switched to the first state, the power manager 4 continues to supply power to the tuning switch 3, and the VIO terminal is always powered on, thereby maintaining the tuning switch 3 in the first state. If the power manager 4 cuts off power to the tuning switch 3, the tuning switch 3 cannot be maintained in the first state.
[0095] In the embodiments of this application, for example, see the attached Figure 9Before the electronic device 100 is shut down, the processor 6 switches the tuning switch 3, via the tuning controller 7, so that the ANT terminal and the RF1 terminal are conductive. At this point, the tuning switch 3 is in the first state, within the Bluetooth frequency band and the corresponding matching impedance. The processor 6 also sends a first control instruction to the power manager 4 via the tuning controller 7. After the electronic device 100 is shut down, the power manager 4 supplies power to the tuning switch 3 and the Bluetooth chip 5 according to the first control instruction. The power manager 4 supplies power to the tuning switch 3, ensuring that the tuning switch 3 remains powered after the electronic device 100 is shut down and maintains its pre-shutdown state. The power manager 4 supplies power to the Bluetooth chip 5, ensuring that the Bluetooth antenna 21 continues to transmit radio frequency signals even after the electronic device 100 is shut down, thereby enabling other nearby electronic devices 101 to scan and detect the radio frequency signals transmitted by the Bluetooth antenna 21. After the electronic device 100 is turned off, the power manager 4 still supplies power to the tuning switch 3. Therefore, the tuning switch 3 can remain in the first state, thereby ensuring that the Bluetooth antenna 21 operates in the optimal Bluetooth frequency band, i.e., the 2.400 GHz to 2.4835 GHz band, thereby maintaining high efficiency. Therefore, the efficiency of the Bluetooth antenna 21 can be improved, the coverage range of the RF signal can be increased, and the FMD performance can be improved.
[0096] In one possible implementation, when the tuning switch 3 is in the first state, the processor 6 controls the tuning switch 3 to operate in the first frequency band through the tuning controller 7, and controls the first impedance matching circuit 31 to be turned on. In one possible implementation, the first frequency band is the 2.400 GHz to 2.4835 GHz frequency band.
[0097] When tuning switch 3 is in the first state, the ANT terminal of tuning switch 3 is conductively connected to the RF1 terminal, and tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. Therefore, it is necessary to control tuning switch 3 to operate in the first Bluetooth frequency band, thereby enabling Bluetooth antenna 21 to operate in the Bluetooth frequency band. Furthermore, first impedance matching circuit 31 is controlled to be conductive to match the corresponding impedance, thereby maintaining high efficiency of Bluetooth antenna 21.
[0098] To address the above issues, the present invention also provides an antenna tuning method. Similarly, before the electronic device 100 is turned off, the tuning switch 3 can be switched to the Bluetooth frequency band and the corresponding matching impedance. After the electronic device 100 is turned off, the tuning switch 3 can be maintained in the Bluetooth passband and the corresponding matching impedance. This improves the efficiency of the Bluetooth antenna 21, increases the coverage range of the RF signal, and thus improves the FMD performance. The present invention uses the electronic device 100 including the antenna tuning method as an example to specifically illustrate the antenna tuning method.
[0099] For example, as shown in the attached Figure 10As shown, an antenna tuning method provided in an embodiment of the present application is applied to an electronic device 100, wherein the electronic device 100 includes an antenna 2, which includes a Bluetooth antenna 21, and a processor 6 for executing the antenna tuning method. The connection relationship between the Bluetooth antenna 21, the tuning switch 3, the power manager 4, the tuning controller 7, the Bluetooth chip 5, and the processor 6 is the same as the connection relationship in the antenna tuning circuit 1 described above, and will not be repeated here. The antenna tuning method may include steps S1001-S1011:
[0100] In step S1001 , the processor 6 obtains shutdown information of the electronic device 100 .
[0101] The shutdown information is used to indicate that the electronic device 100 is about to shut down. The processor 6 obtains the shutdown information indicating that the electronic device 100 is about to shut down in order to, before the electronic device 100 shuts down, execute the steps of switching the tuning switch 3 and / or sending a control instruction to the power manager 4 based on the state of the tuning switch 3 and the power level of the electronic device 100, so that after the electronic device 100 shuts down, the Bluetooth antenna 21 continues to operate in the first frequency band of 2.400 GHz to 2.4835 GHz.
[0102] In step S1002 , the processor 6 obtains the state of the tuning switch 3 through the tuning controller 7 .
[0103] The states of the tuning switch 3 include a first state and a second state. The first state is used to indicate that the ANT terminal of the tuning switch 3 is connected to the RF1 terminal, that is, the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. The second state is used to indicate that the ANT terminal of the tuning switch 3 is disconnected from the RF1 terminal, that is, the tuning switch 3 is not in the Bluetooth frequency band and the corresponding matching impedance, but is in another frequency band and the corresponding matching impedance. For example, the ANT terminal is connected to the RF2 terminal, the RF3 terminal, or the RF4 terminal, and the tuning switch 3 is in the first Wi-Fi frequency band, the second Wi-Fi frequency band, or the Zigbee frequency band, so that the Bluetooth antenna 21 operates in the corresponding first Wi-Fi frequency band, the second Wi-Fi frequency band, or the Zigbee frequency band.
[0104] The processor 6 obtains the state of the tuning switch 3 through the tuning controller 7 in order to execute step S1003 to determine the state of the tuning switch 3 before the electronic device 100 is shut down.
[0105] In step S1003 , the processor 6 determines whether the state of the tuning switch 3 is the second state.
[0106] Processor 6 determines whether the state of tuning switch 3 is in the second state in order to determine whether the state of tuning switch 3 needs to be switched to the first state based on this state. If the state of tuning switch 3 is in the second state, it indicates that tuning switch 3 is not in the Bluetooth frequency band and the corresponding matching impedance. In this case, step S1005 needs to be executed for further determination, thereby switching the state of tuning switch 3 to the first state, so that tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. If the state of tuning switch 3 is in the first state, it indicates that tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. In this case, the state of tuning switch 3 does not need to be switched to the first state, and step S1004 is executed.
[0107] In step S1004 , the processor 6 sends a first control instruction to the power manager 4 .
[0108] When the state of the tuning switch 3 is the first state, it indicates that the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. At this time, the tuning switch 3 is already in the first state, and there is no need to switch the state of the tuning switch 3 to the first state. Therefore, it is only necessary to send a first control instruction to the power manager 4 to power the tuning switch 3 and the Bluetooth chip 5 through the power manager 4 after the electronic device 100 is turned off. In this way, after the electronic device 100 is turned off, the tuning switch 3 is kept in the first state because it is powered on, so that the tuning switch 3 is always in the Bluetooth frequency band and the corresponding matching impedance, and the Bluetooth chip 5 is kept powered on and can continuously transmit radio frequency signals through the Bluetooth antenna 21, so that other electronic devices 101 around can also scan the radio frequency signals transmitted by the Bluetooth antenna 21.
[0109] In step S1005 , the processor 6 obtains the power level of the electronic device 100 .
[0110] After determining the state of the tuning switch 3, the processor 6 obtains the power level of the electronic device 100 in order to determine whether the power level of the electronic device 100 can meet the switching of the tuning switch 3 before the electronic device 100 is shut down and the continuous power consumption after the electronic device 100 is shut down, and the continuous power consumption of the Bluetooth chip 5 after the electronic device 100 is shut down. Therefore, according to the power level, after the electronic device 100 is shut down, the tuning switch 3 and the Bluetooth chip 5 are correspondingly powered through the power manager 4, thereby reducing the power consumption of the electronic device 100.
[0111] In step S1006 , the processor 6 determines whether the power level of the electronic device 100 is greater than a first power threshold.
[0112] The first power threshold is a threshold at which the power level of the electronic device 100 cannot meet the power requirements of the switching of the tuning switch 3 before the electronic device 100 is shut down and the power consumption of the electronic device 100 after the electronic device 100 is shut down, and can be set according to actual needs. For example, it can be obtained by counting multiple power levels at which the electronic device 100 cannot meet the power requirements of the switching of the tuning switch 3 before the electronic device 100 is shut down and the power consumption of the electronic device 100 after the electronic device 100 is shut down, such as counting the mean, median, minimum, or maximum values of multiple power levels at which the electronic device 100 cannot meet the power requirements of the switching of the tuning switch 3 before the electronic device 100 is shut down and the power consumption of the electronic device 100 after the electronic device 100 is shut down; it can also be set according to an empirical value, such as 10% power level.
[0113] The processor 6 determines whether the power level of the electronic device 100 is greater than the first power threshold in order to determine whether the power level of the electronic device 100 can meet the switching of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down, thereby reducing the power consumption of the electronic device 100. If the power level of the electronic device 100 is greater than the first power threshold, it indicates that the power level of the electronic device 100 can meet the switching of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down. In this case, if the switching condition of the tuning switch 3 is met, that is, the state of the tuning switch 3 is in the second state, step S1007 is executed. If the power level of the electronic device 100 is less than or equal to the first power threshold, it indicates that the power level of the electronic device 100 cannot meet the switching of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down. In this case, if the switching condition of the tuning switch 3 is met, that is, the state of the tuning switch 3 is in the second state, further determination is required and step S1008 is executed.
[0114] Step S1007 : before the electronic device 100 is shut down, the processor 6 switches the state of the tuning switch 3 to the first state through the tuning controller 7 , and sends a first control instruction to the power manager 4 .
[0115] When the power level of the electronic device 100 is greater than the first power threshold, it indicates that the power level of the electronic device 100 is sufficient to meet the switching of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down. At this time, when the switching condition of the tuning switch 3 is met, that is, the state of the tuning switch 3 is in the second state, the tuning controller 7 can control the tuning switch 3 to switch before the electronic device 100 is shut down, and the power manager 4 can supply power to the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 is shut down. In other words, before the electronic device 100 is shut down, the tuning controller 7 switches the state of the tuning switch 3 to the first state, and sends a first control instruction to the power manager 4 to supply power to the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 is shut down.
[0116] In step S1008 , the processor 6 determines whether the power level of the electronic device 100 is greater than a second power threshold.
[0117] The second power threshold is a threshold at which the power level of the electronic device 100 cannot meet the power consumption of the Bluetooth chip 5 after the electronic device 100 is turned off, and can be set according to actual needs. For example, it can be obtained by counting multiple power levels at which the electronic device 100 cannot meet the power consumption of the Bluetooth chip 5 after the electronic device 100 is turned off, such as counting the mean, median, minimum, or maximum values of the multiple power levels at which the electronic device 100 cannot meet the power consumption of the Bluetooth chip 5 after the electronic device 100 is turned off; it can also be set based on an empirical value, such as 3% power.
[0118] Processor 6 determines whether the battery level of electronic device 100 is greater than the second battery level threshold in order to determine whether the battery level of electronic device 100 can meet the continued power consumption of Bluetooth chip 5 after electronic device 100 is shut down, thereby reducing the power consumption of electronic device 100. If the battery level of electronic device 100 is greater than the second battery level threshold, it indicates that the battery level of electronic device 100 can meet the continued power consumption of Bluetooth chip 5 after electronic device 100 is shut down. In this case, if the switching condition of tuning switch 3 is met, that is, the state of tuning switch 3 is in the second state, step S1009 is executed. If the battery level of electronic device 100 is less than or equal to the second battery level threshold, it indicates that the battery level of electronic device 100 cannot meet the continued power consumption of Bluetooth chip 5 after electronic device 100 is shut down. In this case, if the switching condition of tuning switch 3 is met, that is, the state of tuning switch 3 is in the second state, step S1010 is executed.
[0119] Step S1009 : before the electronic device 100 is shut down, a second control instruction is sent to the power manager 4 .
[0120] Because the battery level of the electronic device 100 is less than or equal to the first battery level threshold, the battery level of the electronic device 100 cannot meet the switching requirements of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down. When the battery level of the electronic device 100 is greater than the second battery level threshold, this indicates that although the battery level of the electronic device 100 cannot meet the switching requirements of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down, it can meet the continued power consumption of the Bluetooth chip 5 after the electronic device 100 is shut down. In this case, if the switching condition of the tuning switch 3 is met, that is, the state of the tuning switch 3 is in the second state, the Bluetooth chip 5 can be powered only by the power manager 4 after the electronic device 100 is shut down. In other words, before the electronic device 100 is shut down, a second control instruction is sent to the power manager 4, instructing the power manager 4 to de-energize the tuning switch 3 and power the Bluetooth chip 5 after the electronic device 100 is shut down, thereby reducing the power consumption of the electronic device 100.
[0121] Step S1010 : before the electronic device 100 is shut down, a third control instruction is sent to the power manager 4 .
[0122] Because the power level of the electronic device 100 is less than or equal to the first power threshold, the power level of the electronic device 100 cannot meet the switching requirements of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down. When the power level of the electronic device 100 is less than or equal to the second power threshold, it indicates that the power level of the electronic device 100 cannot meet the switching requirements of the tuning switch 3 before the electronic device 100 is shut down and the continued power consumption after the electronic device 100 is shut down, nor can it meet the continued power consumption of the Bluetooth chip 5 after the electronic device 100 is shut down. In this case, if the switching condition of the tuning switch 3 is met, that is, the state of the tuning switch 3 is in the second state, the tuning switch 3 and the Bluetooth chip 5 can be powered off by the power manager 4 after the electronic device 100 is shut down. In other words, before the electronic device 100 is shut down, a third control instruction is sent to the power manager 4, instructing the power manager 4 to power off the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 is shut down, thereby reducing the power consumption of the electronic device 100.
[0123] In step S1011, after the electronic device 100 is turned off, the power manager 4 supplies power to the tuning switch 3 and the Bluetooth chip 5 according to the first control instruction; or the power manager 4 cuts off power to the tuning switch 3 and the Bluetooth chip 5 according to the second control instruction; or the power manager 4 cuts off power to the tuning switch 3 and the Bluetooth chip 5 according to the third control instruction.
[0124] The antenna tuning method described in steps S1001-S1010 above involves processor 6, after determining the state of tuning switch 3 and the battery level of electronic device 100, sending the first, second, or third control instructions to power manager 4 before shutting down electronic device 100, based on different combinations of conditions being met. Therefore, after electronic device 100 is shut down, power manager 4 may power tuning switch 3 and Bluetooth chip 5 according to the first control instruction sent; or power manager 4 may power down tuning switch 3 and Bluetooth chip 5 according to the second control instruction sent; or power manager 4 may power down tuning switch 3 and Bluetooth chip 5 according to the third control instruction sent.
[0125] The antenna tuning method described in steps S1001-S1011 above is that, after obtaining shutdown information of the electronic device 100, the processor 6 switches the tuning switch 3 to the first state via the tuning controller 7 before the electronic device 100 shuts down, provided that the tuning switch 3 is in the second state and the battery level of the electronic device 100 is greater than a first battery level threshold. Furthermore, the processor 6 sends a first control instruction to the power manager 4, instructing the power manager 4 to power the tuning switch 3 and the Bluetooth chip 5 after the electronic device 100 shuts down. This ensures that, before the electronic device 100 shuts down, the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance. After the electronic device 100 shuts down, the tuning switch 3 remains in the Bluetooth frequency band and the corresponding matching impedance, thereby maintaining high-efficiency operation. Therefore, the efficiency of the Bluetooth antenna 21 can be improved, the coverage range of the RF signal can be increased, and the FMD performance can be improved. Furthermore, the processor 6 can send different control instructions to the power manager 4 before the electronic device 100 is shut down according to the power level of the electronic device 100. After the electronic device 100 is shut down, the power manager 4 takes different power supply measures for the tuning switch 3 and the Bluetooth chip 5 according to the control instructions sent above, thereby reducing the power consumption of the electronic device 100.
[0126] The above antenna tuning method can also be implemented by the software layer of the electronic device 100. Figure 11 As shown, taking the electronic device 100 running the Android operating system as an example, the software architecture running on the electronic device 100 includes an application layer, a framework layer, a system runtime layer, a hardware abstraction layer (HAL) and a kernel layer.
[0127] The kernel layer is the layer between hardware and software. For example, it includes the display driver, camera driver, and RF driver. The display driver drives the display to display images or receive user touch operations, the camera driver drives the camera to capture image data, and the RF driver drives the antenna tuning circuit.
[0128] In the embodiment of the present application, the RF driver is used to drive the antenna tuning circuit 1 to output a RF signal through the antenna 2.
[0129] The HAL layer abstracts the hardware. It hides the platform-specific hardware interface details and provides the operating system with a virtual hardware platform, ensuring hardware independence. For example, the HAL layer includes the display module, camera module, and RF module. The display module is used to create a virtual display screen, the camera module is used to create a virtual camera, and the RF module is used to create a virtual antenna tuning circuit.
[0130] The system runtime layer includes C / C++ libraries and runtime libraries. Many core components and services of the Android operating system are built from native code and require C / C++ libraries written in C and C++. When an application is first installed, the runtime library is precompiled into machine code, a process called pre-compilation. This allows for acceleration when the application is launched and executed by running the machine code.
[0131] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer includes predefined implementation methods. For example, the framework layer includes the window manager, content provider, view system, notification manager, and mobile industry processor interface (MIPI) manager.
[0132] The application layer can include a series of application packages, such as photo, camera and other applications (application, app).
[0133] In combination with the hardware and software structure of the electronic device 100, for example, as shown in the attached Figure 12As shown, in the above antenna tuning method, first, the electronic device 100 responds to a shutdown event, and the processor 6 obtains shutdown information corresponding to the shutdown event. The shutdown event can be a hardware power button shutdown event or a software screen swipe, screen click, or other shutdown event. Secondly, at the kernel layer, based on the shutdown information, the processor 6 transmits a synchronization signal to the tuning controller 7 via the synchronous serial peripheral interface (SPI) protocol of the synchronous driver in the RF driver, and transmits an asynchronous signal to the tuning controller 7 via the asynchronous universal asynchronous receiver transmitter (UART) protocol of the asynchronous driver in the RF driver. Thirdly, after receiving the synchronization and asynchronous signals, the tuning controller 7 sends a clock signal and a data signal to the SCLK and SDATA terminals of the tuning switch 3, respectively, via the MIPI manager of the HAL layer. Finally, the tuning switch 3 switches state based on the received clock and data signals, namely, controlling the ANT and RF1 terminals to conduct, so that the tuning switch 3 is in the Bluetooth frequency band and has the corresponding matching impedance.
[0134] Furthermore, the shutdown of the electronic device 100 is implemented through a software system. During the software implementation process, from the desktop to the shutdown, a series of software processes need to be closed. Different processes correspond to different shutdown process stages, and different shutdown process stages correspond to the shutdown of different layers of the software system. The embodiment of the present application combines software and hardware, taking the shutdown flowchart as an example, corresponding to each layer in the shutdown process in the software, and the tuning switch 3 and Bluetooth antenna 21 in the hardware, exemplarily illustrates the above-mentioned antenna tuning method. For example, as shown in the attached Figure 13 As shown, the antenna tuning method includes the following steps:
[0135] Step 1: At the kernel level, register the callback function when the computer is powered on.
[0136] Registering a reboot callback function during startup refers to registering a reboot callback function at the kernel layer during the startup process of the electronic device 100. This step facilitates calling the reboot callback function when the electronic device 100 shuts down, thereby performing subsequent steps. Since the kernel layer is the layer between hardware and software and includes some drivers, registering the reboot callback function during the startup process is completed at the kernel layer.
[0137] Step 2: At the kernel layer, shutdown calls the callback function.
[0138] Calling a shutdown callback function means registering a reboot callback function at the kernel layer during the shutdown process of the electronic device 100. Upon detecting a shutdown event, the software first executes a shutdown operation, and the electronic device 100 executes the shutdown process. After receiving the shutdown information, the processor 6 calls the reboot callback function at the kernel layer via the reboot module. Since the kernel layer is the layer between hardware and software and includes some drivers, calling the reboot callback function during the shutdown process is also completed at the kernel layer.
[0139] Step 3: Broadcast shutdown information at the kernel layer.
[0140] In step 1, the user has selected shutdown. In step 2, the reboot callback function has been called. At this point, the kernel layer must broadcast a shutdown message in response to the user's shutdown action to complete the subsequent shutdown process and antenna tuning. Because the kernel layer is the layer between hardware and software, including some drivers, the shutdown message broadcasting process is performed at the kernel layer.
[0141] Step ④: The tuning controller 7 executes the antenna tuning method.
[0142] After receiving the broadcast shutdown information, the tuning controller 7 executes the above antenna tuning method according to the shutdown information.
[0143] Step 5: The tuning switch 3 is switched to the first state.
[0144] In response to executing the above antenna tuning method, the tuning controller 7 switches the tuning switch 3 to the first state where the ANT terminal and the RF1 terminal are conductive before the electronic device 100 is shut down, so that the tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance.
[0145] Step 6: The Bluetooth antenna 21 operates in the first frequency band and transmits radio frequency signals.
[0146] During the antenna tuning method described above, before electronic device 100 shuts down, processor 6 also sends a first control instruction to power manager 4. Since the first control instruction is issued after electronic device 100 shuts down, power manager 4 supplies power to tuning switch 3 and Bluetooth chip 5. After tuning switch 3 is in the Bluetooth frequency band and the corresponding matching impedance in step 5, after electronic device 100 shuts down, since tuning switch 3 is energized, tuning switch 3 can remain in the Bluetooth frequency band, i.e., the first frequency band, and the corresponding matching impedance. Furthermore, since Bluetooth chip 5 is energized, Bluetooth chip 5 can continue to transmit radio frequency signals via Bluetooth antenna 21.
[0147] The antenna tuning circuit, method, and electronic device provided in the embodiments of the present application can, after obtaining shutdown information from the electronic device, switch the tuning switch to the first state via a tuning controller before the electronic device shuts down, if the tuning switch is in the second state and the electronic device's battery level is greater than a first battery level threshold. Furthermore, the tuning controller sends a first control instruction to a power manager, which instructs the power manager to power the tuning switch and Bluetooth chip after the electronic device shuts down. This ensures that the tuning switch is in the Bluetooth frequency band and the corresponding matching impedance before the electronic device shuts down. After the electronic device shuts down, the tuning switch remains in the Bluetooth frequency band and the corresponding matching impedance, thereby maintaining high-efficiency operation of the Bluetooth antenna. This improves the efficiency of the Bluetooth antenna, increases the coverage range of the RF signal, and thus enhances FMD performance. Furthermore, the processor can send different control instructions to the power manager before the electronic device shuts down, depending on the electronic device's battery level. After the electronic device shuts down, the power manager adopts different power supply measures for the tuning switch and Bluetooth chip based on the control instructions, thereby reducing the power consumption of the electronic device.
[0148] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.
[0149] In this embodiment, the electronic device can be divided into functional modules according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the module division in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0150] An embodiment of the present application further provides a computer-readable storage medium, in which computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.
[0151] An embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the relevant method steps in the above method embodiment.
[0152] Among them, the electronic device, computer storage medium or computer program product provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0153] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0154] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0155] The units described above as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0156] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The functions of the aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0157] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that makes the contribution, or all or part of the technical solution can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the above-mentioned method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program code.
[0158] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An antenna tuning circuit, characterized in that: Applicable to electronic equipment; the antenna tuning circuit is connected to the antenna; the antenna tuning circuit includes a tuning switch, a power manager, a tuning controller, a Bluetooth chip and a processor; the antenna includes a Bluetooth antenna; The Bluetooth antenna is connected to a first end of the tuning switch; a power end of the tuning switch is connected to the power manager, and a control end of the tuning switch is connected to the tuning controller; a second end of the tuning switch is grounded via a first impedance matching circuit; a first end of the Bluetooth chip is connected to the Bluetooth antenna, a second end of the Bluetooth chip is connected to the power manager, and a third end of the Bluetooth chip is connected to the processor; the power manager and the tuning controller are respectively connected to the processor; The processor is configured to: Acquiring shutdown information of the electronic device; the shutdown information is used to indicate that the electronic device is about to be shut down; Before shutting down the electronic device, switching the state of the tuning switch to a first state through the tuning controller, and sending a first control instruction to the power manager; The first state is used to indicate that the first end and the second end of the tuning switch are conductive; the first control instruction is used to instruct the power manager to supply power to the tuning switch and the Bluetooth chip after the electronic device is turned off; When the tuning switch is in the first state, the tuning controller controls the tuning switch to operate in a first frequency band and controls the first impedance matching circuit to be turned on.
2. The antenna tuning circuit according to claim 1, wherein: The processor is further configured to: obtaining the power level of the electronic device; When the power level of the electronic device is greater than a first power threshold, before the electronic device is shut down, the tuning switch is switched to the first state by the tuning controller, and the first control instruction is sent to the power manager.
3. The antenna tuning circuit according to claim 2, wherein: The processor is further configured to: When the power level of the electronic device is greater than a second power threshold and less than or equal to the first power threshold, before the electronic device is shut down, a second control instruction is sent to the power manager; the second control instruction is used to instruct the power manager to cut off power to the tuning switch and supply power to the Bluetooth chip after the electronic device is shut down.
4. The antenna tuning circuit according to claim 3, wherein: The processor is further configured to: When the power level of the electronic device is less than or equal to the second power threshold, before the electronic device is shut down, a third control instruction is sent to the power manager; the third control instruction is used to instruct the power manager to cut off power to the Bluetooth chip and the tuning switch after the electronic device is shut down.
5. The antenna tuning circuit according to claim 4, wherein: The processor is further configured to: obtain the state of the tuning switch through the tuning controller; When the state of the tuning switch is in the second state, before the electronic device is shut down, the state of the tuning switch is switched to the first state through the tuning controller, and the first control instruction is sent to the power manager; the second state is used to represent that the first end and the second end of the tuning switch are disconnected.
6. The antenna tuning circuit according to any one of claims 1 to 5, characterized in that: The first frequency band is 2.400 GHz to 2.4835 GHz.
7. An antenna tuning method, characterized in that: Applied to an electronic device, the electronic device includes an antenna; the antenna includes a Bluetooth antenna; the method includes: Acquiring shutdown information of the electronic device; the shutdown information is used to indicate that the electronic device is about to be shut down; Before the electronic device is shut down, the tuning switch is switched to a first state by the tuning controller, and a first control instruction is sent to the power manager; the first state is used to indicate that the first end and the second end of the tuning switch are conductive, the first end of the tuning switch is used to be connected to the Bluetooth antenna, and the second end of the tuning switch is used to be grounded through a first impedance matching circuit; the first control instruction is used to instruct the power manager to supply power to the tuning switch and the Bluetooth chip after the electronic device is shut down; the Bluetooth chip is used to transmit radio frequency signals with the Bluetooth antenna; When the tuning switch is in the first state, the tuning controller controls the tuning switch to operate in a first frequency band and controls the first impedance matching circuit to be turned on.
8. The antenna tuning method according to claim 7, wherein: The method further comprises: obtaining the power level of the electronic device; When the power level of the electronic device is greater than a first power threshold, before the electronic device is shut down, the tuning switch is switched to the first state by the tuning controller, and the first control instruction is sent to the power manager.
9. The antenna tuning method according to claim 8, wherein: The method further comprises: When the power level of the electronic device is greater than a second power threshold and less than or equal to the first power threshold, before the electronic device is shut down, a second control instruction is sent to the power manager; the second control instruction is used to instruct the power manager to cut off power to the tuning switch and supply power to the Bluetooth chip after the electronic device is shut down.
10. The antenna tuning method according to claim 9, wherein: The method further comprises: When the power level of the electronic device is less than or equal to the second power threshold, before the electronic device is shut down, a third control instruction is sent to the power manager; the third control instruction is used to instruct the power manager to cut off power to the Bluetooth chip and the tuning switch after the electronic device is shut down.
11. The antenna tuning method according to claim 10, wherein: The method further comprises: Acquiring the state of the tuning switch through the tuning controller; When the state of the tuning switch is in the second state, the state of the tuning switch is switched to the first state through the tuning controller according to the shutdown information of the electronic device; the second state is used to represent that the first end and the second end of the tuning switch are disconnected.
12. The antenna tuning method according to any one of claims 7 to 11, characterized in that: The first frequency band is 2.400 GHz to 2.4835 GHz.
13. An electronic device, characterized in that: The antenna tuning circuit comprises the antenna tuning circuit according to any one of claims 1 to 6; the antenna tuning circuit is used to switch the antenna state of the electronic device and tune the antenna.
14. An electronic device, characterized in that: include: A memory and one or more processors, the memory being coupled to the processor; wherein the memory is used to store instructions executable by the processor, the memory storing computer program code, the computer program code including computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the antenna tuning method according to any one of claims 7 to 12.
15. A computer-readable storage medium, characterized in that The method comprises computer instructions, which, when executed on the electronic device, enable the electronic device to perform the antenna tuning method according to any one of claims 7 to 12.
16. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to perform the antenna tuning method according to any one of claims 7 to 12.
Citation Information
Patent Citations
Electronic equipment control method and device and electronic equipment
CN110633001A
Antenna switching method and terminal equipment
CN116846442A