CPC E05F 15/73 (2015.01) [B60K 15/05 (2013.01); B60L 53/16 (2019.02); B60L 53/305 (2019.02); B60L 53/37 (2019.02); B60L 53/665 (2019.02); E05B 83/34 (2013.01); G06V 20/56 (2022.01); G06V 40/166 (2022.01); G06V 40/172 (2022.01); G06V 40/20 (2022.01); B60K 2015/0515 (2013.01); B60K 2015/0538 (2013.01); B60K 2015/0561 (2013.01); E05F 2015/767 (2015.01); E05Y 2400/32 (2013.01); E05Y 2400/858 (2013.01); E05Y 2900/534 (2013.01); G06V 40/16 (2022.01)] | 8 Claims |
1. A vehicle comprising:
a cap provided on a body of the vehicle and configured to open and close a replenishing port for replenishing an energy source;
a cap input configured to receive a cap-opening command for opening the cap;
a driving unit allowing the cap to be separated from or connected to the body;
a plurality of obstacle detectors provided at different positions on the body and configured to detect an obstacle;
a storage configured to store position information and identification information of the plurality of obstacle detectors, and to sequentially store pieces of identification information of the plurality of obstacle detectors corresponding to an energy source replenishment path;
an alighting detector configured to determine whether the user alights from the vehicle; and
a controller configured to:
determine whether the user alights from the vehicle based on a detection signal detected by the alighting detection signal;
in response to determining that the user alights the vehicle, determine whether the cap-opening command is received by the cap input;
in response to determining that the cap-opening command is not received, determine an intention of the user to replenish the energy source based on the detection signal detected by the obstacle detector;
in response to determining that the cap-opening command is received by the cap input, omit the determination of the intention of the user to replenish the energy source;
in response to determining the intention of the user to replenish the energy source, identify a reception time of detection signals received by the plurality of obstacle detectors, and identify a reception order of the detection signals based on the identified reception time of the detection signals;
determine a movement path of the user corresponding to a change in position of the user based on the identified reception order of the detection signals;
determine that the intention of the user to replenish the energy source exists when the movement path coincides with the energy source replenishment path;
and
control the driving unit such that the cap is automatically separated from the body in response to determining that the intention of the user to replenish the energy source exists.
|