CN-115943568-B - Control method and device for radio frequency circuit
Abstract
The embodiment of the disclosure discloses a control method and a device for a radio frequency circuit, which can be applied to the technical field of communication, wherein the method comprises the following steps: and determining the mode of transmitting and receiving signals by the radio frequency circuit according to the working mode of the terminal equipment where the radio frequency circuit is positioned and the type of the radio frequency circuit. Therefore, the detection function can be realized by multiplexing the radio frequency circuit in the terminal equipment, so that the functions of the terminal equipment are further enriched on the basis of not increasing the hardware burden of the terminal equipment.
Inventors
- GUO SHENGXIANG
Assignees
- 北京小米移动软件有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20210531
Claims (19)
- 1. A method for controlling a radio frequency circuit, comprising: Determining a mode of transmitting and receiving signals by the radio frequency circuit according to a working mode of terminal equipment where the radio frequency circuit is located and a type of the radio frequency circuit, wherein the terminal equipment comprises the radio frequency circuit, a control circuit and an antenna unit; the radio frequency circuit comprises a switch unit; The radio frequency circuit comprises a transmitting circuit, a reflecting circuit and an isolating circuit; the transmitting circuit is connected with the first end of the isolating circuit; The second end of the isolation circuit is connected with the first connecting end of the first switch in the switch unit, the third end of the isolation circuit is connected with the reflecting circuit, and the isolation circuit is used for isolating the reflecting circuit from a transmitting signal generated by the transmitting circuit and isolating a received detection feedback signal from the transmitting circuit; the second connecting end of the first switch in the switch unit is connected with the antenna unit; The control circuit is specifically used for controlling a first connection end of a first switch in the switch unit to be communicated with the second connection end under the condition that the terminal equipment is determined to work in a detection mode; the radio frequency circuit further comprises a receiving circuit, and the switch unit further comprises a second switch; the receiving circuit is connected with a third connecting end in the first switch; the transmitting circuit is connected with a first connecting end in the second switch; The second connecting end of the second switch is connected with the first end of the isolation circuit, and the third connecting end of the second switch is connected with the fourth connecting end of the first switch; The control circuit is specifically configured to control, when it is determined that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a FDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR2, the first connection end in the second switch is connected to the second connection end in the second switch, and the second connection end in the first switch is connected to the first connection end in the first switch.
- 2. The method of claim 1, wherein determining the manner in which the rf circuit transmits and receives signals according to the operating mode of the terminal device in which the rf circuit is located and the type of the rf circuit comprises: And responding to the terminal equipment working in a detection mode, and determining the mode of the radio frequency circuit for transmitting detection signals and receiving detection feedback signals according to the type of the radio frequency circuit.
- 3. The method of claim 2, wherein determining the manner in which the rf circuit transmits the probe signal and receives the probe feedback signal based on the rf circuit type comprises: under the condition that the transmitting circuit and the reflecting circuit in the radio frequency circuit respectively adopt different antennas, the radio frequency circuit is determined to adopt different antennas to transmit detection signals and receive detection feedback signals.
- 4. The method of claim 3, wherein the determining that the radio frequency circuit transmits a sounding signal and receives a sounding feedback signal using different antennas comprises: under the condition that the radio frequency circuit works in a Time Division Duplex (TDD) frequency range in a first frequency range (FR 1), the transmitting circuit is communicated with a main antenna to transmit detection signals, and the reflecting circuit is communicated with a receiving diversity antenna to receive detection feedback signals.
- 5. The method of claim 3, wherein the radio frequency circuit includes two radio frequency sub-circuits, each of the radio frequency sub-circuits including a transmitting circuit and a reflecting circuit, and wherein determining that the radio frequency circuit transmits a sounding signal and receives a sounding feedback signal using different antennas includes: Under the condition that the radio frequency circuit works in the TDD frequency range in the second frequency range FR2, a transmitting circuit in one radio frequency sub-circuit is determined to be communicated with a corresponding antenna array so as to transmit a detection signal, and a reflecting circuit in the other radio frequency sub-circuit is determined to be communicated with the corresponding antenna array so as to receive a detection feedback signal.
- 6. The method of claim 3, wherein the determining that the radio frequency circuit transmits a sounding signal and receives a sounding feedback signal using different antennas comprises: Under the condition that the radio frequency circuit works in a frequency division duplex FDD frequency band in FR1, a transmitting circuit in the radio frequency circuit is communicated with a main antenna to transmit detection signals, and a receiving diversity antenna in the radio frequency circuit is communicated with a reflecting circuit to receive detection feedback signals.
- 7. The method according to any of claims 2-6, wherein determining the manner in which the radio frequency circuitry transmits the probe signal and receives the probe feedback signal according to the radio frequency circuitry type in the terminal device comprises: And determining that the radio frequency circuit adopts the same antenna to transmit the detection signal and receive the detection feedback signal, wherein a transmitting circuit for transmitting the detection signal in the terminal equipment is connected with a reflecting circuit for receiving the detection feedback signal through an isolating circuit.
- 8. The method of claim 7, wherein the determining that the radio frequency circuit is transmitting a sounding signal and receiving a sounding feedback signal using the same antenna comprises: and under the condition that the radio frequency circuit works in a TDD frequency band in FR1 or works in an FDD frequency band in FR1, determining that a transmitting circuit in the radio frequency circuit is communicated with a main antenna through an isolating circuit to transmit detection signals, and a reflecting circuit in the radio frequency circuit is communicated with the main antenna through the isolating circuit to receive detection feedback signals, wherein the isolating circuit is used for isolating the reflecting circuit from the transmitting signals generated by the transmitting circuit and isolating the detection feedback signals received by the main antenna from the transmitting circuit.
- 9. The method of claim 7, wherein the determining that the radio frequency circuit is transmitting a sounding signal and receiving a sounding feedback signal using the same antenna comprises: Under the condition that the radio frequency circuit works in a TDD frequency range in FR2, a transmitting circuit in the radio frequency circuit is determined to be communicated with an antenna unit through the isolating circuit so as to transmit a detection signal, and a reflecting circuit in the radio frequency circuit is determined to be communicated with the antenna unit through the isolating circuit so as to receive a detection feedback signal.
- 10. The terminal equipment is characterized by comprising a radio frequency circuit, a control circuit and an antenna unit; the radio frequency circuit is connected with the antenna unit; The control circuit is connected with the radio frequency circuit and is used for controlling the radio frequency circuit to transmit signals and receive signals according to the working mode of the terminal equipment and the type of the radio frequency circuit; the radio frequency circuit comprises a switch unit; The radio frequency circuit comprises a transmitting circuit, a reflecting circuit and an isolating circuit; the transmitting circuit is connected with the first end of the isolating circuit; The second end of the isolation circuit is connected with the first connecting end of the first switch in the switch unit, the third end of the isolation circuit is connected with the reflecting circuit, and the isolation circuit is used for isolating the reflecting circuit from a transmitting signal generated by the transmitting circuit and isolating a received detection feedback signal from the transmitting circuit; the second connecting end of the first switch in the switch unit is connected with the antenna unit; The control circuit is specifically used for controlling a first connection end of a first switch in the switch unit to be communicated with the second connection end under the condition that the terminal equipment is determined to work in a detection mode; the radio frequency circuit further comprises a receiving circuit, and the switch unit further comprises a second switch; the receiving circuit is connected with a third connecting end in the first switch; the transmitting circuit is connected with a first connecting end in the second switch; The second connecting end of the second switch is connected with the first end of the isolation circuit, and the third connecting end of the second switch is connected with the fourth connecting end of the first switch; The control circuit is specifically configured to control, when it is determined that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a FDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR2, the first connection end in the second switch is connected to the second connection end in the second switch, and the second connection end in the first switch is connected to the first connection end in the first switch.
- 11. The terminal device of claim 10, wherein the antenna unit comprises a main antenna and a receive diversity antenna, and the radio frequency circuit comprises a transmit circuit and a reflect circuit; The transmitting circuit is connected with the main antenna, and the reflecting circuit is connected with the receiving diversity antenna; The control circuit is specifically configured to control the transmitting circuit to transmit a detection signal through the main antenna and control the reflecting circuit to receive a detection feedback signal through the receive diversity antenna under a condition that the terminal device is determined to operate in a detection mode and the radio frequency circuit is determined to operate in a TDD frequency band within FR 1.
- 12. The terminal device of claim 10, wherein the radio frequency circuit comprises a switch unit, the antenna unit comprising two antenna arrays; A first connecting end of a first switch in the switch unit is connected with an antenna array, a second connecting end of the first switch is connected with a transmitting circuit in the radio frequency circuit, and a third connecting end of the first switch is connected with a reflecting circuit in the radio frequency circuit; A first connecting end of a second switch in the switch unit is connected with another antenna array, a second connecting end of the second switch is connected with the transmitting circuit, and a third connecting end of the second switch is connected with the reflecting circuit; The control circuit is specifically configured to control, when it is determined that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR2, the first connection terminal of the first switch to communicate with the second connection terminal, and control the first connection terminal of the second switch to communicate with the third connection terminal.
- 13. The terminal device of claim 10, wherein the radio frequency circuit comprises a switch unit, the antenna unit comprising a main antenna and a receive diversity antenna; the first connecting end of the switch unit is connected with the receiving diversity antenna, the second connecting end of the switch unit is connected with the receiving circuit in the radio frequency circuit, and the third connecting end of the switch unit is connected with the reflecting circuit in the radio frequency circuit; the main antenna is connected with a transmitting circuit in the radio frequency circuit; The control circuit is specifically configured to control the first connection end of the switch unit to communicate with the third connection end when it is determined that the terminal device is in a detection mode and the radio frequency circuit is in an FDD frequency band within FR 1.
- 14. The terminal device of claim 10, wherein the isolation circuit is any one of a circulator, a hybrid, and a bi-directional coupler.
- 15. The terminal device of claim 10, wherein the radio frequency circuit further comprises a receiver protector; One end of the receiver protector is connected with the reflecting circuit, and the other end of the receiver protector is connected with the third end of the isolating circuit.
- 16. A communication device, comprising: The processing module is used for determining a mode of transmitting signals and receiving signals of the radio frequency circuit according to a working mode of terminal equipment where the radio frequency circuit is located and the type of the radio frequency circuit, wherein the terminal equipment comprises the radio frequency circuit, a control circuit and an antenna unit; the radio frequency circuit comprises a switch unit; The radio frequency circuit comprises a transmitting circuit, a reflecting circuit and an isolating circuit; the transmitting circuit is connected with the first end of the isolating circuit; The second end of the isolation circuit is connected with the first connecting end of the first switch in the switch unit, the third end of the isolation circuit is connected with the reflecting circuit, and the isolation circuit is used for isolating the reflecting circuit from a transmitting signal generated by the transmitting circuit and isolating a received detection feedback signal from the transmitting circuit; the second connecting end of the first switch in the switch unit is connected with the antenna unit; The control circuit is specifically used for controlling a first connection end of a first switch in the switch unit to be communicated with the second connection end under the condition that the terminal equipment is determined to work in a detection mode; the radio frequency circuit further comprises a receiving circuit, and the switch unit further comprises a second switch; the receiving circuit is connected with a third connecting end in the first switch; the transmitting circuit is connected with a first connecting end in the second switch; The second connecting end of the second switch is connected with the first end of the isolation circuit, and the third connecting end of the second switch is connected with the fourth connecting end of the first switch; The control circuit is specifically configured to control, when it is determined that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a FDD frequency band within FR1, or that the terminal device is in a detection mode and the radio frequency circuit is in a TDD frequency band within FR2, the first connection end in the second switch is connected to the second connection end in the second switch, and the second connection end in the first switch is connected to the first connection end in the first switch.
- 17. A communication device, characterized in that the device comprises a processor and a memory, the memory having stored therein a computer program, the processor executing the computer program stored in the memory to perform the method according to any of claims 1 to 9.
- 18. A communication device is characterized by comprising a processor and an interface circuit; The interface circuit is used for receiving code instructions and transmitting the code instructions to the processor; The processor for executing the code instructions to perform the method of any one of claims 1 to 9.
- 19. A computer readable storage medium storing instructions which, when executed, cause the method of any one of claims 1 to 9 to be implemented.
Description
Control method and device for radio frequency circuit Technical Field The disclosure relates to the field of communication technologies, and in particular, to a control method and device for a radio frequency circuit. Background In general, when the terminal device performs wireless sensing and detection, electromagnetic waves can be emitted first, then an object on a path can reflect back a signal, and the terminal device determines the range, speed, angle and the like of the object by capturing the reflected signal. In order for the terminal device to have wireless sensing and detection capabilities, it is often necessary to design circuits, place radar chips, etc. in the terminal device, which may put stress on hardware deployment of the terminal device, etc. Therefore, how to realize wireless sensing and detection of the terminal equipment becomes a problem to be solved at present. Disclosure of Invention The embodiment of the disclosure provides a control method and a device for a radio frequency circuit, which can be applied to the technical field of communication. In a first aspect, an embodiment of the present disclosure provides a method for controlling a radio frequency circuit, where the method includes determining a manner in which the radio frequency circuit transmits a signal and receives a signal according to a working mode of a terminal device in which the radio frequency circuit is located and a type of the radio frequency circuit. In the scheme, the mode of transmitting and receiving signals by the radio frequency circuit can be determined according to the working mode of the terminal equipment where the radio frequency circuit is located and the type of the radio frequency circuit. Therefore, the detection function can be realized by multiplexing the radio frequency circuit in the terminal equipment, so that the functions of the terminal equipment are further enriched on the basis of not increasing the hardware burden of the terminal equipment. Optionally, the determining, according to the operation mode of the terminal device in which the radio frequency circuit is located and the type of the radio frequency circuit, a manner of transmitting and receiving signals by the radio frequency circuit includes: And responding to the terminal equipment working in a detection mode, and determining the mode of the radio frequency circuit for transmitting detection signals and receiving detection feedback signals according to the type of the radio frequency circuit. Optionally, the determining, according to the type of the radio frequency circuit, a manner of the radio frequency circuit transmitting a detection signal and receiving a detection feedback signal includes: under the condition that the transmitting circuit and the reflecting circuit in the radio frequency circuit respectively adopt different antennas, the radio frequency circuit is determined to adopt different antennas to transmit detection signals and receive detection feedback signals. Optionally, the determining that the radio frequency circuit transmits the detection signal and receives the detection feedback signal by using different antennas includes: under the condition that the radio frequency circuit works in a Time Division Duplex (TDD) frequency range in a first frequency range (FR 1), the transmitting circuit is communicated with a main antenna to transmit detection signals, and the reflecting circuit is communicated with a receiving diversity antenna to receive detection feedback signals. Optionally, the radio frequency circuit includes two radio frequency sub-circuits, each radio frequency sub-circuit includes a transmitting circuit and a reflecting circuit, and the determining that the radio frequency circuit adopts different antennas to transmit a detection signal and receive a detection feedback signal includes: Under the condition that the radio frequency circuit works in the TDD frequency range in the second frequency range FR2, a transmitting circuit in one radio frequency sub-circuit is determined to be communicated with a corresponding antenna array so as to transmit a detection signal, and a reflecting circuit in the other radio frequency sub-circuit is determined to be communicated with the corresponding antenna array so as to receive a detection feedback signal. Optionally, the determining that the radio frequency circuit transmits the detection signal and receives the detection feedback signal by using different antennas includes: Under the condition that the radio frequency circuit works in a frequency division duplex FDD frequency band in FR1, a transmitting circuit in the radio frequency circuit is communicated with a main antenna to transmit detection signals, and a receiving diversity antenna in the radio frequency circuit is communicated with a reflecting circuit to receive detection feedback signals. Optionally, the determining, according to the type of the radio frequency circuit in the terminal device,