Patent ID: 11952822
Assignee: HYUNDAI MOTOR COMPANY
Field: Transport (Mechanical engineering)
Classification: CPC B  E  G  Y | IPC B  E  G

Claim 0:
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.