US20200326967A1 - Operating system modality switching in an autonomous vehicle - Google Patents
Operating system modality switching in an autonomous vehicle Download PDFInfo
- Publication number
- US20200326967A1 US20200326967A1 US16/382,425 US201916382425A US2020326967A1 US 20200326967 A1 US20200326967 A1 US 20200326967A1 US 201916382425 A US201916382425 A US 201916382425A US 2020326967 A1 US2020326967 A1 US 2020326967A1
- Authority
- US
- United States
- Prior art keywords
- operating system
- autonomous vehicle
- virtual machine
- hypervisor
- execution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 230000008859 change Effects 0.000 claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims description 98
- 230000008569 process Effects 0.000 claims description 70
- 230000006870 function Effects 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012517 data analytics Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 81
- 239000004744 fabric Substances 0.000 description 39
- 238000004891 communication Methods 0.000 description 24
- 238000003860 storage Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 14
- 238000013480 data collection Methods 0.000 description 13
- 230000007613 environmental effect Effects 0.000 description 8
- 230000037361 pathway Effects 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
- G05D1/0088—Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D2201/00—Application
- G05D2201/02—Control of position of land vehicles
- G05D2201/0213—Road vehicle, e.g. car or truck
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Definitions
- the field of the invention is data processing, or, more specifically, methods, apparatus, autonomous vehicles, and products for operating system modality switching in an autonomous vehicle.
- Autonomous vehicles may implement a variety of processes to perform autonomous driving functionality or data processing functionality. These processes may be facilitated by various operating systems.
- An autonomous vehicle for operating system modality switching may include an apparatus configured to perform steps comprising: executing, by a hypervisor, a first virtual machine comprising a first operating system; detecting a change in the state of the autonomous vehicle; revoking, by the hypervisor, in response to the change in the state of the autonomous vehicle, one or more resources associated with the execution of the first virtual machine; and executing, by the hypervisor, a second virtual machine comprising a second operating system.
- FIG. 1 shows example views of an autonomous vehicle for operating system modality switching.
- FIG. 2 is block diagram of an autonomous computing system for operating system modality switching.
- FIG. 3 is a block diagram of a redundant power fabric for an autonomous vehicle for operating system modality switching.
- FIG. 4 is a block diagram of a redundant data fabric for an autonomous vehicle for operating system modality switching.
- FIG. 5 is an example view of process allocation across CPU packages for an autonomous vehicle for operating system modality switching.
- FIG. 6 is a flowchart for an example method for an autonomous vehicle for operating system modality switching.
- FIG. 7 is a flowchart for an example method for an autonomous vehicle for operating system modality switching.
- FIG. 8 is a flowchart for an example method for an autonomous vehicle for operating system modality switching.
- FIG. 1 shows multiple views of an autonomous vehicle 100 configured to carry out operating system modality switching in accordance with some embodiments of the present disclosure.
- Right side view 101 a shows a right side of the autonomous vehicle 100 , where sensors 102 and 103 are mounted on or otherwise affixed to the right side of the autonomous vehicle 100 .
- the sensors 102 and 103 that are mounted on or otherwise affixed to the autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of the autonomous vehicle 100 from the perspective of the right side of the autonomous vehicle 100 .
- Front view 101 b shows a front side of the autonomous vehicle 100 , where sensors 104 and 106 are mounted on or otherwise affixed to the front side of the autonomous vehicle 100 .
- the sensors 104 and 106 that are mounted on or otherwise affixed to the front side of the autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of the autonomous vehicle 100 from the perspective of the front side of the autonomous vehicle 100 .
- Rear view 101 c shows a rear side of the autonomous vehicle 100 , where sensors 108 and 110 are mounted on or otherwise affixed to the rear side of the autonomous vehicle 100 .
- the sensors 108 and 110 that are mounted on or otherwise affixed to the rear side of the autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of the autonomous vehicle 100 from the perspective of the rear side of the autonomous vehicle 100 .
- Top view 101 d shows an overhead view of the autonomous vehicle 100 .
- sensors 102 - 110 as illustrated in previous views, as well as sensors 112 and 114 that are mounted on or otherwise affixed to the left side of the autonomous vehicle 100 .
- the sensors 112 and 114 that are mounted on or otherwise affixed to the left side of the autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of the autonomous vehicle 100 from the perspective of the left side of the autonomous vehicle 100 .
- Readers will appreciate that the placement of the sensors 102 - 114 is merely for illustrative purposes and in no way represents a limitation on the arrangement of sensors, the manner in which the sensors are attached to the autonomous vehicle 100 , and so on.
- the automation computing system 116 can include one or more computing devices configured to evaluate the environmental state of the autonomous vehicle 100 , control one or more autonomous operations (e.g., autonomous driving operations) of the autonomous vehicle 100 in coordination with other components of the autonomous vehicle 100 , and perform other tasks as will be explained in greater detail below.
- the one or more computing devices may be configured to control one or more autonomous operations of the autonomous vehicle 100 through the use of one or more modules of computer program instructions that are executing on one or more of the computing devices.
- the automation computing system 116 may be configured to process sensor data (e.g., data from the sensors 102 - 114 and potentially other sensors), operational data (e.g., a speed, acceleration, gear, orientation, turning direction), and other data to determine an operational state and/or operational history of the autonomous vehicle.
- the automation computing system 116 may then determine one or more operational commands for the autonomous vehicle (e.g., a change in speed or acceleration, a change in brake application, a change in gear, a change in turning or orientation, etc.) that may be effected via coordination between the automation computing system 116 and other components within the autonomous vehicle 100 .
- the automation computing system 116 may be coupled, directly or indirectly, for data communications with a device that can control the operation of a steering system within the autonomous vehicle 100 .
- the automation computing system 116 may issue one or more commands to the device that can control the operation of the steering system within the autonomous vehicle 100 , thereby causing the device that can control the operation of a steering system within the autonomous vehicle 100 to change the direction of the autonomous vehicle by manipulating the steering system within the autonomous vehicle 100 .
- the automation computing system 116 may also capture and store sensor data. Operational data of the autonomous vehicle may also be stored in association with corresponding sensor data, thereby indicating the operational data of the autonomous vehicle 100 at the time the sensor data was captured.
- autonomous vehicle 100 of FIG. 1 is shown as car, it is understood that autonomous vehicles 100 in accordance with embodiments of the present disclosure may also include other vehicles, including motorcycles, planes, helicopters, unmanned aerial vehicles (UAVs, e.g., drones), or other vehicles as can be appreciated. Moreover, it is understood that additional sensors or other external sensors may also be included in the autonomous vehicle 100 .
- UAVs unmanned aerial vehicles
- FIG. 2 sets forth a block diagram of automated computing machinery comprising an exemplary automation computing system 116 according to some embodiments of the present disclosure.
- the automation computing system 116 of FIG. 2 includes at least one computer Central Processing Unit (CPU′) package 204 as well as random access memory 206 (RAM′) which is connected through a data communications link (e.g., a bus) to the CPU packages 204 and to other components of the automation computing system 116 .
- CPU′ Central Processing Unit
- RAM′ random access memory
- a CPU package 204 may comprise a plurality of processing units.
- each CPU package 204 may comprise a logical or physical grouping of a plurality of processing units.
- Each processing unit may be allocated a particular process for execution.
- each CPU package 204 may comprise one or more redundant processing units.
- a redundant processing unit is a processing unit not allocated a particular process for execution unless a failure occurs in another processing unit. For example, when a given processing unit allocated a particular process fails, a redundant processing unit may be selected and allocated the given process.
- a process may be allocated to a plurality of processing units within the same CPU package 204 or different CPU packages 204 . For example, a given process may be allocated to a primary processing unit in a CPU package 204 .
- the results or output of the given process may be output from the primary processing unit to a receiving process or service.
- the given process may also be executed in parallel on a secondary processing unit.
- the secondary processing unit may be included within the same CPU package 204 or a different CPU package 204 .
- the secondary processing unit may not provide its output or results of the process until the primary processing unit fails.
- the receiving process or service may then receive data from the secondary processing unit and a redundant processing unit may then be selected and have allocated the given process to ensure that two or more processing units are allocated the given process for redundancy and increased reliability.
- the CPU packages 204 are communicatively coupled to one or more sensors 212 .
- the sensors 212 may be configured to capture sensor data describing the operational and environmental conditions of an autonomous vehicle.
- the sensors 212 may include sensors (e.g., the sensors 102 - 114 of FIG. 1 ), accelerometers, Global Positioning System (GPS) radios, Lidar sensors, or other sensors as can be appreciated.
- GPS Global Positioning System
- the sensors 212 are shown as being external to the automation computing system 116 , it is understood that one or more of the sensors 212 may reside as a component of the automation computing system 212 (e.g., on the same board, within the same housing or chassis).
- the sensors 212 may be communicatively coupled with the CPU packages 204 via a switched fabric 213 .
- the switched fabric 213 comprises a communications topology through which the CPU packages 204 and sensors 212 are coupled via a plurality of switching mechanisms (e.g., latches, switches, crossbar switches, field programmable gate arrays (FPGAs), etc.).
- the switched fabric 213 may implement a mesh connection connecting the CPU packages 204 and sensors 212 as endpoints, with the switching mechanisms serving as intermediary nodes of the mesh connection.
- the CPU packages 204 and sensors 212 may be in communication via a plurality of switched fabrics 213 .
- each of the switched fabrics 213 may include the CPU packages 204 and sensors 212 , or a subset of the CPU packages 204 and sensors 212 , as endpoints.
- Each switched fabric 213 may also comprise a respective plurality of switching components.
- the switching components of a given switched fabric 213 may be independent (e.g., not connected) of the switching components of other switched fabrics 213 such that only switched fabric 213 endpoints (e.g., the CPU packages 204 and sensors 212 ) are overlapping across the switched fabrics 213 .
- This provides redundancy such that, should a connection between a CPU package 204 and sensor 212 fail in one switched fabric 213 , the CPU package 204 and sensor 212 may remain connected via another switched fabric 213 .
- a communications path excluding the failed component and including a functional redundant component may be established.
- the CPU packages 204 and sensors 212 are configured to receive power from one or more power supplies 215 .
- the power supplies 215 may comprise an extension of a power system of the autonomous vehicle 100 or an independent power source (e.g., a battery).
- the power supplies 215 may supply power to the CPU packages 204 and sensors 212 by another switched fabric 214 .
- the switched fabric 214 provides redundant power pathways such that, in the event of a failure in a power connection, a new power connection pathway may be established to the CPU packages 204 and sensors 214 .
- the automation module 220 may be configured to process sensor data from the sensors 212 to determine one or more operational commands for an autonomous vehicle 100 to affect the movement, direction, or other function of the autonomous vehicle 100 , thereby facilitating autonomous driving or operation of the vehicle.
- Such operational commands may include a change in the speed of the autonomous vehicle 100 , a change in steering direction, a change in gear, or other command as can be appreciated.
- the automation module 220 may provide sensor data and/or processed sensor data as one or more inputs to a trained machine learning model (e.g., a trained neural network) to determine the one or more operational commands.
- the operational commands may then be communicated to autonomous vehicle control systems 223 via a vehicle interface 222 .
- the autonomous vehicle control systems 223 are configured to affect the movement and operation of the autonomous vehicle 100 .
- the autonomous vehicle control systems 223 may turn or otherwise change the direction of the autonomous vehicle 100 , accelerate or decelerate the autonomous vehicle 100 , change a gear of the autonomous vehicle 100 , or otherwise affect the movement and operation of the autonomous vehicle 100 .
- a data collection module 224 configured to process and/or store sensor data received from the one or more sensors 212 .
- the data collection module 224 may store the sensor data as captured by the one or more sensors 212 , or processed sensor data 212 (e.g., sensor data 212 having object recognition, compression, depth filtering, or other processes applied). Such processing may be performed by the data collection module 224 in real-time or in substantially real-time as the sensor data is captured by the one or more sensors 212 .
- the processed sensor data may then be used by other functions or modules.
- the automation module 220 may use processed sensor data as input to determine one or more operational commands.
- the data collection module 224 may store the sensor data in data storage 218 .
- the data processing module 226 is configured to perform one or more processes on stored sensor data (e.g., stored in data storage 218 by the data collection module 218 ) prior to upload to a server 227 . Such operations can include filtering, compression, encoding, decoding, or other operations as can be appreciated. The data processing module 226 may then communicate the processed and stored sensor data to the server 227 . Readers will appreciate that although the embodiment depicted in FIG.
- the data processing module 226 communicates the processed and stored sensor data to the server 227
- the data processing module 226 may communicate with other types of environments such a cloud computing environment, data warehouse, or any other endpoint that may receive data from the autonomous vehicle 100 .
- the hypervisor 228 is configured to manage the configuration and execution of one or more virtual machines 229 .
- each virtual machine 229 may emulate and/or simulate the operation of a computer.
- each virtual machine 229 may comprise a guest operating system 216 for the simulated computer.
- the hypervisor 228 may manage the creation of a virtual machine 229 including installation of the guest operating system 216 .
- the hypervisor 228 may also manage when execution of a virtual machine 229 begins, is suspended, is resumed, or is terminated.
- the hypervisor 228 may also control access to computational resources (e.g., processing resources, memory resources, device resources) by each of the virtual machines.
- Each of the virtual machines 229 may be configured to execute one or more of the automation module 220 , the data collection module 224 , the data processing module 226 , or combinations thereof. Moreover, as is set forth above, each of the virtual machines 229 may comprise its own guest operating system 216 .
- Guest operating systems 216 useful in autonomous vehicles in accordance with some embodiments of the present disclosure include UNIXTM, LinuxTM, Microsoft WindowsTM, AIXTM, IBM's i OSTM, and others as will occur to those of skill in the art.
- the autonomous vehicle 100 may be configured to execute a first operating system when the autonomous vehicle is in an autonomous (or even partially autonomous) driving mode and the autonomous vehicle 100 may be configured to execute a second operating system when the autonomous vehicle is not in an autonomous (or even partially autonomous) driving mode.
- the first operating system may be formally verified, secure, and operate in real-time such that data collected from the sensors 212 are processed within a predetermined period of time, and autonomous driving operations are performed within a predetermined period of time, such that data is processed and acted upon essentially in real-time.
- the second operating system may not be formally verified, may be less secure, and may not operate in real-time as the tasks that are carried out (which are described in greater detail below) by the second operating system are not as time-sensitive the tasks (e.g., carrying out self-driving operations) performed by the first operating system.
- the autonomous vehicle 100 may be configured to execute a first operating system when the autonomous vehicle is in an autonomous (or even partially autonomous) driving mode and the autonomous vehicle 100 may be configured to execute a second operating system when the autonomous vehicle is not in an autonomous (or even partially autonomous) driving mode
- one CPU or other appropriate entity such as a chip, CPU core, and so on
- a second CPU or other appropriate entity
- processing resources such as a CPU may be partitioned where a first partition supports the execution of the first operating system and a second partition supports the execution of the second operating system.
- the guest operating systems 216 may correspond to a particular operating system modality.
- An operating system modality is a set of parameters or constraints which a given operating system satisfies, and are not satisfied by operating systems of another modality.
- a given operating system may be considered a “real-time operating system” in that one or more processes executed by the operating system must be performed according to one or more time constraints.
- the automation module 220 must make determinations as to operational commands to facilitate autonomous operation of a vehicle. Accordingly, the automation module 220 must make such determinations within one or more time constraints in order for autonomous operation to be performed in real time.
- the automation module 220 may then be executed in an operating system (e.g., a guest operating system of a virtual machine 229 ) corresponding to a “real-time operating system” modality.
- the data processing module 226 may be able to perform its processing of sensor data independent of any time constrains, and may then be executed in an operating system (e.g., a guest operating system 216 of a virtual machine 229 ) corresponding to a “non-real-time operating system” modality.
- an operating system may comprise a formally verified operating system.
- a formally verified operating system is an operating system for which the correctness of each function and operation has been verified with respect to a formal specification according to formal proofs.
- a formally verified operating system and an unverified operating system can be said to operate in different modalities.
- the automation module 220 , data collection module 224 , data collection module 224 , data processing module 226 , hypervisor 228 , and virtual machine 229 in the example of FIG. 2 are shown in RAM 206 , but many components of such software typically are stored in non-volatile memory also, such as, for example, on data storage 218 , such as flash storage. Moreover, any of the automation module 220 , data collection module 224 , and data processing module 226 may be executed in a virtual machine 229 and facilitated by a guest operating system 216 of that virtual machine 229 .
- the exemplary automation computing system 116 of FIG. 2 includes a communications adapter 238 for data communications with other computers and for data communications with a data communications network. Such data communications may be carried out through data communications networks such as IP data communications networks, and in other ways as will occur to those of skill in the art.
- Communications adapters implement the hardware level of data communications through which one computer sends data communications to another computer, directly or through a data communications network. Examples of communications adapters useful in autonomous vehicle according to some embodiments of the present disclosure include 802.11 adapters for wireless data communications, mobile adapters (e.g., 4G communications adapters, LTE communications adapters, 5G communications adapters) for mobile data communications, and others.
- the automation computing system 116 may communicate with one or more remotely disposed servers 227 , or other communications endpoint as described above, via the communications adapter 238 .
- the exemplary automation computing system of FIG. 2 also includes one or more Artificial Intelligence (AI) accelerators 240 .
- the AI accelerator 240 provides hardware-based assistance and acceleration of AI-related functions, including machine learning, computer vision, etc. Accordingly, performance of any of the automation module 220 , data collection module 224 , data processing module 226 , or other operations of the automation computing system 116 may be performed at least in part by the AI accelerators 240 .
- the exemplary automation computing system of FIG. 2 also includes one or more graphics processing units (GPUs) 242 .
- the GPUs 242 are configured to provide additional processing and memory resources for processing image and/or video data, including encoding, decoding, etc. Accordingly, performance of any of the automation module 220 , data collection module 224 , data processing module 226 , or other operations of the automation computing system 116 may be performed at least in part by the GPUs 242 .
- FIG. 3 shows an example redundant power fabric for an autonomous vehicle having a redundant processor fabric.
- the redundant power fabric provides redundant pathways for power transfer between the power supplies 215 , the sensors 212 , the CPU packages 204 , and may also be used for power transfer to other components not explicitly depicted in FIG. 3 .
- the power supplies 215 are coupled to the sensors 212 and CPU packages via two switched fabrics 214 a and 214 b , although additional redundant resources may be incorporated in accordance with other embodiments of the present disclosure.
- the topology shown in FIG. 3 provides redundant pathways between the power supplies 215 , the sensors 212 , and the CPU packages 204 such that power can be rerouted through any of multiple pathways in the event of a failure in an active connection pathway.
- the switched fabrics 214 a and 214 b may provide power to the sensors 212 using various connections, including Mobile Industry Processor Interface (MIPI), Inter-Integrated Circuit (I2C), Universal Serial Bus (USB), or another connection.
- the switched fabrics 214 a and 214 b may also provide power to the CPU packages 204 using various connections, including Peripheral Component Interconnect Express (PCIe), USB, or other connections.
- PCIe Peripheral Component Interconnect Express
- FIG. 4 is an example redundant data fabric for an autonomous vehicle having a redundant processor fabric.
- the redundant data fabric provides redundant data connection pathways between sensors 212 and CPU packages 204 , and may also provide redundant data connection pathways between other components not explicitly depicted in FIG. 4 .
- three CPU packages 204 a , 204 b , and 204 c are connected to three sensors 212 a , 212 b , and 212 c via three switched fabrics 213 a , 213 b , and 213 c .
- Each CPU package 204 a , 204 b , and 204 c is connected to a subset of the switched fabrics 213 a , 213 b , and 213 c .
- CPU package 204 a is connected to switched fabrics 213 a and 213 c
- CPU package 204 b is connected to switched fabrics 213 a and 213 b
- CPU package 204 c is connected to switched fabrics 213 b and 213 c .
- Each switched fabric 213 a , 213 b , and 213 c is connected to a subset of the sensors 212 a , 212 b , and 212 c .
- switched fabric 213 a is connected to sensors 212 a and 212 b
- switched fabric 213 b is connected to sensor 212 b and 212 c
- switched fabric 213 c is connected to sensors 212 a and 212 c .
- each CPU package 204 a , 204 b , and 204 c has an available connection path to any sensor 212 a , 212 b , and 212 c . It is understood that the topology of FIG. 4 is exemplary, and that CPU packages, switched fabrics, sensors, or connections between components may be added or removed while maintaining redundancy as can be appreciated by one skilled in the art.
- FIG. 5 is an example view of process allocation across CPU packages for a redundant processing fabric in an autonomous vehicle. Shown are three CPU packages 204 a , 204 b , and 204 c . Each CPU package 204 a includes a processing unit that has been allocated (e.g., by a hypervisor 228 or other process or service) primary execution of a process and another processing unit that has been allocated secondary execution of a process. As set forth herein, primary execution of a process describes an executing instance of a process whose output will be provided to another process or service. Secondary execution of the process describes executing an instance of the process in parallel to the primary execution, but the output may not be output to the other process or service.
- processing unit 502 a has been allocated secondary execution of “process B,” denoted as secondary process B 504 b
- processing unit 502 b has been allocated primary execution of “process C,” denoted as primary process C 506 a.
- CPU package 204 a also comprises two redundant processing units that are not actively executing a process A, B, or C, but are instead reserved in case of failure of an active processing unit.
- Redundant processing unit 508 a has been reserved as “AB redundant,” indicating that reserved processing unit 508 a may be allocated primary or secondary execution of processes A or B in the event of a failure of a processing unit allocated the primary or secondary execution of these processes.
- Redundant processing unit 508 b has been reserved as “A/C redundant,” indicating that reserved processing unit 508 b may be allocated primary or secondary execution of processes A or C in the event of a failure of a processing unit allocated the primary or secondary execution of these processes.
- CPU package 204 b includes processing unit 502 c , which has been allocated primary execution of “process A,” denoted as primary process A 510 a , and processing unit 502 d , which has been allocated secondary execution of “process C,” denoted as secondary process C 506 a .
- CPU package 204 b also includes redundant processing unit 508 c , reserved as “AB redundant,” and redundant processing unit 508 d , reserved as “B/C redundant.”
- CPU package 204 c includes processing unit 502 e , which has been allocated primary execution of “process B,” denoted as primary process B 504 a , and processing unit 502 f , which has been allocated secondary execution of “process A,” denoted as secondary process A 510 a .
- CPU package 204 c also includes redundant processing unit 508 e , reserved as “B/C redundant,” and redundant processing unit 508 f , reserved as “A/C redundant.”
- primary and secondary instances of processes A, B, and C are each executed in an allocated processing unit.
- the processing unit performing secondary execution may instead provide output of the given process to a receiving process or service.
- the primary and secondary execution of a given process are executed on different CPU packages.
- execution of each of the processes can continue using one or more processing units handling secondary execution.
- the redundant processing units 508 a - f allow for allocation of primary or secondary execution of a process in the event of processing unit failure. This further prevents errors caused by processing unit failure as parallel primary and secondary execution of a process may be restored.
- the number of CPU packages, processing units, redundant processing units, and processes may be modified according to performance requirements while maintaining redundancy.
- FIG. 6 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602 , by a hypervisor 610 , a first virtual machine 612 comprising a first operating system 616 (e.g., executing a first guest operating system 216 ).
- the first operating system 616 may correspond to a first modality.
- the first operating system 616 may be of a real-time modality in that one or more processes executed by the first operating system 616 must be performed according to one or more time constraints.
- the first operating system 616 may execute, for example, one or more processes associated with the data collection module 224 in order to process a stream of sensor data from the sensors 212 where the stream of sensor data may need to be processed in substantially real-time (e.g., under one or more time constraints).
- the first operating system 616 may also execute one or more processes associated with the automation module 220 in order to make determinations as to operational commands to facilitate autonomous operation of the autonomous vehicle 100 (e.g., based on sensor data processed by the data collection module 224 ).
- Such determinations must be made in substantially real-time (e.g., under the one or more time constraints) such that the determined operational commands are based on the most recently detected environmental state and/or operational state of the autonomous vehicle 100 , as well as the most recent histories of such environmental states and/or operational states.
- the first operating system 616 may comprise a formally verified modality (e.g., the first operating system comprises a formally verified operating system).
- a first operating system 616 in a formally verified modality is an operating system that has undergone formal verification with respect to a specification using formal proofs.
- a formally verified operating system may be used to conform with a particular industry standard or to receive a particular industry certification.
- Executing 602 , by the hypervisor 610 , the first virtual machine 612 comprising the first operating system 616 may be performed as part of a start-up or boot-up operation of the autonomous vehicle 100 .
- the first virtual machine 612 may be instantiated and executed as one of a plurality of virtual machines, with the virtual machines other that the first virtual machine 612 being suspended or frozen after initialization.
- the hypervisor may execute 602 the first virtual machine 612 comprising the first operating system 616 in response to some other triggering event.
- the example method depicted in FIG. 6 also includes detecting 604 a change in the state of the autonomous vehicle 100 .
- a change in the state of the autonomous vehicle 100 may include, for example, a change in the operational state of the autonomous vehicle.
- a change in the operational state of the autonomous vehicle 100 may include, for example, entering or exiting an autonomous driving mode, a potentially autonomous driving mode (e.g., a user-operated driving mode where the autonomous vehicle 100 is capable of entering an autonomous driving mode), a stationary mode (e.g., a parked mode), or some other mode.
- a change in the state of the autonomous vehicle may be initiated by a request, a user command, a remote command to perform a change in the operational state of the autonomous vehicle (e.g., entering or exiting an autonomous driving mode, a potentially autonomous driving mode, or a stationary mode), or in other ways.
- a change in the state of the autonomous vehicle 100 may also be initiated by receiving a command disabling one or more functions of the autonomous vehicle 100 .
- a command disabling autonomous driving functions of the autonomous vehicle 100 may be received such that autonomous driving functions are disabled until the occurrence of some event (e.g., a software update is completed, a firmware update is completed, a hardware update is completed, a hardware replacement is completed, a user issues a request to re-enable autonomous driving functions, and many others).
- some event e.g., a software update is completed, a firmware update is completed, a hardware update is completed, a hardware replacement is completed, a user issues a request to re-enable autonomous driving functions, and many others).
- the hypervisor 610 may detect the change in the state of the autonomous vehicle 100 in response to a message or signal indicating the change in the state of the autonomous vehicle 100 .
- the first operating system 616 of the first virtual machine 612 or another process or service can indicate, to the hypervisor 610 , the change in the state of the autonomous vehicle 100 .
- the method of FIG. 6 may further include revoking 606 , by the hypervisor 610 , in response to the change in the state of the autonomous vehicle 100 , one or more resources associated with the execution of the first virtual machine 612 .
- the hypervisor 610 may suspend execution of the first virtual machine 612 such that any suspended processes or operation may be resumed from a point at which they were paused by the hypervisor 610 .
- the hypervisor 610 may pause execution of the first virtual machine 612 .
- the hypervisor 610 may also terminate execution of the first virtual machine 612 . This may include terminating any processes or services executed via the first virtual machine 612 and/or freeing any disk space or memory allocated to the first virtual machine 612 . This may also include revoking one or more memory resources, processor resources, or device resources allocated to the first virtual machine 612 .
- the method of FIG. 6 may further include executing 608 , by the hypervisor 610 , a second virtual machine 614 comprising a second operating system 618 .
- Executing the second virtual machine 614 may include initializing the second virtual machine 614 .
- the hypervisor 610 may allocate memory and/or begin one or more processes associated with the second virtual machine 614 and/or the second operating system 618 .
- Executing the second virtual machine 614 may also comprise resuming a suspended or paused instance of the second virtual machine 614 .
- the second virtual machine 614 may comprise a second operating system 618 (e.g., guest operating system 216 ) of a second modality different from the first modality.
- the second modality may comprise a non-real-time modality, where the second operating system 618 functions independent of the one or more time constraints of the real-time modality.
- the second operating system 618 may perform one or more processes associated with a data processing module 226 .
- the second operating system may facilitate the filtering, processing, transformation, storage, or uploading of data. Such operations need not necessarily be performed real-time.
- the second operating system 618 may operate in an unverified modality.
- the second operating system 618 is an operating system that has not undergone formal verification.
- the second operating system 618 may implement network access, internet access, third-party applications, or other functionality that would be too resource intensive to undergo formal verification.
- the second operating system 618 of the second virtual machine 614 may be of a second modality relative to the first modality of the first operating system of the first virtual machine 612 .
- the second virtual machine 614 may include a second operating system 618 of a non-real-time modality.
- the first virtual machine 612 may comprise a first operating system 616 of a verified modality
- the second virtual machine 614 may comprise a second operating system 618 of a non-verified modality.
- FIG. 7 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602 , by a hypervisor 610 , a first virtual machine 612 comprising a first operating system 616 ; detecting 604 a change in the state of the autonomous vehicle 100 ; revoking 606 , by the hypervisor 610 , in response to the change of the autonomous vehicle 100 , one or more resources associated with the execution of the first virtual machine 612 ; and executing, by the hypervisor 610 , a second virtual machine 614 comprising a second operating system 618 .
- FIG. 7 differs from FIG. 6 in that the method of FIG. 7 further comprises determining 702 , in response to detecting the change in the state of the autonomous vehicle 100 , whether a predefined condition is satisfied, thereby deferring ending execution of the first virtual machine 612 and beginning execution of the second virtual machine 614 until the predefined condition is satisfied.
- the hypervisor 610 may defer ending execution of the first virtual machine 612 until a process or service executed in the first virtual machine 612 has completed execution.
- the hypervisor 610 may defer ending execution of the first virtual machine 612 until a command (e.g., a user input command, a remote command received via a network) confirming ending execution of the virtual machine 612 is received.
- the method of FIG. 7 may continue revoking 606 , by the hypervisor, one or more resources associated with the execution of the first virtual machine 612 .
- detecting 604 the change in the state of the autonomous vehicle can include receiving 704 a command to disable one or more functions of the autonomous vehicle.
- Receiving 704 a command to disable one or more functions of the autonomous vehicle may be carried out, for example, through the use of a user interface (e.g., a touchscreen display, a button, and so on) that enables the user to indicate that they would like to disable one or more functions of the autonomous vehicle.
- receiving 704 a command to disable one or more functions of the autonomous vehicle may be carried out by inferring that the user would like to disable one or more functions of the autonomous vehicle in response to some action taken by the user.
- a user manipulating the positioning of a steering wheel on the autonomous vehicle may be inferred as a command to disable one or more functions of the autonomous vehicle.
- the user pressing on a brake pedal, pressing on a gas pedal, or performing some other action may be inferred to be an indication that the user would like to disable one or more functions of the autonomous vehicle.
- detecting 604 the change in the state of the autonomous vehicle can alternatively include detecting 706 that the autonomous vehicle has entered one or more of: an autonomous driving mode, a potentially autonomous driving mode, or a stationary mode, as described in greater detail above.
- FIG. 8 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602 , by a hypervisor 610 , a first virtual machine 612 comprising a first operating system 616 ; detecting 604 a change in the state of the autonomous vehicle 100 ; revoking 606 , by the hypervisor 610 , in response to the change of the autonomous vehicle 100 , one or more resources associated with the execution of the first virtual machine 612 ; and executing, by the hypervisor 610 , a second virtual machine 614 comprising a second operating system 618 .
- FIG. 8 differs from FIG. 6 in that the method of FIG. 8 further comprises detecting 802 another change in the state of the autonomous vehicle 100 ; revoking 804 , by the hypervisor 610 , in response to the other change in the autonomous vehicle 100 , one or more resources associated with execution of the second virtual machine 614 ; and executing 806 , by the hypervisor 610 , a third virtual machine 808 comprising a third operating system 810 .
- the third operating system 810 may comprise a third modality different from the first operating system 616 or the second operating system 618 .
- the hypervisor 610 may alternate between execution of a first virtual machine 612 and a second virtual machine 614 (e.g., first and second operating system modalities), or more than two virtual machines 612 , 614 , 808 .
- any of the methods described above may be carried out, for example, by one or more modules of computer program instructions executing on computer hardware such as a CPU, a GPU, and so on.
- the one or more modules of computer program instructions that are executing on computer hardware may be included in an apparatus such as a special purpose computing device, a server or other general purpose computing device, or in some other way.
- an apparatus such as a special purpose computing device, a server or other general purpose computing device, or in some other way.
- Such an apparatus may reside inside the autonomous vehicle itself such that the autonomous vehicle itself may perform the steps described above.
- the one or more modules of computer program instructions that are executing on computer hardware to carry out the steps described above may be external to the autonomous vehicle, in whole or in part.
- Exemplary embodiments of the present invention are described largely in the context of a fully functional computer system for operating system modality switching in an autonomous vehicle. Readers of skill in the art will recognize, however, that the present invention also may be embodied in a computer program product disposed upon computer readable storage media for use with any suitable data processing system.
- Such computer readable storage media may be any storage medium for machine-readable information, including magnetic media, optical media, or other suitable media. Examples of such media include magnetic disks in hard drives or diskettes, compact disks for optical drives, magnetic tape, and others as will occur to those of skill in the art.
- Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a computer program product. Persons skilled in the art will recognize also that, although some of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.
- the present invention may be a system, a method, and/or a computer program product.
- the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or Flash memory erasable programmable read-only memory
- SRAM static random access memory
- CD-ROM compact disc read-only memory
- DVD digital versatile disk
- memory stick a floppy disk
- a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
- a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
- the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures.
- two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- any of the functionality or approaches set forth herein may be facilitated at least in part by artificial intelligence applications, including machine learning applications, big data analytics applications, deep learning, and other techniques.
- Applications of such techniques may include: machine and vehicular object detection, identification and avoidance; visual recognition, classification and tagging; algorithmic financial trading strategy performance management; simultaneous localization and mapping; predictive maintenance of high-value machinery; prevention against cyber security threats, expertise automation; image recognition and classification; question answering; robotics; text analytics (extraction, classification) and text generation and translation; and many others.
Abstract
Description
- The field of the invention is data processing, or, more specifically, methods, apparatus, autonomous vehicles, and products for operating system modality switching in an autonomous vehicle.
- Autonomous vehicles may implement a variety of processes to perform autonomous driving functionality or data processing functionality. These processes may be facilitated by various operating systems.
- An autonomous vehicle for operating system modality switching may include an apparatus configured to perform steps comprising: executing, by a hypervisor, a first virtual machine comprising a first operating system; detecting a change in the state of the autonomous vehicle; revoking, by the hypervisor, in response to the change in the state of the autonomous vehicle, one or more resources associated with the execution of the first virtual machine; and executing, by the hypervisor, a second virtual machine comprising a second operating system.
- The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.
-
FIG. 1 shows example views of an autonomous vehicle for operating system modality switching. -
FIG. 2 is block diagram of an autonomous computing system for operating system modality switching. -
FIG. 3 is a block diagram of a redundant power fabric for an autonomous vehicle for operating system modality switching. -
FIG. 4 is a block diagram of a redundant data fabric for an autonomous vehicle for operating system modality switching. -
FIG. 5 is an example view of process allocation across CPU packages for an autonomous vehicle for operating system modality switching. -
FIG. 6 is a flowchart for an example method for an autonomous vehicle for operating system modality switching. -
FIG. 7 is a flowchart for an example method for an autonomous vehicle for operating system modality switching. -
FIG. 8 is a flowchart for an example method for an autonomous vehicle for operating system modality switching. - Example methods, apparatus, autonomous vehicles, and products for operating system modality switching in an autonomous vehicle are described with reference to the accompanying drawings, beginning with
FIG. 1 .FIG. 1 shows multiple views of anautonomous vehicle 100 configured to carry out operating system modality switching in accordance with some embodiments of the present disclosure.Right side view 101 a shows a right side of theautonomous vehicle 100, wheresensors autonomous vehicle 100. Thesensors autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of theautonomous vehicle 100 from the perspective of the right side of theautonomous vehicle 100. -
Front view 101 b shows a front side of theautonomous vehicle 100, wheresensors autonomous vehicle 100. Thesensors autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of theautonomous vehicle 100 from the perspective of the front side of theautonomous vehicle 100. -
Rear view 101 c shows a rear side of theautonomous vehicle 100, wheresensors autonomous vehicle 100. Thesensors autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of theautonomous vehicle 100 from the perspective of the rear side of theautonomous vehicle 100. -
Top view 101 d shows an overhead view of theautonomous vehicle 100. Shown in thetop view 101 d are sensors 102-110 as illustrated in previous views, as well assensors autonomous vehicle 100. Thesensors autonomous vehicle 100 may be configured to capture image data, video data, audio data, or any other data (including combinations thereof) that can be used to determine the environmental state of theautonomous vehicle 100 from the perspective of the left side of theautonomous vehicle 100. Readers will appreciate that the placement of the sensors 102-114 is merely for illustrative purposes and in no way represents a limitation on the arrangement of sensors, the manner in which the sensors are attached to theautonomous vehicle 100, and so on. - Further shown in the
top view 101 d is anautomation computing system 116. Theautomation computing system 116 can include one or more computing devices configured to evaluate the environmental state of theautonomous vehicle 100, control one or more autonomous operations (e.g., autonomous driving operations) of theautonomous vehicle 100 in coordination with other components of theautonomous vehicle 100, and perform other tasks as will be explained in greater detail below. In such an example, the one or more computing devices may be configured to control one or more autonomous operations of theautonomous vehicle 100 through the use of one or more modules of computer program instructions that are executing on one or more of the computing devices. For example, theautomation computing system 116 may be configured to process sensor data (e.g., data from the sensors 102-114 and potentially other sensors), operational data (e.g., a speed, acceleration, gear, orientation, turning direction), and other data to determine an operational state and/or operational history of the autonomous vehicle. Theautomation computing system 116 may then determine one or more operational commands for the autonomous vehicle (e.g., a change in speed or acceleration, a change in brake application, a change in gear, a change in turning or orientation, etc.) that may be effected via coordination between theautomation computing system 116 and other components within theautonomous vehicle 100. For example, theautomation computing system 116 may be coupled, directly or indirectly, for data communications with a device that can control the operation of a steering system within theautonomous vehicle 100. In such an example, if an analysis of sensor data causes theautomation computing system 116 to determine that the direction of theautonomous vehicle 100 should be altered, theautomation computing system 116 may issue one or more commands to the device that can control the operation of the steering system within theautonomous vehicle 100, thereby causing the device that can control the operation of a steering system within theautonomous vehicle 100 to change the direction of the autonomous vehicle by manipulating the steering system within theautonomous vehicle 100. Theautomation computing system 116 may also capture and store sensor data. Operational data of the autonomous vehicle may also be stored in association with corresponding sensor data, thereby indicating the operational data of theautonomous vehicle 100 at the time the sensor data was captured. - Although the
autonomous vehicle 100 ofFIG. 1 is shown as car, it is understood thatautonomous vehicles 100 in accordance with embodiments of the present disclosure may also include other vehicles, including motorcycles, planes, helicopters, unmanned aerial vehicles (UAVs, e.g., drones), or other vehicles as can be appreciated. Moreover, it is understood that additional sensors or other external sensors may also be included in theautonomous vehicle 100. - For further explanation,
FIG. 2 sets forth a block diagram of automated computing machinery comprising an exemplaryautomation computing system 116 according to some embodiments of the present disclosure. Theautomation computing system 116 ofFIG. 2 includes at least one computer Central Processing Unit (CPU′)package 204 as well as random access memory 206 (RAM′) which is connected through a data communications link (e.g., a bus) to theCPU packages 204 and to other components of theautomation computing system 116. - A
CPU package 204 may comprise a plurality of processing units. For example, eachCPU package 204 may comprise a logical or physical grouping of a plurality of processing units. Each processing unit may be allocated a particular process for execution. Moreover, eachCPU package 204 may comprise one or more redundant processing units. A redundant processing unit is a processing unit not allocated a particular process for execution unless a failure occurs in another processing unit. For example, when a given processing unit allocated a particular process fails, a redundant processing unit may be selected and allocated the given process. A process may be allocated to a plurality of processing units within thesame CPU package 204 ordifferent CPU packages 204. For example, a given process may be allocated to a primary processing unit in aCPU package 204. The results or output of the given process may be output from the primary processing unit to a receiving process or service. The given process may also be executed in parallel on a secondary processing unit. The secondary processing unit may be included within thesame CPU package 204 or adifferent CPU package 204. The secondary processing unit may not provide its output or results of the process until the primary processing unit fails. The receiving process or service may then receive data from the secondary processing unit and a redundant processing unit may then be selected and have allocated the given process to ensure that two or more processing units are allocated the given process for redundancy and increased reliability. - The
CPU packages 204 are communicatively coupled to one ormore sensors 212. Thesensors 212 may be configured to capture sensor data describing the operational and environmental conditions of an autonomous vehicle. For example, thesensors 212 may include sensors (e.g., the sensors 102-114 ofFIG. 1 ), accelerometers, Global Positioning System (GPS) radios, Lidar sensors, or other sensors as can be appreciated. Although thesensors 212 are shown as being external to theautomation computing system 116, it is understood that one or more of thesensors 212 may reside as a component of the automation computing system 212 (e.g., on the same board, within the same housing or chassis). Thesensors 212 may be communicatively coupled with theCPU packages 204 via a switchedfabric 213. - The switched
fabric 213 comprises a communications topology through which theCPU packages 204 andsensors 212 are coupled via a plurality of switching mechanisms (e.g., latches, switches, crossbar switches, field programmable gate arrays (FPGAs), etc.). For example, the switchedfabric 213 may implement a mesh connection connecting theCPU packages 204 andsensors 212 as endpoints, with the switching mechanisms serving as intermediary nodes of the mesh connection. TheCPU packages 204 andsensors 212 may be in communication via a plurality of switchedfabrics 213. For example, each of the switchedfabrics 213 may include theCPU packages 204 andsensors 212, or a subset of theCPU packages 204 andsensors 212, as endpoints. Each switchedfabric 213 may also comprise a respective plurality of switching components. The switching components of a given switchedfabric 213 may be independent (e.g., not connected) of the switching components of other switchedfabrics 213 such that only switchedfabric 213 endpoints (e.g., the CPU packages 204 and sensors 212) are overlapping across the switchedfabrics 213. This provides redundancy such that, should a connection between aCPU package 204 andsensor 212 fail in one switchedfabric 213, theCPU package 204 andsensor 212 may remain connected via another switchedfabric 213. Moreover, in the event of a failure in aCPU package 204, a processor of aCPU package 204, or a sensor, a communications path excluding the failed component and including a functional redundant component may be established. - The CPU packages 204 and
sensors 212 are configured to receive power from one or more power supplies 215. The power supplies 215 may comprise an extension of a power system of theautonomous vehicle 100 or an independent power source (e.g., a battery). The power supplies 215 may supply power to the CPU packages 204 andsensors 212 by another switchedfabric 214. The switchedfabric 214 provides redundant power pathways such that, in the event of a failure in a power connection, a new power connection pathway may be established to the CPU packages 204 andsensors 214. - Stored
RAM 206 is anautomation module 220. Theautomation module 220 may be configured to process sensor data from thesensors 212 to determine one or more operational commands for anautonomous vehicle 100 to affect the movement, direction, or other function of theautonomous vehicle 100, thereby facilitating autonomous driving or operation of the vehicle. Such operational commands may include a change in the speed of theautonomous vehicle 100, a change in steering direction, a change in gear, or other command as can be appreciated. For example, theautomation module 220 may provide sensor data and/or processed sensor data as one or more inputs to a trained machine learning model (e.g., a trained neural network) to determine the one or more operational commands. The operational commands may then be communicated to autonomousvehicle control systems 223 via avehicle interface 222. The autonomousvehicle control systems 223 are configured to affect the movement and operation of theautonomous vehicle 100. For example, the autonomousvehicle control systems 223 may turn or otherwise change the direction of theautonomous vehicle 100, accelerate or decelerate theautonomous vehicle 100, change a gear of theautonomous vehicle 100, or otherwise affect the movement and operation of theautonomous vehicle 100. - Further stored in
RAM 206 is adata collection module 224 configured to process and/or store sensor data received from the one ormore sensors 212. For example, thedata collection module 224 may store the sensor data as captured by the one ormore sensors 212, or processed sensor data 212 (e.g.,sensor data 212 having object recognition, compression, depth filtering, or other processes applied). Such processing may be performed by thedata collection module 224 in real-time or in substantially real-time as the sensor data is captured by the one ormore sensors 212. The processed sensor data may then be used by other functions or modules. For example, theautomation module 220 may use processed sensor data as input to determine one or more operational commands. Thedata collection module 224 may store the sensor data indata storage 218. - Also stored in
RAM 206 is adata processing module 226. Thedata processing module 226 is configured to perform one or more processes on stored sensor data (e.g., stored indata storage 218 by the data collection module 218) prior to upload to aserver 227. Such operations can include filtering, compression, encoding, decoding, or other operations as can be appreciated. Thedata processing module 226 may then communicate the processed and stored sensor data to theserver 227. Readers will appreciate that although the embodiment depicted inFIG. 2 relates to an embodiment where thedata processing module 226 communicates the processed and stored sensor data to theserver 227, in other embodiments, thedata processing module 226 may communicate with other types of environments such a cloud computing environment, data warehouse, or any other endpoint that may receive data from theautonomous vehicle 100. - Further stored in
RAM 206 is ahypervisor 228. Thehypervisor 228 is configured to manage the configuration and execution of one or morevirtual machines 229. For example, eachvirtual machine 229 may emulate and/or simulate the operation of a computer. Accordingly, eachvirtual machine 229 may comprise aguest operating system 216 for the simulated computer. Thehypervisor 228 may manage the creation of avirtual machine 229 including installation of theguest operating system 216. Thehypervisor 228 may also manage when execution of avirtual machine 229 begins, is suspended, is resumed, or is terminated. Thehypervisor 228 may also control access to computational resources (e.g., processing resources, memory resources, device resources) by each of the virtual machines. - Each of the
virtual machines 229 may be configured to execute one or more of theautomation module 220, thedata collection module 224, thedata processing module 226, or combinations thereof. Moreover, as is set forth above, each of thevirtual machines 229 may comprise its ownguest operating system 216.Guest operating systems 216 useful in autonomous vehicles in accordance with some embodiments of the present disclosure include UNIX™, Linux™, Microsoft Windows™, AIX™, IBM's i OS™, and others as will occur to those of skill in the art. For example, theautonomous vehicle 100 may be configured to execute a first operating system when the autonomous vehicle is in an autonomous (or even partially autonomous) driving mode and theautonomous vehicle 100 may be configured to execute a second operating system when the autonomous vehicle is not in an autonomous (or even partially autonomous) driving mode. In such an example, the first operating system may be formally verified, secure, and operate in real-time such that data collected from thesensors 212 are processed within a predetermined period of time, and autonomous driving operations are performed within a predetermined period of time, such that data is processed and acted upon essentially in real-time. Continuing with this example, the second operating system may not be formally verified, may be less secure, and may not operate in real-time as the tasks that are carried out (which are described in greater detail below) by the second operating system are not as time-sensitive the tasks (e.g., carrying out self-driving operations) performed by the first operating system. - Readers will appreciate that although the example included in the preceding paragraph relates to an embodiment where the
autonomous vehicle 100 may be configured to execute a first operating system when the autonomous vehicle is in an autonomous (or even partially autonomous) driving mode and theautonomous vehicle 100 may be configured to execute a second operating system when the autonomous vehicle is not in an autonomous (or even partially autonomous) driving mode, other embodiments are within the scope of the present disclosure. For example, in another embodiment one CPU (or other appropriate entity such as a chip, CPU core, and so on) may be executing the first operating system and a second CPU (or other appropriate entity) may be executing the second operating system, where switching between these two modalities is accomplished through fabric switching, as described in greater detail below. Likewise, in some embodiments, processing resources such as a CPU may be partitioned where a first partition supports the execution of the first operating system and a second partition supports the execution of the second operating system. - The
guest operating systems 216 may correspond to a particular operating system modality. An operating system modality is a set of parameters or constraints which a given operating system satisfies, and are not satisfied by operating systems of another modality. For example, a given operating system may be considered a “real-time operating system” in that one or more processes executed by the operating system must be performed according to one or more time constraints. For example, as theautomation module 220 must make determinations as to operational commands to facilitate autonomous operation of a vehicle. Accordingly, theautomation module 220 must make such determinations within one or more time constraints in order for autonomous operation to be performed in real time. Theautomation module 220 may then be executed in an operating system (e.g., a guest operating system of a virtual machine 229) corresponding to a “real-time operating system” modality. Conversely, thedata processing module 226 may be able to perform its processing of sensor data independent of any time constrains, and may then be executed in an operating system (e.g., aguest operating system 216 of a virtual machine 229) corresponding to a “non-real-time operating system” modality. - As another example, an operating system (e.g., a
guest operating system 216 of a virtual machine 229) may comprise a formally verified operating system. A formally verified operating system is an operating system for which the correctness of each function and operation has been verified with respect to a formal specification according to formal proofs. A formally verified operating system and an unverified operating system (e.g., one that has not been formally verified according to these proofs) can be said to operate in different modalities. - The
automation module 220,data collection module 224,data collection module 224,data processing module 226,hypervisor 228, andvirtual machine 229 in the example ofFIG. 2 are shown inRAM 206, but many components of such software typically are stored in non-volatile memory also, such as, for example, ondata storage 218, such as flash storage. Moreover, any of theautomation module 220,data collection module 224, anddata processing module 226 may be executed in avirtual machine 229 and facilitated by aguest operating system 216 of thatvirtual machine 229. - The exemplary
automation computing system 116 ofFIG. 2 includes acommunications adapter 238 for data communications with other computers and for data communications with a data communications network. Such data communications may be carried out through data communications networks such as IP data communications networks, and in other ways as will occur to those of skill in the art. Communications adapters implement the hardware level of data communications through which one computer sends data communications to another computer, directly or through a data communications network. Examples of communications adapters useful in autonomous vehicle according to some embodiments of the present disclosure include 802.11 adapters for wireless data communications, mobile adapters (e.g., 4G communications adapters, LTE communications adapters, 5G communications adapters) for mobile data communications, and others. For example, theautomation computing system 116 may communicate with one or more remotely disposedservers 227, or other communications endpoint as described above, via thecommunications adapter 238. - The exemplary automation computing system of
FIG. 2 also includes one or more Artificial Intelligence (AI)accelerators 240. TheAI accelerator 240 provides hardware-based assistance and acceleration of AI-related functions, including machine learning, computer vision, etc. Accordingly, performance of any of theautomation module 220,data collection module 224,data processing module 226, or other operations of theautomation computing system 116 may be performed at least in part by theAI accelerators 240. - The exemplary automation computing system of
FIG. 2 also includes one or more graphics processing units (GPUs) 242. TheGPUs 242 are configured to provide additional processing and memory resources for processing image and/or video data, including encoding, decoding, etc. Accordingly, performance of any of theautomation module 220,data collection module 224,data processing module 226, or other operations of theautomation computing system 116 may be performed at least in part by theGPUs 242. -
FIG. 3 shows an example redundant power fabric for an autonomous vehicle having a redundant processor fabric. The redundant power fabric provides redundant pathways for power transfer between the power supplies 215, thesensors 212, the CPU packages 204, and may also be used for power transfer to other components not explicitly depicted inFIG. 3 . In this example, the power supplies 215 are coupled to thesensors 212 and CPU packages via two switchedfabrics FIG. 3 provides redundant pathways between the power supplies 215, thesensors 212, and the CPU packages 204 such that power can be rerouted through any of multiple pathways in the event of a failure in an active connection pathway. The switchedfabrics sensors 212 using various connections, including Mobile Industry Processor Interface (MIPI), Inter-Integrated Circuit (I2C), Universal Serial Bus (USB), or another connection. The switchedfabrics fabrics power supplies 215 to thesensors 212 andCPU packages 204, it is understood that the approach shown byFIG. 3 can be modified to include additional switchedfabrics 214. -
FIG. 4 is an example redundant data fabric for an autonomous vehicle having a redundant processor fabric. The redundant data fabric provides redundant data connection pathways betweensensors 212 andCPU packages 204, and may also provide redundant data connection pathways between other components not explicitly depicted inFIG. 4 . In this example view, threeCPU packages sensors fabrics CPU package fabrics CPU package 204 a is connected to switchedfabrics CPU package 204 b is connected to switchedfabrics CPU package 204 c is connected to switchedfabrics fabric sensors fabric 213 a is connected tosensors fabric 213 b is connected tosensor fabric 213 c is connected tosensors CPU package sensor FIG. 4 is exemplary, and that CPU packages, switched fabrics, sensors, or connections between components may be added or removed while maintaining redundancy as can be appreciated by one skilled in the art. -
FIG. 5 is an example view of process allocation across CPU packages for a redundant processing fabric in an autonomous vehicle. Shown are threeCPU packages CPU package 204 a includes a processing unit that has been allocated (e.g., by ahypervisor 228 or other process or service) primary execution of a process and another processing unit that has been allocated secondary execution of a process. As set forth herein, primary execution of a process describes an executing instance of a process whose output will be provided to another process or service. Secondary execution of the process describes executing an instance of the process in parallel to the primary execution, but the output may not be output to the other process or service. For example, inCPU package 204 a,processing unit 502 a has been allocated secondary execution of “process B,” denoted assecondary process B 504 b, while processingunit 502 b has been allocated primary execution of “process C,” denoted asprimary process C 506 a. -
CPU package 204 a also comprises two redundant processing units that are not actively executing a process A, B, or C, but are instead reserved in case of failure of an active processing unit.Redundant processing unit 508 a has been reserved as “AB redundant,” indicating that reserved processingunit 508 a may be allocated primary or secondary execution of processes A or B in the event of a failure of a processing unit allocated the primary or secondary execution of these processes.Redundant processing unit 508 b has been reserved as “A/C redundant,” indicating that reserved processingunit 508 b may be allocated primary or secondary execution of processes A or C in the event of a failure of a processing unit allocated the primary or secondary execution of these processes. -
CPU package 204 b includesprocessing unit 502 c, which has been allocated primary execution of “process A,” denoted as primary process A 510 a, andprocessing unit 502 d, which has been allocated secondary execution of “process C,” denoted assecondary process C 506 a.CPU package 204 b also includesredundant processing unit 508 c, reserved as “AB redundant,” andredundant processing unit 508 d, reserved as “B/C redundant.”CPU package 204 c includesprocessing unit 502 e, which has been allocated primary execution of “process B,” denoted asprimary process B 504 a, andprocessing unit 502 f, which has been allocated secondary execution of “process A,” denoted as secondary process A 510 a.CPU package 204 c also includesredundant processing unit 508 e, reserved as “B/C redundant,” andredundant processing unit 508 f, reserved as “A/C redundant.” - As set forth in the example view of
FIG. 5 , primary and secondary instances of processes A, B, and C are each executed in an allocated processing unit. Thus, if a processing unit performing primary execution of a given process fails, the processing unit performing secondary execution may instead provide output of the given process to a receiving process or service. Moreover, the primary and secondary execution of a given process are executed on different CPU packages. Thus, if an entire processing unit fails, execution of each of the processes can continue using one or more processing units handling secondary execution. The redundant processing units 508 a-f allow for allocation of primary or secondary execution of a process in the event of processing unit failure. This further prevents errors caused by processing unit failure as parallel primary and secondary execution of a process may be restored. One skilled in the art would understand that the number of CPU packages, processing units, redundant processing units, and processes may be modified according to performance requirements while maintaining redundancy. - For further explanation,
FIG. 6 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602, by ahypervisor 610, a firstvirtual machine 612 comprising a first operating system 616 (e.g., executing a first guest operating system 216). In some embodiments in accordance with the present disclosure, thefirst operating system 616 may correspond to a first modality. For example, thefirst operating system 616 may be of a real-time modality in that one or more processes executed by thefirst operating system 616 must be performed according to one or more time constraints. Thefirst operating system 616 may execute, for example, one or more processes associated with thedata collection module 224 in order to process a stream of sensor data from thesensors 212 where the stream of sensor data may need to be processed in substantially real-time (e.g., under one or more time constraints). As a further example, thefirst operating system 616 may also execute one or more processes associated with theautomation module 220 in order to make determinations as to operational commands to facilitate autonomous operation of the autonomous vehicle 100 (e.g., based on sensor data processed by the data collection module 224). Such determinations must be made in substantially real-time (e.g., under the one or more time constraints) such that the determined operational commands are based on the most recently detected environmental state and/or operational state of theautonomous vehicle 100, as well as the most recent histories of such environmental states and/or operational states. - As another example, the
first operating system 616 may comprise a formally verified modality (e.g., the first operating system comprises a formally verified operating system). Afirst operating system 616 in a formally verified modality is an operating system that has undergone formal verification with respect to a specification using formal proofs. For example, a formally verified operating system may be used to conform with a particular industry standard or to receive a particular industry certification. - Executing 602, by the
hypervisor 610, the firstvirtual machine 612 comprising thefirst operating system 616 may be performed as part of a start-up or boot-up operation of theautonomous vehicle 100. For example, the firstvirtual machine 612 may be instantiated and executed as one of a plurality of virtual machines, with the virtual machines other that the firstvirtual machine 612 being suspended or frozen after initialization. In alternative embodiments, the hypervisor may execute 602 the firstvirtual machine 612 comprising thefirst operating system 616 in response to some other triggering event. - The example method depicted in
FIG. 6 also includes detecting 604 a change in the state of theautonomous vehicle 100. A change in the state of theautonomous vehicle 100 may include, for example, a change in the operational state of the autonomous vehicle. A change in the operational state of theautonomous vehicle 100 may include, for example, entering or exiting an autonomous driving mode, a potentially autonomous driving mode (e.g., a user-operated driving mode where theautonomous vehicle 100 is capable of entering an autonomous driving mode), a stationary mode (e.g., a parked mode), or some other mode. A change in the state of the autonomous vehicle may be initiated by a request, a user command, a remote command to perform a change in the operational state of the autonomous vehicle (e.g., entering or exiting an autonomous driving mode, a potentially autonomous driving mode, or a stationary mode), or in other ways. A change in the state of theautonomous vehicle 100 may also be initiated by receiving a command disabling one or more functions of theautonomous vehicle 100. For example, a command disabling autonomous driving functions of theautonomous vehicle 100 may be received such that autonomous driving functions are disabled until the occurrence of some event (e.g., a software update is completed, a firmware update is completed, a hardware update is completed, a hardware replacement is completed, a user issues a request to re-enable autonomous driving functions, and many others). - The
hypervisor 610 may detect the change in the state of theautonomous vehicle 100 in response to a message or signal indicating the change in the state of theautonomous vehicle 100. For example, thefirst operating system 616 of the firstvirtual machine 612, or another process or service can indicate, to thehypervisor 610, the change in the state of theautonomous vehicle 100. - The method of
FIG. 6 may further include revoking 606, by thehypervisor 610, in response to the change in the state of theautonomous vehicle 100, one or more resources associated with the execution of the firstvirtual machine 612. For example, thehypervisor 610 may suspend execution of the firstvirtual machine 612 such that any suspended processes or operation may be resumed from a point at which they were paused by thehypervisor 610. In other words, thehypervisor 610 may pause execution of the firstvirtual machine 612. Thehypervisor 610 may also terminate execution of the firstvirtual machine 612. This may include terminating any processes or services executed via the firstvirtual machine 612 and/or freeing any disk space or memory allocated to the firstvirtual machine 612. This may also include revoking one or more memory resources, processor resources, or device resources allocated to the firstvirtual machine 612. - The method of
FIG. 6 may further include executing 608, by thehypervisor 610, a secondvirtual machine 614 comprising asecond operating system 618. Executing the secondvirtual machine 614 may include initializing the secondvirtual machine 614. For example, thehypervisor 610 may allocate memory and/or begin one or more processes associated with the secondvirtual machine 614 and/or thesecond operating system 618. Executing the secondvirtual machine 614 may also comprise resuming a suspended or paused instance of the secondvirtual machine 614. - The second
virtual machine 614 may comprise a second operating system 618 (e.g., guest operating system 216) of a second modality different from the first modality. For example, the second modality may comprise a non-real-time modality, where thesecond operating system 618 functions independent of the one or more time constraints of the real-time modality. For example, thesecond operating system 618 may perform one or more processes associated with adata processing module 226. Thus, the second operating system may facilitate the filtering, processing, transformation, storage, or uploading of data. Such operations need not necessarily be performed real-time. - As another example, the
second operating system 618 may operate in an unverified modality. In other words, thesecond operating system 618 is an operating system that has not undergone formal verification. For example, thesecond operating system 618 may implement network access, internet access, third-party applications, or other functionality that would be too resource intensive to undergo formal verification. - The
second operating system 618 of the secondvirtual machine 614 may be of a second modality relative to the first modality of the first operating system of the firstvirtual machine 612. For example, where the firstvirtual machine 612 includes afirst operating system 616 of a real-time modality, the secondvirtual machine 614 may include asecond operating system 618 of a non-real-time modality. As another example, where the firstvirtual machine 612 may comprise afirst operating system 616 of a verified modality, the secondvirtual machine 614 may comprise asecond operating system 618 of a non-verified modality. - For further explanation,
FIG. 7 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602, by ahypervisor 610, a firstvirtual machine 612 comprising afirst operating system 616; detecting 604 a change in the state of theautonomous vehicle 100; revoking 606, by thehypervisor 610, in response to the change of theautonomous vehicle 100, one or more resources associated with the execution of the firstvirtual machine 612; and executing, by thehypervisor 610, a secondvirtual machine 614 comprising asecond operating system 618. -
FIG. 7 differs fromFIG. 6 in that the method ofFIG. 7 further comprises determining 702, in response to detecting the change in the state of theautonomous vehicle 100, whether a predefined condition is satisfied, thereby deferring ending execution of the firstvirtual machine 612 and beginning execution of the secondvirtual machine 614 until the predefined condition is satisfied. For example, thehypervisor 610 may defer ending execution of the firstvirtual machine 612 until a process or service executed in the firstvirtual machine 612 has completed execution. As another example, thehypervisor 610 may defer ending execution of the firstvirtual machine 612 until a command (e.g., a user input command, a remote command received via a network) confirming ending execution of thevirtual machine 612 is received. In response to the predefined condition being satisfied, the method ofFIG. 7 may continue revoking 606, by the hypervisor, one or more resources associated with the execution of the firstvirtual machine 612. - In the example method depicted in
FIG. 7 , detecting 604 the change in the state of the autonomous vehicle can include receiving 704 a command to disable one or more functions of the autonomous vehicle. Receiving 704 a command to disable one or more functions of the autonomous vehicle may be carried out, for example, through the use of a user interface (e.g., a touchscreen display, a button, and so on) that enables the user to indicate that they would like to disable one or more functions of the autonomous vehicle. Alternatively, receiving 704 a command to disable one or more functions of the autonomous vehicle may be carried out by inferring that the user would like to disable one or more functions of the autonomous vehicle in response to some action taken by the user. For example, a user manipulating the positioning of a steering wheel on the autonomous vehicle may be inferred as a command to disable one or more functions of the autonomous vehicle. Likewise, the user pressing on a brake pedal, pressing on a gas pedal, or performing some other action may be inferred to be an indication that the user would like to disable one or more functions of the autonomous vehicle. In the example method depicted inFIG. 7 , detecting 604 the change in the state of the autonomous vehicle can alternatively include detecting 706 that the autonomous vehicle has entered one or more of: an autonomous driving mode, a potentially autonomous driving mode, or a stationary mode, as described in greater detail above. - For further explanation,
FIG. 8 sets forth a flow chart illustrating an exemplary method for operating system modality switching in an autonomous vehicle that includes executing 602, by ahypervisor 610, a firstvirtual machine 612 comprising afirst operating system 616; detecting 604 a change in the state of theautonomous vehicle 100; revoking 606, by thehypervisor 610, in response to the change of theautonomous vehicle 100, one or more resources associated with the execution of the firstvirtual machine 612; and executing, by thehypervisor 610, a secondvirtual machine 614 comprising asecond operating system 618. -
FIG. 8 differs fromFIG. 6 in that the method ofFIG. 8 further comprises detecting 802 another change in the state of theautonomous vehicle 100; revoking 804, by thehypervisor 610, in response to the other change in theautonomous vehicle 100, one or more resources associated with execution of the secondvirtual machine 614; and executing 806, by thehypervisor 610, a thirdvirtual machine 808 comprising athird operating system 810. For example, thethird operating system 810 may comprise a third modality different from thefirst operating system 616 or thesecond operating system 618. Thus, thehypervisor 610 may alternate between execution of a firstvirtual machine 612 and a second virtual machine 614 (e.g., first and second operating system modalities), or more than twovirtual machines - In view of the explanations set forth above, readers will recognize that the benefits of operating system modality switching in an autonomous vehicle according to embodiments of the present disclosure include:
-
- Alternating between operating system modalities of an
autonomous vehicle 100 in response to real-time operational conditions. - Implementing multiple operating system modalities in a single autonomous vehicle system.
- Modifying an allocation of resources in response to changes to real-time operational conditions.
- Alternating between operating system modalities of an
- Readers will appreciate that any of the methods described above may be carried out, for example, by one or more modules of computer program instructions executing on computer hardware such as a CPU, a GPU, and so on. In such an example, the one or more modules of computer program instructions that are executing on computer hardware may be included in an apparatus such as a special purpose computing device, a server or other general purpose computing device, or in some other way. Such an apparatus may reside inside the autonomous vehicle itself such that the autonomous vehicle itself may perform the steps described above. In other embodiments, however, the one or more modules of computer program instructions that are executing on computer hardware to carry out the steps described above may be external to the autonomous vehicle, in whole or in part.
- Exemplary embodiments of the present invention are described largely in the context of a fully functional computer system for operating system modality switching in an autonomous vehicle. Readers of skill in the art will recognize, however, that the present invention also may be embodied in a computer program product disposed upon computer readable storage media for use with any suitable data processing system. Such computer readable storage media may be any storage medium for machine-readable information, including magnetic media, optical media, or other suitable media. Examples of such media include magnetic disks in hard drives or diskettes, compact disks for optical drives, magnetic tape, and others as will occur to those of skill in the art. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a computer program product. Persons skilled in the art will recognize also that, although some of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.
- The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
- It will be understood that any of the functionality or approaches set forth herein may be facilitated at least in part by artificial intelligence applications, including machine learning applications, big data analytics applications, deep learning, and other techniques. Applications of such techniques may include: machine and vehicular object detection, identification and avoidance; visual recognition, classification and tagging; algorithmic financial trading strategy performance management; simultaneous localization and mapping; predictive maintenance of high-value machinery; prevention against cyber security threats, expertise automation; image recognition and classification; question answering; robotics; text analytics (extraction, classification) and text generation and translation; and many others.
- It will be understood from the foregoing description that modifications and changes may be made in various embodiments of the present invention without departing from its true spirit. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present invention is limited only by the language of the following claims.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/382,425 US20200326967A1 (en) | 2019-04-12 | 2019-04-12 | Operating system modality switching in an autonomous vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/382,425 US20200326967A1 (en) | 2019-04-12 | 2019-04-12 | Operating system modality switching in an autonomous vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
US20200326967A1 true US20200326967A1 (en) | 2020-10-15 |
Family
ID=72747955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/382,425 Abandoned US20200326967A1 (en) | 2019-04-12 | 2019-04-12 | Operating system modality switching in an autonomous vehicle |
Country Status (1)
Country | Link |
---|---|
US (1) | US20200326967A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11095741B2 (en) * | 2019-07-11 | 2021-08-17 | Ghost Locomotion Inc. | Value-based transmission in an autonomous vehicle |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140359607A1 (en) * | 2013-05-28 | 2014-12-04 | Red Hat Israel, Ltd. | Adjusting Transmission Rate of Execution State in Virtual Machine Migration |
US20150039764A1 (en) * | 2013-07-31 | 2015-02-05 | Anton Beloglazov | System, Method and Computer Program Product for Energy-Efficient and Service Level Agreement (SLA)-Based Management of Data Centers for Cloud Computing |
-
2019
- 2019-04-12 US US16/382,425 patent/US20200326967A1/en not_active Abandoned
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140359607A1 (en) * | 2013-05-28 | 2014-12-04 | Red Hat Israel, Ltd. | Adjusting Transmission Rate of Execution State in Virtual Machine Migration |
US20150039764A1 (en) * | 2013-07-31 | 2015-02-05 | Anton Beloglazov | System, Method and Computer Program Product for Energy-Efficient and Service Level Agreement (SLA)-Based Management of Data Centers for Cloud Computing |
Non-Patent Citations (1)
Title |
---|
JP 6079317, "Virtual Computer System and Its Management Method, and a Virtual System Management Program" (translation), 02-15-2017, 15 pgs <JP 6079317.pdf> * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11095741B2 (en) * | 2019-07-11 | 2021-08-17 | Ghost Locomotion Inc. | Value-based transmission in an autonomous vehicle |
US11375034B2 (en) * | 2019-07-11 | 2022-06-28 | Ghost Locomotion Inc. | Transmitting remotely valued data in an autonomous vehicle |
US20220272172A1 (en) * | 2019-07-11 | 2022-08-25 | Ghost Locomotion Inc. | Value-based data transmission in an autonomous vehicle |
US11558483B2 (en) * | 2019-07-11 | 2023-01-17 | Ghost Autonomy Inc. | Value-based data transmission in an autonomous vehicle |
US11962664B1 (en) * | 2019-07-11 | 2024-04-16 | Ghost Autonomy Inc. | Context-based data valuation and transmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11829896B2 (en) | Uncertainty-based data filtering in a vehicle | |
US20210011908A1 (en) | Model-based structured data filtering in an autonomous vehicle | |
US11375034B2 (en) | Transmitting remotely valued data in an autonomous vehicle | |
US11030031B2 (en) | Redundant sensor fabric for autonomous vehicles | |
US11775400B2 (en) | Redundant processing fabric for autonomous vehicles | |
US11893412B2 (en) | Device initialization by an access-restricted virtual machine | |
US11875177B1 (en) | Variable access privileges for secure resources in an autonomous vehicle | |
US11577756B2 (en) | Detecting out-of-model scenarios for an autonomous vehicle | |
US20210316742A1 (en) | Error handling in an autonomous vehicle | |
US11691637B2 (en) | Handling input data errors in an autonomous vehicle | |
US20200326967A1 (en) | Operating system modality switching in an autonomous vehicle | |
US20230001950A1 (en) | Using predictive visual anchors to control an autonomous vehicle | |
US20210012220A1 (en) | Rules-based structured data filtering in an autonomous vehicle | |
US11548535B2 (en) | Automatic disengagement of an autonomous driving mode | |
US20220371607A1 (en) | Failover system for autonomous vehicles | |
US11704895B2 (en) | Camera data normalization for an autonomous vehicle | |
US20220315040A1 (en) | Selective model execution in an autonomous vehicle | |
US20220315041A1 (en) | Scheduling state transitions in an autonomous vehicle | |
US20220402499A1 (en) | Detecting operator contact with a steering wheel | |
US11914366B2 (en) | Blended operator and autonomous control in an autonomous vehicle | |
US11897512B2 (en) | Modifying settings of autonomous vehicle sensors based on predicted environmental states | |
US20230382432A1 (en) | Transitioning to an autonomous driving mode using an operator control history | |
US20210382499A1 (en) | Distributed data sampling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: GHOST LOCOMOTION INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HAYES, JOHN;UHLIG, VOLKMAR;REEL/FRAME:048868/0597 Effective date: 20190411 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
STCV | Information on status: appeal procedure |
Free format text: NOTICE OF APPEAL FILED |
|
STCV | Information on status: appeal procedure |
Free format text: APPEAL BRIEF (OR SUPPLEMENTAL BRIEF) ENTERED AND FORWARDED TO EXAMINER |
|
STCV | Information on status: appeal procedure |
Free format text: EXAMINER'S ANSWER TO APPEAL BRIEF MAILED |
|
STCV | Information on status: appeal procedure |
Free format text: ON APPEAL -- AWAITING DECISION BY THE BOARD OF APPEALS |
|
AS | Assignment |
Owner name: GHOST AUTONOMY INC., CALIFORNIA Free format text: CHANGE OF NAME;ASSIGNOR:GHOST LOCOMOTION INC.;REEL/FRAME:061118/0665 Effective date: 20220715 |
|
STCV | Information on status: appeal procedure |
Free format text: BOARD OF APPEALS DECISION RENDERED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |