Apparatus and method for measuring strength of signal
In a 5 th generation (5G) or pre-5G communication system for supporting a high data transfer rate, a method of measuring a power of a signal in an electronic device may include obtaining, by at least one sensor, a first voltage of the signal at a first point between a power amplifier and a transmission line, obtaining, by the at least one sensor, a second voltage of the signal at a second point between the transmission line and an antenna, and calculating a power of the signal, based on the first voltage and the second voltage. A length of the transmission line may be based on a wavelength of the signal. The method and corresponding electronic device reduce an error between power to be calculated and power consumed in practice.
1 . A method performed by an electronic device comprising a power amplifier, the power amplifier comprising a first power amplifier, a second power amplifier, and a transmission line, the method comprising:
obtaining, by at least one sensor, a first voltage of a first signal outputted by the first power amplifier at a first point of a first connection member connecting the first power amplifier and a first end of the transmission line;
obtaining, by the at least one sensor, a second voltage of a second signal outputted by the power amplifier at a second point of a second connection member connecting a second end of the transmission line and an antenna, wherein the second power amplifier is electrically connected to the second connection member; and
calculating a power of the second signal, based on the first voltage and the second voltage,
wherein a length of the transmission line is based on a wavelength of the second signal.
2 . The method of claim 1 , wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
3 . The method of claim 1 , wherein the power amplifier is a Doherty power amplifier,
wherein the first power amplifier is a main power amplifier,
wherein the second power amplifier is a peak power amplifier,
wherein the transmission line is disposed inside the Doherty power amplifier, and
wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
4 . The method of claim 1 , wherein a phase difference between a first phase of the first signal and a second phase of the second signal is about 180°.
5 . The method of claim 1 , wherein the power is calculated based on an average value of the first voltage and the second voltage.
6 . The method of claim 5 , wherein the average value is an arithmetic average value of the first voltage and the second voltage.
7 . The method of claim 1 , wherein the power is calculated based on at least one of a maximum value, a median value, or a weight of each of the first voltage and the second voltage.
8 . An electronic device in a wireless communication system, the electronic device comprising:
a power amplifier comprising a transmission line, a first power amplifier, and a second power amplifier;
an antenna;
a first connection member connecting the first power amplifier and a first end of the transmission line;
a second connection member connecting a second end of the transmission line and the antenna, wherein the second power amplifier is electrically connected to the second connection member;
at least one sensor;
at least one processor electrically coupled to the at least one sensor; and
memory storing instructions,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain, by the at least one sensor, a first voltage of a first signal outputted by the first power amplifier at a first point of the first connection member;
obtain, by the at least one sensor, a second voltage of a second signal outputted by the power amplifier at a second point of the second connection member, and
calculate a power of the second signal, based on the first voltage and the second voltage obtained by the at least one sensor, and
wherein a length of the transmission line is based on a wavelength of the second signal.
9 . The electronic device of claim 8 , wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
10 . The electronic device of claim 8 ,
wherein the power amplifier is a Doherty power amplifier,
wherein the first power amplifier is a main power amplifier,
wherein the second power amplifier is a peak power amplifier,
wherein the transmission line is disposed inside the Doherty power amplifier, and
wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
11 . The electronic device of claim 8 , wherein a phase difference between a first phase of the first signal and a second phase of the second signal is about 180°.
12 . The electronic device of claim 8 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
calculate the power based on an average value of the first voltage and the second voltage.
13 . The electronic device of claim 12 , wherein the average value is an arithmetic average value of the first voltage and the second voltage.
14 . The electronic device of claim 8 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
calculate the power based on at least one of a maximum value, a median value, or a weight of each of the first voltage and the second voltage.
15 . An electronic device in a wireless communication system, the electronic device comprising:
a plurality of radio frequency (RF) chains;
a plurality of antennas corresponding to the plurality of RF chains;
at least one sensor;
memory storing instructions; and
at least one processor electrically coupled to the at least one sensor,
wherein at least one RF chain of the plurality of RF chains includes:
a power amplifier comprising a first power amplifier, a second power amplifier, and a transmission line, and
a first connection member connecting the first power amplifier and a first end of the transmission line;
a second connection member connecting a second end of the transmission line and an antenna of the plurality of antennas, wherein the second power amplifier is electrically connected to the second connection member,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain, by the at least one sensor, a first voltage of a first signal outputted by the first power amplifier at a first point of the first connection member;
obtain, by the at least one sensor, a second voltage of a second signal outputted by the power amplifier at a second point of the second connection member, and
calculate a power of the second signal, based on the first voltage and the second voltage obtained by the at least one sensor, and
wherein a length of the transmission line is based on a wavelength of the second signal.
16 . The electronic device of claim 15 , wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
17 . The electronic device of claim 15 ,
wherein the power amplifier is a Doherty power amplifier,
wherein the first power amplifier is a main power amplifier,
wherein the second power amplifier is a peak power amplifier,
wherein the transmission line is disposed inside the Doherty power amplifier, and
wherein the length of the transmission line is substantially a quarter of the wavelength of the second signal.
18 . The electronic device of claim 15 , wherein a phase difference between a first phase of the first signal and a second phase of the second signal is about 180°.
19 . The electronic device of claim 15 , wherein the instructions, when executed by the at least one processor individually or collectively, further cause the electronic device to:
calculate the power based on an arithmetic average value of the first voltage and the second voltage.
20 . The electronic device of claim 15 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
calculate the power based on at least one of a maximum value, a median value, or a weight of each of the first voltage and the second voltage.