Autonomous robotic systems, such as autonomous vehicles, rely on a suite of sensors to detect static or dynamic objects in a real-time operating environment. The detection of objects is typically performed by a perception subsystem of the autonomous robotic system that includes a neural network backbone for processing large amounts of two-dimensional (2D) and/or three-dimensional (3D) sensor data in real-time, and classifying and localizing the detected objects in the operating environment. The output of the perception subsystem is used by a planning system of the autonomous robotic system to plan a route through the operating environment. Because of the large amount of sensor data to be processed in real-time, existing distributed computing architectures are not able to meet the desired performance and safety requirements required for certain autonomous robotic systems, such as autonomous vehicles.
In the following description numerous specific details are set forth in order to provide a thorough understanding of the present disclosure for the purposes of explanation. It will be apparent, however, that the embodiments described by the present disclosure can be practiced without these specific details. In some instances, well-known structures and devices are illustrated in block diagram form in order to avoid unnecessarily obscuring aspects of the present disclosure.
Specific arrangements or orderings of schematic elements, such as those representing systems, devices, modules, instruction blocks, data elements, and/or the like are illustrated in the drawings for ease of description. However, it will be understood by those skilled in the art that the specific ordering or arrangement of the schematic elements in the drawings is not meant to imply that a particular order or sequence of processing, or separation of processes, is required unless explicitly described as such. Further, the inclusion of a schematic element in a drawing is not meant to imply that such element is required in all embodiments or that the features represented by such element may not be included in or combined with other elements in some embodiments unless explicitly described as such.
Further, where connecting elements such as solid or dashed lines or arrows are used in the drawings to illustrate a connection, relationship, or association between or among two or more other schematic elements, the absence of any such connecting elements is not meant to imply that no connection, relationship, or association can exist. In other words, some connections, relationships, or associations between elements are not illustrated in the drawings so as not to obscure the disclosure. In addition, for ease of illustration, a single connecting element can be used to represent multiple connections, relationships or associations between elements. For example, where a connecting element represents communication of signals, data, or instructions (e.g., “software instructions”), it should be understood by those skilled in the art that such element can represent one or multiple signal paths (e.g., a bus), as may be needed, to affect the communication.
Although the terms first, second, third, and/or the like are used to describe various elements, these elements should not be limited by these terms. The terms first, second, third, and/or the like are used only to distinguish one element from another. For example, a first contact could be termed a second contact and, similarly, a second contact could be termed a first contact without departing from the scope of the described embodiments. The first contact and the second contact are both contacts, but they are not the same contact.
The terminology used in the description of the various described embodiments herein is included for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the description of the various described embodiments and the appended claims, the singular forms “a,” “an” and “the” are intended to include the plural forms as well and can be used interchangeably with “one or more” or “at least one,” unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this description specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used herein, the terms “communication” and “communicate” refer to at least one of the reception, receipt, transmission, transfer, provision, and/or the like of information (or information represented by, for example, data, signals, messages, instructions, commands, and/or the like). For one unit (e.g., a device, a system, a component of a device or system, combinations thereof, and/or the like) to be in communication with another unit means that the one unit is able to directly or indirectly receive information from and/or send (e.g., transmit) information to the other unit. This may refer to a direct or indirect connection that is wired and/or wireless in nature. Additionally, two units may be in communication with each other even though the information transmitted may be modified, processed, relayed, and/or routed between the first and second unit. For example, a first unit may be in communication with a second unit even though the first unit passively receives information and does not actively transmit information to the second unit. As another example, a first unit may be in communication with a second unit if at least one intermediary unit (e.g., a third unit located between the first unit and the second unit) processes information received from the first unit and transmits the processed information to the second unit. In some embodiments, a message may refer to a network packet (e.g., a data packet and/or the like) that includes data.
As used herein, the term “if” is, optionally, construed to mean “when”, “upon”, “in response to determining,” “in response to detecting,” and/or the like, depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” is, optionally, construed to mean “upon determining,” “in response to determining,” “upon detecting [the stated condition or event],” “in response to detecting [the stated condition or event],” and/or the like, depending on the context. Also, as used herein, the terms “has”, “have”, “having”, or the like are intended to be open-ended terms. Further, the phrase “based on” is intended to mean “based at least partially on” unless explicitly stated otherwise.
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments can be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
In some aspects and/or embodiments, systems, methods, and computer program products described herein include and/or implement technology for a distributed computing architecture for autonomous robotic systems (e.g., such as an autonomous vehicle (AV) compute) with shared memory for task assignment, data communication and reconfiguration.
The disclosed distributed computing architecture includes a plurality of multiprocessor system on chips (MPSoCs) coupled together by a cache coherent fabric. In examples, cache coherency enables faster access to memory in a heterogeneous multi-processor system. Each processor is able to access shared data without reliance on software based data management. Additionally, the cache coherency described herein is implemented using communications according to a high-speed serial computer expansion bus specifications. The cache coherency is transmitted across serial bus interconnects, avoiding modifications to serial bus interconnects. The present techniques enable cache coherency without specialized, modified interconnects.
The distributed computing architecture utilizes a software component (for example, middleware) for distributing system resources (e.g., system memory) to the MPSoCs in real-time. In an embodiment, the middleware binds processes or threads (hereinafter “processor/thread”) to at least one processor core (e.g., an accelerator core(s)) of an MPSoC of the distributed computing architecture. In an embodiment, “leaky” buffers (e.g., lockless ring buffers) located on one or more MPSoCs ensure that processes/threads can operate in real-time in accordance with performance and safety standards for the desired application (e.g., AV compute processes/threads).
In an embodiment, system memory is shared between processor cores of MPSoCs using transparent mirroring of logical memory addresses.
In an embodiment, a data consumer process/thread in the distributed computing architecture 100 can skip reading one or more buffers of data provided by a data producer process/thread from its own MPSoC through the cache coherent fabric (e.g., buffers with stale data). In an embodiment, only a useful portion of the buffered data (e.g., useful to a specific task in real-time) is selectively fetched/transferred from a buffer to a data consumer process/thread rather than the entire contents of the buffer.
In an embodiment, a method comprises: running, with a first core of a first multiprocessor system on chip (MPSoC) of a distributed computing architecture, a first process/thread on input data, the first process/thread pinned to the first core; storing, using a cache coherency fabric, first data in shared memory, the first data generated by the first process/thread; fetching, with a second process/thread pinned to a second core of a second MPSoC of the distributed computing architecture, the first data from the shared memory; and running, with the second core of the second MPSoC, the second process/thread on the first data.
In an embodiment, the method further comprises: storing second data generated by the second process/thread in the shared memory or other memory.
In an embodiment, the input data is sensor data, the first process/thread implements a first portion of a deep learning network, and the second process/thread implements a second portion of the deep learning network that is different than the first portion.
In an embodiment, the sensor data is at least one of two-dimensional (3D) data or three-dimensional (3D) data.
In an embodiment, the first process/thread or second process/thread implements at least one multiply-and-accumulate operation.
In an embodiment, the first process/thread and second process/thread implement different tasks in a processing pipeline of an autonomous vehicle (AV).
In an embodiment, the first process/thread includes localization of the AV and the second process/thread includes route planning for the AV.
In an embodiment, the first process/thread includes a first perception task and the second process/thread includes a second perception task that is different than the first perception task.
In an embodiment, the first perception task includes object classification and the second perception task includes object localization.
In an embodiment, the shared memory includes at least one lockless ring buffer.
In an embodiment, the second process/thread fetches a portion of at least one buffer in shared memory.
In an embodiment, the second process/thread skips at least one buffer of first data when fetching the first data from the shared memory.
In an embodiment, a distributed computing architecture comprises: a first multiprocessor system on chip (MPSoC) including a first processor core, the first processor core pinned to a first process/thread; a second MPSoC including a second processor core, the second processor core pinned to a second process/thread; shared memory; a cache coherent fabric coupled to the first MPSoC and the second MPSoC, the cache coherent fabric for storing first data generated by the first process/thread into the shared memory, and for fetching the first data from the shared memory by the second process/thread.
By virtue of the implementation of systems, methods, and computer program products described herein, techniques for implementing a distributed computing architecture with shared memory for task assignment, data communication and reconfiguration provides at least the following advantages. Large amounts of data (e.g., sensor data) can be processed in real-time at high speed to meet strict application requirements in terms of speed and safety, such as implementing various portions of a neural network backbone (e.g., feature extraction, convolutional layers, fully connected layers/prediction heads).
Referring now to
Vehicles 102a-102n (referred to individually as vehicle 102 and collectively as vehicles 102) include at least one device configured to transport goods and/or people. In some embodiments, vehicles 102 are configured to be in communication with V2l device 110, remote AV system 114, fleet management system 116, and/or V2l system 118 via network 112. In some embodiments, vehicles 102 include cars, buses, trucks, trains, and/or the like. In some embodiments, vehicles 102 are the same as, or similar to, vehicles 200, described herein (see
Objects 104a-104n (referred to individually as object 104 and collectively as objects 104) include, for example, at least one vehicle, at least one pedestrian, at least one cyclist, at least one structure (e.g., a building, a sign, a fire hydrant, etc.), and/or the like. Each object 104 is stationary (e.g., located at a fixed location for a period of time) or mobile (e.g., having a velocity and associated with at least one trajectory). In some embodiments, objects 104 are associated with corresponding locations in area 108.
Routes 106a-106n (referred to individually as route 106 and collectively as routes 106) are each associated with (e.g., prescribe) a sequence of actions (also known as a trajectory) connecting states along which an AV can navigate. Each route 106 starts at an initial state (e.g., a state that corresponds to a first spatiotemporal location, velocity, and/or the like) and ends at a final goal state (e.g., a state that corresponds to a second spatiotemporal location that is different from the first spatiotemporal location) or goal region (e.g. a subspace of acceptable states (e.g., terminal states)). In some embodiments, the first state includes a location at which an individual or individuals are to be picked-up by the AV and the second state or region includes a location or locations at which the individual or individuals picked-up by the AV are to be dropped-off. In some embodiments, routes 106 include a plurality of acceptable state sequences (e.g., a plurality of spatiotemporal location sequences), the plurality of state sequences associated with (e.g., defining) a plurality of trajectories. In an example, routes 106 include only high level actions or imprecise state locations, such as a series of connected roads dictating turning directions at roadway intersections. Additionally, or alternatively, routes 106 may include more precise actions or states such as, for example, specific target lanes or precise locations within the lane areas and targeted speed at those positions. In an example, routes 106 include a plurality of precise state sequences along the at least one high level action sequence with a limited look ahead horizon to reach intermediate goals, where the combination of successive iterations of limited horizon state sequences cumulatively correspond to a plurality of trajectories that collectively form the high level route to terminate at the final goal state or region.
Area 108 includes a physical area (e.g., a geographic region) within which vehicles 102 can navigate. In an example, area 108 includes at least one state (e.g., a country, a province, an individual state of a plurality of states included in a country, etc.), at least one portion of a state, at least one city, at least one portion of a city, etc. In some embodiments, area 108 includes at least one named thoroughfare (referred to herein as a “road”) such as a highway, an interstate highway, a parkway, a city street, etc. Additionally, or alternatively, in some examples area 108 includes at least one unnamed road such as a driveway, a section of a parking lot, a section of a vacant and/or undeveloped lot, a dirt path, etc. In some embodiments, a road includes at least one lane (e.g., a portion of the road that can be traversed by vehicles 102). In an example, a road includes at least one lane associated with (e.g., identified based on) at least one lane marking.
Vehicle-to-Infrastructure (V2l) device 110 (sometimes referred to as a Vehicle-to-Infrastructure or Vehicle-to-Everything (V2X) device) includes at least one device configured to be in communication with vehicles 102 and/or V2l infrastructure system 118. In some embodiments, V2| device 110 is configured to be in communication with vehicles 102, remote AV system 114, fleet management system 116, and/or V2l system 118 via network 112. In some embodiments, V2l device 110 includes a radio frequency identification (RFID) device, signage, cameras (e.g., two-dimensional (2D) and/or three-dimensional (3D) cameras), lane markers, streetlights, parking meters, etc. In some embodiments, V2l device 110 is configured to communicate directly with vehicles 102. Additionally, or alternatively, in some embodiments V2l device 110 is configured to communicate with vehicles 102, remote AV system 114, and/or fleet management system 116 via V2l system 118. In some embodiments, V2l device 110 is configured to communicate with V2l system 118 via network 112.
Network 112 includes one or more wired and/or wireless networks. In an example, network 112 includes a cellular network (e.g., a long term evolution (LTE) network, a third generation (3G) network, a fourth generation (4G) network, a fifth generation (5G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., the public switched telephone network (PSTN), a private network, an ad hoc network, an intranet, the Internet, a fiber optic-based network, a cloud computing network, etc., a combination of some or all of these networks, and/or the like.
Remote AV system 114 includes at least one device configured to be in communication with vehicles 102, V2l device 110, network 112, fleet management system 116, and/or V2l system 118 via network 112. In an example, remote AV system 114 includes a server, a group of servers, and/or other like devices. In some embodiments, remote AV system 114 is co-located with the fleet management system 116. In some embodiments, remote AV system 114 is involved in the installation of some or all of the components of a vehicle, including an autonomous system, an autonomous vehicle compute, software implemented by an autonomous vehicle compute, and/or the like. In some embodiments, remote AV system 114 maintains (e.g., updates and/or replaces) such components and/or software during the lifetime of the vehicle.
Fleet management system 116 includes at least one device configured to be in communication with vehicles 102, V2l device 110, remote AV system 114, and/or V2l infrastructure system 118. In an example, fleet management system 116 includes a server, a group of servers, and/or other like devices. In some embodiments, fleet management system 116 is associated with a ridesharing company (e.g., an organization that controls operation of multiple vehicles (e.g., vehicles that include autonomous systems and/or vehicles that do not include autonomous systems) and/or the like).
In some embodiments, V2l system 118 includes at least one device configured to be in communication with vehicles 102, V2l device 110, remote AV system 114, and/or fleet management system 116 via network 112. In some examples, V2l system 118 is configured to be in communication with V2l device 110 via a connection different from network 112. In some embodiments, V2l system 118 includes a server, a group of servers, and/or other like devices. In some embodiments, V2l system 118 is associated with a municipality or a private institution (e.g., a private institution that maintains V2l device 110 and/or the like).
The number and arrangement of elements illustrated in
Referring now to
In one embodiment, autonomous system 202 includes operational or tactical functionality required to operate vehicle 200 in on-road traffic and perform part or all of Dynamic Driving Task (DDT) on a sustained basis. In another embodiment, autonomous system 202 includes an Advanced Driver Assistance System (ADAS) that includes driver support features. Autonomous system 202 supports various levels of driving automation, ranging from no driving automation (e.g., Level 0) to full driving automation (e.g., Level 5). For a detailed description of fully autonomous vehicles and highly autonomous vehicles, reference may be made to SAE International’s standard J3016: Taxonomy and Definitions for Terms Related to On-Road Motor Vehicle Automated Driving Systems, which is incorporated by reference in its entirety. In some embodiments, vehicle 200 is associated with an autonomous fleet manager and/or a ridesharing company.
Autonomous system 202 includes a sensor suite that includes one or more devices such as cameras 202a, LiDAR sensors 202b, radar sensors 202c, and microphones 202d. In some embodiments, autonomous system 202 can include more or fewer devices and/or different devices (e.g., ultrasonic sensors, inertial sensors, GPS receivers (discussed below), odometry sensors that generate data associated with an indication of a distance that vehicle 200 has traveled, and/or the like). In some embodiments, autonomous system 202 uses the one or more devices included in autonomous system 202 to generate data associated with environment 100, described herein. The data generated by the one or more devices of autonomous system 202 can be used by one or more systems described herein to observe the environment (e.g., environment 100) in which vehicle 200 is located. In some embodiments, autonomous system 202 includes communication device 202e, autonomous vehicle compute 202f, drive-by-wire (DBW) system 202h, and safety controller 202g.
Cameras 202a include at least one device configured to be in communication with communication device 202e, autonomous vehicle compute 202f, and/or safety controller 202g via a bus (e.g., a bus that is the same as or similar to bus 302 of
In some embodiments, camera 202a includes a plurality of independent cameras configured on (e.g., positioned on) a vehicle to capture images for the purpose of stereopsis (stereo vision). In some examples, camera 202a includes a plurality of cameras that generate image data and transmit the image data to autonomous vehicle compute 202f and/or a fleet management system (e.g., a fleet management system that is the same as or similar to fleet management system 116 of
In an embodiment, camera 202a includes at least one camera configured to capture one or more images associated with one or more traffic lights, street signs and/or other physical objects that provide visual navigation information. In some embodiments, camera 202a generates traffic light data associated with one or more images. In some examples, camera 202a generates TLD (Traffic Light Detection) data associated with one or more images that include a format (e.g., RAW, JPEG, PNG, and/or the like). In some embodiments, camera 202a that generates TLD data differs from other systems described herein incorporating cameras in that camera 202a can include one or more cameras with a wide field of view (e.g., a wide-angle lens, a fish-eye lens, a lens having a viewing angle of approximately 120 degrees or more, and/or the like) to generate images about as many physical objects as possible.
Light Detection and Ranging (LiDAR) sensors 202b include at least one device configured to be in communication with communication device 202e, autonomous vehicle compute 202f, and/or safety controller 202g via a bus (e.g., a bus that is the same as or similar to bus 302 of
Radio Detection and Ranging (radar) sensors 202c include at least one device configured to be in communication with communication device 202e, autonomous vehicle compute 202f, and/or safety controller 202g via a bus (e.g., a bus that is the same as or similar to bus 302 of
Microphones 202d includes at least one device configured to be in communication with communication device 202e, autonomous vehicle compute 202f, and/or safety controller 202g via a bus (e.g., a bus that is the same as or similar to bus 302 of
Communication device 202e includes at least one device configured to be in communication with cameras 202a, LiDAR sensors 202b, radar sensors 202c, microphones 202d, autonomous vehicle compute 202f, safety controller 202g, and/or DBW (Drive-By-Wire) system 202h. For example, communication device 202e may include a device that is the same as or similar to communication interface 314 of
Autonomous vehicle compute 202f include at least one device configured to be in communication with cameras 202a, LiDAR sensors 202b, radar sensors 202c, microphones 202d, communication device 202e, safety controller 202g, and/or DBW system 202h.
In some examples, autonomous vehicle compute 202f includes a device such as a client device, a mobile device (e.g., a cellular telephone, a tablet, and/or the like), a server (e.g., a computing device including one or more central processing units, graphical processing units, and/or the like), and/or the like. In some embodiments, autonomous vehicle compute 202f is configured to implement autonomous vehicle software 400, described herein. In an embodiment, autonomous vehicle compute 202f is the same or similar to distributed computing architecture 500, described here. Additionally, or alternatively, in some embodiments autonomous vehicle compute 202f is configured to be in communication with an autonomous vehicle system (e.g., an autonomous vehicle system that is the same as or similar to remote AV system 114 of
Safety controller 202g includes at least one device configured to be in communication with cameras 202a, LiDAR sensors 202b, radar sensors 202c, microphones 202d, communication device 202e, autonomous vehicle computer 202f, and/or DBW system 202h. In some examples, safety controller 202g includes one or more controllers (electrical controllers, electromechanical controllers, and/or the like) that are configured to generate and/or transmit control signals to operate one or more devices of vehicle 200 (e.g., powertrain control system 204, steering control system 206, brake system 208, and/or the like). In some embodiments, safety controller 202g is configured to generate control signals that take precedence over (e.g., overrides) control signals generated and/or transmitted by autonomous vehicle compute 202f.
DBW system 202h includes at least one device configured to be in communication with communication device 202e and/or autonomous vehicle compute 202f. In some examples, DBW system 202h includes one or more controllers (e.g., electrical controllers, electromechanical controllers, and/or the like) that are configured to generate and/or transmit control signals to operate one or more devices of vehicle 200 (e.g., powertrain control system 204, steering control system 206, brake system 208, and/or the like). Additionally, or alternatively, the one or more controllers of DBW system 202h are configured to generate and/or transmit control signals to operate at least one different device (e.g., a turn signal, headlights, door locks, windshield wipers, and/or the like) of vehicle 200.
Powertrain control system 204 includes at least one device configured to be in communication with DBW system 202h. In some examples, powertrain control system 204 includes at least one controller, actuator, and/or the like. In some embodiments, powertrain control system 204 receives control signals from DBW system 202h and powertrain control system 204 causes vehicle 200 to make longitudinal vehicle motion, such as start moving forward, stop moving forward, start moving backward, stop moving backward, accelerate in a direction, decelerate in a direction or to make lateral vehicle motion such as performing a left turn, performing a right turn, and/or the like. In an example, powertrain control system 204 causes the energy (e.g., fuel, electricity, and/or the like) provided to a motor of the vehicle to increase, remain the same, or decrease, thereby causing at least one wheel of vehicle 200 to rotate or not rotate.
Steering control system 206 includes at least one device configured to rotate one or more wheels of vehicle 200. In some examples, steering control system 206 includes at least one controller, actuator, and/or the like. In some embodiments, steering control system 206 causes the front two wheels and/or the rear two wheels of vehicle 200 to rotate to the left or right to cause vehicle 200 to turn to the left or right. In other words, steering control system 206 causes activities necessary for the regulation of the y-axis component of vehicle motion.
Brake system 208 includes at least one device configured to actuate one or more brakes to cause vehicle 200 to reduce speed and/or remain stationary. In some examples, brake system 208 includes at least one controller and/or actuator that is configured to cause one or more calipers associated with one or more wheels of vehicle 200 to close on a corresponding rotor of vehicle 200. Additionally, or alternatively, in some examples brake system 208 includes an automatic emergency braking (AEB) system, a regenerative braking system, and/or the like.
In some embodiments, vehicle 200 includes at least one platform sensor (not explicitly illustrated) that measures or infers properties of a state or a condition of vehicle 200. In some examples, vehicle 200 includes platform sensors such as a global positioning system (GPS) receiver, an inertial measurement unit (IMU), a wheel speed sensor, a wheel brake pressure sensor, a wheel torque sensor, an engine torque sensor, a steering angle sensor, and/or the like. Although brake system 208 is illustrated to be located in the near side of vehicle 200 in
Referring now to
Bus 302 includes a component that permits communication among the components of device 300. In some cases, processor 304 includes a processor (e.g., a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a neural processing unit (NPU) and/or the like), a digital signal processor (DSP), and/or any processing component (e.g., a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), and/or the like) that can be programmed to perform at least one function. Memory 306 includes random access memory (RAM), read-only memory (ROM), and/or another type of dynamic and/or static storage device (e.g., flash memory, magnetic memory, optical memory, dynamic RAM (DRAM), and/or the like) that stores data and/or instructions for use by processor 304.
Storage component 308 stores data and/or software related to the operation and use of device 300. In some examples, storage component 308 includes a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optic disk, a solid state disk, and/or the like), a compact disc (CD), a digital versatile disc (DVD), a floppy disk, a cartridge, a magnetic tape, a CD-ROM, RAM, PROM, EPROM, FLASH-EPROM, NV-RAM, and/or another type of computer readable medium, along with a corresponding drive.
Input interface 310 includes a component that permits device 300 to receive information, such as via user input (e.g., a touchscreen display, a keyboard, a keypad, a mouse, a button, a switch, a microphone, a camera, and/or the like). Additionally or alternatively, in some embodiments input interface 310 includes a sensor that senses information (e.g., a global positioning system (GPS) receiver, an accelerometer, a gyroscope, an actuator, and/or the like). Output interface 312 includes a component that provides output information from device 300 (e.g., a display, a speaker, one or more light-emitting diodes (LEDs), and/or the like).
In some embodiments, communication interface 314 includes a transceiver-like component (e.g., a transceiver, a separate receiver and transmitter, and/or the like) that permits device 300 to communicate with other devices via a wired connection, a wireless connection, or a combination of wired and wireless connections. In some examples, communication interface 314 permits device 300 to receive information from another device and/or provide information to another device. In some examples, communication interface 314 includes an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi® interface, a cellular network interface, and/or the like.
In some embodiments, device 300 performs one or more processes described herein. Device 300 performs these processes based on processor 304 executing software instructions stored by a computer-readable medium, such as memory 305 and/or storage component 308. A computer-readable medium (e.g., a non-transitory computer readable medium) is defined herein as a non-transitory memory device. A non-transitory memory device includes memory space located inside a single physical storage device or memory space spread across multiple physical storage devices.
In some embodiments, software instructions are read into memory 306 and/or storage component 308 from another computer-readable medium or from another device via communication interface 314. When executed, software instructions stored in memory 306 and/or storage component 308 cause processor 304 to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry is used in place of or in combination with software instructions to perform one or more processes described herein. Thus, embodiments described herein are not limited to any specific combination of hardware circuitry and software unless explicitly stated otherwise.
Memory 306 and/or storage component 308 includes data storage or at least one data structure (e.g., a database and/or the like). Device 300 is capable of receiving information from, storing information in, communicating information to, or searching information stored in the data storage or the at least one data structure in memory 306 or storage component 308. In some examples, the information includes network data, input data, output data, or any combination thereof.
In some embodiments, device 300 is configured to execute software instructions that are either stored in memory 306 and/or in the memory of another device (e.g., another device that is the same as or similar to device 300). As used herein, the term “module” refers to at least one instruction stored in memory 306 and/or in the memory of another device that, when executed by processor 304 and/or by a processor of another device (e.g., another device that is the same as or similar to device 300) cause device 300 (e.g., at least one component of device 300) to perform one or more processes described herein. In some embodiments, a module is implemented in software, firmware, hardware, and/or the like.
The number and arrangement of components illustrated in
Referring now to
In some embodiments, perception system 402 receives data associated with at least one physical object (e.g., data that is used by perception system 402 to detect the at least one physical object) in an environment and classifies the at least one physical object. In some examples, perception system 402 receives image data captured by at least one camera (e.g., cameras 202a), the image associated with (e.g., representing) one or more physical objects within a field of view of the at least one camera. In such an example, perception system 402 classifies at least one physical object based on one or more groupings of physical objects (e.g., bicycles, vehicles, traffic signs, pedestrians, and/or the like). In some embodiments, perception system 402 transmits data associated with the classification of the physical objects to planning system 404 based on perception system 402 classifying the physical objects.
In some embodiments, planning system 404 receives data associated with a destination and generates data associated with at least one route (e.g., routes 106) along which a vehicle (e.g., vehicles 102) can travel along toward a destination. In some embodiments, planning system 404 periodically or continuously receives data from perception system 402 (e.g., data associated with the classification of physical objects, described above) and planning system 404 updates the at least one trajectory or generates at least one different trajectory based on the data generated by perception system 402. In other words, planning system 404 may perform tactical function-related tasks that are required to operate vehicle 102 in on-road traffic. Tactical efforts involve maneuvering the vehicle in traffic during a trip, including but not limited to deciding whether and when to overtake another vehicle, change lanes, or selecting an appropriate speed, acceleration, deceleration, etc. In some embodiments, planning system 404 receives data associated with an updated position of a vehicle (e.g., vehicles 102) from localization system 406 and planning system 404 updates the at least one trajectory or generates at least one different trajectory based on the data generated by localization system 406.
In some embodiments, localization system 406 receives data associated with (e.g., representing) a location of a vehicle (e.g., vehicles 102) in an area. In some examples, localization system 406 receives LiDAR data associated with at least one point cloud generated by at least one LiDAR sensor (e.g., LiDAR sensors 202b). In certain examples, localization system 406 receives data associated with at least one point cloud from multiple LiDAR sensors and localization system 406 generates a combined point cloud based on each of the point clouds. In these examples, localization system 406 compares the at least one point cloud or the combined point cloud to two-dimensional (2D) and/or a three-dimensional (3D) map of the area stored in database 410. Localization system 406 then determines the position of the vehicle in the area based on localization system 406 comparing the at least one point cloud or the combined point cloud to the map. In some embodiments, the map includes a combined point cloud of the area generated prior to navigation of the vehicle. In some embodiments, maps include, without limitation, high-precision maps of the roadway geometric properties, maps describing road network connectivity properties, maps describing roadway physical properties (such as traffic speed, traffic volume, the number of vehicular and cyclist traffic lanes, lane width, lane traffic directions, or lane marker types and locations, or combinations thereof), and maps describing the spatial locations of road features such as crosswalks, traffic signs or other travel signals of various types. In some embodiments, the map is generated in real-time based on the data received by the perception system.
In another example, localization system 406 receives Global Navigation Satellite System (GNSS) data generated by a global positioning system (GPS) receiver. In some examples, localization system 406 receives GNSS data associated with the location of the vehicle in the area and localization system 406 determines a latitude and longitude of the vehicle in the area. In such an example, localization system 406 determines the position of the vehicle in the area based on the latitude and longitude of the vehicle. In some embodiments, localization system 406 generates data associated with the position of the vehicle. In some examples, localization system 406 generates data associated with the position of the vehicle based on localization system 406 determining the position of the vehicle. In such an example, the data associated with the position of the vehicle includes data associated with one or more semantic properties corresponding to the position of the vehicle.
In some embodiments, control system 408 receives data associated with at least one trajectory from planning system 404 and control system 408 controls operation of the vehicle. In some examples, control system 408 receives data associated with at least one trajectory from planning system 404 and control system 408 controls operation of the vehicle by generating and transmitting control signals to cause a powertrain control system (e.g., DBW system 202h, powertrain control system 204, and/or the like), a steering control system (e.g., steering control system 206), and/or a brake system (e.g., brake system 208) to operate. For example, control system 408 is configured to perform operational functions such as a lateral vehicle motion control or a longitudinal vehicle motion control. The lateral vehicle motion control causes activities necessary for the regulation of the y-axis component of vehicle motion. The longitudinal vehicle motion control causes activities necessary for the regulation of the x-axis component of vehicle motion. In an example, where a trajectory includes a left turn, control system 408 transmits a control signal to cause steering control system 206 to adjust a steering angle of vehicle 200, thereby causing vehicle 200 to turn left. Additionally, or alternatively, control system 408 generates and transmits control signals to cause other devices (e.g., headlights, turn signal, door locks, windshield wipers, and/or the like) of vehicle 200 to change states.
In some embodiments, perception system 402, planning system 404, localization system 406, and/or control system 408 implement at least one machine learning model (e.g., at least one multilayer perceptron (MLP), at least one convolutional neural network (CNN), at least one recurrent neural network (RNN), at least one autoencoder, at least one transformer, and/or the like). In some examples, perception system 402, planning system 404, localization system 406, and/or control system 408 implement at least one machine learning model alone or in combination with one or more of the above-noted systems. In some examples, perception system 402, planning system 404, localization system 406, and/or control system 408 implement at least one machine learning model as part of a pipeline (e.g., a pipeline for identifying one or more objects located in an environment and/or the like). An example of an implementation of a machine learning model is included below with respect to
Database 410 stores data that is transmitted to, received from, and/or updated by perception system 402, planning system 404, localization system 406, and/or control system 408. In some examples, database 410 includes a storage component (e.g., a storage component that is the same as or similar to storage component 308 of
In some embodiments, database 410 can be implemented across a plurality of devices. In some examples, database 410 is included in a vehicle (e.g., a vehicle that is the same as or similar to vehicles 102 and/or vehicle 200), an autonomous vehicle system (e.g., an autonomous vehicle system that is the same as or similar to remote AV system 114, a fleet management system (e.g., a fleet management system that is the same as or similar to fleet management system 116 of
Referring now to
CNN 420 includes a plurality of convolution layers including first convolution layer 422, second convolution layer 424, and convolution layer 426. In some embodiments, CNN 420 includes sub-sampling layer 428 (sometimes referred to as a pooling layer). In some embodiments, sub-sampling layer 428 and/or other subsampling layers have a dimension (i.e., an amount of nodes) that is less than a dimension of an upstream system. By virtue of sub-sampling layer 428 having a dimension that is less than a dimension of an upstream layer, CNN 420 consolidates the amount of data associated with the initial input and/or the output of an upstream layer to thereby decrease the amount of computations necessary for CNN 420 to perform downstream convolution operations. Additionally, or alternatively, by virtue of sub-sampling layer 428 being associated with (e.g., configured to perform) at least one subsampling function (as described below with respect to
Perception system 402 performs convolution operations based on perception system 402 providing respective inputs and/or outputs associated with each of first convolution layer 422, second convolution layer 424, and convolution layer 426 to generate respective outputs. In some examples, perception system 402 implements CNN 420 based on perception system 402 providing data as input to first convolution layer 422, second convolution layer 424, and convolution layer 426. In such an example, perception system 402 provides the data as input to first convolution layer 422, second convolution layer 424, and convolution layer 426 based on perception system 402 receiving data from one or more different systems (e.g., one or more systems of a vehicle that is the same as or similar to vehicle 102), a remote AV system that is the same as or similar to remote AV system 114, a fleet management system that is the same as or similar to fleet management system 116, a V2l system that is the same as or similar to V2l system 118, and/or the like). A detailed description of convolution operations is included below with respect to
In some embodiments, perception system 402 provides data associated with an input (referred to as an initial input) to first convolution layer 422 and perception system 402 generates data associated with an output using first convolution layer 422. In some embodiments, perception system 402 provides an output generated by a convolution layer as input to a different convolution layer. For example, perception system 402 provides the output of first convolution layer 422 as input to sub-sampling layer 428, second convolution layer 424, and/or convolution layer 426. In such an example, first convolution layer 422 is referred to as an upstream layer and sub-sampling layer 428, second convolution layer 424, and/or convolution layer 426 are referred to as downstream layers. Similarly, in some embodiments perception system 402 provides the output of sub-sampling layer 428 to second convolution layer 424 and/or convolution layer 426 and, in this example, sub-sampling layer 428 would be referred to as an upstream layer and second convolution layer 424 and/or convolution layer 426 would be referred to as downstream layers.
In some embodiments, perception system 402 processes the data associated with the input provided to CNN 420 before perception system 402 provides the input to CNN 420. For example, perception system 402 processes the data associated with the input provided to CNN 420 based on perception system 402 normalizing sensor data (e.g., image data, LiDAR data, radar data, and/or the like).
In some embodiments, CNN 420 generates an output based on perception system 402 performing convolution operations associated with each convolution layer. In some examples, CNN 420 generates an output based on perception system 402 performing convolution operations associated with each convolution layer and an initial input. In some embodiments, perception system 402 generates the output and provides the output as fully connected layer 430. In some examples, perception system 402 provides the output of convolution layer 426 as fully connected layer 430, where fully connected layer 430 includes data associated with a plurality of feature values referred to as F1, F2 .. . FN. In this example, the output of convolution layer 426 includes data associated with a plurality of output feature values that represent a prediction.
In some embodiments, perception system 402 identifies a prediction from among a plurality of predictions based on perception system 402 identifying a feature value that is associated with the highest likelihood of being the correct prediction from among the plurality of predictions. For example, where fully connected layer 430 includes feature values F1, F2, ..., FN, and F1 is the greatest feature value, perception system 402 identifies the prediction associated with F1 as being the correct prediction from among the plurality of predictions. In some embodiments, perception system 402 trains CNN 420 to generate the prediction. In some examples, perception system 402 trains CNN 420 to generate the prediction based on perception system 402 providing training data associated with the prediction to CNN 420.
Referring now to
At step 450, perception system 402 provides data associated with an image as input to CNN 440 (step 450). For example, as illustrated, perception system 402 provides the data associated with the image to CNN 440, where the image is a greyscale image represented as values stored in a two-dimensional (2D) array. In some embodiments, the data associated with the image may include data associated with a color image, the color image represented as values stored in a three-dimensional (3D) array. Additionally, or alternatively, the data associated with the image may include data associated with an infrared image, a radar image, and/or the like.
At step 455, CNN 440 performs a first convolution function. For example, CNN 440 performs the first convolution function based on CNN 440 providing the values representing the image as input to one or more neurons (not explicitly illustrated) included in first convolution layer 442. In this example, the values representing the image can correspond to values representing a region of the image (sometimes referred to as a receptive field). In some embodiments, each neuron is associated with a filter (not explicitly illustrated). A filter (sometimes referred to as a kernel) is representable as an array of values that corresponds in size to the values provided as input to the neuron. In one example, a filter may be configured to identify edges (e.g., horizontal lines, vertical lines, straight lines, and/or the like). In successive convolution layers, the filters associated with neurons may be configured to identify successively more complex patterns (e.g., arcs, objects, and/or the like).
In some embodiments, CNN 440 performs the first convolution function based on CNN 440 multiplying the values provided as input to each of the one or more neurons included in first convolution layer 442 with the values of the filter that corresponds to each of the one or more neurons. For example, CNN 440 can multiply the values provided as input to each of the one or more neurons included in first convolution layer 442 with the values of the filter that corresponds to each of the one or more neurons to generate a single value or an array of values as an output. In some embodiments, the collective output of the neurons of first convolution layer 442 is referred to as a convolved output. In some embodiments, where each neuron has the same filter, the convolved output is referred to as a feature map.
In some embodiments, CNN 440 provides the outputs of each neuron of first convolutional layer 442 to neurons of a downstream layer. For purposes of clarity, an upstream layer can be a layer that transmits data to a different layer (referred to as a downstream layer). For example, CNN 440 can provide the outputs of each neuron of first convolutional layer 442 to corresponding neurons of a subsampling layer. In an example, CNN 440 provides the outputs of each neuron of first convolutional layer 442 to corresponding neurons of first subsampling layer 444. In some embodiments, CNN 440 adds a bias value to the aggregates of all the values provided to each neuron of the downstream layer. For example, CNN 440 adds a bias value to the aggregates of all the values provided to each neuron of first subsampling layer 444. In such an example, CNN 440 determines a final value to provide to each neuron of first subsampling layer 444 based on the aggregates of all the values provided to each neuron and an activation function associated with each neuron of first subsampling layer 444.
At step 460, CNN 440 performs a first subsampling function. For example, CNN 440 can perform a first subsampling function based on CNN 440 providing the values output by first convolution layer 442 to corresponding neurons of first subsampling layer 444. In some embodiments, CNN 440 performs the first subsampling function based on an aggregation function. In an example, CNN 440 performs the first subsampling function based on CNN 440 determining the maximum input among the values provided to a given neuron (referred to as a max pooling function). In another example, CNN 440 performs the first subsampling function based on CNN 440 determining the average input among the values provided to a given neuron (referred to as an average pooling function). In some embodiments, CNN 440 generates an output based on CNN 440 providing the values to each neuron of first subsampling layer 444, the output sometimes referred to as a subsampled convolved output.
At step 465, CNN 440 performs a second convolution function. In some embodiments, CNN 440 performs the second convolution function in a manner similar to how CNN 440 performed the first convolution function, described above. In some embodiments, CNN 440 performs the second convolution function based on CNN 440 providing the values output by first subsampling layer 444 as input to one or more neurons (not explicitly illustrated) included in second convolution layer 446. In some embodiments, each neuron of second convolution layer 446 is associated with a filter, as described above. The filter(s) associated with second convolution layer 446 may be configured to identify more complex patterns than the filter associated with first convolution layer 442, as described above.
In some embodiments, CNN 440 performs the second convolution function based on CNN 440 multiplying the values provided as input to each of the one or more neurons included in second convolution layer 446 with the values of the filter that corresponds to each of the one or more neurons. For example, CNN 440 can multiply the values provided as input to each of the one or more neurons included in second convolution layer 446 with the values of the filter that corresponds to each of the one or more neurons to generate a single value or an array of values as an output.
In some embodiments, CNN 440 provides the outputs of each neuron of second convolutional layer 446 to neurons of a downstream layer. For example, CNN 440 can provide the outputs of each neuron of first convolutional layer 442 to corresponding neurons of a subsampling layer. In an example, CNN 440 provides the outputs of each neuron of first convolutional layer 442 to corresponding neurons of second subsampling layer 448. In some embodiments, CNN 440 adds a bias value to the aggregates of all the values provided to each neuron of the downstream layer. For example, CNN 440 adds a bias value to the aggregates of all the values provided to each neuron of second subsampling layer 448. In such an example, CNN 440 determines a final value to provide to each neuron of second subsampling layer 448 based on the aggregates of all the values provided to each neuron and an activation function associated with each neuron of second subsampling layer 448.
At step 470, CNN 440 performs a second subsampling function. For example, CNN 440 can perform a second subsampling function based on CNN 440 providing the values output by second convolution layer 446 to corresponding neurons of second subsampling layer 448. In some embodiments, CNN 440 performs the second subsampling function based on CNN 440 using an aggregation function. In an example, CNN 440 performs the first subsampling function based on CNN 440 determining the maximum input or an average input among the values provided to a given neuron, as described above. In some embodiments, CNN 440 generates an output based on CNN 440 providing the values to each neuron of second subsampling layer 448.
At step 475, CNN 440 provides the output of each neuron of second subsampling layer 448 to fully connected layers 449. For example, CNN 440 provides the output of each neuron of second subsampling layer 448 to fully connected layers 449 to cause fully connected layers 449 to generate an output. In some embodiments, fully connected layers 449 are configured to generate an output associated with a prediction (sometimes referred to as a classification). The prediction may include an indication that an object included in the image provided as input to CNN 440 includes an object, a set of objects, and/or the like. In some embodiments, perception system 402 performs one or more operations and/or provides the data associated with the prediction to a different system, described herein.
In some embodiments, distributed computing architecture 500 runs (e.g., completely, partially, and/or the like) one or more processes and/or threads for at least one of systems 402, 404, 406 and 408 of AV software 400. In some embodiments, distributed computing architecture 500 runs (e.g., completely, partially, and/or the like) one or more processes and/or threads another device or system, or another group of devices and/or systems that are separate from, or include, AV software 400. For example, distributed computing architecture 500 can be used to run (e.g., completely, partially, and/or the like) one or more processes and/or threads of remote AV system 114, vehicle 200 (e.g., autonomous system 202 of vehicle 200), in addition to one or more systems of AV software 400. In some embodiments, processes/threads may be pinned to one or more cores of one of MPSoCs of any of the above-noted systems in cooperation with one another. Distributed computing architecture 500 can also be used to run (e.g., completely, partially, and/or the like) one or more processes and/or threads for any of the tasks or computations described in reference to
In an embodiment, MPSoCs 501-1 to 501-N include multiple processor cores, optional functional units, memory blocks, timing sources to generate clock signals to control execution of SoC functions (e.g., crystal oscillators, phase-locked loops), peripherals (e.g., counters, power-on reset generators), external interfaces for communication protocols (e.g., Ethernet, USART, SPI, 12C) and an interconnect, such as a network on chip (NoC) interconnect to communicate and share data between the processor cores, optional function units and other components of the MPSoC. Processor cores can include but are not limited to: M-core Intel®, AMD®, ARM® central processing units (CPUs), Graphic Processing Units (GPUs), Neural Processing Units (NPUs), FPGAs, ASICS, chiplets comprising one or more of the previously mentioned hardware, and the like. In an embodiment, M-core CPUs can be clustered in a single package. For example, multiple quad-core or deca-core CPUs can be combined in an MPSoC to achieve the desired core count for the desired application.
In an embodiment, one or more of MPSoCs 501-1 to 501-N include on-chip cache memory that can be shared with one or more processor cores on the MPSoC using an interconnect (e.g., CCIX, CXL, silicon interposer, NoC) or processor cores on another MPSoC through cache coherent fabric 502, as described more fully in reference to
An example of cache coherent fabric 502 is Cache Coherent Interconnect for Accelerators (CCIX) described in reference to
In some embodiments, the SoCs are communicatively coupled using a cache coherent fabric shown via block arrows (interconnects) that enable hardware-based cache coherence. In some embodiments, the cache coherent fabric is Cache Coherent Interconnect for Accelerators (CCIX). An example cache coherent fabric described in reference to
Additionally, in some embodiments, the SOCs are communicatively coupled using at least one incoherent interconnect. Systems communicatively coupled using an incoherent interconnect reside in an incoherent domain. In examples, systems that transmit or receive data from caches in the incoherent domain use software management to maintain data consistency. The software management ensures that dirty data becomes visible to other systems in the incoherent domain.
Referring to
Protocol Layer 601 enables a coherency protocol, including memory read and write flows. Layer 601 provides mapping for on-chip coherency protocols such as Arm® AMBA CHI. The cache states defined in protocol layer 601 enable hardware to determine the state of memory (e.g., determine if data is unique and clean or if it is shared and dirty).
Link layer 602 is responsible for formatting traffic for a target transport. In addition, layer 602 manages port aggregation, allowing multiple ports to be aggregated together to increase bandwidth.
Transaction layers 603, 604 are responsible for handling their respective packets. For example, in some embodiment the protocol allows for the implementation of Virtual Channels allowing different data streams to travel across a single PCe link. By splitting cache coherent fabric traffic into one Virtual Channel and PCle traffic into a second Virtual Channel, both traffic can share the same link.
Data link layer 605 performs all of the normal functions of a data link layer, including but not limited to: Cyclic Redundancy Code (CRC) error checking, packet acknowledgment and timeout checking, and credit initialization and exchange.
In some embodiments, cache coherent fabric physical layer 606 is a PCle physical layer that extends the physical layer to support PCle link speeds, and provide backward support for various PCle speeds plus extended speeds.
In other embodiments, other cache coherent fabrics can be used in distributed computing architecture 500, such as Compute Express Link (CXL), or any combinations thereof, which is an open standard for high-speed central processing unit (CPU)-to-device and CPU-to-memory connections.
In an embodiment, distributed computing architecture 500 uses one or more processor cores from multiple MPSoCs to implement one or more portions of a deep learning backbone. For example, at least one core of a first MPSoC can implement data embedding/encoding functions of a neural network, at least one processor core of a second MPSoC can implement a feature extraction layer of the neural network, at least one processor core of a third MPSoC can implement upscaling/downscaling of feature vectors, at least one processor core of a fourth MPSoC can implement a pooling layer, at least one processor core of a fifth MPSoC can implement a fully connected network or prediction head, etc. An example operation implemented by at least one processor core can be, for example, multiply-and-accumulate (MAC) operations often used in machine learning algorithms. In addition to dividing up deep learning tasks among multiple MPSoCs in distributed computing architecture 500, deep learning tasks can be divided between processor cores on the same MPSoC.
Shared memory access operations can be implemented by one or more memory controllers integrated on one or more MPSoCs or one or more separate memory controllers can be included as separate chiplets in distributed computing architecture 500. Access operations to/from buffers of the MPSoCs to a shared memory location included in the MPSoCs or a separate memory can be implemented using cache coherent fabric 502, on-chip NoCs and a multithreading programming model (e.g., Open Multiprocessing (OpenMP), Open Asymmetric Multi-Processing (OpenAMP), Message Passing Interface (MPI)) or a multiprocess multidevice programming model (e.g., Open Augmentative and Alternative Communication (OpenAAC)). In an embodiment, a Partitioned Global Address Space (PGAS) programming model is used by distributed computing architecture 100, which scales across cores and clusters of MPSoCs while preserving a shared memory-like programming mode. In an embodiment, a Compute Unified Device Architecture (CUDA) is used to facilitate computing on GPUs in distributed computing architecture 100.
A blowup view of ring buffer 902 is also shown if
Process 1100 comprises: running a first process/thread, with a first core of a first MPSoC, on input data (1101); storing first data resulting from the first process/thread in shared memory using a cache coherency fabric (1102); fetching/receiving, with a second core of a second MPSoC, the first data from the shared memory (1103); running the second process/thread on the first data (1104); and optionally storing second data generated by the second process/thread in the shared memory (1105).
In an embodiment, pillar feature network 1202 converts the point cloud to a pseudo-image (e.g., a 2D image embedding (tensor) with more than three channels). A point in the point cloud with position coordinates x, y, z and reflectance r. As a first step the point cloud is discretized into an evenly spaced grid in the x-y plane, creating a set of pillars P. The points in each pillar are then augmented with x_c, y_c, z_c, x_p and y_p, where the c subscript denotes distance to the arithmetic mean of all points in the pillar P and the p subscript denotes the offset from the pillar’s x, y center. In this example, the augmented point has 9 dimensions.
In an embodiment, the augmented point is further augmented (fused) with semantic segmentation data output by an image semantic network (ISN) (not shown). The ISN takes as input an image form, for example, a video camera, and predicts a class for each pixel in the image and outputs semantic segmentation data (e.g., a semantic segmentation score) for each pixel in the image. In an embodiment, the ISN is trained using an image dataset that includes images where each image is annotated with 2D bounding boxes and segmentation labels for classes in the image dataset. An example semantic segmentation score is a probability value that indicates the probability that the class of the pixel was correctly predicted. For example, each point can be further augmented with semantic segmentation scores reduced to the classes of, for example, car, bike, pedestrian and background, resulting in an augmented point that has 13 dimensions.
Next, a simplified version of a PointNet classification network is applied to each augmented point, as described in Qi, Charles R., et al. “PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation.” ArXiv.org, 10 Apr. 2017, https://arxiv.org/abs/1612.00593.
For each point, a linear layer is applied followed by Batch-Norm and ReLU to generate a (C, P, N) sized tensor. The linear layer is followed by a max operation over the channels to create an output tensor of size (C, P). Once encoded, the features are scattered back to the original pillar locations to create a pseudo-image of size (C, H, W), where H and W indicate height and width, respectively.
Next, the pseudo-image is input in to deep learning backbone 1203. In an embodiment, backbone 803 has two sub-networks: one top-down network that produces features at increasingly small spatial resolution and a second network that performs upsampling and concatenation of the top-down features. The top-down backbone can be characterized by a series of blocks Block (S, L, F). Each block operates at stride S (measured relative to the original input pseudo-image). In the example shown, a block has L 3x3 2D convolutional layers with F output channels, each followed by BatchNorm and a ReLU. The first convolution inside the layer has stride
to ensure the block operates on stride S after receiving an input blob of stride Sin. All subsequent convolutions in a block have stride 1.
The final features from each top-down block are combined through upsampling and concatenation as follows. First, the features are upsampled, Up (Sin, Sout, F) from an initial stride Sin to a final stride Sout (both again measured with respect to the original pseudo-image) using a transposed 2D convolution with F final features. Next, BatchNorm and ReLU is applied to the upsampled features. The final output features are a concatenation of all features that originated from different strides.
In an embodiment, detection (prediction) head 1204 is implemented using a single shot detector setup to perform 3D object detection. Similar to SSD, the prior boxes are matched to a ground truth using 2D Intersection over Union (IoU).
For example, processes/threads that run in parallel may be distributed to different cores within a single MPSoC or between two or more MPSoCs in the distributed computing architecture 500. In another example, processes/threads that share data can be distributed to processor cores on the same MPSoC and utilize shared memory on that MPSoC, another MPSoC and/or off-chip memory through cache coherent fabric 502.
In another example, two or more MPSoCs can be assigned to a “cluster” to perform a specific AV compute task. In
In an embodiment, one or more clusters can be used to handle various tasks of AV software 400 including but not limited to tasks performed for localization system 406, planning system 404, perception system 402 and control system 408, as shown in
Within a particular cluster of MPSoCs, tasks can be further distributed. For example, a cluster that implements perception pipeline tasks may include a first MPSoC for object detection and classification, a second MPSoC for object localization, a third MPSoC for determining 2D or 3D bounding boxes, a fourth MPSoC for ground plane estimation, a fifth MPSoC for fusing 2D and 3D processing pipelines, and so forth.
Within each MPSoC, processor cores can be used to implement repetitive mathematical operations, such as MAC operations, vector and matrix operations, scaling operations, convolution, masking operations, coordinate transformations, time/frequency transformations, control laws, state estimators (e.g., Kalman filter prediction/correction steps) and other predictors, state machines, communication protocols, security operations, safety operations, health monitoring, log generation, teleoperation tasks, etc.
In an embodiment, machine learning tasks can be distributed to multiple MPSoCs that each include multiple NPUs. The NPUs can be used for training, inference or both training and inference. In an embodiment, NPUs perform both training and inference independently.
Open-Scale scalability can be achieved in distributed computing architecture 100 by replicating as many NPUs as required in each MPSoC. An example NPU architecture includes the following components: a CPU, separate cache memories (e.g., L1 cache) for instructions and data, respectively, an interrupt controller, a timer, a communication interface for debugging purposes (e.g., a UART), embedded memory (e.g., RAM), a network interface (e.g., a NoC interface for packet switching), a router (e.g., an XY router that allows deterministic routing) and a local bus (e.g., an OpenCores Wishbone bus).
In an embodiment, the NPU architecture includes a direct memory access (DMA) capability that includes a read engine having a read buffer and a write engine having a write buffer and a controller configured to use DMA to perform hardware pre-processing of data in the read buffer and post-processing of data in the write buffer on blocks or other data units of a data (e.g., data stripes) to, for example, process tensors (e.g., image of arbitrary number of channels) in neural networks.
To implement a distributed memory structure and to preserve the scalability of the MPSoC, each NPU can operate asynchronously and use, for example, an MPI Application Programming Interface (API) for message passing communication and to allow global decisions to be performed in a distributed manner without using global shared-memory.
In an embodiment, each NPU runs an open-scale, real-time operating system (RTOS) that performs basic RTOS services (e.g. function calls), communication services and utilizes drivers and libraries. In an embodiment, the RTOS provides multi-threaded preemptive execution using a scheduler (e.g., round robin scheduler) based on thread priorities that is executed periodically according to, for example, a fixed timeslot. In an embodiment, the RTOS kernel can include an MPI API, an exception manager, a memory manager, a task manager, a scheduler, an interrupt manager (e.g., for managing hardware interrupts), a runtime task loader (e.g., for migrating running tasks between NPUs to enable dynamic load balancing), a routing table, etc. Application tasks can communicate with the RTOS through the MPI API. Memory management can be implemented using paging, dynamic memory allocation/deallocation or any other suitable memory management process.
In an embodiment, the NPUs accelerate training task by, for example, creating new machine learning models, including but not limited to inputting training datasets (e.g., a labeled datasets) and iterating over the datasets, adjusting model weights and biases to ensure an accurate model, correcting inaccurate predictions by propagating back through the layers of the network and estimating a correction to weights in the layers until a desired accuracy is achieved.
In an embodiment, the NPUs accelerate inference operations on complete models. For example, the NPU can input new sensor data (e.g., a new camera frame), and accelerate its processing through the trained machine learning model and generate a result.
In an embodiment, one or more clusters of MPSoCs can be used to provide redundancy for various critical AV tasks to ensure continued operation in the event of a system or subsystem failure.
In an embodiment, one or more clusters of MPSoCs are assigned to different sections or zones of an AV. For example a first cluster can be assigned to front-right facing sensors, a second cluster can be assigned to front-left facing sensors, a third cluster can be assigned to right side facing sensors, a fourth cluster can be assigned to left side facing sensors and a fifth cluster can be assigned to rear-facing sensors. In an embodiment, one or more clusters can be assigned to handle safety maneuver tasks, processing occupancy grids, processing V2X communications, etc.
A first main compute cluster 1302-1 includes SoC 1303-1, volatile memory 1305-1, 1305-2, power management integrated circuit (PMIC) 1304-1 and flash boot 1311-1. A second main compute cluster 1302-2 includes SoC 1303-2, volatile memory 1306-1, 1306-2 (e.g., DRAM), PMIC 1304-2 and flash Operating System (OS) 1312-2. A third main compute cluster 1302-3 includes SoC 1303-3, volatile memory 1307-1, 1307-2, PMIC 1304-3 and flash OS memory 1312-1. A fourth main compute cluster 1302-4 includes SoC 1303-5, volatile memory 1308-1, 1308-2, PMIC 1304-5 and flash boot memory 1311-2. A fifth main compute cluster 1302-4 includes SoC 1303-4, volatile memory 1309-1, 1309-2, PMIC 1304-4 and flash boot memory 1311-3. Failover compute cluster 1302-6 includes SoC 1303-6, volatile memory 1310-1, 1310-2, PMIC 1304-6 and flash OS memory 1312-3.
Each of the SoCs 1303-1 through 1303-6 can be an MPSoC as described in reference to
In an embodiment, the PMICs 1304-1 through 1304-6 monitor relevant signals on a bus (e.g., a PCle bus), and communicate with a corresponding memory controller (e.g., memory controller in a DRAM chip) to notify the memory controller of a power mode change, such as a change from a normal mode to a low power mode or a change from the low power mode to the normal mode. In an embodiment, PMICs 1304-1 through 1304-6 also receive communication signals from their respective memory controllers that are monitoring the bus, and perform operations to prepare the memory for lower power mode. When a memory chip is ready to enter low power mode, the memory controller communicates with its respective slave PMIC to instruct the slave PMIC to initiate the lower power mode.
In an embodiment, sensor mux 1301 receives and multiplexes sensor data (e.g., video data, LiDAR point clouds, RADAR data) from a sensor bus through a sensor interface 1313, which in some embodiments is a low voltage differential signaling (LVDS) interface. In an embodiment, sensor mux 1301 steers a copy of the video data channels (e.g., Mobile Industry Processor Interface (MIPl®) camera serial interface (CSI) channels), which are sent to failover cluster 1302-6. Failover cluster 1302-6 provides backup to the main compute clusters using video data to operate the AV, during a failover 1314, such as when one or more main compute clusters 1302-1 fail. In some such cases, failover cluster 1302-6 can issue commands 1316 to the vehicle 1303.
Compute unit 1300 is one example of a high-performance compute unit for autonomous robotic systems, such as AV computes, and other embodiments can include more or fewer clusters, and each cluster can have more or fewer SoCs, volatile memory chips, non-volatile memory chips, NPUs, GPUs, and Ethernet switches/transceivers.
In the foregoing description, aspects and embodiments of the present disclosure have been described with reference to numerous specific details that can vary from implementation to implementation. Accordingly, the description and drawings are to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. In addition, when we use the term “further comprising,” in the foregoing description or following claims, what follows this phrase can be an additional step or entity, or a sub-step/sub-entity of a previously-recited step or entity
This application claims priority to U.S. Provisional Pat. Application No. 63/335,102, filed Apr. 26, 2022, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63335102 | Apr 2022 | US |