INTELLIGENT ONE-PEDAL DRIVING SYSTEM
A computer-implemented method of operating a vehicle. The method includes receiving a first signal from a pedal indicating no pressure is exerted on the pedal, the pedal, when pressed, configured to provide a manual input to an operation of the vehicle; determining whether the vehicle is within a threshold distance from an object ahead of the vehicle; if the distance between the vehicle and the object is within the threshold distance, engaging regenerative braking to reduce the speed of the vehicle; and if the distance between the vehicle and the object is above the threshold distance, preventing regenerative braking from being engaged to allow the vehicle to coast.
1 . A computer-implemented method of operating a vehicle comprising:
receiving a first signal from a pedal indicating no pressure is exerted on the pedal, the pedal, when pressed, configured to provide a manual input to an operation of the vehicle;
determining whether the vehicle is within a threshold distance from an object ahead of the vehicle;
if the distance between the vehicle and the object is within the threshold distance, engaging regenerative braking to reduce the speed of the vehicle; and
if the distance between the vehicle and the object is above the threshold distance, preventing regenerative braking from being engaged to allow the vehicle to coast.
2 . The computer-implemented method of claim 1 , further comprising:
receiving a second signal from a distance sensor of the vehicle; and
calculating the distance between the object and the vehicle based on the second signal.
3 . The computer-implemented method of claim 1 , further comprising:
receiving image data from a camera of the vehicle; and
determining the distance between the object and the vehicle based on the image data.
4 . The computer-implemented method of claim 1 , further comprising:
receiving speed data from a speed sensor of the vehicle; and
determining the speed of the vehicle based on the speed data,
wherein the threshold distance is set based on the speed of the vehicle.
5 . The computer-implemented method of claim 1 , wherein engaging regenerative braking to reduce the speed of the vehicle comprises transmitting a third signal to a motor of the vehicle.
6 . The computer-implemented method of claim 1 , wherein preventing regenerative braking from being engaged comprises transmitting a zero-torque command to a motor of the vehicle.
7 . The computer-implemented method of claim 1 , wherein if the distance between the vehicle and the object is within the threshold distance, automatically engaging an adaptive cruise control of the vehicle.
8 . A vehicle comprising:
a distance sensor configured to detect a distance between the vehicle and an object in front of the vehicle;
a pedal configured to increase the speed of the vehicle when pressed;
a communication module configured to transmit signals from the distance sensor and the pedal to a processor; and
a non-transitory storage configured to store instructions, which when executed by the processor, cause the processor to perform a method comprising:
determining whether the vehicle is within a threshold distance from an object ahead of the vehicle;
if the distance between the vehicle and the object is within the threshold distance, engaging regenerative braking to reduce the speed of the vehicle; and
if the distance between the vehicle and the object is above the threshold distance, preventing regenerative braking from being engaged to allow the vehicle to coast.
9 . The vehicle of claim 8 , wherein the method further comprises:
receiving image data from a camera of the vehicle; and
determining the distance between the object and the vehicle based on the image data.
10 . The vehicle of claim 8 , wherein the method further comprises:
receiving speed data from a speed sensor of the vehicle; and
determining the speed of the vehicle based on the speed data.
11 . The vehicle of claim 10 , wherein the threshold distance is set based on the speed of the vehicle.
12 . The vehicle of claim 8 , wherein engaging regenerative braking to reduce the speed of the vehicle comprises transmitting a third signal to a motor of the vehicle.
13 . The vehicle of claim 8 , wherein preventing regenerative braking from being engaged comprises transmitting a zero-torque command to a motor of the vehicle.
14 . The vehicle of claim 8 , wherein if the distance between the vehicle and the object is within the threshold distance, automatically engaging an adaptive cruise control of the vehicle.
15 . The vehicle of claim 8 , further comprising:
a controller in communication with the processor;
a motor and brakes, both in communication with the controller;
wherein the method further comprises the processor transmitting a control signal to the controller; and the controller controls the motor and brakes in response to the control signal.