Electronic device and antenna control method for electronic device
An electronic device is provided. The electronic device includes a communication circuit including at least one antenna, a memory, and a processor operatively connected with the communication circuit and the memory. The memory includes instructions, when executed, causing the processor to identify a communication state of the communication circuit, adjust a characteristic of the antenna to a wideband characteristic including a first wireless-fidelity (Wi-Fi) band and a second Wi-Fi band by means of the communication circuit to scan a Wi-Fi communication channel, when the identified communication state is a state where the Wi-Fi communication channel is scanned, and adjust the characteristic of the antenna to a narrowband characteristic corresponding to a determined communication channel to perform Wi-Fi communication, when the identified communication state is a state where the Wi-Fi communication channel to communicate is determined.
1 . An electronic device, comprising:
a communication circuit comprising at least one antenna;
memory storing instructions; and
at least one processor operatively connected with the communication circuit and the memory,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
identify whether a communication state of the communication circuit corresponds to a state in which a wireless-fidelity (Wi-Fi) communication channel to perform Wi-Fi communication is determined,
when the communication state corresponds to a state in which the Wi-Fi communication channel to perform the Wi-Fi communication is not determined, adjust a characteristic of the at least one antenna to a wideband characteristic covering a first Wi-Fi band and a second Wi-Fi band to scan at least one Wi-Fi communication channel, and
when the communication state corresponds to the state in which the Wi-Fi communication channel to perform the Wi-Fi communication is determined, adjust the characteristic of the at least one antenna to a narrowband characteristic corresponding to the determined Wi-Fi communication channel to perform the Wi-Fi communication,
wherein the determined Wi-Fi communication channel is included in one of the first Wi-Fi band and the second Wi-Fi band,
wherein the first Wi-Fi band includes a 5 gigahertz (GHz) Wi-Fi band and the second Wi-Fi band includes a 6 GHz Wi-Fi band,
wherein the adjusting of the characteristic of the at least one antenna includes a change in antenna gain of the at least one antenna for at least one portion of one or more frequency bands, and
wherein the antenna gain, in the 5 GHz Wi-Fi band and the 6 GHz Wi-Fi band, of the at least one antenna adjusted for the wideband characteristic is lower than the antenna gain, in the determined Wi-Fi communication channel included in one of the 5 GHz Wi-Fi band and the 6 GHz Wi-Fi band, of the at least one antenna adjusted for the narrowband characteristic.
2 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, further cause the electronic device to:
scan the at least one Wi-Fi communication channel, and
determine the Wi-Fi communication channel to perform the Wi-Fi communication based on a result of the scan of the at least one Wi-Fi communication channel.
3 . The electronic device of claim 1 , wherein the communication circuit comprises at least one variable circuit configured to adjust the characteristic of the at least one antenna.
4 . The electronic device of claim 3 ,
wherein the at least one variable circuit comprises at least one switch and lumped components, and
wherein the instructions, when executed by the at least one processor individually or collectively, further cause the electronic device to:
control the at least one switch to adjust the characteristic of the at least one antenna.
5 . The electronic device of claim 1 ,
wherein the state in which the Wi-Fi communication channel to perform the Wi-Fi communication is not determined includes a state in which the at least one Wi-Fi communication channel is scanned, and
wherein the state in which the at least one Wi-Fi communication channel is scanned includes at least one of:
a communication channel scan state for searching for at least one external electronic device to perform the Wi-Fi communication,
a communication channel scan state for indoor positioning of the electronic device, or
a communication channel scan state for roaming settings.
6 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, further cause the electronic device to:
adjust the characteristic of the at least one antenna to a wideband characteristic covering an ultra wide band (UWB) band, when receiving UWB communication-related information through the communication circuit.
7 . The electronic device of claim 6 , wherein the UWB communication-related information includes UWB ranging period-related information.
8 . A method for antenna control performed by an electronic device, the method comprising:
identifying whether a communication state of a communication circuit of the electronic device corresponds to a state in which a wireless-fidelity (Wi-Fi) communication channel to perform Wi-Fi communication is determined;
when the communication state corresponds to a state in which the Wi-Fi communication channel to perform the Wi-Fi communication is not determined, adjusting a characteristic of at least one antenna included in the communication circuit to a wideband characteristic covering a first Wi-Fi band and a second Wi-Fi band to scan at least one Wi-Fi communication channel; and
when the communication state corresponds to the state in which the Wi-Fi communication channel to perform the Wi-Fi communication is determined, adjusting the characteristic of the at least one antenna to a narrowband characteristic corresponding to the determined Wi-Fi communication channel to perform the Wi-Fi communication,
wherein the determined Wi-Fi communication channel is included in one of the first Wi-Fi band and the second Wi-Fi band,
wherein the first Wi-Fi band includes a 5 gigahertz (GHz) Wi-Fi band and the second Wi-Fi band includes a 6 GHz Wi-Fi band,
wherein the adjusting of the characteristic of the at least one antenna includes a change in antenna gain of the at least one antenna for at least one portion of one or more frequency bands, and
wherein the antenna gain, in the 5 GHz Wi-Fi band and the 6 GHz Wi-Fi band, of the at least one antenna adjusted for the wideband characteristic is lower than the antenna gain, in the determined Wi-Fi communication channel included in one of the 5 GHz Wi-Fi band and the 6 GHz Wi-Fi band, of the at least one antenna adjusted for the narrowband characteristic.
9 . The method of claim 8 , further comprising:
scanning the at least one Wi-Fi communication channel; and
determining the Wi-Fi communication channel to perform the Wi-Fi communication based on a result of the scanning of the at least one Wi-Fi communication channel.
10 . The method of claim 8 , further comprising:
adjusting the characteristic of the at least one antenna using at least one variable circuit included in the communication circuit.
11 . The method of claim 10 ,
wherein the at least one variable circuit comprises at least one switch and lumped components, and
wherein the method further comprises:
controlling the at least one switch to adjust the characteristic of the at least one antenna.
12 . The method of claim 8 ,
wherein the state in which the Wi-Fi communication channel to perform the Wi-Fi communication is not determined includes a state in which the at least one Wi-Fi communication channel is scanned, and
wherein the state in which the at least one Wi-Fi communication channel is scanned includes at least one of:
a communication channel scan state for searching for at least one external electronic device to perform the Wi-Fi communication,
a communication channel scan state for indoor positioning of the electronic device, or
a communication channel scan state for roaming settings.
13 . The method of claim 8 , further comprising:
adjusting the characteristic of the at least one antenna to a wideband characteristic covering an ultra wide band (UWB) band, when receiving UWB communication-related information through the communication circuit.
14 . The method of claim 13 , wherein the UWB communication-related information includes UWB ranging period-related information.
15 . An electronic device, comprising:
a communication circuit comprising:
a wireless-fidelity (Wi-Fi) circuit,
an ultra wide band (UWB) circuit,
a first antenna electrically connected to the Wi-Fi circuit and having a first band characteristic corresponding to at least a portion of a Wi-Fi communication band,
a second antenna electrically connected to the UWB circuit and having a second band characteristic corresponding to at least a portion of a UWB communication band, and
a third antenna;
a switching circuit configured to electrically connect the third antenna to the Wi-Fi circuit or the UWB circuit;
memory storing instructions; and
at least one processor operatively connected with the communication circuit, the switching circuit, and the memory,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
identify communication states of the Wi-Fi circuit and the UWB circuit,
when performing communication using the UWB circuit, adjust a characteristic of the third antenna to a third band characteristic corresponding to another portion of the UWB communication band, and electrically connect the third antenna to the UWB circuit via the switching circuit, and
when performing communication using the Wi-Fi circuit, adjust the characteristic of the third antenna to a fourth band characteristic corresponding to another portion of the Wi-Fi communication band, and electrically connect the third antenna to the Wi-Fi circuit via the switching circuit,
wherein communication through the UWB circuit has a higher priority than communication through the Wi-Fi circuit, and
wherein the adjusting of the characteristic of the third antenna includes a change in antenna gain of the third antenna for at least one portion of one or more frequency bands.
16 . The electronic device of claim 15 , wherein the other portion of the UWB communication band and the other portion of the Wi-Fi communication band include at least one of a 5 gigahertz (GHz) communication band or a 6 GHz communication band.
17 . The electronic device of claim 15 , wherein the communication circuit further comprises a variable circuit configured to adjust the characteristic of the third antenna.
18 . The electronic device of claim 17 , wherein the variable circuit comprises a plurality of lumped elements and at least one switching circuit configured to:
electrically connect or disconnect each of the plurality of lumped elements to and from the third antenna.
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:
perform UWB communication, when receiving UWB communication-related information through the UWB circuit.
20 . The electronic device of claim 19 , wherein the UWB communication-related information includes UWB ranging period-related information.