The invention pertains to a collision detection and driver notification system for lightweight vehicles.
The driver of a lightweight vehicle faces unique risks from environmental hazards. Traditional automobiles are relatively heavy and provide substantial protection to drivers and passengers. A lightweight vehicle, however, is typically designed for a single passenger without the structural protections offered by automobiles. Examples of lightweight vehicles include electric scooters, kick scooters, electric bicycles, motorbikes, mopeds, and any other wheeled vehicle or Light Electric Vehicle (LEV) designed for urban environments and requiring minimal resources compared to heavyweight motor vehicles such as cars, trucks, and buses.
Drivers of lightweight vehicles cannot perceive everything going on around them while driving. Particularly at night or in harsh weather, distractions and driver inattention present safety risks. A collision detection and notification system that protects drivers from such risks is needed. This is particularly true for lightweight vehicles operating in urban environments. Due to the high degree of distractions, it is increasingly necessary to detect dangerous situations and warn the driver of imminent threats.
Traditional driver-assistance systems rely on heavy-weight artificial neural networks and computers with high power and memory requirements to process captured data. Such systems are viewed as necessary to automatically control the car or notify the user by means of a dashboard or similar user interface. But these technologies are poorly suited for lightweight vehicles.
In the present invention, vehicle collision-detection and driver-notification is achieved by software and hardware optimized for lightweight vehicles. A deep learning model detects and tracks environmental objects using light-weight components. These components are optimized to provide the greatest possible safety within the constraints of a lightweight vehicle platform.
In an embodiment, a collision avoidance device for a lightweight vehicle includes an object detection unit for detecting an obstacle, a collision avoidance unit, a warning notification unit, and a feedback speed engine actuation unit. The object detection unit detects an obstacle following a dangerous trajectory. The dangerousness of the trajectory is calculated with respect to the object detection unit and the distance to the obstacle in the form of a quantitated index estimating the likelihood of collision. If the calculated value meets a predefined threshold, the warning notification unit notifies the rider of the dangerous situation.
In another embodiment, the collision avoidance unit determines whether or not the obstacle detected is expected to cause a collision. This determination depends on whether the obstacle is following a trajectory that could lead to collision with the unit and if the obstacle is within a predefined range of the unit.
In another embodiment, the warning notification unit warns the rider either by a visual indicator or by a distinctive sound. In yet another embodiment, the object detection unit includes a stereo imaging pickup device and a radar.
In a further embodiment, the object detection unit is built with light-weight algorithms that require low computational resources and power. In this and other embodiments, object detection is performed with visual means, using light-weight deep artificial neural networks structures, and by radar, using hardware with minimal power requirements.
In an embodiment, the collision avoidance unit comprises low computational cost elements. The collision avoidance unit may also be responsible for the synchronization of object detection unit data and use a Kalman filter algorithm to track and identify the detected objects. When the collision avoidance unit determines that the obstacle detected is following a dangerous trajectory and the distance to the obstacle is lower than a predefined threshold, the warning notification unit notifies the rider of the dangerous situation. The collision avoidance unit may further incorporate driver-specific metrics well as personalized analytics in the trajectory estimate. For example, the driver's weight and latency reaction time can be used as factors for trajectory estimation.
In an alternative embodiment, the invention includes a collision avoidance device that controls and adjusts engine speed as a function of the likelihood-of-collision index.
The invention is implemented in the context of a lightweight vehicle operated by a driver. Environment detection devices, including a stereo camera and a radar, transmit information from the environment to a device that processes this data and assesses risk to the driver. An object detection unit processes camera and radar data and uses this data to assess risks in the environment and give feedback to the driver.
Visual data is collected using a camera. Collected data is processed using a light-weight deep learning object detection system. Examples of currently available solutions that could be incorporated into such a system include Tiny-YOLO (You Only Look Once), MobileNet SSDlite (Single Shot MultiBox Detection), or TensorFlow-Lite. First the model is trained with a light-weight structure. In an embodiment, a TensorFlow open-source machine learning library is used. The model is further optimized to a new format, such as OpenVINO Intermediate Representation format capable of doing the inference task. In an embodiment, this task is achieved with a vision processing unit (VPU) integrated on the vision hardware at 25-30 frames per second (fps). A currently available example of such a VPU is the Intel Myriad X.
In an embodiment, vision hardware with a 12 megapixel (MP) Integrated 4K color camera is used. Alternatively, a 1 MP stereo synchronized camera with integrated global shutter is used. Such a camera provides stereo depth without burdening the host with computational requirements.
Object detection data points are also collected from a low power radar sensor. The detection algorithm contains clustering of points in order to reduce noise and improve obstacle distance accuracy from the sensor. In an embodiment, the latency between call and response is close to 200 milliseconds. For example, a Texas Instruments AWR1843 Radar Sensor is used to provide Short-and Medium-Range Radar with about a 150 meter maximum range.
The collision avoidance unit is responsible for the synchronization of both data acquisition and the use of different algorithms for merging and synchronizing vision and radar data. The unit also tracks and identifies detected objects and decides when to issue warnings. In an embodiment, a Kalman filter is used for tracking and identifying moving objects.
In an embodiment, detections are merged by comparing the tracked object's position with the camera and the radar. In a particular frame, a radar detected object and a vision detected object are defined. These definitions allow a more accurate distance calculation for the detected and classified object, including a more accurate radar distance.
To define a warning situation, the collision avoidance unit determines whether a detected object is following a dangerous trajectory with respect to the unit. If the distance to the obstacle is lower than a predefined threshold, the warning notification unit notifies the driver of the dangerous situation. In an embodiment, the collision avoidance unit contains a lightweight computer with a 1.5 GHz 64-bit quad core processor with 8 GB RAM. Power requirements are approximately 5V-3 A. The warnings are displayed on an integrated display in the vehicle, by means of a distinctive sound to attract the driver's attention, or by a combination of methods. For example, a high-pitched sound could be used to attract the driver's attention. Two-way danger notification, visible and audible, is therefore provided for greater driver safety.
Object detection software is tuned to detect objects that drivers of lightweight vehicles are likely to encounter, such as pedestrians, pets, cars, trucks, buses, bicycles, motorbikes, traffic lights, street signs, and other objects likely to be encountered while in urban traffic.
The visual and audible warning system is equipped with lightweight hardware and software capable of executing correctly while deployed on a lightweight vehicle in an urban traffic environment.
Collision avoidance determines whether to activate speaker 314 and indicator 316 in several ways. In an embodiment, the determination depends on a threat index that is at least a function of the object's distance. For example, the threat index can include distance thresholds such that objects within a first, nearer distance trigger a loud audible warning while objects at a second, farther distance trigger a visual indication such as an illuminated arrow in the direction of the obstacle. The index can be further enhanced by including object trajectory into the calculation of the index. In this embodiment, warnings can be prioritized for nearby objects with a trajectory in the path of the lightweight vehicle. On the other hand, nearby stationary objects outside the pay of the lightweight vehicle, such as trees and traffic lights generate lower priority warnings or are ignored altogether.
At step 412, a first decision is made whether the index generated at step 410 exceeds a first predefined threshold. If so, the driver is notified with a first indication at step 414. In an embodiment, the first indication is made visually by way of an LED indicator.
At step 416, a second decision is made whether the index generated at step 410 exceeds a second predefined threshold. If so, the driver is notified with a second indication at step 418. In an embodiment, the second indication is made audibly by way of a speaker that gives one or more directions to the driver to help avoid the obstacle.
At step 420, a third decision is made whether the index generated at step 410 exceeds a third predetermined threshold. If so, a third indication is communicated to the vehicle engine actuation unit. In an embodiment, the third indication instructs the vehicle engine actuation unit to adjust the engine speed of the lightweight vehicle downward, thereby reducing the lightweight vehicle's velocity.
For some objects, such as unclassified objects 810 and 812, the risk of collision may be determined to be relatively low by a combination of analytics. For example, objects outside the current path of the lightweight vehicle but relatively close may be excluded as risks if they are classified as immovable, such as traffic signs or trees. On the other hand, such close objects may be relatively large risks if they are classified as cars or motorbikes in motion. Trajectory calculations allow non-moving parked vehicles to be distinguished from moving vehicles and thereby further refine the accuracy of the threat index.