Electronic device, method for controlling electronic device, and program
An electronic device includes a transmission antenna, a reception antenna, a signal processor, a quality determining unit, and a controller. The transmission antenna transmits a transmission wave. The reception antenna receives a reflected wave that is the transmission wave having been reflected. The signal processor calculates, based on a transmission signal transmitted as the transmission wave and a reception signal received as the reflected wave, a distance between the electronic device and an object that reflects the transmission wave. The quality determining unit determines a quality of the reception signal. The controller performs control for transmitting the transmission wave in an operation mode corresponding to the distance between the electronic device and the object, based on the quality of the reception signal determined by the quality determining unit.
1 . An electronic device comprising:
a transmission antenna configured to transmit a transmission wave;
a reception antenna configured to receive a reflected wave that is the transmission wave having been reflected;
a signal processor configured to calculate, based on a transmission signal transmitted as the transmission wave and a reception signal received as the reflected wave, a distance between the electronic device and an object that reflects the transmission wave;
a quality determining unit configured to determine a quality of the reception signal based on whether an angle of variance of a point cloud related to the object is equal to or greater than an angle of variance threshold; and
a controller configured to perform control for transmitting the transmission wave in an operation mode corresponding to the distance between the electronic device and the object, from among a plurality of operation modes corresponding to different distances between the electronic device and the object, based on the quality of the reception signal determined by the quality determining unit.
2 . The electronic device according to claim 1 , wherein the controller is configured to perform beamforming of the transmission wave, based on the quality determined by the quality determining unit.
3 . The electronic device according to claim 1 , wherein
the controller is configured to control the electronic device to operate in a first operation mode and a second operation mode that have different transmission modes of the transmission wave, and
the signal processor is configured to set a threshold for determining detection of the object in the second operation mode to be higher than a threshold for determining detection of the object in the first operation mode.
4 . The electronic device according to claim 1 , wherein the signal processor is configured to determine whether to set the object as a target to be detected, based on a time to an arrival of the object at the electronic device.
5 . A method for controlling an electronic device:
transmitting a transmission wave;
receiving a reflected wave that is the transmission wave having been reflected;
calculating, based on a transmission signal transmitted as the transmission wave and a reception signal received as the reflected wave, a distance between the electronic device and an object that reflects the transmission wave;
determining a quality of the reception signal based on whether an angle of variance of a point cloud related to the object is equal to or greater than a predetermined threshold; and
performing control for transmitting the transmission wave in an operation mode corresponding to the distance between the electronic device and the object, from among a plurality of operation modes corresponding to different distances between the electronic device and the object, based on the quality of the reception signal.
6 . A non-transitory computer-readable recording medium storing computer program instructions, which when executed by an electronic device, cause the electronic device to:
transmit a transmission wave;
receive a reflected wave that is the transmission wave having been reflected;
calculate, based on a transmission signal transmitted as the transmission wave and a reception signal received as the reflected wave, a distance between the electronic device and an object that reflects the transmission wave;
determine a quality of the reception signal based on whether an angle of variance of a point cloud related to the object is equal to or greater than a predetermined threshold; and
perform control for transmitting the transmission wave in an operation mode corresponding to the distance between the electronic device and the object, from among a plurality of operation modes corresponding to different distances between the electronic device and the object, based on the quality of the reception signal.
7 . The electronic device according to claim 1 , wherein the signal processor is configured to determine whether the object is present based on whether a signal intensity of the reception signal exceeds a signal intensity threshold, and
the controller is configured to perform control for setting the signal intensity threshold based on the quality of the reception signal.
8 . The electronic device according to claim 7 , wherein the signal intensity threshold includes one of a constant false alarm rate (CFAR) or an ordered statistic CFAR (OS-FAR).
9 . The electronic device according to claim 8 , wherein the controller is configured to perform control for setting transmission parameters for transmitting the transmission wave in the operation mode, based on the quality of the reception signal, and
the transmission parameters include at least one a transmission start frequency, a radio field intensity, a chirp slope, a radio wave transmission period, a scattering cross section of an object, a radio wave transmission timing, a frequency band, and a sampling rate of an analog-to-digital converter.