Radio frequency system, electronic device, and computer readable storage medium
By introducing voltage divider components and detection modules into the radio frequency system, the connection status of the radio frequency connection line is detected by utilizing potential changes. This solves the problem of connection abnormalities in the prior art, achieving low-cost, high-flexibility, and high-accuracy detection, and reducing the waste of hardware resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2020-10-31
- Publication Date
- 2026-06-09
AI Technical Summary
In the prior art, radio frequency (RF) connection lines in electronic devices are prone to connection abnormalities, such as connection errors or disconnections, which leads to a decline in communication quality. Furthermore, existing methods require an increase in GPIOs proportional to the number of RF connection lines, resulting in high costs and wasted hardware resources.
By introducing voltage divider components and detection modules into the RF system, connection errors can be detected by utilizing potential changes, reducing reliance on GPIO. Combined with DC blocking capacitors and choke inductors, the system isolation and detection accuracy are improved.
It enables low-cost, highly flexible, and highly accurate detection of the connection status of RF connection lines, reduces waste of hardware resources, and improves the system's functional diversity and communication stability.
Smart Images

Figure CN114442000B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radio frequency communication technology, and in particular to a radio frequency system, electronic device and computer-readable storage medium. Background Technology
[0002] RF cables are used to couple radio frequency (RF) circuits and antennas in electronic devices such as terminal devices, enabling the terminal devices to perform RF communication through the coupled RF circuits and antennas. The RF circuits can be located on the motherboard of the terminal device, and the motherboard may also include connectors corresponding to the RF circuits; a secondary board may include connectors that couple to the antennas one-to-one; the RF cable can couple the RF circuits and antennas through the connectors on the motherboard and secondary board.
[0003] With the development of communication technology, the number of antennas in electronic devices such as terminal devices is increasing, which leads to an increase in the number of radio frequency (RF) connection lines in terminal devices. RF connection lines often experience connection abnormalities (such as connection errors or disconnections). Summary of the Invention
[0004] This application provides a radio frequency system, electronic device, and computer-readable storage medium, which solves the problem in the prior art that it is impossible to accurately determine the connection abnormality of the radio frequency connection line in the electronic device.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] In a first aspect, a radio frequency system is provided, 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, wherein the first antenna is coupled to the first radio frequency circuit or the second radio frequency circuit through the first radio frequency connection line, and the second antenna is coupled to the first radio frequency circuit or the second radio frequency circuit through the second radio frequency connection line.
[0007] The radio frequency system further includes: a first node, a first voltage divider element, and a second voltage divider element;
[0008] The first node is coupled to a first potential, the first node is coupled to a first end of the first RF connection line, the second end of the second RF connection line is coupled to a second potential, and the first potential is higher than the second potential;
[0009] The first end of the first voltage divider element is coupled to the third potential, and the second end of the first voltage divider element is coupled between the first radio frequency connection line and the second radio frequency connection line. The first potential is higher than the third potential.
[0010] The second voltage divider element is coupled in series between the first RF connection line and the second RF connection line.
[0011] By setting a first voltage divider and a second voltage divider in the RF system, when the first and second RF connection lines are connected incorrectly, the current flow in the RF system changes, the voltage division of the first and second voltage divider elements also changes, and the potential of the first node also changes. Thus, the connection error of the first and second RF connection lines can be determined based on the changing potential. There is no need to set GPIOs proportional to the number of cables, which can reduce the hardware required to detect whether each cable is disconnected and reduce the cost of detecting whether each cable is disconnected.
[0012] In a first possible implementation of the first aspect, the radio frequency system further includes: a first ground capacitor connected in parallel with the first voltage divider element.
[0013] By setting a first ground capacitor, which is located between the two radio frequency (RF) circuits, the RF signal that is serially inserted into the RF system in the RF circuit can be guided to the third potential, which is the ground potential, through the first ground capacitor. This prevents the RF signal in one RF circuit from entering the other RF circuit through the RF system, thereby improving the isolation between the two RF circuits.
[0014] Based on any possible implementation of the first aspect, in a second possible implementation of the first aspect, the radio frequency system further includes: a third voltage divider element, which is coupled in parallel to both ends of the first radio frequency connection line.
[0015] By adding a third voltage divider component, the RF system can be equipped with both connection disconnection detection and connection error detection functions, thereby increasing the functionality of the RF system and reducing the cost required to detect different abnormal states of the RF connection line.
[0016] Based on any possible implementation of the first aspect, in a third possible implementation of the first aspect, the radio frequency system further includes a power supply, and the first node is coupled to the power supply of the radio frequency system;
[0017] 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.
[0018] By using a DC voltage source to power the RF system, the stability of the RF connection can be improved, and the pull-up resistor can improve the safety and accuracy of the RF connection.
[0019] Based on any possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the radio frequency system further includes: a detection module, through which the radio frequency system acquires the potential of the first node.
[0020] Based on the fourth possible implementation of the first aspect, in the fifth possible implementation of the first aspect, the detection module can be an analog-to-digital converter (ADC) or a voltage comparator.
[0021] By employing detection modules with different circuits to detect the potential of the first node, the flexibility of detecting RF connections can be improved. Furthermore, by using an ADC or voltage comparator to detect the potential, multiple potentials of different magnitudes at the first node can be identified, supporting the detection of multiple potentials.
[0022] Based on any possible implementation of the first aspect, in the sixth possible implementation of the first aspect, the radio frequency system further includes: a first connector, a second connector, a third connector, and a fourth connector;
[0023] The first DC blocking capacitor, the second DC blocking capacitor, the third DC blocking capacitor, and the fourth DC blocking capacitor;
[0024] First choke inductor, second choke inductor, third choke inductor and fourth choke inductor;
[0025] 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;
[0026] 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.
[0027] 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 first voltage divider element. 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 second end of the third choke inductor is coupled to the second end of the first voltage divider element. The first end of the fourth choke inductor is coupled between the fourth DC blocking capacitor and the fourth connector. The second end of the fourth choke inductor is coupled to the second potential.
[0028] By setting DC blocking capacitors and choke inductors, radio frequency signals in the radio frequency circuit can be prevented from entering the radio frequency system, and current in the radio frequency system can be prevented from entering the radio frequency circuit. This can improve the isolation between the radio frequency system and the radio frequency circuit, and improve the accuracy of the radio frequency system.
[0029] Based on any possible implementation of the first aspect, in the seventh possible implementation of the first aspect, the potential of the first node changes with the coupling method of the first radio frequency connection line and the second radio frequency connection line.
[0030] The potential of the first node can change according to the coupling method of the first RF connection line and the second RF connection line, so that the first node is used as a detection point, and the coupling method of the first RF connection line and the second RF connection line is determined according to the change of the potential of the detection point.
[0031] Based on the seventh possible implementation of the first aspect, in the eighth possible implementation of the first aspect, when both ends of the first radio frequency connection line are coupled to the first radio frequency circuit and the first antenna respectively, and both ends of the second radio frequency connection line are coupled to the second radio frequency circuit and the second antenna respectively, the potential of the first node is in the first state.
[0032] When both ends of the first RF connection line are coupled to the first RF circuit and the second antenna respectively, or when both ends of the first RF connection line are coupled to the second RF circuit and the first antenna respectively, the potential of the first node is in the second state.
[0033] Based on whether the detection point is in the first potential state or the second potential state, the coupling state of the first RF connection line and the second RF connection line can be determined. Therefore, based on the potential state of the detection point, it can be determined whether each RF connection line is abnormally connected, which can improve 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 ninth possible implementation of the first aspect, both the first voltage divider element and the second voltage divider element are resistors, and both the second potential and the third potential are ground potentials.
[0035] By using resistors as voltage divider components, the cost of testing RF connection lines can be reduced.
[0036] Based on any possible implementation of the first aspect, in the tenth possible implementation of the first aspect, the radio frequency system further includes: a third radio frequency circuit, a third antenna, and a third radio frequency connection line, wherein the third radio frequency circuit is coupled to the first antenna, the second antenna, or the third antenna through the third radio frequency connection line;
[0037] The radio frequency system further includes: a fourth voltage divider element and a fifth voltage divider element;
[0038] The first end of the fourth voltage divider element is coupled to the third potential, and the second end of the fourth voltage divider element is coupled between the second RF connection line and the third RF connection line;
[0039] The fifth voltage divider element is coupled in series between the second RF connection line and the third RF connection line.
[0040] By setting up an RF system in an electronic device that includes three RF connection lines, the connection status of each RF connection line can be determined with a small number of components, reducing the cost of RF connection line testing and improving the flexibility of RF connection line testing.
[0041] Based on the tenth possible implementation of the first aspect, in the eleventh possible implementation of the first aspect, the radio frequency system further includes: a second ground capacitor, which is connected in parallel with the fourth voltage divider element.
[0042] By setting a ground capacitor between two RF circuits, the RF signals that are interfering with the RF system in the RF circuit can be guided to a third potential, i.e., ground potential, through the ground capacitor. This prevents RF signals in one RF circuit from entering the other RF circuit through the RF system, thereby improving the isolation between the two RF circuits.
[0043] Based on the tenth or eleventh possible implementation of the first aspect, in the twelfth possible implementation of the first aspect, the radio frequency system further includes: a sixth voltage divider element, the sixth voltage divider element being coupled in parallel to both ends of the second radio frequency connection line.
[0044] By adding a sixth voltage divider component, the RF system can be equipped with both connection disconnection detection and connection error detection functions, thereby increasing the functionality of the RF system and reducing the cost required to detect different abnormal states of the RF connection line.
[0045] Based on the tenth, eleventh, or twelfth possible implementation of the first aspect, in the thirteenth possible implementation of the first aspect, the radio frequency system further includes:
[0046] Fifth and sixth connecting seats;
[0047] The fifth and sixth DC blocking capacitors;
[0048] Fourth choke inductor, fifth choke inductor and sixth choke inductor;
[0049] The third radio frequency circuit is coupled to the fifth connector, and the third antenna is coupled to the sixth connector.
[0050] The fifth DC blocking capacitor is coupled between the third radio frequency circuit and the fifth connector, and the sixth DC blocking capacitor is coupled between the third antenna and the sixth connector;
[0051] The first end of the fourth choke inductor is coupled between the fifth DC blocking capacitor and the fifth connector, the second end of the fourth choke inductor is coupled to the second potential, the first end of the fifth choke inductor is coupled between the fourth DC blocking capacitor and the fourth connector, the second end of the fifth choke inductor is coupled to the second end of the fourth voltage divider element, the first end of the sixth choke inductor is coupled between the sixth DC blocking capacitor and the sixth connector, and the second end of the sixth choke inductor is coupled to the second end of the fourth voltage divider element.
[0052] By setting DC blocking capacitors and choke inductors, radio frequency signals in the radio frequency circuit can be prevented from entering the radio frequency system, and current in the radio frequency system can be prevented from entering the radio frequency circuit. This can improve the isolation between the radio frequency system and the radio frequency circuit, and improve the accuracy of the radio frequency system.
[0053] Based on any one of the tenth to thirteenth possible implementations of the first aspect, in the fourteenth possible implementation of the first aspect, both the fourth voltage divider element and the fifth voltage divider element are resistors.
[0054] By using resistors as voltage divider components, the cost of testing RF connection lines can be reduced.
[0055] Based on any possible implementation of the first aspect, in the fifteenth possible implementation of the first aspect, the radio frequency system further includes a general-purpose input / output port (GPIO) detection module, and the first node is also coupled to the GPIO detection module.
[0056] By adding the radio frequency (RF) system provided in this application embodiment to an electronic device that includes GPIOs, and combining the existing GPIOs with wiring multiplexing, wiring is reduced and hardware resources are saved. Moreover, based on the existing GPIOs' function of determining whether each cable is disconnected, the RF system can determine whether each cable of the electronic device is connected incorrectly, thereby enriching the functionality of the RF system and improving the diversity of functions implemented by the RF system.
[0057] In a second aspect, a radio frequency system is provided, comprising: N radio frequency circuits, N antennas and N radio frequency connection lines, where N is an integer greater than or equal to 2, and the i-th radio frequency circuit is coupled to the i-th antenna through the i-th radio frequency connection line, where i is a positive integer less than or equal to N-1.
[0058] The radio frequency system includes: a first node, N-1 first voltage divider elements, and N-1 second voltage divider elements;
[0059] The first node is coupled to a first potential, the first node is coupled to the first end of the i-th radio frequency connection line, and the second end of the (i+1)-th radio frequency connection line is coupled to a second potential, wherein the first potential is higher than the second potential;
[0060] The first end of the i-th first voltage divider element is coupled to the third potential, and the second end of the i-th first voltage divider element is coupled between the i-th radio frequency connection line and the (i+1)-th radio frequency connection line. The first potential is higher than the third potential.
[0061] The i-th second voltage divider element is coupled in series between the i-th RF connection line and the (i+1)-th RF connection line.
[0062] By setting up N voltage divider elements in the RF system, when at least two RF connection lines are incorrectly connected, the current flow in the RF system changes, the voltage division of the N voltage divider elements also changes, and the potential of the first node also changes. Thus, the connection error of the first and second RF connection lines can be determined based on the changing potential. There is no need to set up GPIOs proportional to the number of cables, which can reduce the hardware required to detect whether each cable is disconnected and reduce the cost of detecting whether each cable is disconnected.
[0063] In a first possible implementation of the second aspect, the radio frequency system further includes a ground capacitor connected in parallel with the first voltage divider element.
[0064] By setting a ground capacitor between two RF circuits, the RF signals that are interfering with the RF system in the RF circuit can be guided to a third potential, i.e., ground potential, through the ground capacitor. This prevents RF signals in one RF circuit from entering the other RF circuit through the RF system, thereby improving the isolation between the two RF circuits.
[0065] Based on any possible implementation of the second aspect, in the second possible implementation of the second aspect, the radio frequency system further includes: N-1 third voltage divider elements, wherein the i-th third voltage divider element is coupled in parallel to both ends of the i-th radio frequency connection line.
[0066] By adding a third voltage divider component, the RF system can be equipped with both connection disconnection detection and connection error detection functions, thereby increasing the functionality of the RF system and reducing the cost required to detect different abnormal states of the RF connection line.
[0067] Based on any possible implementation of the second aspect, in a third possible implementation of the second aspect, the radio frequency system further includes a power supply, and the first node is coupled to the power supply;
[0068] 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.
[0069] By using a DC voltage source to power the RF system, the stability of the RF connection can be improved, and the pull-up resistor can improve the safety and accuracy of the RF connection.
[0070] Based on any possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the radio frequency system further includes: a detection module, through which the radio frequency system acquires the potential of the first node.
[0071] Based on the fourth possible implementation of the second aspect, in the fifth possible implementation of the second aspect, the detection module is an ADC or a voltage comparator.
[0072] By employing detection modules with different circuits to detect the potential of the first node, the flexibility of detecting RF connections can be improved. Furthermore, by using an ADC or voltage comparator to detect the potential, multiple potentials of different magnitudes at the first node can be identified, supporting the detection of multiple potentials.
[0073] Based on any possible implementation of the second aspect, in the sixth possible implementation of the second aspect, the radio frequency system further includes: 2N connectors, 2N DC blocking capacitors, and multiple choke inductors;
[0074] The two ends of the i-th radio frequency connection line are coupled to the (2i-1)-th connection socket and the 2i-th connection socket, respectively;
[0075] Each antenna is coupled to a corresponding connector with a DC blocking capacitor, and each radio frequency circuit is coupled to a corresponding connector with a DC blocking capacitor;
[0076] Each of the second voltage divider elements is coupled with a choke inductor to an adjacent connector, the first connector is coupled with a choke inductor to the first node, and the 2Nth connector is coupled to the second potential.
[0077] By setting DC blocking capacitors and choke inductors, radio frequency signals in the radio frequency circuit can be prevented from entering the radio frequency system, and current in the radio frequency system can be prevented from entering the radio frequency circuit. This can improve the isolation between the radio frequency system and the radio frequency circuit, and improve the accuracy of the radio frequency system.
[0078] Based on any possible implementation of the second aspect, in the seventh possible implementation of the second aspect, the potential of the first node changes with the coupling method of the radio frequency connection line.
[0079] The potential of the first node can change according to the coupling method of the first RF connection line and the second RF connection line, so that the first node is used as a detection point, and the coupling method of the first RF connection line and the second RF connection line is determined according to the change of the potential of the detection point.
[0080] Based on any possible implementation of the second aspect, in the eighth possible implementation of the second aspect, both the first voltage divider element and the second voltage divider element are resistors.
[0081] By using resistors as voltage divider components, the cost of testing RF connection lines can be reduced.
[0082] Based on any possible implementation of the second aspect, in the ninth possible implementation of the second aspect, the radio frequency system further includes a GPIO detection module, and the first node is also coupled to the GPIO power supply of the radio frequency system.
[0083] By adding the radio frequency (RF) system provided in this application embodiment to an electronic device that includes GPIOs, and combining the existing GPIOs with wiring multiplexing, wiring is reduced and hardware resources are saved. Moreover, based on the existing GPIOs' function of determining whether each cable is disconnected, the RF system can determine whether each cable of the electronic device is connected incorrectly, thereby enriching the functionality of the RF system and improving the diversity of functions implemented by the RF system.
[0084] Thirdly, an electronic device is provided, comprising: a memory, a processor, a computer program stored in the memory and executable on the processor, and a radio frequency system as described in either the first or second aspect, wherein when the processor executes the computer program, it detects radio frequency connection lines in the electronic device based on the radio frequency system as described in either the first or second aspect.
[0085] In a first possible implementation of the third aspect, the electronic device further includes at least one of a display and a speaker;
[0086] When the radio frequency connection cable in the electronic device is abnormally connected, an alarm is triggered through the display or the speaker.
[0087] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, enables the detection of radio frequency connection lines in an electronic device based on a radio frequency system as described in either the first or second aspect. Attached Figure Description
[0088] Figure 1 This is a schematic diagram illustrating a scenario involving a radio frequency system provided in an embodiment of this application;
[0089] Figure 2 This is a schematic diagram of the system architecture involved in a radio frequency system provided in an embodiment of this application;
[0090] Figure 3 This is a schematic diagram of the system architecture involved in another radio frequency system provided in the embodiments of this application;
[0091] Figure 4 This is a circuit framework diagram of a radio frequency system provided in an embodiment of this application;
[0092] Figure 5 This is a simplified schematic diagram of a radio frequency system provided in an embodiment of this application;
[0093] Figure 6 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application;
[0094] Figure 7 This is a circuit diagram of another radio frequency system provided in an embodiment of this application;
[0095] Figure 8 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0096] Figure 9 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0097] Figure 10 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0098] Figure 11 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0099] Figure 12 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0100] Figure 13 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0101] Figure 14 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0102] Figure 15 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0103] Figure 16 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0104] Figure 17 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0105] Figure 18 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0106] Figure 19 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0107] Figure 20 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0108] Figure 21 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0109] Figure 22 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0110] Figure 23 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0111] Figure 24 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0112] Figure 25 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0113] Figure 26 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0114] Figure 27 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0115] Figure 28 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0116] Figure 29 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0117] Figure 30 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0118] Figure 31 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0119] Figure 32 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0120] Figure 33 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0121] Figure 34 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0122] Figure 35 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0123] Figure 36 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0124] Figure 37 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0125] Figure 38 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0126] Figure 39 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0127] Figure 40 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0128] Figure 41 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application;
[0129] Figure 42 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0130] Figure 43 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0131] Figure 44 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0132] Figure 45 This is a circuit diagram of another radio frequency system provided in the embodiments of this application;
[0133] Figure 46 This is a schematic flowchart of a detection method provided in an embodiment of this application;
[0134] Figure 47 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0135] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known circuits and methods are omitted so as not to obscure the description of this application with unnecessary detail.
[0136] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “the,” “the,” and “the” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise.
[0137] As the number of RF connection lines in electronic devices such as terminal devices increases, general-purpose input / output (GPIO) ports proportional to the number of RF connection lines can be added to the terminal devices. GPIOs are used to detect whether there are connection abnormalities (such as connection errors or disconnections) in each RF connection line. During the detection process, the RF connection line with connection abnormalities can be identified from among multiple RF connection lines by the potential detected by each GPIO.
[0138] However, since the number of GPIOs is directly proportional to the number of RF connections, as the number of RF connections increases, the number of GPIOs required for detection also increases, leading to higher costs and wasted hardware resources. Therefore, this application proposes an RF system for detecting RF connections in electronic devices using a small number of components.
[0139] First, the scenarios involved in the embodiments of this application will be introduced, see [link to relevant documentation]. Figure 1 Electronic devices may include a motherboard and a sub-board. The motherboard contains multiple radio frequency circuits (RF circuits). Figure 1 (The example described uses two radio frequency (RF) circuits. Each RF circuit can be connected to a corresponding connector on the motherboard. Furthermore, the electronic device may also include multiple antennas, and similar to the RF circuits, each antenna can be connected to a corresponding connector on a sub-board.)
[0140] In this application, both the main board and the sub-board of the electronic device can be printed circuit boards (PCBs). However, this application does not limit the main board and the sub-board.
[0141] For example, see Figure 1 The main board includes radio frequency circuit 11 and radio frequency circuit 12, each corresponding to a connector. The sub-board includes two 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 connected to their respective connectors on the sub-board.
[0142] The radio frequency (RF) circuit 11 may include one or more devices selected from power amplifiers, filters, linear amplifiers, and switches. The RF circuit 11 may also be coupled to a processor (e.g., a baseband processor or an RF transceiver). The processor generates a transmit signal. The RF circuit 11 transmits the transmit signal to the antenna 21 via an RF cable 31, and the antenna 21 transmits the generated wireless signal. The antenna 21 can also receive wireless signals. The antenna 21 transmits the received wireless signals to the RF circuit 11 via the cable 31, and the RF circuit 11 transmits the received wireless signals to the processor. Similarly, the RF circuit 12 may also include one or more devices selected from power amplifiers, filters, linear amplifiers, and switches. The RF circuit 12 may also be coupled to a processor (e.g., a baseband processor or an RF transceiver). The processor generates a transmit signal. The RF circuit 12 transmits the transmit signal to the antenna 22 via the cable 32, and the antenna 22 transmits the generated wireless signal. The antenna 22 can also receive wireless signals. The antenna 22 transmits the received wireless signals to the RF circuit 12 via the cable 32, and the RF circuit 12 transmits the received wireless signals to the processor. In one specific embodiment, the processor is also located on the motherboard.
[0143] In one alternative embodiment, the electronic device may include multiple cables, each cable including two ends. The first end is coupled to a connector corresponding to the radio frequency (RF) circuit, and the second end is coupled to a connector corresponding to the antenna. During RF communication, the RF circuit can transmit RF signals to the antenna via the cables, and the antenna can receive and transmit RF signals, thus enabling RF communication for the electronic device. For example... Figure 1 As shown, the first end of cable 31 is coupled to the connector corresponding to the RF circuit 11, and the second end of cable 31 is coupled to the connector corresponding to the antenna 21; similarly, the first end of cable 32 is coupled to the connector corresponding to the RF circuit 12, and the second end of cable 32 is coupled to the connector corresponding to the antenna 22.
[0144] The radio frequency (RF) connection line can be a coaxial cable. A coaxial cable is a wire and signal transmission line with two concentric conductors sharing a common axis. The advantages of coaxial cables include: excellent transmission characteristics, ensuring stable operation of communication networks; strong resistance to electromagnetic interference and bending; and good flexibility, making them suitable for use in foldable and rotating electronic products. Furthermore, coaxial cables have good heat and flame resistance, operating in environments ranging from -55°C to 250°C. Coaxial cables are suitable for transmitting both analog and digital signals and are applicable to a wide variety of applications. Coaxial cables are currently widely used, for example in electronic devices such as smartphones, laptops, digital cameras, camcorders, GPS devices, wireless routers, LCD TVs, and precision medical devices, for communication connections between different circuit boards. In one embodiment, the RF connection line can transmit analog signals, such as radio frequency (RF) signals.
[0145] The resistance of radio frequency (RF) cables is generally low. In one embodiment, the resistance value of the RF cable can range from 1 ohm (Ω) to 50 Ω, such as 5 Ω, 7.5 Ω, etc. When the RF cable is connected to the circuit, its resistance value can fluctuate. For example, when the RF cable is not connected to the circuit, its resistance value is 7.5 Ω, and when the RF cable is connected to the circuit, its resistance value can fluctuate between 8 Ω and 50 Ω.
[0146] With the increasing number of radio frequency (RF) circuits, antennas, and connectors in electronic devices, mismatches may occur when connecting RF circuits and antennas via cable, resulting in cable connection errors. This can lead to decreased communication quality or even communication failure. For example, the first end of cable 31 may be connected to the connector corresponding to RF circuit 11, while the second end of cable 31 may be connected to the connector corresponding to antenna 22, meaning RF circuit 11 is connected to antenna 22.
[0147] Therefore, this application proposes a radio frequency (RF) system and a method for detecting cable connection errors. The RF system can read the potential of pre-set detection points to determine the voltage division of each resistor, thereby determining whether each cable is connected incorrectly. The detection points can be locations in the RF system where the potential changes due to changes in circuit coupling caused by cable connection errors or disconnections; this application does not limit the specific detection points used in the RF system.
[0148] It should be noted that in practical applications, the aforementioned RF circuits, antennas, and RF connection lines can be described in various ways. For example, RF circuit 11 can be the first RF circuit, RF circuit 12 can be the second RF circuit, antenna 21 can be the first antenna, antenna 22 can be the second antenna, cable 31 can be the first RF connection line, and cable 32 can be the second RF connection line. If the electronic device includes 3 RF circuits, 3 antennas, and 3 RF connection lines, then RF circuit 13 can be the third RF circuit, antenna 23 can be the third antenna, and cable 33 can be the third RF connection line. Similarly, when the electronic device includes N RF circuits, N antennas, and N RF connection lines, then any RF circuit can be the i-th RF circuit, any antenna can be the i-th antenna, and any RF connection line can be the i-th RF connection line, where N is an integer greater than or equal to 2, and i is a positive integer less than or equal to N.
[0149] Furthermore, the connectors, choke inductors, and DC blocking capacitors coupled to each cable can be described in various ways. For example, the first connector can be connector 41, the second connector can be connector 42, the third connector can be connector 43, the fourth connector can be connector 44, the fifth connector can be connector 45, and the sixth connector can be connector 46. The first choke inductor can be choke inductor L1, the second choke inductor can be choke inductor L2, and the third choke inductor... The inductor can be the choke inductor L3 as described below, the fourth choke inductor can be the choke inductor L4 as described below, the first DC blocking capacitor can be the DC blocking capacitor C1 as described below, the second DC blocking capacitor can be the DC blocking capacitor C2 as described below, the third DC blocking capacitor can be the DC blocking capacitor C3 as described below, the fourth DC blocking capacitor can be the DC blocking capacitor C4 as described below, the first capacitor to ground can be the capacitor to ground C5 as described below, the fifth DC blocking capacitor can be the DC blocking capacitor C6 as described below, the sixth DC blocking capacitor can be the DC blocking capacitor C7 as described below, and the second capacitor to ground can be the capacitor to ground C8 as described below.
[0150] It should be noted that, in Figures 4 to 16 In the corresponding RF system, the fifth choke inductor can be choke inductor L5 as described below, and the sixth choke inductor can be choke inductor L6 as described below. And... Figures 17 to 45 In the corresponding RF system, the fifth choke inductor can be the choke inductor L6 described below, and the sixth choke inductor can be the choke inductor L7 described below. Furthermore, in Figures 17 to 45 The corresponding RF system may also include a seventh choke inductor, namely the choke inductor L5 described below.
[0151] Similarly, when an electronic device includes 2N connectors, multiple choke inductors, and 2N DC blocking capacitors, any connector can be the i-th connector, any choke inductor can be the i-th choke inductor, and any DC blocking capacitor can be the i-th DC blocking capacitor, where N is an integer greater than or equal to 2, and i is a positive integer less than or equal to N-1.
[0152] Furthermore, the voltage divider components in the RF system can be described in various ways. For example, the first voltage divider can be R1 as described below, the second voltage divider can be R2 as described below, the third voltage divider can be R5 as described below, and the sixth voltage divider can be R6 as described below. Moreover, in Figures 4 to 16 In the corresponding RF system, the fourth voltage divider element can be R4 as described below, and the fifth voltage divider element can be R3 as described below. Figures 17 to 45 In the corresponding RF system, the fourth voltage divider element can be R3 as described below, and the fifth voltage divider element can be R4 as described below.
[0153] Furthermore, the individual voltage divider elements can form a voltage divider module. For example, the first voltage divider element and the second voltage divider element can form the voltage divider module described below. The first voltage divider element can be a component coupled to ground potential within each voltage divider module, and the second voltage divider element can be a component connected in series between each cable.
[0154] It should be noted that radio frequency (RF) systems can be applied in electronic devices. In an RF system, the first potential can be high, and the second and third potentials can both be low. For example, the first potential can be a potential coupled to a power supply, and the second and third potentials can be ground potentials, such as the second potential being ground potential GND1 and the third potential being ground potential GND2. In the RF system described below, which includes three cables, the third potential coupled to the fourth voltage divider element can be ground potential GND3. In the following embodiments, the first potential is coupled to a power supply, and the second and third potentials are both ground potentials.
[0155] Figure 2 This is a schematic diagram of a system architecture involved in a radio frequency system provided in an embodiment of this application. It is intended as an example and not a limitation. See also Figure 2 The system architecture may include: radio frequency system 201, processor 202, memory 203 and multiple cables 204.
[0156] The radio frequency system 201 can be coupled to each cable 204, and the radio frequency system 201 can also be coupled to the processor 202, which can be coupled to the memory 203.
[0157] When detecting whether each cable 204 is connected incorrectly, 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 that potential to the processor 202. The processor 202 can then receive the potential information and determine the preset potential that matches the potential information from a plurality of pre-stored preset potentials. Thus, the connection status corresponding to the preset potential can be stored in the memory 203, so that maintenance personnel can know whether each cable 204 is connected incorrectly based on the connection status stored in the memory 203.
[0158] In this system, multiple preset potentials are pre-stored in the electronic device, each corresponding to a different connection state of the cable. For example, if the electronic device includes cable 31 and cable 32, it can pre-store two preset potentials: one corresponding to a correct connection between cable 31 and cable 32, and the other corresponding to an incorrect connection between cable 31 and cable 32.
[0159] Moreover, see Figure 3 The system architecture may further include at least one of a display screen 205 and a speaker 206, both of which can be coupled to the processor 202. When the processor 202 determines that each cable 204 is connected incorrectly based on the state corresponding to a preset potential, 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 each cable 204 is connected incorrectly.
[0160] For example, display screen 205 may display "RF cable connection error, please check!", and / or speaker 206 may emit the voice message "RF cable connection error, please check!".
[0161] Furthermore, in practical applications, electronic devices may include multiple cables 204. The following example illustrates how an electronic device includes two cables 204, demonstrating how the radio frequency system 201 can determine the two cables 204 (e.g., Figure 4 Does cable31 and cable32 shown in the diagram have any connection errors?
[0162] Figure 4 This is a circuit framework diagram of a radio frequency system provided in an embodiment of this application. See also... Figure 4 The RF system may include multiple circuit modules such as voltage divider module 401, detection module 402 and power supply module 403. The RF system may also include a first node (A), multiple DC blocking capacitors (C1, C2, C3 and C4) and multiple choke inductors (L1, L2, L3 and L4).
[0163] The output of the power supply module 403 can be coupled to the voltage divider module 401 and the detection module 402 through the first node A. The two ends of cable 31 can be coupled to the voltage divider module 401 and the power supply module 403, respectively. The two ends of cable 32 can be coupled to ground potential GND1 and the voltage divider module 401, respectively. Furthermore, DC blocking capacitors can be installed between the RF circuit and its corresponding connector, and also between the antenna and its corresponding connector, to achieve RC coupling and prevent DC current from flowing into the RF circuit and antenna, thus preventing interference with the RF signal.
[0164] Additionally, a choke inductor L1 can be installed between the voltage divider module 401 and cable 31; similarly, a choke inductor L2 can be installed between the power supply module 403 and cable 31, and a choke inductor L3 can also be installed between the voltage divider module 401 and cable 32. The choke inductor has the effect of allowing DC while blocking AC, preventing AC RF signals from entering the RF system and affecting the potential acquired by the RF system. Furthermore, a choke inductor L4 can also be installed between cable 32 and ground potential GND1 to prevent RF signals transmitted by the RF circuit from entering the ground potential, thus avoiding interference with the RF signal.
[0165] Specifically, for each DC blocking capacitor, a DC blocking capacitor C1 is provided between the RF circuit 11 and the corresponding connector 41, and a DC blocking capacitor C2 is provided between the antenna 21 and the corresponding connector 42; similarly, a DC blocking capacitor C3 is provided between the RF circuit 12 and the corresponding connector 43, and a DC blocking capacitor C4 is provided between the antenna 22 and the corresponding connector 44.
[0166] For each choke inductor, the first end of choke inductor L1 is coupled between the DC blocking capacitor C1 and the connector 41 corresponding to the RF circuit 11, and the second end of choke inductor L1 is coupled to the voltage divider module 401. Similarly, the first end of choke inductor L2 is coupled between the DC blocking capacitor C2 and the connector 42 corresponding to the antenna 21, and the second end of choke inductor L2 is coupled to the power supply module 403; the first end of choke inductor L3 is coupled between the DC blocking capacitor C3 and the connector 43 corresponding to the RF circuit 12, and the second end of choke inductor L3 is coupled to the voltage divider module 401; the first end of choke inductor L4 is coupled between the DC blocking capacitor C4 and the connector 44 corresponding to the antenna 22, and the second end of choke inductor L4 is coupled to the ground potential GND1.
[0167] In addition, the power supply module 403 may include a DC voltage source V0 and a pull-up resistor R0. The output terminal of the DC voltage source V0 is coupled to the first terminal of the pull-up resistor R0, and the second terminal of the pull-up resistor R0 is coupled to the second terminal of the choke inductor L2 through the first node A, so that the power supply module is coupled between the DC blocking capacitor C2 and the connector 41 corresponding to the antenna 21. The second terminal of the pull-up resistor R0 can be the output terminal of the power supply module 403.
[0168] Wherein, the DC voltage source V0 can be a voltage source built into the electronic device. For example, the DC voltage source V0 can be the built-in battery of the electronic device or a step-down module connected to the built-in battery of the electronic device. The embodiments of this application do not limit the DC voltage source V0.
[0169] In addition, the power supply module 403 can be a circuit module in an integrated circuit, coupled to the radio frequency system through the first node A, or it can be a circuit module on the circuit board of an electronic device. This application embodiment does not limit the power supply module.
[0170] The detection module 402 may include a voltage detection circuit. The input terminal of the voltage detection circuit may be coupled to the second terminal of the pull-up resistor R0, and the output terminal of the voltage detection circuit may be coupled to... Figure 2 The processor is coupled in the system architecture shown. The voltage detection circuit can be an analog-to-digital converter (ADC), a voltage comparator, or other circuits capable of reading voltage; this embodiment does not limit the specific type of circuit.
[0171] For example, if the voltage detection circuit is an ADC (Analog-to-Digital Converter), during the process of acquiring the potential at the detection point, the ADC can first acquire the analog voltage signal in the radio frequency system according to a preset sampling frequency, quantize the acquired analog voltage signal, and finally represent the quantized analog voltage signal in digital form through encoding to complete the acquisition of the potential at the detection point. Alternatively, if the voltage detection circuit includes at least one voltage comparator, during the process of acquiring the potential at the detection point, each voltage comparator can first acquire the potential at the detection point and compare the acquired potential with a preset potential to determine the magnitude relationship between the potential at the detection point and each preset potential. Thus, based on multiple magnitude relationships, the magnitude of the potential at the detection point can be determined.
[0172] It should be noted that the detection module 402 can also be a circuit module in an integrated circuit or a circuit module on a circuit board of an electronic device. This application embodiment does not limit the detection module 402.
[0173] The voltage divider module 401 may include a first voltage divider resistor R1 and a second voltage divider resistor R2. The first voltage divider resistor R1 is coupled in series between the second voltage divider resistor R2 and the ground potential GND2. The second voltage divider resistor R2 is coupled in series between cable 31 and cable 32 through choke inductors L1 and L3.
[0174] For example, the first terminal of the first voltage divider resistor R1 is coupled to ground potential GND2, and the second terminal of the first voltage divider resistor R1 can be coupled to either the first or second terminal of the second voltage divider resistor R2. The first terminal of the second voltage divider resistor R2 is coupled to choke inductor L1, and the second terminal of the second voltage divider resistor R2 is coupled to choke inductor L3.
[0175] It should be noted that the pull-up resistor R0, the first voltage divider resistor R1, and the second voltage divider resistor R2 can all be resistors in the kiloohm range. For example, the resistance of each resistor is greater than or equal to 1 kΩ, thus the voltage division of each cable can be ignored, improving the accuracy of detecting whether each cable is connected incorrectly. For example, if the DC voltage source V0 can provide a voltage of 1.8 volts (V), the pull-up resistor R0 can be 20 kiloohms (KΩ), the first voltage divider resistor R1 can also be 20 kΩ, and the second voltage divider resistor R2 can be 10 kΩ. Of course, the specific parameter values of the pull-up resistor R0, the first voltage divider resistor R1, and the second voltage divider resistor R2 can be set according to the impedance of the electronic device and the built-in DC voltage source V0. This application embodiment does not limit the specific parameter values of the above resistors.
[0176] Figure 5 This is a simplified schematic diagram of a radio frequency system provided in an embodiment of this application, omitting details such as... Figure 4 The RF circuitry, antenna, DC blocking capacitor, and choke inductor are shown. See also... Figure 5 If cable31 and cable32 are both connected correctly, current can flow through the pull-up resistor R0, cable31, and the second voltage divider resistor R2. The second terminal of the second voltage divider resistor R2 is coupled to both cable32 and the first voltage divider resistor R1. Since the resistance of cable32 is much smaller than the resistance of the first voltage divider resistor R1, the first voltage divider resistor R1 is short-circuited by cable32, and no current flows through it.
[0177] Therefore, the potential at the detection point, which is also the potential at the second end of the pull-up resistor R0, is V1 = V * R2 / (R0 + R2), where V1 is the potential at the detection point, V is the potential of the DC voltage source V0, which is also the maximum potential in the RF system, R0 is the resistance value corresponding to the pull-up resistor R0, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0178] However, if cable31 and cable32 are connected incorrectly, it can result in the following: Figure 6 The simplified circuit shown Figure 6 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application. See also... Figure 6 The current also flows through the pull-up resistor R0 first. Then, due to the incorrect connection of cable31 and cable32, the first end of the second voltage divider resistor R2 is coupled to ground potential GND1 through cable32, and the first end of the first voltage divider resistor R1 is also coupled to ground potential GND2. The second end of the first voltage divider resistor R1 is coupled to the second end of the second voltage divider resistor R2, and the first voltage divider resistor R1 and the second voltage divider resistor R2 are coupled in parallel.
[0179] Therefore, in this case, the first voltage divider resistor R1 and the second voltage divider resistor R2 in the RF system are connected in parallel, and the pull-up resistor R0 is connected in series with the parallel first voltage divider resistor R1 and the second voltage divider resistor R2. Then the potential at the detection point is V2 = V * Rx1 / (R0 + Rx1), where V2 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 Rx1 is the resistance value of the parallel connection of the first voltage divider resistor R1 and the second voltage divider resistor R2, Rx1 = R1 * R2 / (R1 + R2), where R1 is the resistance value corresponding to the first voltage divider resistor R1, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0180] Further, see Figure 7 The voltage divider module 401 may also include a ground capacitor C5. By setting a ground capacitor C5 between the two RF circuits, the RF signals that are serially introduced into the RF system in the two RF circuits can be guided to the ground potential GND2 through the ground capacitor C5, preventing the RF signals in one RF circuit from entering the other RF circuit through the RF system, thereby improving the isolation between cable31 and cable32.
[0181] Among them, the ground capacitor C5 is connected in parallel with the first voltage divider resistor R1. That is, the first end of the ground capacitor C5 is connected to the ground potential GND2, and the second end of the ground capacitor C5 is connected to the second end of the first voltage divider resistor R1 and / or the second end of the second voltage divider resistor R2.
[0182] It should be noted that in the above embodiments, the power supply module 403 of the RF system is located on the sub-board of the electronic device, while the detection module 402 and voltage divider module 401 of the RF system are located on the mainboard of the electronic device. However, in other embodiments, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, the power supply module 403 and detection module 402 can be placed on the sub-board, and the voltage divider module 401 can be placed on the mainboard; or, the power supply module 403 and detection module 402 can be placed on the mainboard, and the voltage divider module 401 can be placed on the sub-board; or, the power supply module 403 can be placed on the mainboard, and the voltage divider module 401 and detection module 402 can be placed on the sub-board; or, the voltage divider module 401, detection module 402, and power supply module 403 can all be placed on the mainboard or sub-board. This application embodiment does not limit the location of each circuit module in the RF system.
[0183] Furthermore, Figure 4 and Figure 7 In the RF system shown, the voltage divider module 401 is coupled between the DC blocking capacitor C1 and the corresponding connector 41 of the RF circuit 11 through the choke inductor L1, and is coupled between the DC blocking capacitor C3 and the corresponding connector 43 of the RF circuit 12 through the choke inductor L3.
[0184] In other embodiments, when the voltage divider module 401 is coupled between the DC blocking capacitor C1 and the connector 41 corresponding to the RF circuit 11 through the choke inductor L1, the voltage divider module 401 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 of the choke inductor L4 can be coupled to the ground potential GND1.
[0185] Alternatively, when the voltage divider module 401 is coupled between the DC blocking capacitor C3 and the corresponding connector 43 of the RF circuit 12 through the choke inductor L3, the voltage divider module 401 can be coupled between the DC blocking capacitor C2 and the corresponding connector 42 of the antenna 21 through the choke inductor L1. Then the power supply module 403 can be coupled between the DC blocking capacitor C1 and the corresponding connector 41 of the RF circuit 11 through the choke inductor L2.
[0186] Of course, the voltage divider module 401 can also be coupled between two adjacent cables in other ways. This application embodiment does not limit the connection method of the cables.
[0187] Furthermore, when the power supply module 403 and the detection module 402 are located on the main board and sub-board of the electronic device, respectively (e.g., the power supply module 403 is on the main board and the detection module 402 is on the sub-board, or vice versa), the power supply module 403 and the detection module 402 can be coupled through a flexible printed circuit board (FPC). FPCs have the advantages of being lightweight and thin, and they can be freely bent and folded, allowing for flexible adjustment of the positional relationship between the main board and the sub-board. Of course, the power supply module 403 and the detection module 402 can also be coupled through signal lines; this embodiment does not limit this.
[0188] The above embodiment uses an electronic device with two cables as an example for illustration. However, in practical applications, an electronic device may include multiple cables. The following illustration uses an electronic device with three cables (cable 31, cable 32, and cable 33) as an example. See [link to documentation]. Figure 8 , Figure 8 This is a circuit diagram of another radio frequency system provided in the embodiments of this application. The radio frequency system may include: a first voltage divider module 801, a second voltage divider module 802, a detection module 803, and a power supply module 804.
[0189] Among them, the power supply module 804 can be coupled to the first voltage divider module 801 and the detection module 803 through the first node A. The two ends of the cable 31 can be coupled to the power supply module 804 and the first voltage divider module 801 respectively. The two ends of the cable 32 can be coupled to the first voltage divider module 801 and the second voltage divider module 802 respectively. The two ends of the cable 33 can be coupled to the second voltage divider module 802 and the ground potential GND1 respectively.
[0190] Moreover, with Figure 4 Similar to the radio frequency system shown, the radio frequency system in this embodiment may also include: a first node (A), multiple DC blocking capacitors (C1, C2, C3, C4, C6, and C7), and multiple choke inductors (L1, L2, L3, L4, L5, and L6). The multiple DC blocking capacitors C1, C2, C3, and C4, and the multiple choke inductors L1, L2, and L3, are... Figure 4 The arrangement shown is consistent and will not be repeated here. However, Figure 4 The choke inductor L4 shown is no longer located between cable32 and ground potential, but between cable33 and ground potential GND1.
[0191] Furthermore, other DC blocking capacitors and choke inductors are added in this embodiment. A DC blocking capacitor C6 is provided between the RF circuit 13 and the corresponding connector 45, and a DC blocking capacitor C7 is provided between the antenna 23 and the corresponding connector 46. A choke inductor L5 is provided between the second voltage divider module 802 and the cable 32, and a choke inductor L6 is provided between the second voltage divider module 802 and the cable 3.
[0192] Specifically, the first end of the choke inductor L5 is coupled between the DC blocking capacitor C4 and the connector 44 corresponding to the antenna 22, and the second end of the choke inductor L5 is coupled to the second voltage divider module 802; the first end of the choke inductor L6 is coupled between the DC blocking capacitor C7 and the connector 46 corresponding to the antenna 23, and the second end of the choke inductor L6 is coupled to the second voltage divider module 802; the first end of the choke inductor L4 is coupled between the DC blocking capacitor C6 and the connector 45 corresponding to the RF circuit 13, and the second end of the choke inductor L4 is coupled to the ground potential GND1.
[0193] In addition, the first voltage divider module 801, the detection module 803, and the power supply module 804 in this embodiment of the application are related to... Figure 4 The voltage divider module 401, detection module 402 and power supply module 403 shown are similar and will not be described again here.
[0194] The second voltage divider module 802 in this embodiment is similar to the first voltage divider module 801, see [link to relevant documentation]. Figure 8 The second voltage divider module 802 may include a third voltage divider resistor R3 and a fourth voltage divider resistor R4. The first terminal of the fourth voltage divider resistor R4 is coupled to ground potential GND3, and the second terminal of the fourth voltage divider resistor R4 is coupled to the second terminal of the third voltage divider resistor R3. The third voltage divider resistor R3 is connected in series between choke inductors L5 and L6. For example, the first terminal of the third voltage divider resistor R3 may be coupled to choke inductor L5, and the second terminal of the third voltage divider resistor R3 may be coupled to choke inductor L6; alternatively, the first terminal of the third voltage divider resistor R3 may be coupled to choke inductor L6, and the second terminal of the third voltage divider resistor R3 may be coupled to choke inductor L5.
[0195] It should be noted that, similar to the first voltage divider resistor R1 and the second voltage divider resistor R2, the third voltage divider resistor R3 and the fourth voltage divider resistor R4 can also be resistors in the kiloohm range. The specific parameter values of the third voltage divider resistor R3 and the fourth voltage divider resistor R4 can be set according to the impedance of the electronic device and the built-in DC voltage source V0. This application embodiment does not limit this.
[0196] In addition, such as Figure 8 The radio frequency system shown is in, for example Figure 4Based on the RF system shown, cable 33 and a second voltage divider module 802 are added. However, in one embodiment, the DC voltage source V0 can be coupled between the DC blocking capacitor C6 and the corresponding connector 45 of the RF circuit 13 through the choke inductor L2, and the ground potential GND1 can be coupled between the DC blocking capacitor C2 and the corresponding connector 42 of the antenna 21 through the choke inductor L4, or between the DC blocking capacitor C1 and the corresponding connector 41 of the RF circuit 11.
[0197] Of course, the DC voltage source V0 can also be coupled between the DC blocking capacitor C7 and the corresponding connector 46 of the antenna 23 through the choke inductor L2. Then the ground potential GND1 is coupled between the DC blocking capacitor C2 and the corresponding connector 42 of the antenna 21 through the choke inductor L4, or between the DC blocking capacitor C1 and the corresponding connector 41 of the RF circuit 11.
[0198] That is, multiple cables of the electronic device can be coupled in series between the DC voltage source V0 and the ground potential GND1. The embodiments of this application do not limit the number of cables in the electronic device or the position of the DC voltage source V0 and the ground potential GND1 in the radio frequency system.
[0199] Figure 9 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, omitting details such as... Figure 8 The RF circuitry, antenna, DC blocking capacitor, and choke inductor are shown. See also... Figure 9 If cable31, cable32, and cable33 are all connected correctly, the current can flow through the pull-up resistor R0, cable31, the second voltage divider resistor R2, cable32, the third voltage divider resistor R3, and cable33, thus reaching the ground potential GND1 to form a circuit loop.
[0200] Furthermore, the first end of the first voltage divider resistor R1 is coupled to the ground potential GND2, the second end of the first voltage divider resistor R1 is coupled to the second end of the second voltage divider resistor R2, and the third voltage divider resistor R3 is coupled to the ground potential GND1 through cable 33. The first voltage divider resistor R1 and the third voltage divider resistor R3 are connected in parallel. While the current flows through cable 32 and the third voltage divider resistor R3, it also flows through the first voltage divider resistor R1 to reach the ground potential GND2.
[0201] In addition, the first end of the fourth voltage divider resistor R4 is coupled to ground potential GND3, and the second end of the fourth voltage divider resistor R4 is coupled to the second end of the third voltage divider resistor R3 and cable33 respectively. The resistance of cable33 is much smaller than the resistance of the fourth voltage divider resistor R4, so the fourth voltage divider resistor R4 is short-circuited by cable33, and no current flows through the fourth voltage divider resistor R4.
[0202] Therefore, the potential at the detection point, which is also the potential at the second end of the pull-up resistor, is V3 = V*(R2+Rx2) / (R0+R2+Rx2), where V3 is the potential at the detection point, V is the potential of the DC voltage source, R0 is the resistance value corresponding to the pull-up resistor R0, R2 is the resistance value corresponding to the second voltage divider resistor R2, and Rx2 is the resistance value of the first voltage divider resistor R1 and the third voltage divider resistor R3 connected in parallel, Rx2 = R1*R3 / (R1+R3), where R1 is the resistance value corresponding to the first voltage divider resistor R1 and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0203] However, if the cable32 and cable33 are connected incorrectly, it can result in the following: Figure 10 The simplified circuit shown Figure 10 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application. See also... Figure 10 The current also flows first through the pull-up resistor R0, cable31, and the second voltage divider resistor R2.
[0204] Due to the incorrect connection of cable32 and cable33, the third voltage divider resistor R3 is coupled to ground potential GND1 through the corresponding connector 45 of RF circuit 13, and the fourth voltage divider resistor R4 is also coupled to ground potential GND3. The third voltage divider resistor R3 and the fourth voltage divider resistor R4 are connected in parallel. After the current flows through the second voltage divider resistor R2, it flows through cable32 through the third voltage divider resistor R3 and the fourth voltage divider resistor R4, and finally reaches ground potential GND1 through cable33 to form a loop.
[0205] Furthermore, the first terminal of the first voltage divider resistor R1 is also coupled to the ground potential GND2, meaning that the first voltage divider resistor R1 is connected in parallel with the third voltage divider resistor R3 and the fourth voltage divider resistor R4. Therefore, the potential at the detection point at this time is V4 = V*(R2+Rx3) / (R0+R2+Rx3), where V4 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and Rx3 is the resistance value of the first voltage divider resistor R1, the third voltage divider resistor R3, and the fourth voltage divider resistor R4 connected in parallel, Rx3 = R1*R3*R4 / (R1*R3+R1*R4+R3*R4), where R1 is the resistance value corresponding to the first voltage divider resistor R1, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0206] See Figure 11If cable31 and cable32 are connected incorrectly, the fourth voltage divider resistor R4 is short-circuited by cable33, the second voltage divider resistor R2 and the third voltage divider resistor R3 are connected in series, and the first voltage divider resistor R1 is connected in parallel with the series-connected second voltage divider resistor R2 and the third voltage divider resistor R3. Then the potential at the detection point is V5 = V * Rx4 / (R0 + Rx4), where V5 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 Rx4 is the resistance value of the first voltage divider resistor R1 connected in parallel with the series-connected second voltage divider resistor R2 and the third voltage divider resistor R3. Rx4 = R1 * (R2 + R3) / (R1 + R2 + R3), where R1 is the resistance value corresponding to the first voltage divider resistor R1, R2 is the resistance value corresponding to the second voltage divider resistor R2, and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0207] It should be noted that when the electronic device consists of three cables, during the coupling process, all three cables may be connected incorrectly. See [link to relevant documentation]. Figures 12 to 14 , Figures 12 to 14 These are all simplified schematic diagrams of another radio frequency system provided in the embodiments of this application.
[0208] See Figure 12 Cables 31, 32, and 33 are all connected incorrectly. That is, RF circuit 11 is coupled to antenna 23, RF circuit 12 is coupled to antenna 21, and RF circuit 13 is coupled to antenna 22. The third voltage divider resistor R3 and the fourth voltage divider resistor R4 are connected in parallel. The second voltage divider resistor R2 is connected in series with the parallel third voltage divider resistor R3 and the fourth voltage divider resistor R4. The branch circuit containing the first voltage divider resistor R1 and the second voltage divider resistor R2 is connected in parallel. The potential at the detection point is V5 = V * Rx5 / (R0 + Rx5), where V5 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, Rx5 is the equivalent resistance of the branch circuit where the first voltage divider resistor R1 and the second voltage divider resistor R2 are connected in parallel, Rx5 = R1 * Ry1 / (R1 + Ry1), where R1 is the resistance value corresponding to the first voltage divider resistor R1, Ry1 is the resistance value of the second voltage divider resistor R2 connected in series with the third voltage divider resistor R3 and the fourth voltage divider resistor R4 connected in parallel, Ry1 = R2 + R3 * R4 / (R3 + R4), where R2 is the resistance value corresponding to the second voltage divider resistor R2, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0209] See Figure 13Cables 31, 32, and 33 are also incorrectly connected; that is, RF circuit 11 is coupled to antenna 22, RF circuit 12 is coupled to antenna 23, and RF circuit 13 is coupled to antenna 21. A choke inductor L4 coupled to ground potential GND1 is provided between RF circuit 13 and its corresponding connector 45. The detection module 803 coupled to antenna 21 is coupled to ground potential GND1 through the choke inductor L4. At this time, the potential at the detection point is V6 = 0.
[0210] See Figure 14 Cable31 and Cable33 are connected incorrectly. Figure 13 Similar to the radio frequency system shown, radio frequency circuit 11 is coupled to antenna 23, radio frequency circuit 13 is coupled to antenna 21, and detection module 803 coupled to antenna 21 is coupled to ground potential GND1 through choke inductor L4. At this time, the potential of the detection point is V7 = 0.
[0211] Further, see Figure 15 The first voltage divider module 801 may also include a ground capacitor C5, which is connected in parallel with the first voltage divider resistor R1 to improve the isolation between cable 31 and cable 32. Similarly, the second voltage divider module 802 may also include a ground capacitor C8, which is connected in parallel with the fourth voltage divider resistor R4 to improve the isolation between cable 32 and cable 33.
[0212] The aforementioned capacitors C5 and C8 to ground and Figure 7 The capacitor to ground C5 shown is similar and will not be described again here.
[0213] It should be noted that in the above embodiments, the power supply module 804 and the second voltage divider module 802 of the RF system are located on the sub-board of the electronic device, while the detection module 803 and the first voltage divider module 801 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0214] Furthermore, the first voltage divider module 801 and the second voltage divider module 802 can be coupled between two adjacent cables in different ways, as can be seen in the following reference. Figure 4 The different coupling methods corresponding to the voltage divider module 401 will not be described in detail here.
[0215] In addition, the radio frequency system provided in this application embodiment can also be combined with GPIO to determine whether the cable of the electronic device is disconnected, and then determine whether there is a connection error in the cable of the electronic device according to the radio frequency system provided in this application embodiment.
[0216] In other words, based on an electronic device with GPIO, the features provided in the embodiments of this application can be added to the electronic device. Figure 4 , Figure 7 , Figure 8 and Figure 15 The radio frequency system shown is used to obtain another radio frequency system. This can be further improved by adding, for example... Figure 7 For example, see the radio frequency system shown. Figure 16 The RF system may include: a GPIO detection module 1601, a GPIO power supply module 1602, a voltage divider module 1603, a detection module 1604, and a power supply module 1605. Furthermore, the RF system may also include: multiple DC blocking capacitors (C1, C2, C3, and C4), a ground capacitor (C5), and multiple choke inductors (L1, L2, L3, and L4).
[0217] The coupling method of the voltage divider module 1603, detection module 1604, power supply module 1605, multiple DC blocking capacitors (C1, C2, C3 and C4), multiple choke inductors (L1, L2, L3 and L4), and ground capacitor C5 is as follows: Figure 7 The voltage divider module 401, detection module 402, power supply module 403, multiple DC blocking capacitors (C1, C2, C3 and C4), multiple choke inductors (L1, L2, L3 and L4) and ground capacitor C5 shown in the diagram have similar coupling methods, which will not be described in detail here.
[0218] Furthermore, the GPIO power supply module 1602 is similar to the power supply module 1605, and the GPIO detection module 1601 is also similar to the detection module 1604. The GPIO power supply module 1602 can provide voltage to each cable in the electronic device, while the GPIO detection module 1601 can determine whether each cable is connected or disconnected based on the potential of the detection point.
[0219] In the above embodiments, the GPIO power supply module 1602 and power supply module 1605 of the RF system are located on the sub-board of the electronic device, while the GPIO detection module 1601, detection module 1604, and voltage divider module 1603 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0220] Furthermore, the voltage divider module 1603 can be coupled between two adjacent cables in different ways, as can be seen in the following references. Figure 4 The different coupling methods corresponding to the voltage divider module 401 will not be described in detail here.
[0221] In addition, if both the RF system detection module 1604 and the GPIO detection module 1601 are located on the main board or sub-board of the electronic device, the detection module 1604 can be routed using a routing multiplexing method based on the routing of the GPIO detection module 1601. This allows the GPIO detection module 1601 to determine whether each cable is disconnected, while the detection module 1604 can also determine whether each cable is connected correctly.
[0222] For example, the detection module 1604 can identify multiple potential magnitudes based on the collected potentials, so that the processor can determine the connection status of each cable based on the identified potential magnitudes. Meanwhile, the GPIO detection module 1601 can determine whether the potential is high or low based on the collected potentials, and the processor can then determine whether the cable is disconnected or not based on the high or low potential.
[0223] In summary, the radio frequency system provided in this application includes at least one voltage divider module coupled to the power supply module, with each voltage divider module connected in series. Each voltage divider module is positioned between two adjacent cables. If any two cables are incorrectly connected, the current flow in the radio frequency system changes, and the voltage division of the voltage divider resistors in each voltage divider module also changes. The detection module connected to the power supply module can detect the changing potential and thus determine the incorrectly connected cables based on the changing potential. This eliminates the need for GPIOs proportional to the number of cables, reducing the hardware required to detect whether each cable is disconnected and lowering the cost of detecting whether each cable is disconnected.
[0224] Furthermore, cables can be coupled in series between the power supply module and the voltage divider module, between the voltage divider module and the ground potential, and between two adjacent voltage divider modules. Combined with DC blocking capacitors and choke inductors set between the RF system and the RF circuit, and between the RF system and the antenna, RF signals in the RF circuit can be prevented from entering the RF system, and current in the RF system can be prevented from entering the RF circuit. This can improve the isolation between the RF system and the RF circuit, and improve the accuracy of the RF system.
[0225] Furthermore, by setting a ground capacitor in the voltage divider module, so that the ground capacitor is located between the two RF circuits, the RF signal that is serially inserted into the RF system in the RF circuit can be guided to the ground potential through the ground capacitor, thereby preventing the RF signal in one RF circuit from entering the other RF circuit through the RF system, and thus improving the isolation between the two RF circuits.
[0226] Furthermore, the radio frequency (RF) system provided in this application embodiment can be added to an electronic device that includes GPIO, by using the existing GPIO with multiplexing routing, to reduce wiring and save hardware resources. Moreover, based on the existing GPIO's function of determining whether each cable is disconnected, the RF system can determine whether each cable of the electronic device is connected incorrectly, thereby enriching the functionality of the RF system and increasing the diversity of functions implemented by the RF system.
[0227] The above embodiment uses GPIO to determine whether each cable is disconnected. Figure 4 Based on the RF system shown, the coupling mode of the second voltage divider resistor R2 of the voltage divider module 401 in the RF system can be adjusted, thereby determining whether each cable in the electronic device is connected or disconnected through the adjusted RF system.
[0228] Figure 17 This is a circuit diagram of another radio frequency system provided in the embodiments of this application, see [link to diagram]. Figure 17 The RF system may include multiple circuit modules such as voltage divider module 1701, detection module 1702 and power supply module 1703. The RF system may also include a first node (A), multiple DC blocking capacitors (C1, C2, C3 and C4) and multiple choke inductors (L1, L2, L3 and L4).
[0229] The output of the power supply module 1703 can be coupled to the detection module 1702 and the voltage divider module 1701 through the first node A. The power supply module 1703 can supply power to the voltage divider module 1701, which can form different voltages according to the different connection methods of each cable. This allows the detection module 1702 to detect the potential of the pre-set detection point, thereby obtaining different potentials corresponding to the different coupling methods of each cable. Then, it can determine whether each cable is disconnected based on the different potentials.
[0230] Furthermore, voltage divider modules 1701 can be coupled to both ends of cable 31. When cable 31 is normally connected, voltage divider modules 1701 can be short-circuited by cable 31; while when cable 31 is disconnected, power supply module 1703 can be coupled to ground potential through voltage divider modules 1701, thereby forming a loop.
[0231] Furthermore, unlike cable31, cable32 can be coupled to ground potential GND1 at both ends, and cable32 does not have voltage divider modules at its ends. When cable32 is normally connected, the RF system can form a loop through cable32 connected to ground potential GND1; while when cable32 is disconnected, the RF system can form a loop by connecting to ground potential GND2 through voltage divider module 1701.
[0232] It should be noted that the arrangement of the DC blocking capacitors (C1, C2, C3 and C4) and the choke inductors (L1, L2, L3 and L4) in the embodiments of this application can be referred to Figure 4 The arrangement shown is not repeated here. Furthermore, the power supply module 1703 and detection module 1702 in this embodiment are also... Figure 4 The power supply module 1703 and the detection module 1702 shown are similar, and will not be described again here.
[0233] and Figure 4 The voltage divider module 401 differs from the aforementioned voltage divider module 1701 in that it may also include a first voltage divider resistor R1 and a second voltage divider resistor R2. The first end of the first voltage divider resistor R1 is coupled to ground potential GND2, and the second end of the first voltage divider resistor R1 is coupled to the second end of the second voltage divider resistor R2. However, the first end of the second voltage divider resistor R2 is coupled to the output terminal of the power supply module 1703, that is, coupled to the first node A of the RF system, and the second ends of both the first voltage divider resistor R1 and the second voltage divider resistor R2 are coupled between choke inductors L1 and L3.
[0234] Since 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, the first end of the second voltage divider resistor R2 is also coupled between the DC blocking capacitor C2 and the connector 42 corresponding to the antenna 21. Furthermore, the second end of the second voltage divider resistor R2 is coupled between C1 and the connector 41 corresponding to the RF circuit 11 through the choke inductor L1. Therefore, the second end of the second voltage divider resistor R2 is also coupled to the cable 31. Thus, the second voltage divider resistor R2 is connected in parallel with the cable 31.
[0235] In addition, the parameter values of the first voltage divider resistor R1 and the second voltage divider resistor R2 mentioned above can be referred to Figure 4 The first voltage divider resistor R1 and the second voltage divider resistor R2 shown here will not be described again.
[0236] Figure 18 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, omitting details such as... Figure 17The RF circuitry, antenna, DC blocking capacitor, and choke inductor are shown. See also... Figure 18 If cable31 and cable32 are not disconnected, the second voltage divider resistor R2 in the RF system can be short-circuited by cable31, and the first voltage divider resistor R1 can be short-circuited by cable32. The current can flow through the pull-up resistor R0, cable31 and cable32, and thus reach the ground potential GND1 to form a loop.
[0237] Therefore, the potential at the detection point is V8 = 0 at this time, where V8 is the potential of the detection point set in advance.
[0238] However, if cable31 disconnects and cable32 connects normally, it can form a situation like this. Figure 19 The simplified circuit shown Figure 19 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application. See also... Figure 19 When cable 31 is disconnected, current flows from pull-up resistor R0 through the second voltage divider resistor R2. However, cable 32 is not disconnected, and the first voltage divider resistor R1 is short-circuited by cable 32. After flowing through the second voltage divider resistor R2, the current can reach ground potential GND1 through cable 32.
[0239] Therefore, the potential at the detection point at this time is V9 = V*R2 / (R0+R2), where V9 is the potential of the detection point set in advance, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0240] Similarly, if cable31 is connected normally and cable32 is disconnected, then the following can be formed: Figure 20 The simplified circuit shown Figure 20 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 20 Cable31 is connected normally, and the second voltage divider resistor R2 is short-circuited by Cable31. However, Cable32 is disconnected, and after the current flows through the pull-up resistor R0 and Cable31, it can only flow through the first voltage divider resistor R1 to reach the ground potential GND2.
[0241] Therefore, the potential at the detection point at this time is V10 = V*R1 / (R0+R1), where V10 is the potential of the detection point set in advance, V is the potential of the DC voltage source V0, R0 is the resistance value corresponding to the pull-up resistor R0, and R1 is the resistance value corresponding to the first voltage divider resistor R1.
[0242] Additionally, if both cable31 and cable32 are disconnected, a configuration like this can be formed. Figure 21 The simplified circuit shown Figure 21 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 21 After both cable31 and cable32 are disconnected, the current can only flow through the second voltage divider resistor R2 and the first voltage divider resistor R1 to reach the ground potential GND2 after flowing through the pull-up resistor R0.
[0243] Therefore, the potential at the detection point at this time is V11=V*(R1+R2) / (R0+R1+R2), where V11 is the potential of the detection point set in advance, 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 first voltage divider resistor R1, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0244] For example, if the potential of the DC voltage source V0 is 1.8V, the resistance of the pull-up resistor R0 is 20KΩ, the resistance of the first voltage divider resistor R1 is 20KΩ, the resistance of the second voltage divider resistor R2 is 10KΩ, and the capacitance values of each DC blocking capacitor are C1=C2=C3=C4=33pF (picofarad), the capacitance value of the capacitor to ground C5 is 20pF, and the inductance values of each choke inductor are L1=L2=L3=L4=68nH (nanohenry), then according to the above formula, V8=0V, V9=0.6V, V10=0.9V, and V11=1.08V.
[0245] Further, see Figure 22 The voltage divider module 1701 may also include a ground capacitor C5, which is connected in parallel with the first voltage divider resistor R1 to improve the isolation between cable 31 and cable 32. Figure 7 The capacitor to ground C5 shown is similar and will not be described again here.
[0246] It should be noted that in the above embodiment, the power supply module 1703 of the RF system is located on the sub-board of the electronic device, while the detection module 1702 and the voltage divider module 1701 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0247] Furthermore, the voltage divider module 1701 can be coupled between two adjacent cables in different ways, as can be referred to... Figure 4 The different coupling methods corresponding to the voltage divider module 401 will not be described in detail here.
[0248] Furthermore, when the power supply module 1703 and the detection module 1702 are located on the main board and the sub-board of the electronic device, respectively (e.g., the power supply module 1703 is located on the main board and the detection module 1702 is located on the sub-board, or the power supply module 1703 is located on the sub-board and the detection module 1702 is located on the main board), the power supply module 1703 and the detection module 1702 can be coupled through an FPC or through a signal line. This application embodiment does not limit this.
[0249] The above are as follows Figures 17 to 22 The illustrated embodiment uses an electronic device with two cables as an example. However, in practical applications, an electronic device may include multiple cables. The following description uses an electronic device with three cables (cable 31, cable 32, and cable 33) as an example. See [link to documentation]. Figure 23 , Figure 23 This is a circuit diagram of another radio frequency system provided in the embodiments of this application. The radio frequency system may include: a first voltage divider module 2301, a second voltage divider module 2302, a detection module 2303, and a power supply module 2304.
[0250] The output of power supply module 2304 can be coupled to detection module 2303 via first node A. Power supply module 2304 can also be coupled to first voltage divider module 2301 via cable 31. First voltage divider module 2301 can be coupled to second voltage divider module 2302 via cable 32. That is, the two ends of cable 31 can be coupled to first voltage divider module 2301. When cable 31 is disconnected, a circuit loop can be formed through first voltage divider module 2301. Similarly, the two ends of cable 32 can also be coupled to second voltage divider module 2302. When cable 32 is disconnected, a circuit loop can be formed through second voltage divider module 2302. In addition, the two ends of cable 33 can be coupled to cable 32 and ground potential GND1 respectively.
[0251] Moreover, with Figure 17 Similar to the radio frequency system shown, the radio frequency system in this embodiment may also include: a first node (A), multiple DC blocking capacitors (C1, C2, C3, C4, C6, and C7), and multiple choke inductors (L1, L2, L3, L4, L5, L6, and L7). Among these, the multiple DC blocking capacitors C1, C2, C3, and C4, and the multiple choke inductors L1, L2, and L3, are... Figure 17 The arrangement shown is consistent and will not be repeated here. However, Figure 17 The choke inductor L4 shown is no longer located between cable32 and ground potential GND1, but is located as follows: Figure 23 The cable 33 shown is connected to the ground potential GND1.
[0252] Furthermore, in this embodiment, other DC blocking capacitors (C6 and C7) and choke inductors (L5, L6 and L7) are also added. A DC blocking capacitor C6 is provided between the RF circuit 13 and the corresponding connector 45, and a DC blocking capacitor C7 is provided between the antenna 3 and the corresponding connector 46. Choke inductors L5 and L6 are provided between the second voltage divider module 2302 and the cable 32, and the choke inductors L5 and L6 are respectively coupled to the two ends of the cable 32. A choke inductor L7 is provided between the second voltage divider module 2302 and the cable 32.
[0253] Specifically, the first end of the choke inductor L4 is connected between the DC blocking capacitor C6 and the corresponding connector 45 of the RF circuit 13, and the second end of the choke inductor L4 is coupled to ground potential GND1; the first end of the choke inductor L5 is coupled between the DC blocking capacitor C3 and the corresponding connector 43 of the RF circuit 12, and the second end of the choke inductor L5 is coupled to the second voltage divider module 2302; the first end of the choke inductor L6 is coupled between the DC blocking capacitor C4 and the corresponding connector 44 of the antenna 22, and the second end of the choke inductor L6 is coupled to the second voltage divider module 2302; the first end of the choke inductor L7 is coupled between the DC blocking capacitor C7 and the corresponding connector 46 of the antenna 23, and the second end of the choke inductor L7 is coupled to the second voltage divider module 2302.
[0254] In addition, the first voltage divider module 2301, the detection module 2303, and the power supply module 2304 in this embodiment of the application are... Figure 17 The voltage divider module 1701, detection module 1702 and power supply module 1703 shown are similar and will not be described again here.
[0255] The second voltage divider module 2302 in this embodiment is similar to the first voltage divider module 2301, see [link to application]. Figure 23 The second voltage divider module 2302 may include a third voltage divider resistor R3 and a fourth voltage divider resistor R4. The first terminal of the third voltage divider resistor R3 is coupled to ground potential GND3, the second terminal of the third voltage divider resistor R3 is coupled to the second terminal of the fourth voltage divider resistor R4, and the first terminal of the fourth voltage divider resistor R4 is coupled to choke inductor L5. Furthermore, the second terminals of both the third and fourth voltage divider resistors R3 and R4 can be coupled between choke inductors L6 and L7.
[0256] In addition, the parameter value of the third voltage divider resistor R3 can be referred to the parameter value of the first voltage divider resistor R1 in the first voltage divider module 2301 in the embodiment of this application, and the parameter value of the fourth voltage divider resistor R4 can be referred to the parameter value of the second voltage divider resistor R2 in the first voltage divider module 2301 in the embodiment of this application, and will not be repeated here.
[0257] Figure 24This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, omitting details such as... Figure 23 The RF circuitry, antenna, DC blocking capacitor, and choke inductor are shown. See also... Figure 24 If cable31, cable32, and cable33 are not disconnected, the second voltage divider resistor R2 in the RF system is short-circuited by cable31, the fourth voltage divider resistor R4 is short-circuited by cable32, the third voltage divider resistor R3 is short-circuited by cable33, and the first voltage divider resistor R1 is short-circuited by cable32 and cable33. The current flows through the pull-up resistors R0, cable31, cable32, and cable33, thereby reaching the ground potential GND1 to form a loop.
[0258] Therefore, the potential at the detection point is V12 = 0 at this time, where V12 is the potential at the detection point.
[0259] However, if cable31 is disconnected and cable32 and cable33 are connected normally, then the following can be formed: Figure 25 The simplified circuit shown Figure 25 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application. See also... Figure 25 When cable 31 is disconnected, current flows from pull-up resistor R0 through the second voltage divider resistor R2. However, cable 32 and cable 33 are not disconnected, so the first voltage divider resistor R1, the third voltage divider resistor R3, and the fourth voltage divider resistor R4 are short-circuited. After flowing through the second voltage divider resistor R2, the current can reach ground potential GND1 through cable 32 and cable 33.
[0260] Therefore, the potential at the detection point at this time is V13=V*R2 / (R0+R2), where V13 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, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0261] Similarly, if cable31 and cable33 are connected normally, and cable32 is disconnected, then the following can be formed: Figure 26 The simplified circuit shown Figure 26 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 26 Cable 31 and Cable 33 are connected normally. The second voltage divider resistor R2 is short-circuited by Cable 31, and the third voltage divider resistor R3 is short-circuited by Cable 33. Cable 32 is disconnected, and the first voltage divider resistor R1 and the fourth voltage divider resistor R4 are connected in parallel.
[0262] Therefore, the potential at the detection point at this time is V14 = V * Rx6 / (R0 + Rx6), where V14 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, and Rx6 is the equivalent resistance of the first voltage divider resistor R1 and the fourth voltage divider resistor R4 connected in parallel, Rx6 = R1 * R4 / (R1 + R4), where R1 is the resistance value corresponding to the first voltage divider resistor R1 and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0263] Similarly, if cable31 and cable32 are connected normally, and cable33 is disconnected, then the following can be formed: Figure 27 The simplified circuit shown Figure 27 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 27 Cable 31 and Cable 32 are normally connected. The second voltage divider resistor R2 is short-circuited by Cable 31, and the fourth voltage divider resistor R4 is short-circuited by Cable 32. Cable 33 is disconnected, and the first voltage divider resistor R1 and the third voltage divider resistor R3 are connected in parallel.
[0264] Therefore, the potential at the detection point at this time is V15 = V0 * Rx7 / (R0 + Rx7), where V15 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, and Rx7 is the equivalent resistance of the first voltage divider resistor R1 and the third voltage divider resistor R3 connected in parallel, Rx7 = R1 * R3 / (R1 + R3), where R1 is the resistance value corresponding to the first voltage divider resistor R1 and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0265] The above describes the potentials detected by pre-set detection points when all three cables of the electronic device are connected, or when any one cable is disconnected. However, in practical applications, the electronic device may experience disconnections of any two of the three cables, or even all three cables. See also... Figures 28 to 31 The diagrams show simplified schematics of the radio frequency system when two or three cables are disconnected.
[0266] Figure 28 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 28 As shown, the connection between cable31 and cable32 of the electronic device is disconnected, while cable33 is normally connected. The third voltage divider resistor R3 is short-circuited by cable33. The first voltage divider resistor R1 and the fourth voltage divider resistor R4 are connected in parallel, and the second voltage divider resistor R2 is connected in series with the parallel first voltage divider resistor R1 and the fourth voltage divider resistor R4.
[0267] Therefore, the potential at the detection point at this time is V16 = V*(R2+Rx8) / (R0+R2+Rx8), where V16 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and Rx8 is the equivalent resistance of the first voltage divider resistor R1 and the fourth voltage divider resistor R4 connected in parallel, Rx8 = R1*R4 / (R1+R4), where R1 is the resistance value corresponding to the first voltage divider resistor R1 and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0268] Figure 29 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 29 As shown, the connection between cable32 and cable33 of the electronic device is disconnected, cable31 is normally connected, the second voltage divider resistor R2 is short-circuited by cable31, the third voltage divider resistor R3 and the fourth voltage divider resistor R4 are connected in series, and the first voltage divider resistor R1 is connected in parallel with the series-connected third voltage divider resistor R3 and fourth voltage divider resistor R4.
[0269] Therefore, the potential at the detection point at this time is V17 = V * Rx9 / (R0 + Rx9), where V17 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, and Rx9 is the equivalent resistance of the first voltage divider resistor R1 connected in parallel with the third voltage divider resistor R3 and the fourth voltage divider resistor R4 connected in series. Rx9 = R1 * (R3 + R4) / (R1 + R3 + R4), where R1 is the resistance value corresponding to the first voltage divider resistor R1, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0270] Figure 30 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 30 As shown, the connection between cable31 and cable33 of the electronic device is disconnected, cable32 is normally connected, the fourth voltage divider resistor R4 is short-circuited by cable32, the first voltage divider resistor R1 and the third voltage divider resistor R3 are connected in parallel, and the second voltage divider resistor R2 is connected in series with the parallel first voltage divider resistor R1 and the third voltage divider resistor R3.
[0271] Therefore, the potential at the detection point at this time is V18 = V*(R2+Rx10) / (R0+R2+Rx10), where V18 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and Rx10 is the equivalent resistance of the first voltage divider resistor R1 and the third voltage divider resistor R3 connected in parallel, Rx10 = R1*R3 / (R1+R3), where R1 is the resistance value corresponding to the first voltage divider resistor R1 and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0272] Figure 31 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 31 As shown, cable31, cable32 and cable33 of the electronic device are all disconnected, and the first voltage divider resistor R1 is connected in parallel with the third voltage divider resistor R3 and the fourth voltage divider resistor R4 which are connected in series.
[0273] Therefore, the potential at the detection point at this time is V19 = V*(R2+Rx11) / (R0+R2+Rx11), where V19 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and Rx11 is the equivalent resistance of the first voltage divider resistor R1 connected in parallel with the third voltage divider resistor R3 and the fourth voltage divider resistor R4 connected in series. Rx11 = R1*(R3+R4) / (R1+R3+R4), where R1 is the resistance value corresponding to the first voltage divider resistor R1, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0274] Further, see Figure 32 The first voltage divider module 2301 may also include a ground capacitor C5, which is connected in parallel with the first voltage divider resistor R1 to improve the isolation between cable 31 and cable 32. Similarly, the second voltage divider module 2302 may also include a ground capacitor C8, which is connected in parallel with the third voltage divider resistor R3 to improve the isolation between cable 32 and cable 33.
[0275] The aforementioned capacitors C5 and C8 to ground and Figure 22 The capacitor to ground C5 shown is similar and will not be described again here.
[0276] It should be noted that in the above embodiments, the power supply module 2304 and the second voltage divider module 2302 of the RF system are located on the sub-board of the electronic device, while the detection module 2303 and the first voltage divider module 2301 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0277] Furthermore, the first voltage divider module 2301 and the second voltage divider module 2302 can be coupled between two adjacent cables in different ways, as can be referred to... Figure 6 The different coupling methods corresponding to the voltage divider module 601 will not be described in detail here.
[0278] In addition, in such Figure 23 Based on the RF system shown, further optimizations can be made to reduce the number of components, decrease the complexity of the RF system, and reduce the area occupied by the RF system on the motherboard and sub-board of the electronic device. For example, the first voltage divider module 2301 in the RF system can be optimized by removing the first voltage divider resistor R1, resulting in... Figure 33 The radio frequency system shown.
[0279] Figure 33 This is a circuit diagram of another radio frequency system provided in the embodiments of this application, see [link to diagram]. Figure 33 The first voltage divider module 2301 includes only the second voltage divider resistor R2. The first end of the second voltage divider resistor R2 is coupled to the second end of the pull-up resistor R0 in the power supply module 2304. The second end of the second voltage divider resistor R2 is coupled between the choke inductor L1 and the choke inductor L3.
[0280] In the radio frequency system, the power supply module 2304, the detection module 2303, and the second voltage divider module 2302 are as follows: Figure 23 The radio frequency system shown is similar and will not be described in detail here.
[0281] Figure 34 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, omitting details such as... Figure 33 The RF circuitry, antenna, DC blocking capacitor, and choke inductor are shown. See also... Figure 34 If cable31, cable32, and cable33 are not disconnected, the second voltage divider resistor R2 in the RF system is short-circuited by cable31, the fourth voltage divider resistor R4 is short-circuited by cable32, and the third voltage divider resistor R3 is short-circuited by cable33. The current flows through the pull-up resistors R0, cable31, cable32, and cable33, thus reaching the ground potential GND1 to form a loop.
[0282] Therefore, the potential at the detection point is V20 = 0 at this time, where V20 is the potential at the detection point.
[0283] However, if cable31 is disconnected and cable32 and cable33 are connected normally, then the following can be formed: Figure 35 The simplified circuit shown Figure 35 This is a simplified schematic diagram of another radio frequency system provided in an embodiment of this application. See also... Figure 35When cable 31 is disconnected, current flows from pull-up resistor R0 through the second voltage divider resistor R2. However, cable 32 and cable 33 are not disconnected, so the third voltage divider resistor R3 is short-circuited by cable 33, and the fourth voltage divider resistor R4 is short-circuited by cable 32. After flowing through the second voltage divider resistor R2, the current reaches ground potential GND1 through cable 32 and cable 33.
[0284] Therefore, the potential at the detection point at this time is V21=V*R2 / (R0+R2), where V21 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, and R2 is the resistance value corresponding to the second voltage divider resistor R2.
[0285] Similarly, if cable31 and cable33 are connected normally, and cable32 is disconnected, then the following can be formed: Figure 36 The simplified circuit shown Figure 36 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 36 Cable 31 and Cable 33 are connected normally. The second voltage divider resistor R2 is short-circuited by Cable 31, and the third voltage divider resistor R3 is short-circuited by Cable 33. Cable 32 is disconnected, and only the fourth voltage divider resistor R4 is connected.
[0286] Therefore, the potential at the detection point is V22 = V*R4 / (R0+R4), where V22 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 R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0287] Similarly, if cable31 and cable32 are connected normally, and cable33 is disconnected, then the following can be formed: Figure 37 The simplified circuit shown Figure 37 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application. See also... Figure 37 Cable 31 and Cable 32 are connected normally. The second voltage divider resistor R2 is short-circuited by Cable 31, and the fourth voltage divider resistor R4 is short-circuited by Cable 32. Cable 33 is disconnected, and only the third voltage divider resistor R3 is connected to the RF system.
[0288] Therefore, the potential at the detection point at this time is V23=V*R3 / (R0+R3), where V23 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, and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0289] and Figures 28 to 31 Correspondingly, see Figures 38 to 41The diagrams show the scenarios when two or three cables are disconnected. Figure 33 The diagram shows a simplified schematic of the radio frequency system.
[0290] Figure 38 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 38 As shown, the connection between cable31 and cable32 of the electronic device is disconnected, cable33 is normally connected, the third voltage divider resistor R3 is short-circuited by cable33, and the second voltage divider resistor R2 and the fourth voltage divider resistor R4 are connected in series.
[0291] Therefore, the potential at the detection point at this time is V24=V*(R2+R4) / (R0+R2+R4), where V24 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0292] Figure 39 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 39 As shown, the connection between cable32 and cable33 of the electronic device is disconnected, cable31 is normally connected, the second voltage divider resistor R2 is short-circuited by cable31, and the third voltage divider resistor R3 and the fourth voltage divider resistor R4 are connected in series.
[0293] Therefore, the potential at the detection point at this time is V25 = V*(R3+R4) / (R0+R3+R4), where V25 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, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0294] Figure 40 This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 40 As shown, the connection between cable31 and cable33 of the electronic device is disconnected, cable32 is normally connected, the fourth voltage divider resistor R4 is short-circuited by cable32, and the second voltage divider resistor R2 and the third voltage divider resistor R3 are connected in series.
[0295] Therefore, the potential at the detection point at this time is V26=V*(R2+R3) / (R0+R2+R3), where V26 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, and R3 is the resistance value corresponding to the third voltage divider resistor R3.
[0296] Figure 41This is a simplified schematic diagram of another radio frequency system provided in the embodiments of this application, such as... Figure 41 As shown, cable31, cable32 and cable33 of the electronic device are all disconnected, and the second voltage divider resistor R2, the third voltage divider resistor R3 and the fourth voltage divider resistor R4 are connected in series.
[0297] Therefore, the potential at the detection point at this time is V27 = V*(R2+R3+R4) / (R0+R2+R3+R4), where V27 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, R2 is the resistance value corresponding to the second voltage divider resistor R2, R3 is the resistance value corresponding to the third voltage divider resistor R3, and R4 is the resistance value corresponding to the fourth voltage divider resistor R4.
[0298] Further, see Figure 42 The first voltage divider module 2301 may also include a ground capacitor C5, which is positioned between the second terminal of the second voltage divider resistor R2 and the ground potential GND2 to improve the isolation between cable 31 and cable 32. Similarly, the second voltage divider module 2302 may also include a ground capacitor C8, which is connected in parallel with the third voltage divider resistor R3 to improve the isolation between cable 32 and cable 33. The aforementioned ground capacitors C5 and C8, along with... Figure 32 The capacitors C5 and C8 shown are similar to those shown, and will not be described again here.
[0299] It should be noted that in the above embodiments, the power supply module 2304 and the second voltage divider module 2302 of the RF system are located on the sub-board of the electronic device, while the detection module 2303 and the first voltage divider module 2301 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0300] Furthermore, the first voltage divider module 2301 and the second voltage divider module 2302 can be coupled between two adjacent cables in different ways, as can be seen in the following reference. Figure 6 The different coupling methods corresponding to the voltage divider module 601 will not be described in detail here.
[0301] Furthermore, when the power supply module 2304 and the detection module 2303 are located on the main board and the sub-board of the electronic device, respectively (e.g., the power supply module 2304 is located on the main board and the detection module 2303 is located on the sub-board, or the power supply module 2304 is located on the sub-board and the detection module 2303 is located on the main board), the power supply module 2304 and the detection module 2303 can be coupled through an FPC or through a signal line. This application embodiment does not limit this.
[0302] It should be noted that in practical applications, applying the above-mentioned RF system to electronic devices requires a certain R&D cycle for updating and verifying the application program that matches the RF system. Before the application program that matches the RF system is updated and verified, the existing application program of the electronic device still needs to implement the antenna presence detection mechanism through GPIO, that is, to detect whether the connection of each cable is abnormal, which affects the RF communication of the antenna of the electronic device.
[0303] Therefore, it is still necessary to add the features proposed in the embodiments of this application to the existing electronic device, which already has GPIO. Figure 17 , Figure 22 , Figure 23 , Figure 32 , Figure 33 and Figure 42 The radio frequency system shown is designed to achieve different functions. For example, to add... Figure 22 Taking the radio frequency system shown as an example, that is, when the electronic device includes GPIO and two cables (cable31 and cable32), add as follows Figure 22 The radio frequency system shown obtains the following: Figure 43 Another type of radio frequency system is shown.
[0304] See Figure 43 The RF system may include: a GPIO detection module 4301, a GPIO power supply module 4302, a voltage divider module 4303, a detection module 4304, and a power supply module 4305. Furthermore, the RF system may also include: multiple DC blocking capacitors (C1, C2, C3, and C4), multiple choke inductors (L1, L2, L3, and L4), and a capacitor to ground (C5).
[0305] The coupling method of the voltage divider module 4303, the detection module 4304, the power supply module 4305, multiple DC blocking capacitors, multiple choke inductors, and the capacitor to ground is related to... Figure 22 The voltage divider module 1701, detection module 1702, power supply module 1703, multiple DC blocking capacitors, multiple choke inductors, and the coupling method of the capacitor to ground shown are similar, and will not be described again here.
[0306] Furthermore, the GPIO power supply module 4302 is similar to the power supply module 4305, and the GPIO detection module 4301 is also similar to the detection module 4304. The GPIO power supply module 4302 can provide voltage to each cable in the electronic device, while the GPIO detection module 4301 can sample the voltage to determine whether each cable in the electronic device is connected or disconnected.
[0307] In the above embodiments, the GPIO power supply module 4302 and power supply module 4305 of the RF system are located on the sub-board of the electronic device, while the GPIO detection module 4301, detection module 4304, and voltage divider module 4303 of the RF system are located on the mainboard of the electronic device. However, in practical applications, the location of each circuit module of the RF system can be adjusted according to the layout design of the mainboard and sub-board. For example, it can be referred to... Figures 4 to 7 The corresponding embodiments adjust the location of each circuit module, but the embodiments of this application do not limit the location of each circuit module.
[0308] Furthermore, the voltage divider module 4303 can be coupled between two adjacent cables in different ways, as can be seen in the following references. Figure 6 The different coupling methods corresponding to the voltage divider module 601 will not be described in detail here.
[0309] In addition, if both the RF system detection module 4304 and the GPIO detection module 4301 are located on the main board or sub-board of the electronic device, the detection module 4304 can be routed using a routing multiplexing method based on the routing of the GPIO detection module 4301. This allows the GPIO detection module 4301 to determine whether each cable is disconnected, and at the same time, the detection module 4304 can also determine whether each cable is connected correctly.
[0310] In summary, the radio frequency system provided in this application includes at least one voltage divider module coupled to the power supply module, with each voltage divider module connected in series. Each voltage divider module corresponds to one cable, and each voltage divider module is coupled to both ends of the corresponding cable. If at least one cable becomes disconnected, current can flow through the voltage divider module corresponding to the cable to the next adjacent circuit module, causing the resistors in the voltage divider module to divide the voltage. The detection module connected to the power supply module can then detect the changing potential, thereby determining each disconnected cable based on the changing potential. This eliminates the need for GPIOs proportional to the number of cables, reducing the hardware required for detecting whether each cable is disconnected and lowering the cost associated with this detection.
[0311] Furthermore, cables can be coupled in series between the power supply module and the voltage divider module, between the voltage divider module and the ground potential, and between two adjacent voltage divider modules. Combined with DC blocking capacitors and choke inductors set between the RF system and the RF circuit, and between the RF system and the antenna, RF signals in the RF circuit can be prevented from entering the RF system, and current in the RF system can be prevented from entering the RF circuit. This can improve the isolation between the RF system and the RF circuit, and improve the accuracy of the RF system.
[0312] In addition, by setting a ground capacitor in the voltage divider module, so that the ground capacitor is located between the two RF circuits, the RF signal that is serially inserted into the RF system in the RF circuit can be guided to the ground potential through the ground capacitor. This can prevent the RF signal in one RF circuit from entering the other RF circuit through the RF system, thereby improving the isolation between the two RF circuits.
[0313] Furthermore, based on electronic devices including GPIO, the radio frequency (RF) system provided in this application embodiment can be added by using the existing GPIOs in a wiring multiplexing manner to reduce wiring and save hardware resources. Moreover, based on the different functions of the original GPIOs, the RF system can determine whether the various cables of the electronic device are connected or disconnected, thereby enriching the functions of the RF system and improving the diversity of functions implemented by the RF system.
[0314] It should be noted that in practical applications, the radio frequency system described above for detecting cable connection errors can be combined with the radio frequency system for detecting cable disconnections to obtain, as shown below. Figure 44 The radio frequency system shown is described in the following document. Figure 44 The diagram shows the circuit structure of an RF system when the electronic device includes two cables. The RF system may include multiple circuit modules such as a voltage divider module 4401, a detection module 4402, and a power supply module 4403. The RF system may also include a first node (A), multiple DC blocking capacitors (C1, C2, C3, and C4), and multiple choke inductors (L1, L2, L3, and L4).
[0315] The voltage divider module 4401, detection module 4402 and power supply module 4403 are similar to the voltage divider module 401, detection module 402 and power supply module 403 respectively, and will not be described in detail here.
[0316] However, in addition to the first voltage divider resistor R1 and the second voltage divider resistor R2, the voltage divider module 4401 may also include a fifth voltage divider resistor R5. The first end of the fifth voltage divider resistor R5 is coupled to the output end of the power supply module 4403, and the second end of the fifth voltage divider resistor R5 is coupled to the second end of the first voltage divider resistor R1.
[0317] In addition, the process of determining the potential of the detection point and the connection status of each cable through the detection module 4402 is similar to the above content, and will not be repeated here.
[0318] Furthermore, Figure 45 Another combined RF system is shown; see [link to relevant documentation]. Figure 45 , Figure 45 The circuit structure diagram of an RF system including three cables is shown. The RF system may include multiple circuit modules such as a first voltage divider module 4501, a second voltage divider module 4502, a detection module 4503, and a power supply module 4504. The RF system may also include a first node (A), multiple DC blocking capacitors (C1, C2, C3, C4, C6, and C7), and multiple choke inductors (L1, L2, L3, L4, L5, L6, and L7).
[0319] The first voltage divider module 4501, the second voltage divider module 4502, the detection module 4503, and the power supply module 4504 are similar to the first voltage divider module 801, the second voltage divider module 802, the detection module 803, and the power supply module 804, respectively, and will not be described in detail here.
[0320] Furthermore, the newly added fifth voltage divider resistor R5 in the voltage divider module 4501 can be referenced. Figure 44 The voltage divider module 4401 shown here will not be described in detail here.
[0321] In addition to the third voltage divider resistor R3 and the fourth voltage divider resistor R4, the second voltage divider module 4502 may also include a sixth voltage divider resistor R6. The first end of the sixth voltage divider resistor R6 is coupled between the DC blocking capacitor C3 and the corresponding connector 43 of the RF circuit 12 through the choke inductor L5, and the second end of the sixth voltage divider resistor R6 is coupled to the second end of the third voltage divider resistor R3.
[0322] It should be noted that the process of determining the potential of the detection point and the connection status of each cable through the detection module 4503 is similar to the above content, and will not be repeated here.
[0323] Figure 46 This is a schematic flowchart illustrating a detection method provided in an embodiment of this application. It is intended as an example and not a limitation. This method can be applied to the above-mentioned methods. Figure 2 In the processor connected to the radio frequency system shown, see Figure 46 The method includes:
[0324] Step 4601: Obtain the potential information corresponding to the detection point in the radio frequency system.
[0325] The potential information is used to indicate the current potential level of the detection point. Furthermore, the detection point in the radio frequency (RF) system can be the second terminal of the pull-up resistor in the power supply module of the RF system, or any other location where the potential changes with the circuit coupling method in the RF system. This application does not limit the detection point of the RF system.
[0326] During the manufacturing process of electronic devices, cables can be installed on connectors. However, due to the large number of connectors, multiple cables may be connected incorrectly. Alternatively, during the use of electronic devices, they may be subjected to bumps or impacts, causing the cables inside the device to detach from the connectors, resulting in a decrease in communication quality or the inability to perform radio frequency communication.
[0327] This application provides a detection method for detecting whether each cable in an electronic device is abnormal, that is, detecting whether each cable has a connection error or disconnection, thereby storing and / or alerting the user to cable abnormalities.
[0328] During the process of detecting whether the cable is abnormal, the processor can combine Figure 2 The radio frequency system shown acquires the potential information collected by the detection module in the radio frequency system so that in subsequent steps, the processor can determine whether each cable of the electronic device is malfunctioning based on the potential information.
[0329] For example, the processor can continuously acquire potential information sent by the detection module in the radio frequency system, or it can periodically acquire potential information sent by the detection module. The period for acquiring potential information can be adjusted according to the circuit of the detection module. This application embodiment does not limit the method of acquiring potential information.
[0330] Step 4602: Determine the target preset potential that matches the potential information from multiple preset potentials.
[0331] When any cable in an electronic device malfunctions, the current flow in the radio frequency (RF) system coupled to each cable changes, and the voltage division of each voltage divider resistor in the RF system also changes accordingly. Consequently, the potential at the detection point in the RF system also changes. Accordingly, the processor can store the potentials that the detection point can detect as preset potentials, so that in subsequent steps, the malfunctioning cable in the electronic device can be determined based on the matched target preset potential.
[0332] The number of preset potentials stored in the processor is directly proportional to the number of cables in the electronic device. The more cables in the electronic device, the more preset potentials are stored in the processor.
[0333] In one possible implementation, after the processor acquires the potential information detected by the detection module, it can compare the potential indicated by the potential information with multiple preset potentials stored in advance, and then determine the target preset potential that matches the potential information from the multiple comparison results.
[0334] For example, the processor can subtract the potential indicated by the potential information from each preset potential, use the calculated difference as the comparison result, and then determine the target comparison result with the smallest absolute value of the parameter value from multiple comparison results. After that, the preset potential corresponding to the target comparison result can be used as the target preset potential.
[0335] It should be noted that in practical applications, the processor can pre-store the correspondence between preset potentials and connection states. This correspondence can include multiple preset potentials and multiple connection states, with each preset potential corresponding to one connection state. For example, the connection state corresponding to the first preset potential in the correspondence could be that cable31 and cable32 are connected incorrectly, that is, cable31 and cable32 are reversed; the connection state corresponding to the second preset potential could be that cable3 is disconnected, that is, at least one end of cable3 has detached from the corresponding connector.
[0336] Correspondingly, during the execution of step 4602, the processor can obtain multiple preset potentials from the correspondence so that in subsequent steps, it can determine whether each cable of the electronic device is abnormal based on the connection status corresponding to each preset potential.
[0337] Step 4603: Determine the target connection state corresponding to the target preset potential according to the pre-set correspondence.
[0338] In one possible implementation, the processor can find the connection state corresponding to the target preset potential from the correspondence based on the target preset potential, and then use the corresponding connection state as the target connection state corresponding to the target preset potential. That is, the connection state corresponding to the target preset potential is used as the target connection state corresponding to the potential information.
[0339] It should be noted that after determining the target connection status, the processor can store the target connection status in a memory connected to the processor. This allows the processor to determine if there is an anomaly in the cable of the electronic device when maintaining the electronic device, based on the target connection status stored in the memory, thus facilitating the maintenance of the electronic device.
[0340] Furthermore, after completing step 4603, the processor can continue to execute step 4604. Of course, the processor can also perform other operations based on the target connection state; however, this embodiment does not limit the operations performed by the processor based on the target connection state.
[0341] Step 4604: Based on the target connection status, alert the user to any abnormal RF connection.
[0342] After determining the target connection status, if the target connection status indicates an abnormal RF connection, the processor can control the display screen and / or speaker coupled to the processor to issue an alarm to the user, promptly reminding the user that at least one cable of the electronic device is malfunctioning, so that the user can perform timely maintenance on the electronic device.
[0343] For example, the processor can retrieve pre-stored cable error text and control the display screen to show that text, such as "RF cable connection error, please check!" or "RF cable disconnected, please check!". Alternatively, the processor can retrieve pre-stored cable error voice and control the speaker to play that voice message, such as "RF cable connection error, please check!" or "RF cable disconnected, please check!". Furthermore, while the display screen shows the cable error text, the speaker can play the corresponding voice message.
[0344] In summary, the detection method provided in this application acquires the potential information corresponding to the detection point in the radio frequency system, determines the target preset potential that matches the potential information from multiple preset potentials, and then determines the target connection state corresponding to the target preset potential from the correspondence, that is, whether each cable in the electronic device is abnormal and the type of abnormality of each cable. By using the preset potential corresponding to the abnormality of each cable, it is possible to further accurately determine which cable in the electronic device is abnormal, and also to determine the type of abnormality (such as disconnection or connection error). This eliminates the need to set GPIOs proportional to the number of cables, thereby reducing the hardware cost of cable detection and improving the functional diversity and flexibility of cable detection.
[0345] like Figures 1 to 45 The circuit architecture shown, and Figure 46 The method flow shown can be applied to terminal devices. The following describes the electronic devices involved in the embodiments of this application. Please refer to... Figure 47 , Figure 47This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0346] The electronic device may include a processor 4710, an external memory interface 4720, an internal memory 4721, a universal serial bus (USB) interface 4730, a charging management module 4740, a power management module 4741, a battery 4742, antenna 1, antenna 2, a mobile communication module 4750, a wireless communication module 4760, an audio module 4770, a speaker 4770A, a receiver 4770B, a microphone 4770C, a headphone jack 4770D, a sensor module 4780, buttons 4790, a motor 4791, an indicator 4792, a camera 4793, a display screen 4794, and a subscriber identification module (SIM) card interface 4795, etc. The sensor module 4780 may include a pressure sensor 4780A, a gyroscope sensor 4780B, a barometric pressure sensor 4780C, a magnetic sensor 4780D, an accelerometer sensor 4780E, a proximity sensor 4780F, a proximity light sensor 4780G, a fingerprint sensor 4780H, a temperature sensor 4780J, a touch sensor 4780K, an ambient light sensor 4780L, a bone conduction sensor 4780M, etc.
[0347] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0348] Processor 4710 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0349] The controller can serve as the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0350] The processor 4710 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 4710 is a cache memory. This memory can store instructions or data that the processor 4710 has just used or is recurring. If the processor 4710 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 4710, and thus improves the efficiency of the system.
[0351] In some embodiments, the processor 4710 may include one or more interfaces. 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.
[0352] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 4710 may include multiple I2C buses. The processor 4710 can couple to the touch sensor 4780K, charger, flash, camera 4793, etc., through different I2C bus interfaces. For example, the processor 4710 can couple to the touch sensor 4780K through the I2C interface, enabling the processor 4710 and the touch sensor 4780K to communicate through the I2C bus interface, thus realizing the touch function of the electronic device.
[0353] The I2S interface can be used for audio communication. In some embodiments, the processor 4710 may include multiple I2S buses. The processor 4710 can be coupled to the audio module 4770 via the I2S bus to enable communication between the processor 4710 and the audio module 4770. In some embodiments, the audio module 4770 can transmit audio signals to the wireless communication module 4760 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0354] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 4770 and the wireless communication module 4760 can be coupled via the PCM bus interface. In some embodiments, the audio module 4770 can also transmit audio signals to the wireless communication module 4760 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0355] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 4710 and the wireless communication module 4760. For example, the processor 4710 communicates with the Bluetooth module in the wireless communication module 4760 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 4770 can transmit audio signals to the wireless communication module 4760 via the UART interface to enable music playback through Bluetooth headphones.
[0356] The MIPI interface can be used to connect the processor 4710 to peripheral devices such as the display 4794 and the camera 4793. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 4710 and the camera 4793 communicate via the CSI interface to enable the electronic device's shooting function. The processor 4710 and the display 4794 communicate via the DSI interface to enable the electronic device's display function.
[0357] The GPIO interface is configurable via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 4710 to a camera 4793, a display 4794, a wireless communication module 4760, an audio module 4770, a sensor module 4780, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0358] The USB 4730 interface is a USB standard compliant interface, which can be a Mini USB interface, Micro USB interface, USB Type-C interface, etc. The USB 4730 interface can be used to connect a charger to charge electronic devices, and can also be used for data transfer between electronic devices and peripherals. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0359] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0360] The charging management module 4740 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 4740 receives charging input from the wired charger via a USB interface 4730. In some wireless charging embodiments, the charging management module 4740 receives wireless charging input via the wireless charging coil of the electronic device. While charging the battery 4742, the charging management module 4740 can also supply power to the electronic device via the power management module 4741.
[0361] The power management module 4741 connects the battery 4742, the charging management module 4740, and the processor 4710. The power management module 4741 receives input from the battery 4742 and / or the charging management module 4740, providing power to the processor 4710, internal memory 4721, external memory, display 4794, camera 4793, and wireless communication module 4760, etc. The power management module 4741 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 4741 may also be located within the processor 4710. In other embodiments, the power management module 4741 and the charging management module 4740 may be located in the same device.
[0362] The wireless communication function of electronic devices can be implemented through antenna 1, antenna 2, mobile communication module 4750, wireless communication module 4760, modem processor, and baseband processor.
[0363] 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 one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0364] The mobile communication module 4750 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 4750 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 4750 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 4750 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 4750 may be housed in the processor 4710. In some embodiments, at least some functional modules of the mobile communication module 4750 and at least some modules of the processor 4710 may be housed in the same device. The radio frequency circuit in the above embodiments can be the mobile communication module 4750.
[0365] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to a speaker 4770A, receiver 4770B, etc.) or displays images or videos through a display screen 4794. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 4710 and may be housed in the same device as the mobile communication module 4750 or other functional modules.
[0366] The wireless communication module 4760 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 4760 can be one or more devices integrating at least one communication processing module. The wireless communication module 4760 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 4710. The wireless communication module 4760 can also receive signals to be transmitted from processor 4710, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0367] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 4750, and antenna 2 is coupled to wireless communication module 4760, enabling the electronic device to communicate with networks and other devices via wireless communication technology. The wireless communication technology 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. 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).
[0368] Electronic devices implement display functions through a GPU, a display screen 4794, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 4794 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. The processor 4710 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0369] Display screen 4794 is used to display images, videos, etc. Display screen 4794 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 minimized display, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N displays 4794, where N is a positive integer greater than 1.
[0370] The external memory interface 4720 can be used to connect external memory cards, such as Micro SD cards, to expand the storage capacity of electronic devices. The external memory card communicates with the processor 4710 through the external memory interface 4720 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0371] Internal memory 4721 can be used to store computer executable program code, which includes instructions. Processor 4710 executes various functional applications and data processing of the electronic device by running the instructions stored in internal memory 4721. Internal memory 4721 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, internal memory 4721 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0372] Electronic devices can implement audio functions such as music playback and recording through audio modules 4770, speakers 4770A, receivers 4770B, microphones 4770C, headphone jacks 4770D, and application processors.
[0373] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, 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. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0374] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0375] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.
[0376] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.
[0377] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0378] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0379] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0380] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A radio frequency system, characterized in that, include: The system comprises a first radio frequency (RF) circuit, a second radio frequency (RF) circuit, a first antenna, a second antenna, a first RF connection line, and a second RF connection line. The first antenna is coupled to either the first RF circuit or the second RF circuit via the first RF connection line, and the second antenna is coupled to either the first RF circuit or the second RF circuit via the second RF connection line. The radio frequency system further includes: a first node, a first voltage divider element, and a second voltage divider element; The first node is coupled to a first potential, the first node is coupled to a first end of the first RF connection line, the second end of the second RF connection line is coupled to a second potential, and the first potential is higher than the second potential; The first end of the first voltage divider element is coupled to the third potential, and the second end of the first voltage divider element is coupled between the first radio frequency connection line and the second radio frequency connection line. The first potential is higher than the third potential. The second voltage divider element is coupled in series between the first RF connection line and the second RF connection line; The potential of the first node is used to determine whether the first RF connection line and the second RF connection line are connected incorrectly.
2. The radio frequency system according to claim 1, characterized in that, The radio frequency system further includes: a first ground capacitor, which is connected in parallel with the first voltage divider element.
3. The radio frequency system according to claim 1, characterized in that, The radio frequency system further includes a third voltage divider element, which is coupled in parallel to both ends of the first radio frequency connection line.
4. The radio frequency system according to claim 1, characterized in that, The radio frequency system also includes a power supply, and the first node is coupled to the power supply; 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.
5. The radio frequency system according to claim 1, characterized in that, The radio frequency system further includes a detection module, through which the radio frequency system acquires the potential of the first node.
6. The radio frequency system according to claim 5, characterized in that, The detection module is an analog-to-digital converter (ADC) or a voltage comparator.
7. The radio frequency system according to claim 1, characterized in that, The radio frequency system further includes: a first connector, a second connector, a third connector, and a fourth connector; The first DC blocking capacitor, the second DC blocking capacitor, the third DC blocking capacitor, and the fourth DC blocking capacitor; First choke inductor, second choke inductor, third choke inductor and 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 first end of the second voltage divider element. 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 second end of the third choke inductor is coupled to the second end of the second voltage divider element. The first end of the fourth choke inductor is coupled between the fourth DC blocking capacitor and the fourth connector. The second end of the fourth choke inductor is coupled to the second potential.
8. The radio frequency system according to claim 1, characterized in that, The potential of the first node changes with the coupling method of the first RF connection line and the second RF connection line.
9. The radio frequency system according to claim 8, characterized in that, When both ends of the first RF connection line are coupled to the first RF circuit and the first antenna respectively, and both ends of the second RF connection line are coupled to the second RF circuit and the second antenna respectively, the potential of the first node is in the first state. When both ends of the first RF connection line are coupled to the first RF circuit and the second antenna respectively, or when both ends of the first RF connection line are coupled to the second RF circuit and the first antenna respectively, the potential of the first node is in the second state.
10. The radio frequency system according to claim 1, characterized in that, Both the first voltage divider element and the second voltage divider element are resistors, and both the second potential and the third potential are ground potentials.
11. The radio frequency system according to any one of claims 1-6 or 8-10, characterized in that, The radio frequency system further includes: a third radio frequency circuit, a third antenna, and a third radio frequency connection line, wherein the third radio frequency circuit is coupled to the first antenna, the second antenna, or the third antenna through the third radio frequency connection line; The radio frequency system further includes: a fourth voltage divider element and a fifth voltage divider element; The first end of the fourth voltage divider element is coupled to the third potential, and the second end of the fourth voltage divider element is coupled between the second RF connection line and the third RF connection line; The fifth voltage divider element is coupled in series between the second RF connection line and the third RF connection line.
12. The radio frequency system according to claim 11, characterized in that, The radio frequency system further includes a second ground capacitor, which is connected in parallel with the fourth voltage divider element.
13. The radio frequency system according to claim 11, characterized in that, The radio frequency system further includes a sixth voltage divider element, which is coupled in parallel to both ends of the second radio frequency connection line.
14. The radio frequency system according to claim 11, characterized in that, The radio frequency system also includes: First connecting seat, second connecting seat, third connecting seat, fourth connecting seat, fifth connecting seat and sixth connecting seat; First DC blocking capacitor, second DC blocking capacitor, third DC blocking capacitor, fourth DC blocking capacitor, fifth DC blocking capacitor, and sixth DC blocking capacitor; First choke inductor, second choke inductor, third choke inductor, fourth choke inductor, fifth choke inductor and sixth 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 third radio frequency circuit is coupled to the fifth connector, and the third antenna is coupled to the sixth 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; the fourth DC blocking capacitor is coupled between the second antenna and the fourth connector; the fifth DC blocking capacitor is coupled between the third radio frequency circuit and the fifth connector; and the sixth DC blocking capacitor is coupled between the third antenna and the sixth 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 first end of the second voltage divider element, 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, and the second end of the third choke inductor is coupled to the second end of the second voltage divider element; The first end of the fourth choke inductor is coupled between the fifth DC blocking capacitor and the fifth connector, the second end of the fourth choke inductor is coupled to the second potential, the first end of the fifth choke inductor is coupled between the fourth DC blocking capacitor and the fourth connector, the second end of the fifth choke inductor is coupled to the first end of the fifth voltage divider element, the first end of the sixth choke inductor is coupled between the sixth DC blocking capacitor and the sixth connector, and the second end of the sixth choke inductor is coupled to the second end of the fifth voltage divider element.
15. The radio frequency system according to claim 11, characterized in that, Both the fourth and fifth voltage divider elements are resistors.
16. The radio frequency system according to claim 1, characterized in that, The radio frequency system also includes a general purpose input / output port (GPIO) detection module, and the first node is also coupled to the GPIO detection module.
17. A radio frequency system, characterized in that, include: There are N radio frequency circuits, N antennas, and N radio frequency connection lines, where N is an integer greater than or equal to 2. The i-th radio frequency circuit is coupled to the i-th antenna through the i-th radio frequency connection line, where i is a positive integer less than or equal to N-1. The radio frequency system includes: a first node, N-1 first voltage divider elements, and N-1 second voltage divider elements; The first node is coupled to a first potential, the first node is coupled to the first end of the i-th radio frequency connection line, and the second end of the (i+1)-th radio frequency connection line is coupled to a second potential, wherein the first potential is higher than the second potential; The first end of the i-th first voltage divider element is coupled to the third potential, and the second end of the i-th first voltage divider element is coupled between the i-th radio frequency connection line and the (i+1)-th radio frequency connection line. The first potential is higher than the third potential. The second voltage divider element is coupled in series between the i-th RF connection line and the (i+1)-th RF connection line; The potential of the first node is used to determine whether the radio frequency connection line is connected incorrectly.
18. An electronic device, characterized in that, include: The electronic device includes 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 claims 1 to 17, wherein when the processor executes the computer program, it performs detection of radio frequency connection lines in the electronic device based on the radio frequency system as described in any one of claims 1 to 17.
19. The electronic device according to claim 18, characterized in that, The electronic device further includes at least one of a display and a speaker; When the radio frequency connection cable in the electronic device is abnormally connected, an alarm is triggered through the display or the speaker.
20. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it enables the detection of radio frequency connection lines in electronic devices based on the radio frequency system as described in any one of claims 1 to 17.