Radio Frequency System, Electronic Device and Computer-Readable Storage Medium
By setting up power supply modules, detection modules and voltage divider modules in the RF system, the choke inductor and direct blocking capacitor are used to detect the snap-inness of the RF connection line, and the RF connection line detection problem under the circuit board area limitation is solved, achieving efficient and low-cost snap-inness detection.
Patent Information
- Application Number
- CN202011200720.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-31
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2040-10-31
AI Technical Summary
In the prior art, due to the limitation of the circuit board area, corresponding digital signal lines cannot be set for each RF connection line, which cannot effectively detect the fastening degree between the RF connection line and the connecting base, affecting the communication quality.
A radio frequency system including a first radio frequency circuit, a second radio frequency circuit, a first antenna, a second antenna, a first radio frequency connection line and a second radio frequency connection line is adopted. By setting up a power supply module, a detection module and a voltage divider module, a choke inductor and a direct blocking capacitor are used to detect the radio frequency connection line, and avoiding the setting of a digital signal line for each radio frequency connection line.
It realizes that the degree of fixation can be detected without setting a digital signal line for each RF connection line, reduces detection costs, and improves the isolation and detection accuracy between the RF system and the RF circuit.
Smart Images

Figure CN114441999B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radio frequency communication technologies, and in particular, to a radio frequency system, an electronic device, and a computer-readable storage medium. Background Art
[0002] A radio frequency cable (RF cable) is used to connect a radio frequency circuit and an antenna in an electronic device such as a terminal device, so that the terminal device can perform radio frequency communication through the connected radio frequency circuit and antenna. Among them, the radio frequency circuit may be located on the main board of the terminal device, and the main board may also include a connection socket corresponding to the radio frequency circuit; the secondary board may include connection sockets that are connected to and correspond one-to-one with the antenna; the radio frequency cable may connect the radio frequency circuit and the antenna through the connection sockets on the main board and the secondary board.
[0003] With the development of communication technologies, the number of antennas in electronic devices such as terminal devices is increasing, which increases the number of radio frequency cables in the terminal device. It often occurs that the radio frequency cable and the connection socket are not fully engaged (such as the radio frequency cable is loosely engaged with the connection socket or the radio frequency cable falls off). Summary of the Invention
[0004] This application provides a radio frequency system, an electronic device, and a computer-readable storage medium, which solve the problem in the prior art that due to the limitation of the area of the circuit board, the engagement degree between each radio frequency cable and the connection socket cannot be detected.
[0005] To achieve the above object, this application adopts the following technical solutions:
[0006] In a first aspect, a radio frequency system is provided, which is characterized by including: a first radio frequency circuit, a second radio frequency circuit, a first antenna, a second antenna, a first radio frequency cable, and a second radio frequency cable. The first antenna is coupled to the first radio frequency circuit through the first radio frequency cable, the second antenna is coupled to the second radio frequency circuit through the second radio frequency cable, and the first radio frequency cable and the second radio frequency cable are serially coupled;
[0007] The radio frequency system further includes: a first node and a voltage-dividing element;
[0008] The first node is coupled to a first potential, the first node is coupled to the first end of the first radio frequency cable, the second end of the second radio frequency cable is coupled to the first end of the voltage-dividing element, and the second end of the voltage-dividing element is coupled to a second potential, and the first potential is higher than the second potential.
[0009] By setting up a power supply module, a detection module, and a voltage division module, and connecting the detection module to two RF connection lines in the electronic device through choke inductors respectively, when at least one RF connection line has a loose buckle, the voltage division of each RF connection line and the voltage division module can be detected to change. Furthermore, it is possible to determine whether each RF connection line has a loose buckle according to the potential obtained by the detection module. Without setting corresponding digital signal lines for each RF connection line, it is possible to determine whether each RF connection line has a loose buckle, which can reduce the hardware required to determine the buckling degree of each RF connection line and reduce the cost of detecting the buckling degree of each RF connection line.
[0010] In the first possible implementation manner of the first aspect, the RF system further includes: a ground capacitor, the first end of the ground capacitor is coupled between the first RF connection line and the second RF connection line, the second end of the ground capacitor is coupled to a third potential, and the first potential is higher than the third potential.
[0011] By setting up a ground capacitor such that the ground capacitor is located between two RF circuits, the RF signal in the RF circuit that is serially connected to the RF system can be guided to the third potential, that is, the ground potential, through the ground capacitor. Thus, it is possible to prevent the RF signal in one RF circuit from entering another RF circuit through the RF system, and further improve the isolation degree between the two RF circuits.
[0012] Based on any possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the RF system further includes a power supply, and the first node is coupled to the power supply;
[0013] The power supply includes: a DC voltage source and a pull-up resistor, the first end of the pull-up resistor is coupled to the output end of the DC voltage source, and the second end of the pull-up resistor is coupled to the first node.
[0014] By using a DC voltage source to supply power to the RF system, the stability of detecting the RF connection line can be improved, and the pull-up resistor can improve the safety and accuracy of detecting the RF connection line.
[0015] Based on any possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, the RF system further includes: a second node and a detection module;
[0016] The second node is any point between the first RF connection line and the second RF connection line;
[0017] The RF system collects the potential of the second node through the detection module.
[0018] Based on the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the detection module is an analog-to-digital converter ADC or a voltage comparator.
[0019] By using a detection module including different circuits to detect the potential of the first node, the flexibility of detecting the RF connection line can be improved. Moreover, by detecting the potential with an ADC or a voltage comparator, multiple potentials of different magnitudes at the first node can be identified, and the detection of multiple potentials can be supported.
[0020] Based on any possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect, the RF system further includes:
[0021] A first connector, a second connector, a third connector, and a fourth connector;
[0022] A first DC-blocking capacitor, a second DC-blocking capacitor, a third DC-blocking capacitor, and a fourth DC-blocking capacitor;
[0023] A first choke inductor, a second choke inductor, a third choke inductor, and a fourth choke inductor;
[0024] Wherein, the first RF circuit is coupled to the first connector, the first antenna is coupled to the second connector, the second RF circuit is coupled to the third connector, and the second antenna is coupled to the fourth connector;
[0025] The first DC-blocking capacitor is coupled between the first RF circuit and the first connector, the second DC-blocking capacitor is coupled between the first antenna and the second connector, the third DC-blocking capacitor is coupled between the second RF circuit and the third connector, and the fourth DC-blocking capacitor is coupled between the second antenna and the fourth connector;
[0026] The first end of the first choke inductor is coupled between the first DC-blocking capacitor and the first connector, the second end of the first choke inductor is coupled to the second end of the third choke inductor, the first end of the second choke inductor is coupled between the second DC-blocking capacitor and the second connector, the second end of the second choke inductor is coupled to the first node, the first end of the third choke inductor is coupled between the third DC-blocking capacitor and the third connector, the first end of the fourth choke inductor is coupled between the fourth DC-blocking capacitor and the fourth connector, and the second end of the fourth choke inductor is coupled to the first end of the voltage dividing element.
[0027] By setting a DC-blocking capacitor and a choke inductor, the RF signals in the RF circuit can be prevented from entering the RF system, and the current in the RF system can also be prevented from entering the RF circuit, thereby improving the isolation between the RF system and the RF circuit and enhancing the accuracy of the RF system.
[0028] Based on any possible implementation of the first aspect, in the sixth possible implementation of the first aspect, the RF system further includes: a second node, where the second node is any point between the first RF connection line and the second RF connection line;
[0029] The potential of the second node changes with the degree of engagement between the first RF connection line and the second RF connection line and their corresponding connection seats.
[0030] Among them, the potential of the second node can change according to the degree of engagement between the first RF connection line and the second RF connection line and their corresponding connection seats respectively. Thus, the second node is used as a detection point, and the degree of engagement between the first RF connection line and the second RF connection line and their corresponding connection seats is determined according to the change in the potential of the detection point.
[0031] Based on the sixth possible implementation of the first aspect, in the seventh possible implementation of the first aspect, when both ends of the first RF connection line are fully engaged with the corresponding connection seats and both ends of the second RF connection line are fully engaged with the corresponding connection seats, the potential of the second node is in the first state;
[0032] When at least one end of the first RF connection line and the second RF connection line is not fully engaged with the corresponding connection seat, the potential of the second node is in the second state.
[0033] Based on whether the detection point is in the first potential state or the second potential state, it can be determined whether the first RF connection line and the second RF connection line are fully engaged with the corresponding connection seats, thereby improving the accuracy and flexibility of detecting whether the RF connection line is abnormally connected.
[0034] Based on any possible implementation of the first aspect, in the eighth possible implementation of the first aspect, the voltage-dividing element is a resistor, and both the second potential and the third potential are grounded potentials.
[0035] By using a resistor as the voltage-dividing element, the cost of detecting the RF connection line can be reduced.
[0036] In a second aspect, there is provided an electronic device, including: a memory, a processor, a computer program stored in the memory and executable on the processor, and a radio frequency system as described in any one of the first aspects. When the processor executes the computer program, based on the radio frequency system as described in any one of the first aspects, detection of a radio frequency connection line in the electronic device is realized.
[0037] In a first possible implementation manner of the second aspect, the electronic device further includes at least one of a display and a speaker;
[0038] When the radio frequency connection line in the electronic device is abnormally connected, an alarm is given through the display or the speaker.
[0039] In a third aspect, there is provided a computer-readable storage medium storing a computer program, which when executed by a processor, based on the radio frequency system as described in any one of the first aspects, realizes detection of a radio frequency connection line in an electronic device. Description of the Drawings
[0040] Figure 1 is a schematic diagram of a scenario related to a radio frequency system provided by an embodiment of the present application;
[0041] Figure 2 is a schematic diagram of a system architecture related to a radio frequency system provided by an embodiment of the present application;
[0042] Figure 3 is a schematic diagram of a system architecture related to another radio frequency system provided by an embodiment of the present application;
[0043] Figure 4 is a circuit framework diagram of a radio frequency system provided by an embodiment of the present application;
[0044] Figure 5 is a circuit framework diagram of another radio frequency system provided by an embodiment of the present application;
[0045] Figure 6 is a circuit framework diagram of yet another radio frequency system provided by an embodiment of the present application;
[0046] Figure 7 is a schematic flowchart of a detection method provided by an embodiment of the present application;
[0047] Figure 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments
[0048] In the following description, specific details such as specific system architectures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known circuits and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0049] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "the", "above-mentioned", and "this" are also intended to include forms such as "one or more", unless the context clearly indicates otherwise.
[0050] To ensure the communication quality of an electronic device, the fastening degree between the RF connecting wire of the electronic device and the connector can be detected. For example, a digital signal wire can be connected to each RF connecting wire, and through the digital signal wire, the fastening degree between the corresponding RF connecting wire and the connector can be detected.
[0051] However, as the number of RF connecting wires of the electronic device increases, the number of digital signal wires connected to the RF connecting wires on the circuit board also continuously increases. Due to the limitation of the area of the circuit board, it is impossible to set a corresponding digital signal wire for each RF connecting wire, resulting in the inability to detect the fastening degree between each RF connecting wire and the connector.
[0052] First, the scenarios involved in the embodiments of the present application are introduced. Refer to Figure 1 , an electronic device may include a main board and a sub-board. Multiple RF circuits are provided on the main board ( Figure 1 In this example, 2 RF circuits are used for illustrative purposes), and each RF circuit can be connected to a corresponding connector on the main board. Moreover, the electronic device may also include multiple antennas. Similar to the RF circuits, each antenna can be connected to a corresponding connector on the sub-board.
[0053] Among them, both the main board and the sub-board of the electronic device are circuit boards, and the circuit board can be a printed circuit board (PCB) board.
[0054] For example, refer to Figure 1 , the main board includes RF circuit 11 and RF circuit 12, and RF circuit 11 and RF circuit 12 respectively correspond to a connector; the sub-board includes 2 connectors. The connector on the left side of the sub-board corresponds to antenna 22, and the connector on the right side of the sub-board corresponds to antenna 21. Antenna 21 and antenna 22 can be respectively connected to the corresponding connectors on the sub-board.
[0055] The radio frequency circuit 11 may include one or more devices such as a power amplifier, a filter, a linear amplifier, and a switch. The radio frequency circuit 11 may also be coupled to a processor (such as a baseband processor or a radio frequency transceiver, etc.). The processor is used to generate a transmission signal. The radio frequency circuit 11 transmits the transmission signal to the antenna 21 through a radio frequency connection line (hereinafter simply referred to as a cable) 31, and the antenna 21 emits the generated wireless signal. The antenna 21 may also receive a wireless signal. The antenna 21 transmits the received wireless signal to the radio frequency circuit 11 through the cable 31, and transmits the received wireless signal to the processor through the radio frequency circuit 11. Similarly, the radio frequency circuit 12 may also include one or more devices such as a power amplifier, a filter, a linear amplifier, and a switch. The radio frequency circuit 12 may also be coupled to a processor (such as a baseband processor or a radio frequency transceiver, etc.). The processor is used to generate a transmission signal. The radio frequency circuit 12 transmits the transmission signal to the antenna 22 through the cable 32, and the antenna 22 emits the generated wireless signal. The antenna 22 may also receive a wireless signal. The antenna 22 transmits the received wireless signal to the radio frequency circuit 12 through the cable 32, and transmits the received wireless signal to the processor through the radio frequency circuit 12. In a specific embodiment, the processor is also located on the main board.
[0056] In an alternative embodiment, the electronic device may include a plurality of cables. Each cable may include two ends. The first end is coupled to a connection seat corresponding to the radio frequency circuit, and the second end is coupled to a connection seat corresponding to the antenna. During the radio frequency communication process of the electronic device, the radio frequency circuit may send a radio frequency signal to the antenna through the cable, and the antenna may receive and send the radio frequency signal to implement the radio frequency communication of the electronic device. For example Figure 1 As shown in, one end of the cable 31 is coupled to the connection seat corresponding to the radio frequency circuit 11, and the other end of the cable 31 is coupled to the connection seat corresponding to the antenna 21; similarly, one end of the cable 32 is coupled to the connection seat corresponding to the radio frequency circuit 12, and the other end of the cable 32 is coupled to the connection seat corresponding to the antenna 22.
[0057] Among them, the RF connecting wire can be a coaxial cable. A coaxial cable is a wire and signal transmission line that has two concentric conductors, and the conductor and the shielding layer share the same axis. The advantages of a coaxial cable are as follows: it has good transmission characteristics, which can ensure the stable operation of the communication network. At the same time, the coaxial cable has strong anti-electromagnetic interference and anti-bending performance, and good flexibility, making it suitable for use in folding and rotating electronic products. In addition, the coaxial cable also has good heat resistance and flame resistance, and can work in an environment of -55 degrees Celsius (°C) to 250 °C. The coaxial cable is suitable for transmitting analog signals and digital signals, and can be applied to a variety of applications. Coaxial cables have been widely used at present. For example, they are used in electronic devices such as smart phones, laptop computers, digital cameras, video cameras, global positioning system (GPS) locators, wireless routers, liquid crystal TVs, and precision medical devices to communicate and connect different circuit boards. In one embodiment, the RF connecting wire can transmit analog signals, such as RF signals.
[0058] The resistance of the RF connecting wire is generally relatively small. In one embodiment, the range of the resistance value of the RF connecting wire can be from 1 ohm (Ω) to 50 Ω, such as 5 Ω, 7.5 Ω, etc. When the RF connecting wire is connected to the circuit, the resistance value of the RF connecting wire can fluctuate. For example, when the resistance value of the RF connecting wire when it is not connected to the circuit is 7.5 Ω, when the RF connecting wire is connected to the circuit, the resistance value can fluctuate between 8 Ω and 50 Ω.
[0059] Before the electronic device leaves the factory, the fastening degree between each cable and the connector of the electronic device can be detected to ensure that each cable and the connector are fully fastened, thus guaranteeing the communication quality of the electronic device. During the user's use of the electronic device, due to reasons such as the collision, water ingress, and aging of the electronic device, the cable and the connector may become loose or the conductivity may deteriorate, and it is also necessary to detect the fastening degree between each cable and the connector of the electronic device.
[0060] In the related art, digital signal lines can be configured for each cable of the electronic device, and whether each cable is fully fastened to the connector and whether there is a problem of loose fastening can be detected through the digital signal lines. However, due to the limitation of the area of the circuit board of the electronic device, it is impossible to configure digital signal lines for each cable to detect whether each cable has a problem of loose fastening. Then, due to the loosening of some cables, the attenuation of the RF signal may increase, resulting in a problem of decreased communication quality of the electronic device.
[0061] Therefore, an embodiment of the present application provides a radio frequency system for detecting the fastening degree between a cable and a connector, and a detection method for detecting the fastening degree between a cable and a connector. The potential of a detection point preset in the radio frequency system can be read through the radio frequency system, the voltage division of each resistor in the radio frequency system can be determined, and thus the fastening degree between each cable and the connector can be determined. Among them, the detection point can be a position in the radio frequency system where the potential changes due to the change in the circuit coupling mode caused by incorrect connection or disconnection of each cable. The embodiment of the present application does not limit the detection point of the radio frequency system.
[0062] It should be noted that in practical applications, the above radio frequency circuit, antenna, and radio frequency connection line can have various description methods. For example, the above radio frequency circuit 11 can be a first radio frequency circuit, the radio frequency circuit 12 can be a second radio frequency circuit, the antenna 21 can be a first antenna, the antenna 22 can be a second antenna, the cable 31 can be a first radio frequency connection line, and the cable 32 can be a second radio frequency connection line.
[0063] Moreover, the connectors, choke inductors, and blocking capacitors coupled to each cable can also have various description methods. For example, the first connector can be the following connector 41, the second connector can be the following connector 42, the third connector can be the following connector 43, the fourth connector can be the following connector 44, the first choke inductor can be the following choke inductor L1, the second choke inductor can be the following choke inductor L2, the third choke inductor can be the following choke inductor L3, the fourth choke inductor can be the following choke inductor L4, the first blocking capacitor can be the following blocking capacitor C1, the second blocking capacitor can be the following blocking capacitor C2, the third blocking capacitor can be the following blocking capacitor C3, the fourth blocking capacitor can be the following blocking capacitor C4, and the ground capacitor can be the following ground capacitor C5.
[0064] In addition, the voltage dividing element in the radio frequency system can also be the following R1. Moreover, the voltage dividing elements can form the following voltage dividing module.
[0065] It should be noted that the radio frequency system can be applied in an electronic device. The first potential in the radio frequency system can be a high potential, and the second potential and the third potential can both be low potentials. For example, the first potential can be a potential coupled to the power supply, and the second potential and the third potential can be ground potentials. For example, the second potential can be the ground potential GND1, and the third potential can be the ground potential GND2. In the following embodiments, it is described that the first potential is coupled to the power supply, and the second potential and the third potential are both ground potentials.
[0066] Figure 2 It is a schematic diagram of the system architecture involved in a radio frequency system provided by an embodiment of the present application. As an example but not a limitation, seeFigure 2 , the system architecture may include: a radio frequency system 201, a processor 202, a memory 203, and two cables 204.
[0067] Among them, the radio frequency system 201 can be coupled to two cables 204, the radio frequency system 201 can also be coupled to the processor 202, and the processor 202 can be coupled to the memory 203.
[0068] During the process of detecting the fastening degree between each cable 204 and the corresponding connector, the radio frequency system 201 can collect the potential of the detection point through a pre-set detection module and send the potential information corresponding to the potential to the processor 202. The processor 202 can then receive the potential information and determine the potential interval to which the potential information belongs from a plurality of pre-stored potential intervals, so as to store the connection state corresponding to the potential interval in the memory 203, so that the maintenance personnel can know the fastening degree between each cable 204 and the corresponding connector according to the connection state stored in the memory 203.
[0069] Among them, the multiple potential intervals pre-stored in the electronic device respectively correspond to different connection states of each cable. For example, if the electronic device includes cable 31 and cable 32, the electronic device can pre-store 3 potential intervals. The first potential interval can correspond to both cable 31 and cable 32 being fully fastened, the second potential interval can correspond to cable 31 being loosely fastened and cable 32 being fully fastened, and the third potential interval can correspond to cable 31 being fully fastened and cable 32 being loosely fastened.
[0070] Moreover, when at least one cable 204 is loosely fastened to the corresponding connector, the resistance corresponding to the loosely fastened cable 204 in the radio frequency system will change, then the voltage division of the loosely fastened cable 204 will also change, and the potential of the pre-set detection point will also change accordingly. That is, the potential of the pre-set detection point can change according to the change in the resistance of the cable 204 when it is loosely fastened.
[0071] In addition, referring to Figure 3 , the system architecture may further include at least one of a display screen 205 and a speaker 206, and both the display screen 205 and the speaker 206 can be coupled to the processor 202. When the processor 202 determines that any one of the cables 204 is loosely fastened according to the connection state corresponding to the potential interval, the processor 202 can control the display screen 205 to remind the user, and the processor 202 can also control the speaker 206 to remind the user, informing the user that a certain cable 204 of the electronic device is loosely fastened to the connector.
[0072] For example, the display screen 205 can display "The snap - fit between the RF connection cable and the connector is loose. Please check!", and / or the speaker 206 can emit the voice "The snap - fit between the RF connection cable and the connector is loose. Please check!".
[0073] In addition, in practical applications, the electronic device may include multiple cables 204. Hereinafter, taking the electronic device including 1 cable 204 as an example, the principle of determining the snap - fit degree between the cable 204 and the connector in the embodiments of the present application will be described.
[0074] See Figure 4 , the embodiments of the present application provide a radio frequency system. Figure 4 is a circuit framework diagram of a radio frequency system provided by the embodiments of the present application. The radio frequency system may include: a detection module 401 and a power supply module 402. Moreover, the radio frequency system may further include multiple DC - blocking capacitors (C1 and C2) and multiple choke inductors (L1 and L2).
[0075] Among them, the output end of the power supply module 402 is coupled to the detection module 401. Moreover, a DC - blocking capacitor C1 can be provided between the radio frequency circuit and the corresponding connector, and a DC - blocking capacitor C2 can be provided between the antenna and the corresponding connector 42. In addition, the DC - blocking capacitor C2 and the connector corresponding to the antenna are connected to the output end of the power supply module 402 through the choke inductor L2. The DC - blocking capacitor C1 and the connector 41 corresponding to the radio frequency circuit are connected to the ground potential GND1 through the choke inductor L1. The detection module 401 and the power supply module 402 can be connected between the DC - blocking capacitor C2 and the connector 42 corresponding to the antenna through the choke inductor L2.
[0076] Specifically, the power supply module 402 may include a DC voltage source V0 and a pull - up resistor R0. The output end of the DC voltage source V0 is coupled to the first end of the pull - up resistor R0. The second end of the pull - up resistor R0 is coupled between the DC - blocking capacitor C2 and the connector 42 corresponding to the antenna 21 through the choke inductor L2. Among them, the DC voltage source V0 can be a voltage source built in the electronic device. Moreover, the second end of the pull - up resistor R0 can be the output end of the power supply module or the detection point of the radio frequency system.
[0077] The detection module 401 may include a voltage detection circuit. The input end of the voltage detection circuit can be coupled to the second end of the pull - up resistor R0, and the output end of the voltage detection circuit can be coupled to a processor in the system architecture as shown in Figure 2 . The voltage detection circuit can be an analog - to - digital converter (ADC), or a voltage comparator, or other circuits capable of reading voltage. The embodiments of the present application do not limit this.
[0078] For example, if the voltage detection circuit is an ADC, during the process of collecting the potential at the detection point, the ADC can first collect the analog voltage signal in the detection circuit according to a preset sampling frequency, numerically quantify the collected analog voltage signal, and finally represent the quantified analog voltage signal in digital form through encoding to complete the collection of the potential at the detection point. Or, if the voltage detection circuit includes at least one voltage comparator, during the process of collecting the potential at the detection point, each voltage comparator can first collect the potential at the detection point, compare the collected potential with a preset potential, and determine the magnitude relationship between the potential at the detection point and each preset potential, so that the magnitude of the potential at the detection point can be determined according to multiple magnitude relationships.
[0079] It should be noted that the cable also has a certain resistance Rc, and the magnitude of the resistance Rc of the cable is related to the degree of engagement between the cable and the connector. If the cable is fully engaged with the connector, the resistance Rc of the cable is the smallest; if the cable is loosely engaged with the connector, the resistance Rc of the cable increases. For example, when the cable is fully engaged with the connector, the resistance Rc of the cable can be 7.5 Ω. When the cable is loosely engaged with the connector, the value range of the resistance Rc of the cable can be from 8 to 50 Ω.
[0080] During the process of detecting the degree of engagement between the cable and the connector, the potential at the detection point in the radio frequency system can be V1 = V*Rc / (R0 + Rc), where V1 is the potential at the detection point, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, and Rc is the resistance value corresponding to the cable.
[0081] If the cable is fully engaged with the connector, V1 corresponds to the potential when Rc is the smallest; if the cable is loosely engaged with the connector, Rc increases, and the change amount of V*Rc is greater than the change amount of R0 + Rc, then V1 also increases accordingly, so that the loose engagement between the cable and the connector can be determined according to the increased V1.
[0082] Furthermore, the change amount of V1 can be determined according to the change amount of Rc, so that the change interval of V1 can be determined according to the change amount of V1, and then the change interval of V1 can be used as the potential interval corresponding to the loose engagement between the cable and the connector.
[0083] After introducing the principle of the embodiment of the present application for detecting the degree of engagement, the radio frequency system based on the above principle can be applied to an electronic device including 2 cables (cable31 and cable32), see Figure 5 , Figure 5It is a circuit framework diagram of another radio frequency system provided by an embodiment of the present application. The radio frequency system may include: a voltage dividing module 501, a detection module 502, and a power supply module 503. Moreover, the radio frequency system may further include: a first node (A), a second node (B), a plurality of DC blocking capacitors (C1, C2, C3, and C4), and a plurality of choke inductors (L1, L2, L3, and L4).
[0084] Wherein, a DC blocking capacitor is provided between each radio frequency circuit and the corresponding connector, and a DC blocking capacitor is also provided between each antenna and the corresponding connector. Specifically, a DC blocking capacitor C1 is provided between the radio frequency circuit 11 and the corresponding connector 41, a DC blocking capacitor C2 is provided between the antenna 21 and the corresponding connector 42, a DC blocking capacitor C3 is provided between the radio frequency circuit 12 and the corresponding connector 43, and a DC blocking capacitor C4 is provided between the antenna 22 and the corresponding connector 44.
[0085] Moreover, the output end of the power supply module 503 can be coupled between the DC blocking capacitor C2 and the connector 42 corresponding to the antenna 21 through the first node A and the choke inductor L2, the voltage dividing module 501 can be coupled between the DC blocking capacitor C4 and the connector 44 corresponding to the antenna 22 through the choke inductor L4, and the detection module 502 can be coupled between the choke inductor L1 and the choke inductor L3 through the second node B.
[0086] For example, the first end of the first choke inductor L1 is coupled between the first DC blocking capacitor C1 and the first connector 41, the second end of the first choke inductor L1 is coupled to the second end of the third choke inductor L3, the first end of the second choke inductor L2 is coupled between the second DC blocking capacitor C2 and the second connector 42, the second end of the second choke inductor L2 is coupled to the first node, the first end of the third choke inductor L3 is coupled between the third DC blocking capacitor C3 and the third connector 43, the first end of the fourth choke inductor L4 is coupled between the fourth DC blocking capacitor C4 and the fourth connector 44, and the second end of the fourth choke inductor L4 is coupled to the first end of the voltage dividing resistor R1.
[0087] In addition, the voltage dividing module 501 may include a voltage dividing resistor R1, and the voltage dividing resistor R1 is serially coupled between the ground potential GND1 and the choke inductor L4. The detection module 502 and the power supply module 503 are Figure 4 similar to the detection module 401 and the power supply module 402 shown in
[0088] The detection point of the radio frequency system may be a point where the potential changes as the resistance of cable31 or cable32 changes. Moreover, it is also possible to determine whether the resistance of cable31 changes or the resistance of cable32 changes according to the potential change of the detection point, so as to determine the cable whose connection with the connector is loose.
[0089] For example, in the radio frequency system as Figure 5 shown, in the radio frequency system, the detection point can be any point between the choke inductors L1 and L3, and the detection module 502 can be coupled to any point between the choke inductors L1 and L3.
[0090] During the detection process, the potential of the detection point can be obtained through the detection module, so that according to the potential range corresponding to the obtained potential, the connection states of each cable corresponding to the potential range can be determined, that is, the fastening degree between each cable and the connector can be determined. Among them, V2 = V*(R1 + Rc2) / (R0 + R1 + Rc1 + Rc2), where V2 is the potential of the detection point, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, R1 is the resistance value corresponding to the voltage dividing resistor R1, Rc1 is the resistance value corresponding to the cable 31, and Rc2 is the resistance value corresponding to the cable 32.
[0091] If both the cable 31 and the cable 32 are fully fastened to the connector, then both Rc1 and Rc2 are the minimum resistance values, R1 + Rc2 and R0 + R1 + Rc1 + Rc2 remain unchanged. At this time, the potential V2 of the detection point can correspond to an accurate parameter value, and this parameter value can be used as the potential corresponding to the full fastening of both the cable 31 and the cable 32, or this parameter value can be used as the reference value. If the obtained potential V is greater than or less than this parameter value, it indicates that at least one cable of the electronic device has a loose fastening.
[0092] Specifically, if the cable 31 is loosely fastened and the cable 32 is fully fastened, it means that the resistance of Rc1 increases, R1 + Rc2 remains unchanged, but R0 + R1 + Rc1 + Rc2 increases, that is, the numerator in the equation for calculating the potential V2 remains unchanged and the denominator increases, so the potential V2 of the detection point decreases compared with the reference value.
[0093] For example, if the variable of the increased resistance of the cable 31 is ΔRc1, the changed potential can be V3 = V*(R1 + Rc2) / (R0 + R1 + Rc1 + Rc2 + ΔRc1), and the potential range corresponding to the loose fastening of the cable 31 and the full fastening of the cable 32 can be [V*(R1 + Rc2) / (R0 + R1 + Rc1 + Rc2 + ΔRc1), V*(R1 + Rc2) / (R0 + R1 + Rc1 + Rc2)).
[0094] Among them, V3 is the potential of the detection point, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, R1 is the resistance value corresponding to the voltage-dividing resistor R1, Rc1 is the resistance value corresponding to cable31, Rc2 is the resistance value corresponding to cable32, and ΔRc1 is the resistance increment corresponding to cable31.
[0095] If cable31 is fully engaged and cable32 is loosely engaged, it indicates that the resistance of Rc2 increases, R1 + Rc2 increases, and R0 + R1 + Rc1 + Rc2 also increases. Moreover, the proportion of the increase in Rc2 in R1 + Rc2 is greater than the proportion of the increase in Rc2 in R0 + R1 + Rc1 + Rc2. Then, the potential V2 of the detection point increases compared with the reference value.
[0096] For example, if the variable of the increased resistance of cable32 is ΔRc2, then the changed potential can be V4 = V * (R1 + Rc2 + ΔRc2) / (R0 + R1 + Rc1 + Rc2 + ΔRc2). The potential range corresponding to cable31 being fully engaged and cable32 being loosely engaged can be (V * (R1 + Rc2) / (R0 + R1 + Rc1 + Rc2), V * (R1 + Rc2 + ΔRc2) / (R0 + R1 + Rc1 + Rc2 + ΔRc2)].
[0097] Among them, V4 is the potential of the detection point, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, R1 is the resistance value corresponding to the voltage-dividing resistor R1, Rc1 is the resistance value corresponding to cable31, Rc2 is the resistance value corresponding to cable32, and ΔRc2 is the resistance increment corresponding to cable31.
[0098] In addition, if both cable31 and cable32 are loosely engaged with the connector, the resistances corresponding to cable31 and cable32 both increase. The changed potential can be V5 = V * (R1 + Rc2 + ΔRc1 + ΔRc2) / (R0 + R1 + Rc1 + Rc2 + ΔRc1 + ΔRc2). Among them, V5 is the potential of the detection point, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, R1 is the resistance value corresponding to the voltage-dividing resistor R1, Rc1 is the resistance value corresponding to cable31, Rc2 is the resistance value corresponding to cable32, ΔRc1 is the resistance increment corresponding to cable31, and ΔRc2 is the resistance increment corresponding to cable31.
[0099] However, in practical applications, if both cable31 and cable32 are loosely engaged with the connector, the resistances corresponding to cable31 and cable32 are both fluctuating, that is, the resistance corresponding to each cable changes randomly. Then, the potential at the detection point can be greater than the potential corresponding to the reference value or less than the potential corresponding to the reference value. Therefore, if among multiple potentials of the detection point obtained within a period of time, there are both potentials greater than the reference value and potentials less than the reference value, it indicates that both cable31 and cable32 of the electronic device are loosely engaged.
[0100] Further, referring to Figure 6 , the voltage division module 501 may further include a ground capacitance C5. By setting the ground capacitance C5 between two radio frequency circuits, the radio frequency signals that are connected in series to the radio frequency system in the two radio frequency circuits can be guided to the ground potential GND2 through the ground capacitance C5, preventing the radio frequency signals in one radio frequency circuit from entering another radio frequency circuit through the radio frequency system, thereby improving the isolation degree between cable31 and cable32.
[0101] Among them, the first end of the ground capacitance C5 may be connected between the choke inductance L1 and the choke inductance L3, and the second end of the ground capacitance C5 may be coupled to the ground potential GND2.
[0102] It should be noted that in the above embodiments, the power supply module 503 and the voltage division module 501 of the radio frequency system are located on the daughter board of the electronic device, while the detection module 502 of the radio frequency system is located on the main board of the electronic device. However, in practical applications, according to the layout design of the main board and the daughter board, the positions of each circuit module of the radio frequency system can be adjusted. For example, the power supply module 503 and the voltage division module 501 can be set on the main board, and the detection module 502 can be set on the daughter board; or, the power supply module 503 and the detection module 502 can be set on the main board, and the voltage division module 501 can be set on the daughter board; or, the power supply module 503 can be set on the main board, and the voltage division module 501 and the detection module 502 can be set on the daughter board; or, the voltage division module 501, the detection module 502, and the power supply module 503 can all be set on the main board or the daughter board. The embodiments of the present application do not limit the positions of each circuit module in the radio frequency system.
[0103] Further, Figure 5 and Figure 6 In the radio frequency system shown, the detection module 502 is coupled between the DC blocking capacitor C1 and the connector 41 corresponding to the radio frequency circuit 11 through the choke inductance L1, and is coupled between the DC blocking capacitor C3 and the connector 43 corresponding to the radio frequency circuit 12 through the choke inductance L3.
[0104] In other embodiments, when the detection module 502 is coupled between the DC-blocking capacitor C1 and the connector 41 corresponding to the RF circuit 11 through the choke inductor L1, the detection module 502 can be coupled between the DC-blocking capacitor C4 and the connector 44 corresponding to the antenna 22 through the choke inductor L3. Then, the first end of the choke inductor L4 is coupled between the DC-blocking capacitor C3 and the connector 43 corresponding to the RF circuit 12, and the second end can be coupled to the ground potential GND1 through the voltage dividing module 501.
[0105] Alternatively, when the detection module 502 is coupled between the DC-blocking capacitor C3 and the connector 43 corresponding to the RF circuit 12 through the choke inductor L3, the detection module 502 can be coupled between the DC-blocking capacitor C2 and the connector 42 corresponding to the antenna 21 through the choke inductor L1. Then, the power supply module 503 can be coupled between the DC-blocking capacitor C1 and the connector 41 corresponding to the RF circuit 11 through the choke inductor L2.
[0106] Of course, the detection module 502 can also be coupled between two adjacent cables in other ways, and the embodiments of the present application do not limit the connection manner of the cables.
[0107] In summary, the RF system provided by the embodiments of the present application sets a power supply module, a detection module, and a voltage dividing module, and the detection module is respectively coupled to two RF connection lines in the electronic device through choke inductors. Thus, when at least one RF connection line has a loose buckle, it can be detected that the voltage division of each RF connection line and the voltage dividing module changes. Furthermore, it can be determined whether each RF connection line has a loose buckle according to the potential obtained by the detection module. Without setting corresponding digital signal lines for each RF connection line, it can be determined whether each RF connection line has a loose buckle, which can reduce the hardware required to determine the buckling degree of each RF connection line and reduce the cost of detecting the buckling degree of each RF connection line.
[0108] Moreover, by setting DC-blocking capacitors between the RF circuit and the corresponding connector, and between the antenna and the corresponding connector, and connecting the power supply module and the voltage dividing module between the antenna and the corresponding connector through choke inductors, and coupling the detection module between the RF circuit and the corresponding connector through choke inductors, it is possible to prevent the RF signals in the RF circuit from entering the RF system and also prevent the current in the RF system from entering the RF circuit, thereby improving the isolation degree between the RF system and the RF circuit and improving the accuracy of the RF system.
[0109] In addition, by setting a ground capacitance in the voltage dividing module such that the ground capacitance is located between two RF circuits, the video signal in the RF circuit that is serially connected to the RF system can be guided to the ground potential through the ground capacitance, thereby preventing the RF signal in one RF circuit from entering another RF circuit through the RF system, and further improving the isolation between the two RF circuits.
[0110] Figure 7 is a schematic flowchart of a detection method provided by an embodiment of the present application. By way of example and not limitation, this method can be applied to the processor connected to the RF system as shown in Figure 2 above. Referring to Figure 7 , this method includes:
[0111] Step 701, obtain the potential information corresponding to the detection point in the RF system.
[0112] Among them, the potential information is used to represent the current potential level of the detection point. Moreover, the detection point of the RF system can be any point between the choke inductance L1 and the choke inductance L3 in the RF system as shown in Figure 5 or Figure 6 above, or can also be other circuit nodes that can change according to the change in the resistance corresponding to the cable when the fastening is loose, and the fastening degree between each cable and the connector can be determined according to the potential change of the circuit node. The embodiment of the present application does not limit the detection point of the RF system.
[0113] During the production of electronic devices, the cable can be coupled to the connection base of the electronic device, thereby coupling the RF circuit and the antenna through the cable. However, there may be a situation where some cables among multiple cables are not fully fastened to the connection base, resulting in an impact on the RF communication of the electronic device. Or, during the use of the electronic device, the electronic device may be affected by collisions and impacts, causing the fastening between the cable and the connection base inside the electronic device to become loose or the conductivity to deteriorate, resulting in an increase in the attenuation of the RF signal and a problem of a decrease in the communication quality of the electronic device.
[0114] The embodiment of the present application provides a detection method for detecting whether the fastening between each cable in the electronic device and the corresponding connection base is loose, that is, detecting whether each cable is not fully fastened to the corresponding connection base, thereby reminding that the cable fastening is loose and storing the connection state corresponding to the cable fastening being loose.
[0115] During the process of detecting whether the cable fastening is loose, the processor can combine Figure 2The radio frequency system shown in the figure obtains the potential information collected by the detection module in the radio frequency system, so that in subsequent steps, the processor can determine whether the connection between each cable of the electronic device and the corresponding connector is loose according to the potential information.
[0116] For example, the processor can continuously obtain the potential information sent by the detection module in the radio frequency system, or can periodically obtain the potential information sent by the detection module. The period of obtaining the potential information can be adjusted according to the circuit of the detection module. The embodiments of the present application do not limit the manner of obtaining the potential information.
[0117] Step 702: Determine the potential range corresponding to the potential information.
[0118] After obtaining the potential information, the processor of the electronic device can match the potential indicated by the potential information with each pre-stored potential range to determine whether the potential indicated by the potential information falls within a certain potential range, so as to determine the potential range corresponding to the potential information.
[0119] Among them, the potential range is calculated according to the resistance change range of the cable in the electronic device. Affected by the degree of fastening between the cable and the connector, when the degree of fastening between the cable and the connector is different, the resistance value of the cable also changes accordingly. Therefore, the change range of the potential at the detection point can be calculated in advance according to the change range of the resistance of the cable, and the change range of the potential is used as the potential range, so that the connection state of the cable can be determined according to the potential range.
[0120] In a possible implementation manner, after obtaining the potential information, the processor can match the potential indicated by the potential information with each potential range. For each potential range, the processor can compare the potential indicated by the potential information with the maximum value and the minimum value of the potential range to determine whether the potential indicated by the potential information falls within the potential range, that is, to determine the potential range corresponding to the potential information. If the potential indicated by the potential information does not fall within the potential range, the processor can match the potential indicated by the potential information with the next potential range until the potential range corresponding to the potential information is determined.
[0121] However, if the potential range corresponding to the potential information is still not determined after traversing each potential range, it means that at least one cable of the electronic device has an abnormality other than the fastening looseness. For example, the electronic device may have an abnormality such as a cable connection error or a connection disconnection. Then, it can be determined that the cable of the electronic device has other types of abnormalities.
[0122] It should be noted that in the process of pre-determining the potential range, the reference value and the change range of the potential of the detection point can be determined according to the change range of the resistance of each cable in the electronic device, so that the change range of the potential can be used as the potential range, so as to determine whether there is a fastening looseness between each cable and the connector according to the potential range where the potential of the detection point is located.
[0123] Among them, the reference value is the potential of the detection point when each cable is fully fastened, and the potential range is the potential change range that the potential of the detection point may present when any one cable is fastened loosely. Moreover, the reference value can be greater than the maximum value of a certain potential range or less than the minimum value of a certain potential range.
[0124] For example, Figure 5 or Figure 6 Taking the radio frequency system shown as an example, the electronic device includes cable 31 and cable 32. When cable 31 and cable 32 are both fully fastened, the potential of the detection point can be b; when only cable 31 is fastened loosely, the potential range corresponding to the potential of the detection point can be [a, b); when only cable 32 is fastened loosely, the potential range corresponding to the potential of the detection point can be (b, c]. The above b is the reference value, and [a, b) and (b, c] are both potential ranges, and a is less than b and c is greater than b.
[0125] Step 703, determine the fastening degree between the radio frequency connection cable of the electronic device and the connector according to the potential range corresponding to the potential information.
[0126] In a possible implementation manner, the processor can search for the connection state corresponding to the potential range from the pre-stored corresponding relationship according to the determined potential range, so as to determine whether there is a fastening looseness between each cable of the electronic device and the corresponding connector according to the found connection state.
[0127] Among them, the corresponding relationship between different potential ranges and connection states can be pre-stored in the processor. The corresponding relationship can include at least two potential ranges, and each potential range corresponds to the connection state of each cable. Moreover, the connection state can be used to represent the fastening degree between the cable and the corresponding connector. For example, the connection state can represent multiple fastening states such as full fastening or fastening looseness between the cable and the connector.
[0128] It should be noted that after the processor determines the fastening degree between each cable and the connector, it can store the connection status indicating the fastening degree in the memory connected to the processor. So that when maintaining the electronic device, the user can determine whether the cable of the electronic device has a loose fastening according to the connection status stored in the memory, which is convenient for maintaining the electronic device.
[0129] Alternatively, after the processor finishes executing step 703, it can continue to execute step 704. Of course, the processor can also perform other operations according to the fastening degree between the cable and the connector. The embodiments of the present application do not limit the operations performed by the processor according to the fastening degree between the cable and the connector.
[0130] Step 704, when there is a loose fastening between the RF connection cable and the connector, remind that there is a loose fastening between the RF connection cable and the connector.
[0131] After the processor determines the fastening degree between the cable and the connector, if there is a loose fastening between the cable and the connector, the processor can control the display screen and / or the speaker connected to the processor to alarm the user, and timely remind the user that the cable and the connector of the electronic device are loosely fastened, so that the user can timely maintain the electronic device.
[0132] For example, the processor can obtain the pre-stored cable exception text and control the display screen to display the cable exception text. For example, the display screen can display "The RF connection cable is loosely fastened, please check!". And / or, the processor can also first obtain the pre-stored cable exception voice and control the speaker to play the cable exception voice. For example, the speaker can play "The RF connection cable is loosely fastened, please check!".
[0133] In summary, the detection method provided by the embodiments of the present application obtains the potential information corresponding to the detection points in the RF system, compares the potential information with the pre-set reference value to obtain a comparison result, and then determines the fastening degree between each RF connection cable and the corresponding connector according to the comparison result. Without setting a corresponding digital signal line for each RF connection cable, the fastening degree of each RF connection cable in two RF connection cables can be determined through the comparison result, and it can be determined whether there is a loose fastening for each RF connection cable, which can reduce the hardware required to determine the fastening degree of each RF connection cable and reduce the cost of detecting the fastening degree of each RF connection cable.
[0134] Such as Figures 1 to 6 the shown circuit architecture, and Figure 7 the shown method flow can be applied in an electronic device. The following introduces the electronic device involved in the embodiments of the present application. Please refer to Figure 8 ,Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0135] The electronic device may include a processor 810, an external memory interface 820, an internal memory 821, a universal serial bus (USB) interface 830, a charging management module 840, a power management module 841, a battery 842, antennas 21, 22, a mobile communication module 850, a wireless communication module 860, an audio module 870, a speaker 870A, a receiver 870B, a microphone 870C, a headphone jack 870D, a sensor module 880, keys 890, a motor 891, an indicator 892, a camera 893, a display screen 894, and a subscriber identification module (SIM) card interface 895, etc. The sensor module 880 may include a pressure sensor 880A, a gyroscope sensor 880B, a barometric pressure sensor 880C, a magnetic sensor 880D, an acceleration sensor 880E, a distance sensor 880F, a proximity light sensor 880G, a fingerprint sensor 880H, a temperature sensor 880J, a touch sensor 880K, an ambient light sensor 880L, a bone conduction sensor 880M, etc.
[0136] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0137] The processor 810 may include one or more processing units. For example, the processor 810 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0138] Among them, the controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0139] A memory can also be set in the processor 810 to store instructions and data. In some embodiments, the memory in the processor 810 is a cache memory. This memory can save the instructions or data that the processor 810 has just used or recycled. If the processor 810 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 810, and thus improves the efficiency of the system.
[0140] In some embodiments, the processor 810 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 universal serial bus (USB) interface, etc.
[0141] The I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 810 may include multiple groups of I2C buses. The processor 810 can be respectively coupled to the touch sensor 880K, the charger, the flash, the camera 893, etc. through different I2C bus interfaces. For example: the processor 810 can be coupled to the touch sensor 880K through the I2C interface, so that the processor 810 communicates with the touch sensor 880K through the I2C bus interface to implement the touch function of the electronic device.
[0142] The I2S interface can be used for audio communication. In some embodiments, the processor 810 may include multiple groups of I2S buses. The processor 810 can be coupled to the audio module 870 through the I2S bus to enable communication between the processor 810 and the audio module 870. In some embodiments, the audio module 870 can transmit audio signals to the wireless communication module 860 through the I2S interface to implement the function of answering a call through a Bluetooth headset.
[0143] The PCM interface can also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 870 and the wireless communication module 860 can be coupled through the PCM bus interface. In some embodiments, the audio module 870 can also transmit audio signals to the wireless communication module 860 through the PCM interface to implement the function of answering a call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0144] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 810 and the wireless communication module 860. For example, the processor 810 communicates with the Bluetooth module in the wireless communication module 860 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 870 can transmit audio signals to the wireless communication module 860 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0145] The MIPI interface can be used to connect the processor 810 to peripheral devices such as the display screen 894 and the camera 893. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 810 and the camera 893 communicate through the CSI interface to implement the shooting function of the electronic device. The processor 810 and the display screen 894 communicate through the DSI interface to implement the display function of the electronic device.
[0146] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 810 to the camera 893, the display screen 894, the wireless communication module 860, the audio module 870, the sensor module 880, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0147] The USB interface 830 is an interface that complies with the USB standard specification. Specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 830 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices, etc.
[0148] It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present invention is only for illustrative purposes and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0149] The charging management module 840 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 840 can receive the charging input from a wired charger through the USB interface 830. In some embodiments of wireless charging, the charging management module 840 can receive the wireless charging input through the wireless charging coil of the electronic device. While charging the battery 842, the charging management module 840 can also supply power to the electronic device through the power management module 841.
[0150] The power management module 841 is used to connect the battery 842, the charging management module 840, and the processor 810. The power management module 841 receives the input from the battery 842 and / or the charging management module 840 and supplies power to the processor 810, the internal memory 821, the external memory, the display screen 894, the camera 893, and the wireless communication module 860, etc. The power management module 841 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 841 can also be provided in the processor 810. In other embodiments, the power management module 841 and the charging management module 840 can also be provided in the same device.
[0151] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, the mobile communication module 850, the wireless communication module 860, the modulation and demodulation processor, and the baseband processor, etc.
[0152] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0153] The mobile communication module 850 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to an electronic device. The mobile communication module 850 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 850 can receive electromagnetic waves through antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 850 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 850 may be provided in the processor 810. In some embodiments, at least some functional modules of the mobile communication module 850 and at least some modules of the processor 810 may be provided in the same device. The radio frequency circuit in the above embodiments may be the mobile communication module 850.
[0154] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 870A, receiver 870B, etc.), or displays an image or video through the display screen 894. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 810 and be provided in the same device as the mobile communication module 850 or other functional modules.
[0155] The wireless communication module 860 can provide solutions for wireless communications applied to electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 860 can be one or more devices integrating at least one communication processing module. The wireless communication module 860 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 810. The wireless communication module 860 can also receive signals to be sent from the processor 810, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0156] In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 850, and antenna 2 is coupled to the wireless communication module 860, enabling the electronic device to communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0157] The electronic device implements the display function through the GPU, the display screen 894, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 894 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 810 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0158] The display screen 894 is used to display images, videos, etc. The display screen 894 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N display screens 894, where N is a positive integer greater than 1.
[0159] The external memory interface 820 can be used to connect to an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 810 through the external memory interface 820 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0160] The internal memory 821 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 810 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 821. The internal memory 821 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device (such as audio data, phone book, etc.). In addition, the internal memory 821 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0161] The electronic device can implement audio functions through the audio module 870, the speaker 870A, the receiver 870B, the microphone 870C, the headphone jack 870D, and the application processor, etc. For example, music playback, recording, etc.
[0162] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0163] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0164] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0165] In the embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0166] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, in each embodiment of the present application, each functional unit may be integrated into one processing unit, may exist physically alone for each unit, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0168] 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 may be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-mentioned embodiment methods of the present application, a computer program may be used to instruct relevant hardware to complete. The computer program may be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments may be implemented. Among them, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium may not be an electrical carrier signal and a telecommunication signal.
[0169] Finally, it should be noted that the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A radio frequency system, characterized in that, Comprising: A first radio frequency circuit, a second radio frequency circuit, a first antenna, a second antenna, a first radio frequency connection line, and a second radio frequency connection line. The first antenna is coupled to the first radio frequency circuit through the first radio frequency connection line, the second antenna is coupled to the second radio frequency circuit through the second radio frequency connection line, and the first radio frequency connection line and the second radio frequency connection line are coupled in series. The radio frequency system further comprises: a first node, a voltage dividing element, a second node, and a detection module. The first node is coupled to a first potential, the first node is coupled to the first end of the first radio frequency connection line, the second end of the second radio frequency connection line is coupled to the first end of the voltage dividing element, the second end of the voltage dividing element is coupled to a second potential, and the first potential is higher than the second potential. The second node is any point between the first radio frequency connection line and the second radio frequency connection line. The radio frequency system collects the potential of the second node through the detection module to determine whether the first radio frequency connection line and the second radio frequency connection line are latched to the corresponding connectors.
2. The radio frequency system according to claim 1, wherein The radio frequency system further comprises: a ground capacitance. The first end of the ground capacitance is coupled between the first radio frequency connection line and the second radio frequency connection line, and the second end of the ground capacitance is coupled to a third potential, and the first potential is higher than the third potential.
3. The radio frequency system according to claim 1, characterized in that The radio frequency system further comprises a power supply, and the first node is coupled to the power supply. The power supply comprises: a DC voltage source and a pull-up resistor. The first end of the pull-up resistor is coupled to the output end of the DC voltage source, and the second end of the pull-up resistor is coupled to the first node.
4. The RF system according to claim 1, characterized in that, The detection module is an analog-to-digital converter ADC or a voltage comparator.
5. The radio frequency system according to claim 1, characterized in that, The radio frequency system further comprises: A first connector, a second connector, a third connector, and a fourth connector. A first DC-blocking capacitor, a second DC-blocking capacitor, a third DC-blocking capacitor, and a fourth DC-blocking capacitor. A first choke inductor, a second choke inductor, a third choke inductor, and a fourth choke inductor. Wherein, the first radio frequency circuit is coupled to the first connector, the first antenna is coupled to the second connector, the second radio frequency circuit is coupled to the third connector, and the second antenna is coupled to the fourth connector. The first DC-blocking capacitor is coupled between the first radio frequency circuit and the first connector, the second DC-blocking capacitor is coupled between the first antenna and the second connector, the third DC-blocking capacitor is coupled between the second radio frequency circuit and the third connector, and the fourth DC-blocking capacitor is coupled between the second antenna and the fourth connector. The first end of the first choke inductor is coupled between the first DC-blocking capacitor and the first connector, the second end of the first choke inductor is coupled to the second end of the third choke inductor, the first end of the second choke inductor is coupled between the second DC-blocking capacitor and the second connector, the second end of the second choke inductor is coupled to the first node, the first end of the third choke inductor is coupled between the third DC-blocking capacitor and the third connector, the first end of the fourth choke inductor is coupled between the fourth DC-blocking capacitor and the fourth connector, and the second end of the fourth choke inductor is coupled to the first end of the voltage-dividing element.
6. The radio frequency system according to claim 1, wherein The potential of the second node changes with the degree of engagement between the first RF connection line and the second RF connection line and their corresponding connectors.
7. The RF system according to claim 6, wherein When both ends of the first RF connection line are fully engaged with their corresponding connectors and both ends of the second RF connection line are fully engaged with their corresponding connectors, the potential of the second node is in the first state. When at least one end of the first RF connection line and the second RF connection line is not fully engaged with their corresponding connectors, the potential of the second node is in the second state.
8. The radio frequency system according to any one of claims 1 to 7, characterized in that, The voltage-dividing element is a resistor, and both the second potential and the third potential are ground potentials.
9. An electronic device, characterized in that, Comprising: A memory, a processor, a computer program stored in the memory and executable on the processor, and a radio frequency system as claimed in any one of claims 1 to 8. When the processor executes the computer program, based on the radio frequency system as claimed in any one of claims 1 to 8, the detection of the RF connection lines in the electronic device is realized.
10. The electronic device according to claim 9, wherein The electronic device further comprises at least one of a display and a speaker; When the RF connection lines in the electronic device are abnormally connected, an alarm is given through the display or the speaker.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, based on the radio frequency system as claimed in any one of claims 1 to 8, the detection of the RF connection lines in the electronic device is realized.
Citation Information
Patent Citations
Antenna plugging state detection device
CN105866611A