CN109379145B - Signal processing circuit, terminal equipment and signal processing method - Google Patents

Signal processing circuit, terminal equipment and signal processing method Download PDF

Info

Publication number
CN109379145B
CN109379145B CN201811423747.2A CN201811423747A CN109379145B CN 109379145 B CN109379145 B CN 109379145B CN 201811423747 A CN201811423747 A CN 201811423747A CN 109379145 B CN109379145 B CN 109379145B
Authority
CN
China
Prior art keywords
directional coupler
switch
radio
frequency signal
switch module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811423747.2A
Other languages
Chinese (zh)
Other versions
CN109379145A (en
Inventor
韦仁杰
龚贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811423747.2A priority Critical patent/CN109379145B/en
Publication of CN109379145A publication Critical patent/CN109379145A/en
Application granted granted Critical
Publication of CN109379145B publication Critical patent/CN109379145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0053Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band
    • H04B1/006Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band using switches for selecting the desired band
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/101Monitoring; Testing of transmitters for measurement of specific parameters of the transmitter or components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Transmitters (AREA)

Abstract

The invention provides a signal processing circuit, a terminal device and a signal processing method, wherein the signal processing circuit comprises a radio frequency transceiver, an amplifying module, a directional coupler, a radio frequency connector and an antenna, the signal processing circuit also comprises a switch module and an envelope detection module, wherein: the first end of the switch module is connected with the directional coupler, the second end of the switch module is connected with the first end of the envelope detection module, and the switch module is used for performing amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler; the second end of the envelope detection module is connected with the radio frequency transceiver, and the envelope detection module is used for detecting the coupling power of the radio frequency signal processed by the switch module. The switch module is used for carrying out amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler, so that the accuracy of power detection of the radio-frequency signal can be improved.

Description

Signal processing circuit, terminal equipment and signal processing method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signal processing circuit, a terminal device, and a signal processing method.
Background
With the rapid development of terminal technology, terminal equipment has become an essential tool in people's life, and brings great convenience to various aspects of user's life. In the current power detection of the radio frequency signal of the terminal device, the radio frequency signal on the circuit is coupled to the radio frequency transceiver through the directional coupler, so that the power of the radio frequency signal is known. However, in the prior art, after the terminal device is provided with the antenna, the coupling degree of the directional coupler may have a deviation, which may cause a large deviation of the radio frequency signal directly coupled to the radio frequency transceiver through the directional coupler, thereby causing a low accuracy of power detection of the radio frequency signal.
Disclosure of Invention
The embodiment of the invention provides a signal processing circuit, a terminal device and a signal processing method, and aims to solve the problem that the accuracy of the power detection of a radio frequency signal of the terminal device is low.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a signal processing circuit, including a radio frequency transceiver, an amplifying module, a directional coupler, a radio frequency connector, and an antenna, where the signal processing circuit further includes a switching module and an envelope detection module, where: the first end of the switch module is connected with the directional coupler, the second end of the switch module is connected with the first end of the envelope detection module, and the switch module is used for performing amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler; the second end of the envelope detection module is connected with the radio frequency transceiver, and the envelope detection module is used for detecting the coupling power of the radio frequency signal processed by the switch module.
In a second aspect, an embodiment of the present invention further provides a terminal device, which includes the signal processing circuit.
In a third aspect, an embodiment of the present invention further provides a signal processing method, which is applied to the terminal device, where the method includes: detecting a target parameter, the target parameter comprising at least one of a power consumption current and/or a gain of a power amplifier; and controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler according to the target parameter.
In a fourth aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the signal processing method.
In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the signal processing method.
The signal processing circuit of the embodiment of the invention comprises a radio frequency transceiver, an amplifying module, a directional coupler, a radio frequency connector and an antenna, and further comprises a switch module and an envelope detection module, wherein: the first end of the switch module is connected with the directional coupler, the second end of the switch module is connected with the first end of the envelope detection module, and the switch module is used for performing amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler; the second end of the envelope detection module is connected with the radio frequency transceiver, and the envelope detection module is used for detecting the coupling power of the radio frequency signal processed by the switch module. The switch module is used for carrying out amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler, so that the accuracy of power detection of the radio-frequency signal can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a switch module according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a switch module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a co-proportional power amplifier provided in an embodiment of the present invention;
fig. 5 is a flowchart of a signal processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a relationship between a current consumption and a phase of a power amplifier according to an embodiment of the invention;
fig. 7 is a diagram illustrating the relationship between the gain and the phase of a power amplifier according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention, and as shown in fig. 1, the signal processing circuit includes a radio frequency transceiver 1, an amplifying module, a directional coupler 2, a radio frequency connector 3, and an antenna 4, and further includes a switch module 5 and an envelope detection module 6, where: a first end of the switch module 5 is connected to the directional coupler 2, a second end of the switch module 5 is connected to a first end of the envelope detection module 6, and the switch module 5 is configured to perform amplification processing, attenuation processing, or transmission processing on the radio frequency signal coupled by the directional coupler 2; the second end of the envelope detection module 6 is connected to the rf transceiver 1, and the envelope detection module 6 is configured to detect the coupling power of the rf signal processed by the switch module 5.
In this embodiment, the amplifying module includes a power amplifier 7, a duplexer 8, and a main set switch 9. As shown in fig. 1, a power amplifier 7, a duplexer 8, and a main set switch 9 are connected in sequence to a path between the radio frequency transceiver 1 and the directional coupler 2. And, the duplexer 8 is connected to the radio frequency transceiver 1. The directional coupler 2 is connected to an antenna 4 via a radio frequency connector 3.
In this embodiment, a first end of the switch module 5 is connected to the directional coupler 2, and the first end of the switch module 5 is configured to receive a radio frequency signal coupled by the directional coupler 2. The second end of the switch module 5 is connected to the first end of the envelope detection module 6, and the second end of the switch module 5 is used for sending the processed rf signal to the envelope detection module 6 for power detection. The envelope detection module 6 may detect a maximum amplitude of the rf signal, and assuming that U is the maximum amplitude, the coupling power of the rf signal processed by the switch module 5 may be detected according to a corresponding relationship between U and power.
In this embodiment, the switch module 5 is configured to perform amplification processing, attenuation processing, or transmission processing on the radio frequency signal coupled by the directional coupler 2, and specifically, which processing the radio frequency signal coupled by the directional coupler 2 is performed by the switch module 5 may be determined according to a parameter obtained by a processor. These parameters may be the gain of the power amplifier 7, the current consumed by the power amplifier 7 or the phase of the radio frequency signal, etc. Of course, the determination of which process is performed may be determined according to some other parameters or a combination of multiple parameters, and this embodiment is not limited thereto.
In this way, the switch module 5 is used for performing amplification processing, attenuation processing or transmission processing on the radio frequency signal coupled by the directional coupler 2, so that the accuracy of power detection of the radio frequency signal can be improved.
Optionally, the switch module 5 is configured to, when the coupling degree of the directional coupler 2 is greater than a standard coupling degree, amplify the radio frequency signal coupled by the directional coupler 2;
or, the switch module 5 is configured to perform attenuation processing on the radio frequency signal coupled by the directional coupler 2 when the coupling degree of the directional coupler 2 is smaller than the standard coupling degree;
or, the switch module 5 is configured to perform transmission processing on the radio frequency signal coupled by the directional coupler 2 when the coupling degree of the directional coupler 2 matches the standard coupling degree.
In this embodiment, the value of the standard degree of coupling may be set in accordance with specific circumstances, and this embodiment is not limited to this. Under the condition that the coupling degree of the directional coupler 2 is greater than the standard coupling degree, the signal size from the directional coupler 2 to the power detection path is reduced, and at the moment, the radio-frequency signal coupled by the directional coupler 2 is amplified, so that the amplitude of power detection is compensated, and the accuracy of power detection is improved.
In this embodiment, when the coupling degree of the directional coupler 2 is smaller than the standard coupling degree, it means that the signal size from the directional coupler 2 to the power detection path is increased, and at this time, the rf signal coupled by the directional coupler 2 is attenuated, so that the amplitude of power detection is reduced, and the accuracy of power detection is improved.
In this embodiment, when the degree of coupling of the directional coupler 2 matches the standard degree of coupling, the degree of coupling of the directional coupler 2 may be equal to the standard degree of coupling, or the deviation between the degree of coupling of the directional coupler 2 and the standard degree of coupling may be within an allowable deviation range. Because the coupling degree of the directional coupler 2 is matched with the standard coupling degree, the radio-frequency signal coupled by the directional coupler 2 can be directly transmitted without amplification processing or attenuation processing.
Optionally, as shown in fig. 2, the switch module 5 includes:
a first switch 51, a second switch 52, a transmission channel 53, an amplification channel 54 and an attenuation channel 55;
wherein a first contact 511 of the first switch 51 is connected to the directional coupler 2, a second contact 512 of the first switch 51 is connected to a first end of the transmission channel 53, a third contact 513 of the first switch 51 is connected to a first end of the amplification channel 54, and a fourth contact 514 of the first switch 51 is connected to a first end of the attenuation channel 55;
the first contact 521 of the second switch 52 is connected to the first end of the envelope detection module 6, the second contact 522 of the second switch 52 is connected to the second end of the transmission channel 53, the third contact 523 of the second switch 52 is connected to the second end of the amplification channel 54, and the fourth contact 524 of the second switch 52 is connected to the second end of the attenuation channel 55.
In this embodiment, the standard coupling degree may be assumed to be a coupling degree at which the output load of the directional coupler 2 is 50 ohms. When the output load of the directional coupler 2 is 50 ohms, the first contact 511 and the second contact 512 of the first switch 51 are conductive, and the first contact 521 and the second contact 522 of the second switch 52 are conductive. At this time, standard parameters are obtained and can be written into the terminal equipment.
When the output load of the directional coupler 2 is not 50 ohms after the antenna 4 is applied, the degree of coupling of the directional coupler 2 may be much greater than the standard degree of coupling, for example, 2db, meaning that the signal size of the directional coupler 2 coupling the rf signal to the power detection path becomes 2db smaller. The first contact 511 and the third contact 513 of the first switch 51 are conducted, the first contact 521 and the third contact 523 of the second switch 52 are conducted, the amplifying channel 54 is connected, and the amplifying channel 54 amplifies the amplitude of the radio frequency signal by 2db, so that the amplitude of the power detection is compensated, and the accuracy of the power detection is improved.
When the output load of the directional coupler 2 is not 50 ohms after the antenna 4 is added, the degree of coupling of the directional coupler 2 may be much smaller than the standard degree of coupling, for example, 2db, meaning that the signal size of the directional coupler 2 coupling the rf signal to the power detection path becomes larger by 2 db. The first contact 511 and the fourth contact 514 of the first switch 51 are conducted, the first contact 521 and the fourth contact 524 of the second switch 52 are conducted, the attenuation path 55 is connected, and the amplitude of the radio frequency signal is reduced by 2db by the attenuation path 55, so that the amplitude of the power detection is reduced, and the accuracy of the power detection is improved.
Of course, there may be a case where the output load of the directional coupler 2 is 50 ohms, and at this time, the coupling degree of the directional coupler 2 matches the standard coupling degree, the first contact 511 and the second contact 512 of the first switch 51 are turned on, and the first contact 521 and the second contact 522 of the second switch 52 are turned on, so that the radio frequency signal can be directly transmitted.
Optionally, the switch module 5 includes:
a third switch, a transmission channel, an amplification channel and an attenuation channel;
wherein a first contact of the third switch is connected to the directional coupler 2, a second contact of the third switch is connected to the first end of the transmission channel, a third contact of the third switch is connected to the first end of the amplification channel, and a fourth contact of the third switch is connected to the first end of the attenuation channel;
the second end of the transmission channel, the second end of the amplification channel and the second end of the attenuation channel are connected to the first end of the envelope detection module 6.
In this embodiment, the principle of the circuit is similar to that of the circuit in fig. 2, and the description of this embodiment is omitted. In the case where the degree of coupling of the directional coupler 2 is greater than the standard degree of coupling, the first contact and the third contact of the third switch conduct. In the case where the degree of coupling of the directional coupler 2 is smaller than the standard degree of coupling, the first contact and the fourth contact of the third switch conduct. In case the degree of coupling of the directional coupler 2 matches the degree of quasi-coupling, the first contact and the second contact of the third switch are conductive.
In this embodiment, the second end of the transmission channel, the second end of the amplification channel, and the second end of the attenuation channel are connected to the first end of the envelope detection module 6, so that only one switch is needed to control the circuit, thereby saving the cost of the circuit, reducing the complexity of the circuit, and reducing the probability of the circuit failing.
Optionally, the amplifying channel 54 includes a co-proportional power amplifier 541; the attenuation path 55 includes an attenuation network 551.
In this embodiment, for better understanding of the above arrangement, reference may be made to fig. 3, where fig. 3 is a schematic structural diagram of a switch module according to an embodiment of the present invention. As shown in fig. 3, the amplifying channel 54 includes a co-proportional power amplifier 541, so that the power of the radio frequency signal can be amplified; the attenuation path 55 includes an attenuation network 551 so that the power of the radio frequency signal can be attenuated.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a cppa according to an embodiment of the present invention. As shown in fig. 4, the amplification factor of the same-direction proportional power amplifier is Au ═ R2+ R1)/R1, R2 is a variable resistor, and when R2 ═ R1, the amplification factor is Au ═ 2.
The signal processing circuit of the embodiment of the invention comprises a radio frequency transceiver 1, an amplifying module, a directional coupler 2, a radio frequency connector 3 and an antenna 4, and further comprises a switch module 5 and an envelope detection module 6, wherein: a first end of the switch module 5 is connected to the directional coupler 2, a second end of the switch module 5 is connected to a first end of the envelope detection module 6, and the switch module 5 is configured to perform amplification processing, attenuation processing, or transmission processing on the radio frequency signal coupled by the directional coupler 2; the second end of the envelope detection module 6 is connected to the rf transceiver 1, and the envelope detection module 6 is configured to detect the coupling power of the rf signal processed by the switch module 5. In this way, the switch module 5 is used for performing amplification processing, attenuation processing or transmission processing on the radio frequency signal coupled by the directional coupler 2, so that the accuracy of power detection of the radio frequency signal can be improved.
The embodiment of the invention also provides terminal equipment which comprises the signal processing circuit.
In this embodiment, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Referring to fig. 5, fig. 5 is a flowchart of a signal processing method according to an embodiment of the present invention, which is applied to the terminal device, and as shown in fig. 2, the method includes the following steps:
step 201, detecting a target parameter, wherein the target parameter comprises at least one of a power consumption current and/or a gain of a power amplifier.
In this embodiment, the target parameter may be a power consumption current of the power amplifier, may be a gain of the power amplifier, or may also include the power consumption current and/or the gain of the power amplifier.
Step 202, controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio frequency signal coupled by the directional coupler according to the target parameter.
In this embodiment, there may be a plurality of ways to control the switch module to perform amplification processing, attenuation processing, or transmission processing on the radio frequency signal coupled by the directional coupler according to the target parameter. For example, a corresponding processing mode may be searched in a preset processing table according to the target parameter; alternatively, the target parameter may be calculated to determine the corresponding processing method.
Therefore, the switch module is controlled to amplify, attenuate or transmit the radio-frequency signal coupled by the directional coupler according to the target parameter, so that the accuracy of power detection of the radio-frequency signal can be improved.
Optionally, the controlling the switch module to perform amplification processing, attenuation processing, or transmission processing on the radio frequency signal coupled by the directional coupler according to the target parameter includes:
determining the coupling degree of the directional coupler according to the target parameter;
under the condition that the coupling degree of the directional coupler is greater than the standard coupling degree, controlling the switch module to amplify the radio-frequency signal coupled by the directional coupler;
under the condition that the coupling degree of the directional coupler is smaller than the standard coupling degree, controlling the switch module to attenuate the radio-frequency signal coupled by the directional coupler;
and under the condition that the coupling degree of the directional coupler is matched with the standard coupling degree, controlling the switch module to transmit and process the radio-frequency signal coupled by the directional coupler.
In this embodiment, there are various ways to determine the coupling degree of the directional coupler according to the target parameter. The coupling degree of the directional coupler can be searched in a preset corresponding relation table according to the target parameter; or the degree of coupling of the directional coupler can be calculated according to target parameters.
And under the condition that the coupling degree of the directional coupler is greater than the standard coupling degree, the signal size from the directional coupler coupling radio-frequency signals to a power detection path is reduced, and the switch module is controlled to attenuate the radio-frequency signals coupled by the directional coupler, so that the amplitude of power detection is compensated, and the accuracy of power detection is improved.
And under the condition that the coupling degree of the directional coupler is smaller than the standard coupling degree, the signal size from the directional coupler coupling radio-frequency signals to a power detection access is increased, and the switch module is controlled to attenuate the radio-frequency signals coupled by the directional coupler, so that the amplitude of power detection is reduced, and the accuracy of power detection is improved.
Under the condition that the coupling degree of the directional coupler is matched with the standard coupling degree, so that the switch module can be controlled to transmit and process the radio-frequency signals coupled by the directional coupler without amplification or attenuation.
Optionally, the determining the coupling degree of the directional coupler according to the target parameter includes:
determining the phase of a radio-frequency signal transmitted by the radio-frequency transceiver according to the target parameter;
and determining the coupling degree of the directional coupler according to the phase of the radio frequency signal.
In this embodiment, the determining the phase of the radio frequency signal transmitted by the radio frequency transceiver according to the target parameter may be searching the phase of the radio frequency signal transmitted by the radio frequency transceiver in a preset first relation table according to the target parameter; or the phase of the radio-frequency signal transmitted by the radio-frequency transceiver can be calculated according to the target parameter.
In this embodiment, the determining the coupling degree of the directional coupler according to the phase of the radio frequency signal may be searching the coupling degree of the directional coupler in a preset second relation table according to the phase of the radio frequency signal; or the degree of coupling of the directional coupler may be calculated according to the phase of the radio frequency signal.
For better understanding of the above manner, reference may be made to fig. 6 and fig. 7, where fig. 6 is a schematic diagram of a relation between a consumption current and a phase of a power amplifier provided in an embodiment of the present invention, and fig. 7 is a schematic diagram of a relation between a gain and a phase of a power amplifier provided in an embodiment of the present invention. In this way, the position (i.e. phase) of the frequency band currently used by the terminal device is determined by the load shift of the two power amplifiers with different performance, which is different from the coupling degree of the directional coupler at 50 ohms.
Fig. 6 shows current characteristics, and since the power consumption current of the rf power amplifiers at different impedance positions are different, the position of the current signal, which is 1, 2, 3, or 4, can be determined by the mobile phone according to the current power consumption current of the rf power amplifier after the antenna is added.
According to the gain of the current power amplifier in fig. 7, the current impedance position can be further determined because the gains of the radio frequency power amplifiers at different impedance positions are different, and the impedance position of the current use frequency point of the mobile phone in the complex antenna environment of the mobile phone can be more accurately determined by combining the two.
Assuming that the degree of coupling of the directional coupler at the impedance positions 2 and 4 becomes larger by 2db, the degree of coupling of the directional coupler at the impedance position 3 becomes smaller by 2db, and the degree of coupling of the directional coupler at the impedance position 1 and the impedance position 50 ohms is not much different, compared with the degree of coupling of the directional coupler at the impedance position 50 ohms. The specific difference can be obtained by actual measurement, and the difference is written into the terminal equipment.
The coupling degree of the directional coupler can be obtained through actual measurement of a vector network analyzer, the difference of the coupling degrees can also be obtained through actual measurement of the vector network analyzer when the impedance positions are different from 50 ohms, and the parameter is solidified into the terminal equipment.
When conducting calibration (seat impedance is close to 50 ohms), the coupling degree of the directional coupler is 24.7, and the corresponding relation between the transmitting power of the radio frequency transceiver and the power detection value is obtained as follows:
Figure BDA0001881098490000091
Figure BDA0001881098490000101
in the above tables, the power detection value is 23235 when the output port impedance of the directional coupler is 50 ohms and the coupling degree is 24.7, that is, the power is 23, and similarly, the power detection value is 19442 when the power is 22.
After the antenna is added, the terminal equipment detects the current phase, namely the impedance position in real time through the gain of the power amplifier and the current. Possibly phase 1, 2, 3 or 4, assuming a degree of coupling of 24.7 in contrast to the degree of coupling of the directional coupler at the 50 ohm impedance position, the degree of coupling becomes greater by 2db at impedance positions 2 and 4, the degree of coupling is less by 2db at impedance position 3, and the degree of coupling of the directional coupler at impedance position 1 is comparable to the degree of coupling of the directional coupler at the 50 ohm impedance position.
And the terminal equipment performs different control on the switch module on the power detection path according to the detected current impedance position. Such as: when the current impedance position is 1, the coupling degree of the directional coupler is equivalent to that of the directional coupler at the 50-ohm impedance position, and the switch module is controlled to transmit and process the radio-frequency signals coupled by the directional coupler; when the current impedance position is 2, controlling the switch module to amplify the radio-frequency signal coupled by the directional coupler, wherein the coupling degree of the directional coupler is 2db greater than that of the directional coupler at the 50 ohm impedance position; when the current impedance position is 3, the coupling degree of the directional coupler is 2db smaller than that of the directional coupler at the 50 ohm impedance position, and the switch module is controlled to attenuate the radio frequency signal coupled by the directional coupler. Thereby, it is ensured that the power detection of the terminal device does not differ so much from the degree of coupling of the directional coupler at the 50 ohm impedance location.
Optionally, the target parameter includes a power consumption current and/or a gain of the power amplifier.
In this embodiment, the target parameter includes a power consumption current and/or a gain of the power amplifier, so that the impedance position (i.e., phase) of the currently used frequency point of the terminal device in the complex antenna environment can be more accurately determined by combining the two parameters.
A signal processing method according to an embodiment of the present invention is applied to the terminal device, and detects a target parameter, where the target parameter includes at least one of a power consumption current and/or a gain of a power amplifier; and controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler according to the target parameter. Therefore, the switch module is controlled to amplify, attenuate or transmit the radio-frequency signal coupled by the directional coupler according to the target parameter, so that the accuracy of power detection of the radio-frequency signal can be improved.
Referring to fig. 8, fig. 8 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 810 is configured to detect a target parameter, and the target parameter includes at least one of a power consumption current and/or a gain of the power amplifier; and controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler according to the target parameter. The switch module is controlled to amplify, attenuate or transmit the radio-frequency signal coupled by the directional coupler, so that the accuracy of power detection of the radio-frequency signal can be improved.
Optionally, the processor 810 is further configured to determine a coupling degree of the directional coupler according to the target parameter; under the condition that the coupling degree of the directional coupler is greater than the standard coupling degree, controlling the switch module to amplify the radio-frequency signal coupled by the directional coupler; under the condition that the coupling degree of the directional coupler is smaller than the standard coupling degree, controlling the switch module to attenuate the radio-frequency signal coupled by the directional coupler; and under the condition that the coupling degree of the directional coupler is matched with the standard coupling degree, controlling the switch module to transmit and process the radio-frequency signal coupled by the directional coupler.
Optionally, the processor 810 is further configured to determine a phase of the radio frequency signal transmitted by the radio frequency transceiver according to the target parameter; and determining the coupling degree of the directional coupler according to the phase of the radio frequency signal.
Optionally, the target parameter includes a power consumption current and/or a gain of the power amplifier.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal device 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Terminal device 800 may also include a power supply 811 (such as a battery) for powering the various components, and preferably, power supply 811 may be logically coupled to processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the signal processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the signal processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A signal processing circuit comprising a radio frequency transceiver, an amplification module, a directional coupler, a radio frequency connector, and an antenna, wherein the signal processing circuit further comprises a switch module and an envelope detection module, wherein:
the first end of the switch module is connected with the directional coupler, the second end of the switch module is connected with the first end of the envelope detection module, and the switch module is used for performing amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler;
the second end of the envelope detection module is connected with the radio frequency transceiver, and the envelope detection module is used for detecting the coupling power of the radio frequency signal processed by the switch module;
the switch module includes:
the device comprises a first switch, a second switch, a transmission channel, an amplification channel and an attenuation channel;
wherein a first contact of the first switch is connected to the directional coupler, a second contact of the first switch is connected to the first end of the transmission channel, a third contact of the first switch is connected to the first end of the amplification channel, and a fourth contact of the first switch is connected to the first end of the attenuation channel;
a first contact of the second switch is connected with a first end of the envelope detection module, a second contact of the second switch is connected with a second end of the transmission channel, a third contact of the second switch is connected with a second end of the amplification channel, and a fourth contact of the second switch is connected with a second end of the attenuation channel;
the switch module is used for amplifying the radio-frequency signal coupled by the directional coupler under the condition that the coupling degree of the directional coupler is greater than the standard coupling degree;
the switch module is used for attenuating the radio-frequency signal coupled by the directional coupler under the condition that the coupling degree of the directional coupler is smaller than the standard coupling degree;
and the switch module is used for transmitting and processing the radio-frequency signal coupled by the directional coupler under the condition that the coupling degree of the directional coupler is matched with the standard coupling degree.
2. The signal processing circuit of claim 1, wherein the switching module comprises:
a third switch, a transmission channel, an amplification channel and an attenuation channel;
wherein a first contact of the third switch is connected to the directional coupler, a second contact of the third switch is connected to the first end of the transmission channel, a third contact of the third switch is connected to the first end of the amplification channel, and a fourth contact of the third switch is connected to the first end of the attenuation channel;
the second end of the transmission channel, the second end of the amplification channel and the second end of the attenuation channel are connected with the first end of the envelope detection module.
3. The signal processing circuit of claim 1 or 2, wherein the amplification channel comprises a co-directional proportional power amplifier; the attenuation path includes an attenuation network.
4. A terminal device, characterized in that it comprises a signal processing circuit according to any one of claims 1 to 3.
5. A signal processing method applied to the terminal device of claim 4, the method comprising:
detecting a target parameter, the target parameter comprising at least one of a power consumption current and/or a gain of a power amplifier;
and controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio-frequency signal coupled by the directional coupler according to the target parameter.
6. The signal processing method according to claim 5, wherein the controlling the switch module to perform amplification processing, attenuation processing or transmission processing on the radio frequency signal coupled by the directional coupler according to the target parameter comprises:
determining the coupling degree of the directional coupler according to the target parameter;
under the condition that the coupling degree of the directional coupler is greater than the standard coupling degree, controlling the switch module to amplify the radio-frequency signal coupled by the directional coupler;
under the condition that the coupling degree of the directional coupler is smaller than the standard coupling degree, controlling the switch module to attenuate the radio-frequency signal coupled by the directional coupler;
and under the condition that the coupling degree of the directional coupler is matched with the standard coupling degree, controlling the switch module to transmit and process the radio-frequency signal coupled by the directional coupler.
7. The signal processing method of claim 6, wherein the determining the degree of coupling of the directional coupler according to the target parameter comprises:
determining the phase of a radio-frequency signal transmitted by the radio-frequency transceiver according to the target parameter;
and determining the coupling degree of the directional coupler according to the phase of the radio frequency signal.
8. The signal processing method according to any of claims 5 to 7, wherein the target parameter comprises a consumption current and/or a gain of the power amplifier.
9. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the signal processing method according to any one of claims 5 to 8.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the signal processing method according to any one of claims 5 to 8.
CN201811423747.2A 2018-11-27 2018-11-27 Signal processing circuit, terminal equipment and signal processing method Active CN109379145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811423747.2A CN109379145B (en) 2018-11-27 2018-11-27 Signal processing circuit, terminal equipment and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811423747.2A CN109379145B (en) 2018-11-27 2018-11-27 Signal processing circuit, terminal equipment and signal processing method

Publications (2)

Publication Number Publication Date
CN109379145A CN109379145A (en) 2019-02-22
CN109379145B true CN109379145B (en) 2021-10-22

Family

ID=65383451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811423747.2A Active CN109379145B (en) 2018-11-27 2018-11-27 Signal processing circuit, terminal equipment and signal processing method

Country Status (1)

Country Link
CN (1) CN109379145B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110212877B (en) * 2019-05-31 2024-01-05 维沃移动通信有限公司 Circuit control method, electronic equipment and radio frequency circuit
CN110311705A (en) * 2019-06-28 2019-10-08 维沃移动通信有限公司 A kind of signal processing circuit, terminal device and signal processing method
CN111564679B (en) * 2020-06-01 2021-07-30 中国科学院国家授时中心 Radio frequency switch with stable phase
CN114826313B (en) * 2021-01-11 2024-01-09 炬芯科技股份有限公司 Radio frequency circuit, touch detection method of radio frequency circuit and wearable device
CN115603666B (en) * 2022-11-29 2023-03-24 紫光同芯微电子有限公司 Device and method for demodulation and demodulation equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2135556A (en) * 1983-02-23 1984-08-30 Mcmichael Ltd Radio transmitter arrangements
EP0453535A1 (en) * 1989-11-16 1991-10-30 Motorola, Inc. Improvements in or relating to amplifiers
CN202119903U (en) * 2011-06-22 2012-01-18 成都信息工程学院 Weather radar transmitted pulse envelope detection device
CN203368408U (en) * 2013-06-14 2013-12-25 成都四威航空电源有限公司 Power detecting assembly used for large-power microwave amplifier
CN106899092A (en) * 2017-02-21 2017-06-27 青岛海信移动通信技术股份有限公司 RF energy collection device and mobile terminal
CN106899360A (en) * 2016-12-29 2017-06-27 贵州财富之舟科技有限公司 The method and its terminal of antenna match debugging
CN206948275U (en) * 2017-06-27 2018-01-30 中国电子科技集团公司第五十四研究所 A kind of C frequency ranges electricity adjusts balanced device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2135556A (en) * 1983-02-23 1984-08-30 Mcmichael Ltd Radio transmitter arrangements
EP0453535A1 (en) * 1989-11-16 1991-10-30 Motorola, Inc. Improvements in or relating to amplifiers
CN202119903U (en) * 2011-06-22 2012-01-18 成都信息工程学院 Weather radar transmitted pulse envelope detection device
CN203368408U (en) * 2013-06-14 2013-12-25 成都四威航空电源有限公司 Power detecting assembly used for large-power microwave amplifier
CN106899360A (en) * 2016-12-29 2017-06-27 贵州财富之舟科技有限公司 The method and its terminal of antenna match debugging
CN106899092A (en) * 2017-02-21 2017-06-27 青岛海信移动通信技术股份有限公司 RF energy collection device and mobile terminal
CN206948275U (en) * 2017-06-27 2018-01-30 中国电子科技集团公司第五十四研究所 A kind of C frequency ranges electricity adjusts balanced device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种射频功率检测控制***的设计方法;***;《电子测量技术》;20160831;第39卷(第8期);第191-193页 *
***.一种射频功率检测控制***的设计方法.《电子测量技术》.2016,第39卷(第8期), *

Also Published As

Publication number Publication date
CN109379145A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109379145B (en) Signal processing circuit, terminal equipment and signal processing method
CN109067418B (en) Antenna control method and mobile terminal
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN110212877B (en) Circuit control method, electronic equipment and radio frequency circuit
CN110289885B (en) Antenna tuning method and terminal
CN111565078B (en) Channel detection method in frequency division duplex mode, radio frequency circuit and electronic equipment
CN109474300B (en) Antenna control method of mobile terminal and mobile terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN109348504B (en) Power detection method, mobile terminal and power detection circuit
CN110289883B (en) Radio frequency circuit, terminal equipment and circuit control method
CN108712175B (en) Antenna control method and terminal
CN110855313B (en) Signal control method and electronic equipment
CN110336623B (en) Power detection method and device and mobile terminal
CN109274441B (en) Tuning method and terminal equipment
CN111417185A (en) Transmission power control method and related equipment
CN108540243B (en) Radio frequency channel detection method and mobile terminal
CN110798235A (en) Terminal control method and electronic equipment
CN109041190B (en) Power control method and terminal
CN110636530B (en) Method for processing adjacent channel interference and terminal equipment
CN109698711B (en) Radio frequency module and terminal equipment
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN110557166B (en) Communication circuit adjusting method and terminal
CN110012529B (en) Gain mode switching method and mobile terminal
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN110601715A (en) Radio frequency circuit, terminal equipment and circuit control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant