Method and apparatus for sensor prioritization by a microprocessor

Dynamic sensor prioritization in microprocessors optimizes resource allocation by designating priority and non-priority processing paths within the microprocessor, addressing the challenge of managing multiple sensor data streams efficiently and reducing power consumption in demanding applications.

WO2024217660A1PCT designated stage expired Publication Date: 2024-10-24TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2023/059931
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Contemporary microprocessors face challenges in efficiently managing multiple sensor data streams, particularly in demanding applications like drones and Extended Reality, where real-time processing is required, leading to practical limits on resource sharing and increased power consumption due to the need for dedicated processor cores for each sensor data stream.

Method used

A microprocessor implements dynamic sensor prioritization, using scheduling circuitry to allocate priority processing paths based on a dedicated processor core for critical sensor data streams and shared, non-priority processing paths for less critical streams, allowing applications to control prioritization according to their needs, thereby optimizing resource usage without the need for redundant hardware.

Benefits of technology

This approach enhances processing efficiency and reduces power consumption by dynamically allocating resources based on application needs, ensuring timely processing of priority sensor data streams while utilizing shared resources for non-priority streams, thus avoiding the need for over-dimensioning the microprocessor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2023059931_24102024_PF_FP_ABST
    Figure EP2023059931_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A microprocessor handles multiple sensor data streams on an advantageous basis, according to dynamic sensor prioritization, where the microprocessor provides priority processing for one or more sensor data streams and non-priority processing for remaining sensor data streams. For example, non-priority processing involves a simultaneous multithreading processor core shared by non-priority sensor data streams, with a non-SMT core processing the priority sensor data stream. Applications-layer intelligence drives sensor prioritization, for example, meaning that an application executing on the processor controls dynamic prioritization according to its particular needs. Dynamic prioritization thus allows the microprocessor to meet the needs of different applications, or the changing needs of a given application, without the expense, space, and power requirements associated with having dedicated processor cores available for some maximum number of sensor data streams.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] METHOD AND APPARATUS FOR SENSOR PRIORITIZATION BY A MICROPROCESSOR

[0002] The project leading to this application has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 876019.

[0003] TECHNICAL FIELD

[0004] Embodiments disclosed herein relate to microprocessors having interfaces to sensors, and particularly relate to a method and apparatus for dynamic sensor prioritization by a microprocessor.

[0005] BACKGROUND

[0006] Microprocessors in base form are integrated circuits that include one or more central processing units (CPUs) or processor cores, along with an interconnecting bus and supporting memory. The processor core(s) perform arithmetic and logic operations on data held in registers, according to the execution of program instructions.

[0007] Contemporary microprocessors have complexities well beyond the base form, including potentially many processor cores, with potentially different purposes and capabilities and complex instruction pipelines, along with graphics processing units (GPUs) and one or more hardware (HW) accelerators. A HW accelerator includes logic gates, registers, counters, etc., that are interconnected to perform specific functions, such as audio or video coding and decoding, machine-vision processing, etc.

[0008] Consider drones or other unmanned aerial vehicles (UAVs) for an example of the demands placed on contemporary microprocessors. A microprocessor embedded in a drone may be tasked with processing video from multiple cameras, for recordation or streaming, and for visual processing for object detection, object recognition, and the like. Other tasks include processing signals from other sensors, such as proximity sensors, performing flight control responsive to incoming commands received via a wireless interface, etc. As another example, consider Extended Reality (XR) operations in a head-mounted display (HMD) context, where functions such as object tracking, gesture recognition, etc., involve one or more subsets of sensors.

[0009] Other demanding applications include portable computing devices, such as tablets, laptops, and smartphones. These devices integrate a complex assemblage of sensors and user interfaces and perform functions that run the gamut between mobile broadband applications, photography, including computational photography, along with executing a broad range of applications or “apps”. Sensor packages included in a typical smartphone include multiple, high- resolution cameras, multi-axis accelerometers, and biometric sensors.

[0010] One approach to increasing processing capabilities and efficiency relies on simultaneous multithreading (SMT). SMT splits a processor core into multiple virtual cores, with each virtual core executing a different instruction stream or “thread”. SMT cores thus provide a mechanism for two or more instructions streams to share the same physical processor core, with each stream executing independently.

[0011] There are practical limits on resource sharing, especially in the context of critical instructions streams. Other approaches to increasing processing capability attack the problem head on simply by adding more processor cores. For example, a multi-core microprocessor includes a dedicated processor core for each sensor data stream in contexts where there are multiple critical sensor data streams that require real-time or near-real-time processing. Continued improvements in semiconductor technology, particularly decreasing transistor sizes, make this approach feasible within obvious practical limits.

[0012] SUMMARY

[0013] A microprocessor handles multiple sensor data streams on an advantageous basis, according to dynamic sensor prioritization, where the microprocessor provides priority processing for one or more sensor data streams and non-priority processing for remaining sensor data streams. For example, non-priority processing involves a simultaneous multithreading processor core shared by non-priority sensor data streams, with a non-SMT core processing the one or more priority sensor data streams. Applications-layer intelligence drives sensor prioritization, for example, meaning that an application executing on the processor controls dynamic prioritization according to its particular needs. Dynamic prioritization thus allows the microprocessor to meet the needs of different applications, or the changing needs of a given application, without the expense, space, and power requirements associated with having dedicated processor cores available for some maximum number of sensor data streams.

[0014] An example embodiment comprises a microprocessor that includes a sensor interface, scheduling circuitry, and sensor-data processing circuitry. The sensor interface is configured to interface with a plurality of sensors that provide a corresponding plurality of sensor data streams for processing. The scheduling circuitry is configured to perform dynamic sensor prioritization by designating a dynamically selected one or more sensor data streams among the plurality of sensor data streams as one or more priority sensor data streams, with the remaining sensor data streams being non-priority sensor data streams. The sensor-data processing circuitry includes a priority processing path that is based on a priority processor core and is allocated to the one or more priority sensor data streams, and further includes a non-priority processing path that is based on a non-priority processor core and is allocated to the non-priority sensor data streams on a shared basis.

[0015] A related embodiment comprises a method of operation by a microprocessor having a sensor interface for interfacing with a plurality of sensors, where each sensor is operative to provide a respective sensor data stream. The method includes (a) dynamically selecting one or more sensor data streams among a plurality of sensor data streams as one or more priority sensor data streams, with the remaining sensor data streams being non-priority sensor data streams, (b) allocating a priority processing path to the one or more priority sensor data streams, the priority processing path based on a priority processor core, and (c) allocating a non-priority processing path to the non-priority sensor data streams on a shared basis, the non-priority processing path based on a non-priority processor core.

[0016] Another example embodiment comprises an apparatus that includes a plurality of sensors for sensing a surrounding environment of the apparatus, with each sensor configured to provide a respective sensor data stream. Further included in the apparatus is a microprocessor that comprises a sensor interface configured to interface with the plurality of sensors and scheduling circuitry. The scheduling circuitry is configured to perform dynamic sensor prioritization by designating a dynamically selected one or more sensor data streams among the plurality of sensor data streams as one or more priority sensor data streams, with the remaining sensor data streams being non-priority sensor data streams. The microprocessor further includes sensorprocessing circuitry that comprises a priority processing path that is based on a priority processor core and allocated to the one or more priority sensor data streams, and a non-priority processing path that is based on a non-priority processor core and allocated to the non-priority sensor data streams on a shared basis.

[0017] Of course, the present invention is not limited to the above features and advantages. Indeed, those skilled in the art will recognize additional features and advantages upon reading the following detailed description, and upon viewing the accompanying drawings.

[0018] BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a block diagram of a microprocessor according to one embodiment.

[0020] Figures 2 and 3 are block diagrams showing respective simultaneous multithreading (SMT) and non-SMT processor cores, as examples of non-priority and priority processor cores in the microprocessor of Figure 1. Figure 4 is a block diagram of an example embodiment of a sensor interface, as may be used in the microprocessor of Figure 1.

[0021] Figures 5 and 6 are logic flow diagrams of methods of operation by a microprocessor for dynamic prioritization of sensor data streams, according to example embodiments.

[0022] Figures 7 and 8 are block diagrams of example details and arrangements for the microprocessor of Figure 1.

[0023] Figure 9 is a logic flow diagram of operation by a microprocessor for dynamic prioritization of sensor data streams, according to another example embodiment.

[0024] Figure 10 is a block diagram of an apparatus that includes sensors and a microprocessor configured to perform dynamic sensor prioritization, according to an example embodiment.

[0025] Figures 11-14 are block diagrams of example types of sensors subject to dynamic prioritization.

[0026] Figure 15 is a block diagram of a vehicle as an example apparatus, where the vehicle includes cameras as sensors and a microprocessor configured to perform dynamic sensor prioritization with respect to the cameras.

[0027] Figure 16 is a block diagram of a mobile communications device as another example apparatus, where the mobile communications device includes multiple cameras and a microprocessor configured to perform dynamic sensor prioritization with respect to the cameras.

[0028] Figure 17 is a block diagram of a drone as another example apparatus, where the drone includes cameras as sensors and a microprocessor configured to perform dynamic sensor prioritization with respect to the cameras.

[0029] DETAILED DESCRIPTION

[0030] Figure 1 illustrates a microprocessor 10 according to an example embodiment, where the microprocessor 10 includes a sensor interface 12 that is configured to interface with a plurality of sensors 14 that provide a corresponding plurality of sensor data streams 16 for processing. Here, “interface” refers to circuitry configured to provide one or more types of output signals and / or receive one or more types of input signals. One type of sensor may be at issue, a set of cameras having respective fields of view, for example, or there may be a mix of sensor types providing the respective sensor data streams 16.

[0031] Scheduling circuitry 20 included in the microprocessor 10 is configured to perform dynamic sensor prioritization by designating a dynamically selected one or more sensor data streams (16) among the plurality of sensor data streams 16 as one or more priority sensor data streams 22, with the remaining sensor data streams being non-priority sensor data streams 24. Assuming N sensor data streams 16, where N is an integer number greater than or equal to two, selector circuitry 26 switches, directs, or otherwise outputs a dynamically designated one or more of the N sensor data streams 16 as the one or more priority sensor data streams 22 and switches, directs, or otherwise outputs the remaining one(s) of the N sensor data streams 16 as the non-priority sensor data streams 24.

[0032] Other circuitry of the example microprocessor 10 includes sensor-data processing circuitry 30, which comprises a priority processing path 32 that is based on a priority processor core 34 and is allocated to the priority sensor data stream(s) 22, along with a non-priority processing path 36 that is based on a non-priority processor core 38 and is allocated to the non- priority sensor data streams 24 on a shared basis. Additional circuitry supporting the processing paths includes one or more memory banks 40 and one or more hardware accelerators, the nature of which may be matched to the sensor type(s) at issue.

[0033] Applications processing circuitry 50 of the microprocessor 10 receives sensor data 52 from the sensor data processing circuitry 30. The sensor data 52 comprises any one or more of the sensor data streams 16, processed versions of the sensor data streams 16, or data derived from such processing. Particularly, the applications processing circuitry 50 comprises an applications processor core 54 that executes one or more software applications and provides the executing software with a mechanism for dynamic indication of the sensor data stream 16 to be prioritized at any given time. Run-time signaling 56, which may be digital data exchanged via an internal bus within the microprocessor 10, output by the applications processing circuitry 50 indicates the dynamic prioritization to the scheduling circuitry 20. Control signaling 58 output by the scheduling circuitry 20 reflects the dynamic prioritization indicated by the run-time signaling 56 and controls the selector circuitry 26 within the sensor-data processing circuitry 30.

[0034] Figures 2 and 3 depict an example implementation, where the non-priority processor core 38 is a simultaneous multi -threading (SMT) processor core 60 that is shared by the non-priority sensor data streams 24 on a SMT basis, and where the priority processor core 34 is a non-SMT processor core 62 that processes the priority sensor data stream(s) 22. Processing of more than one priority sensor data stream 22 in the non-SMT processor core 62 involves switching between respective threads on a scheduled basis. Switching from one thread to another involves saving and restoring corresponding thread states, and those operations may be enhanced in terms of performance by providing memory dedicated for each such stream.

[0035] Figure 4 illustrates an example implementation where the sensor interface 12 is configured to interface with a plurality of cameras 70 as the plurality of sensors 14. Here, each sensor data stream 16 is a camera data stream 72. At any given time, a selected one or more of the camera data streams 72 is processed as the priority sensor data stream(s) 22 and the remaining camera data streams 72 are processed as the non-priority sensor data streams 24. Drone operation is one example where dynamic selection of the priority camera(s) is advantageous. For example, the camera 70 having a field-of-view corresponding to the current directi on(s) of travel of the drone may be prioritized for object tracking or object avoidance.

[0036] As another example, and without being limited to the drone context, there may be one or more stereo pairs of cameras 70 among a given set of cameras 70. Dynamic sensor prioritization may be implemented such that, at any given time, prioritization is given to the camera data streams 72 from a selected one of the stereo camera pairs. Yet another example is a mobile computing device, such as a smartphone, that includes multiple cameras inputting data to a video production application, with the video production application dynamically changing the prioritized camera 70, according to application-level controls, e.g., for creative video editing.

[0037] At least one embodiment of the microprocessor 10 accommodates variations in the number of sensors 14 comprised in the plurality of sensors 14 during runtime. For example, individual sensors 14 are activated or deactivated according to application-layer control, and the scheduling circuitry 20 is configured to perform the dynamic sensor prioritization during runtime with respect to the activated sensors 14.

[0038] Other features in one or more embodiments of the microprocessor 10 include the scheduling circuitry 20 being configured to dynamically allocate the one or more hardware accelerators 42 according to the dynamic sensor prioritization. In at least one example, the scheduling circuitry 20 controls the allocation of the one or more hardware accelerators 42 in joint dependence on the dynamic sensor prioritization and processing-delay constraints associated with applications-layer use of the plurality of sensor data streams 16. There may be minimum bitrate or other processing requirements associated with the sensor data streams 16 that are observed, even with prioritization of one of them.

[0039] In at least one embodiment, the scheduling circuitry 20 is configured to dynamically allocate memory from the one or more memory banks 40 for use in processing the respective sensor data streams 16, according to the dynamic sensor prioritization. For example, there may be a limited amount of lower-latency memory allocated on a preferential basis for processing of the priority sensor data stream(s) 22.

[0040] Figure 5 illustrates a method 500 of operation by a microprocessor, such as the microprocessor 10 depicted in Figure 1. The method 500 includes performing dynamic sensor prioritization (Block 502) and allocating a priority processing path of the microprocessor to the one or more sensor data streams 16 designated as the one or more priority sensor data streams 22 and allocating a non-priority processing path of the microprocessor to the remaining sensor data streams 16 (Block 504). In the context of the microprocessor of Figure 1 or equivalent arrangements, the method 500 can be understood as (1) dynamically selecting one or more sensor data streams 16 among a plurality of sensor data streams 16 as one or more priority sensor data streams 22, with the remaining sensor data streams being non-priority sensor data streams 24, (2) allocating a priority processing path 32 to the one or more priority sensor data streams 22, and (3) allocating a non-priority processing path 36 to the non-priority sensor data streams 24 on a shared basis. Here, the non-priority processing path 36 is based on a non-priority processor core 38, and the priority processing path based on a priority processor core 34.

[0041] Figure 6 illustrates a method 600 of operation by a microprocessor, with the illustrated processing operations or steps being understood as example details associated with practicing or extending the method 500. Operations include performing an initial or default priority selection, for designating which sensor data stream 16 is the one or more priority sensor data streams 22 (Block 602). During the performance of runtime operations (Block 604), the scheduling circuitry 20 monitors for a changed priority designation. If no changes are detected (NO from Block 606), the scheduling circuitry 20 maintains the current priority designation (Block 608). However, if a change is detected (YES from Block 606), the scheduling circuitry 20 updates the priority designation (Block 610).

[0042] Run-time operations in Block 604 refer to applications-layer processing. Thus, Figure 6 represents an example of software-driven changes in sensor prioritization during run-time of the software. Providing software applications with control of sensor prioritization adds significant flexibility to the applications, allowing them to prioritize sensor-data processing for safety reasons, performance reasons, or any one or combination of a myriad of reasons that make sense in the context of the running application. Such operation advantageously means that the involved microprocessor need not be over-dimensioned such that it offers the same processing throughput or performance for all sensor data streams. Another advantage is timing predictability for the priority sensor data stream(s) 22.

[0043] Figure 7 illustrates additional details for an example arrangement of the microprocessor 10, wherein a memory controller 100 interfaces various elements within the microprocessor 10, including the sensor interface 12 and scheduling / sensor-data processing circuitry 20 and 30, along with the applications processing circuitry 50.

[0044] The applications processing circuitry 50 includes multiple applications processor cores 54, along with circuitry operative as a system / status analyzer 102. In one or more embodiments, the system / status analyzer 102 analyzes different applications or different operating contexts, to determine sensor prioritizations.

[0045] The sensor-data processing circuitry 30 includes an SMT processor core 60 for nonpriority processing of sensor data, and a non-SMT processor core 62 for priority processing of sensor data. The scheduling circuitry 20 comprises a dispatcher 104 that is configured to control dispatching — switching or routing — of the respective sensor data streams 16 according to dynamic prioritization.

[0046] The memory banks 40 shown in Figure 1 are realized in the context of Figure 7 as priority memory 106 and non-priority or general memory 108. The applications processing circuitry 50 is associated with memory 110. The hardware accelerators 42 shown in Figure 1 are realized in the context of Figure 7 as priority acceleration hardware (HW) 112 and associated memory 114, and non-priority acceleration HW 116 and associated memory 118. The hardware blocks within the acceleration HW include, for example, any one or combination of Deep Learning Accelerator(s) (DLAs), Graphics Processing Units (GPUs), Vector Processing Units (VPUs), and Stream Processors (SPs).

[0047] Further example elements or units comprised in the microprocessor 10 include any one or more Image Signal Processors (ISPs) or other Digital Signal Processors (DSPs) 120, which may have their own memory 122 interfaced with the memory controller 100. Other interfacing provided by the memory controller 100 includes interfacing to additional memory, such as internal or external Dynamic Random Access Memory (DRAM) 130 and / or Static RAM (SRAM) 132.

[0048] Figure 8 illustrates example functional operations by a microprocessor 10 for dynamic sensor prioritization with respect to N sensor data streams 16 incoming concurrently from N sensors 14. The sensors 14 are shown as SENSOR 1 . . . SENSOR TV. Here, TV is an integer > 1, such as N > 4. The aforementioned dispatcher 104 operates as a priority-aware scheduler for processing the incoming sensor data streams 16. Priority-aware scheduling involves, for example, the allocation of SMT and non-SMT processing cores, along with controlling the allocation of hardware accelerators — shown as Accl . . . Acc4 — and different types of memory, for the processing of the sensor data streams 16.

[0049] In the example, two out of the N sensor data streams 16 are designated as priority sensor data streams 22, with the two sensors 14 that output the priority sensor data streams 22 identified using diagonal hatching. The remaining (N- 2) sensor data streams 16 are handled as non- priority data streams 24 and the sensors originating these non-priority sensor data streams 24 are identified using horizontal hatching. For control over latency and performance, the two priority sensor data streams 22 are processed via the non-SMT core, e.g., using interleaved execution. Further, the priority sensor data streams 22 and / or the processing results from operating thereon are allocated their own respective memory banks, e.g., in both low-latency and longer-latency memory circuits, with diagonal hatching indicating these allocations. Conversely, the raw and / or processed data for all non-priority data streams may reside in the same memory banks(s).

[0050] Still further, with respect to a limited number of hardware accelerators, such as the four accelerators shown in the diagram as Accl through Acc4, each priority data stream 22 is allocated a respective one of the hardware accelerators. Conversely, the remaining hardware accelerators are shared among the non-priority data streams 24. In a non-limiting example, the sensors 14 are cameras where there are one or more pairs of stereo cameras and the depicted arrangement provides prioritized stereoscopic processing for any given pair of stereo cameras. Of course, the approach may be extended to prioritizing more than one pair of sensors 14 or, more generally, more than two sensors 14 at a time, depending upon the rate at which prioritized processing must be carried out.

[0051] Figure 9 illustrates a method 900 as another example method of operation by a microprocessor 10 that is priority-aware with respect to the processing of sensor data streams 16. The method 900 includes the microprocessor receiving given sensor data, i.e., data in a given sensor data stream 16 (Block 902) and determining whether the sensor data is prioritized (Block 904). If the sensor data is prioritized (YES from Block 904), it is allocated to the priority path for processing (Block 906) and otherwise (NO from Block 904) is allocated to the non-priority path (Block 908).

[0052] In one or more embodiments, allocation to the priority path involves a further evaluation of whether the allocation scales with available hardware (Block 910). For example, in one or more embodiments, the microprocessor 10 supports gradations of priority, such as two or three levels of prioritization, along with a fourth level that may be considered non-priority or no prioritization. In such cases, any sensor data stream 16 having one of the levels of prioritization is provisionally allocated / assigned for priority processing via the priority processing path, with the proviso that such allocation is carried out responsive to determining that the priority processing path has sufficient capacity to take on the new processing without compromising the processing of any higher-priority sensor data streams 16 already allocated to the priority path.

[0053] Thus, if the priority path supports the allocation — YES from Block 910 — the allocation to the priority path is made (Block 912) and processing continues with determining whether there are more sensors to be added (Block 914), which means evaluating whether there are additional sensors installed, active, or otherwise targeted for use (Block 914), such that disposition of their respective sensor data streams 16 needs to be decided with respect to priority / non-priority allocations. If there are no more sensors to be added (NO from Block 914), processing continues with running the system (Block 916), which means carrying out the sensor processing along with any related operations or overall system operation, according to the decided allocation(s).

[0054] However, if the priority path does not support the provisional allocation of the sensor data stream to the priority path (NO from Block 910), processing involves canceling the priority allocation, e.g., by assigning the sensor data stream to the non-priority path (Block 918). However, in one or more embodiments, rather than simply canceling the priority allocation, the microprocessor 10 evaluates relative priorities, to determine whether the sensor data stream at issue is higher in priority than any of the sensor data stream(s) currently allocated to the priority path. If so, the microprocessor 10 performs a reallocation procedure that results in placing / allocating the highest-priority ones of the sensor data streams to the priority path, including making room for such allocation by re-allocating one or more lower-priority sensor data streams from the priority path to the non-priority path.

[0055] An additional or alternative approach to managing the allocation of more than one priority sensor data stream 22 to the priority processing path 32 allows the multiple priority sensor data streams 22 to share the priority processor core 34 in an interleaved manner. However, the different priority sensor data streams 22 may be assigned to different memory banks. For example, each priority sensor data stream 22 is allocated its own data path and memory allocation with respect to low-latency memory onboard the microprocessor. The idea may be extended to external memory, with the two or more priority sensor data stream(s) 22 sharing a data path by having different memory -bank assignments.

[0056] Turning back to the diagram, processing continues after such operations with determining whether there are more sensors to be added. If not, the system runs with the decided allocations (Block 916). If there are more sensors to be added, processing returns to Block 902, which may be understood as continuing ongoing operations, that include receiving sensor data, evaluating its priority, and so on.

[0057] Figure 10 illustrates an apparatus 140 that includes a plurality of sensors 14 for sensing a surrounding environment of the apparatus 140, with each sensor configured to provide a respective sensor data stream 16. The apparatus 140 further includes a microprocessor 10, which, with respect to the example details of Figure 1, includes (a) a sensor interface 12 configured to interface with the plurality of sensors 14, (b) scheduling circuitry 20 configured to perform dynamic sensor prioritization by designating a dynamically selected one or more sensor data streams 16 among the plurality of sensor data streams 16 as one or more priority sensor data streams 22, with the remaining sensor data streams 16 being non-priority sensor data streams 24, and (c) sensor-data processing circuitry 30. The sensor-data processing circuitry 30 includes a priority processing path 32 that is based on a priority processor core 34 and allocated to the one or more priority sensor data streams 22, and further includes a non-priority processing path 36 that is based on a non-priority processor core 38 and allocated to the non-priority sensor data streams 24 on a shared basis.

[0058] Figure 11 illustrates an example embodiment where the plurality of sensors 14 comprises time-of-flight (ToF) sensors 150-1 though 15O-7V, where N is an integer number. As shown in Figure 12, such sensors may comprise Light Detection and Ranging (LIDAR) sensors 152-1 through 152-A, for example. Figure 13 illustrates an example embodiment where the plurality of sensors 14 comprises Radio Detection and Ranging (RADAR) sensors 154-1 though 154-A. Figure 14 depicts yet another example where the sensors 14 are one or more types of audio sources 156-1 through 156-A, with the microprocessor 10 providing for dynamic selection of which audio source 156 has priority or higher priority at any given time.

[0059] In the example of Figure 15, the apparatus 140 introduced in Figure 10 comprises a vehicle, and the plurality of sensors 14 comprises a plurality of cameras 160. The applications processing circuitry 50 of the microprocessor 10 is configured to execute an applications-layer program that includes dynamic designations of the priority camera during runtime of the applications-layer program. Such prioritization facilitates, for example, lane-keeping or other driver-assistance technologies, or may be used in the context of vision-based autonomous driving.

[0060] In the example arrangement shown in Figure 16, the apparatus 140 comprises a mobile computing device, such as a smartphone or tablet, and it includes a front camera 170 and one or more back cameras 172 as the plurality of sensors 14, such that each sensor data stream 16 is a camera data stream, with, at any given time, a selected one of the camera data streams being processed as the priority sensor data stream 22 and the remaining camera data streams being processed as the non-priority sensor data streams 24. The mobile computing device may further include a touchscreen 174 for user interaction. The priority-aware scheduling / dispatching of sensor data streams 16 by the microprocessor 10 offers significant advantages in the context of mobile computing or other power / size limited applications, because it allows the microprocessor 10 to use higher-performance or dedicated circuitry for processing the sensor data stream(s) that an executing application deems to be higher in priority at any given time, while using lower- performance or shared circuitry for processing remaining sensor data streams. In one or more embodiments, a microprocessor 10 has a non-priority processing path for non-priority sensor data streams, with such a path including a SMT core, along with an associated memory path and acceleration hardware. The microprocessor 10 further includes a priority processing path for one or more priority sensor data stream, which may have relative priority designations for resolving conflicting use of priority resources. Such priority resources include, for example, at least one non-SMT core associated with at least one dedicated memory path and acceleration hardware. The SMT-core handles the low priority sensors while the non- SMT core handles the prioritized sensor. The sensors can dynamically change priority depending on the tasks being executed by the apparatus that incorporates the microprocessor.

[0061] Such a solution has multiple advantages, including scalability, simplicity of implementation, avoidance of hardware redundancy, and applicability to any definition of “priority”, including gradations of priority. These advantages may be appreciated by elaborating the earlier drone example. Consider a drone with several cameras, with the drone executing software that involves camera-based processing, such as object detection, feature detection, or other visual processing operations. The different camera streams feed data to different algorithms and by that they have different prioritization as the cameras are facing in different directions.

[0062] At certain times or for certain tasks, the front camera has highest prioritization for detection of obstacles on the flight path or other safety-of-flight detection. The other camera streams are less of importance, in comparison. As specific examples, the microprocessor 10 runs a first algorithm on the camera stream from a first camera, for detection for a certain type of object, e.g., wires, birds, and tree limbs. The microprocessor 10 runs a second algorithm on the camera stream from a second camera, for detecting certain other types of object, e.g., cattle, cars, people. The software embodying these algorithms may prioritize the two camera streams differently, with that prioritization indicated to the scheduling circuitry 20 of the microprocessor. For example, the program code includes flags or other low-level information that indicates prioritization.

[0063] Figure 17 illustrates an example drone 180 having one or more propellers 182 for aerial flight, and where the drone body 184 integrates or carries one or more cameras 186, for any one or more of recording or streaming aerial views, performing navigation, detecting obstacles for avoidance, object detection for tracking / following applications, and gesture recognition, e.g., for gesture-based control by a human operator. One of more of the cameras 186 are arranged in stereo pairs, for stereoscopic image acquisitions, such as for estimating object distances. Stereoscopic pairs are denoted as 186A / B in the figure. The drone 180 integrates a microprocessor 10 as described above, with the microprocessor 10 providing dynamic sensor prioritization with respect to the plurality of cameras 186. For example, a flight-control application running on the microprocessor 10 provides indications of which camera(s) 186 are prioritized at any given time, such as the camera(s) having Fields-of-View (FoV) in the direction of flight, and the microprocessor 10 correspondingly processes the camera data stream(s) from the prioritized camera(s) 186 as one or more priority data streams 22.

[0064] Another example of advantageous prioritization involves a user recording video with picture in picture (PIP) functionality. During a time when the user uses a back camera of the recording device to record the main picture and uses a front camera of the device to record the inset picture, the recording software prioritizes the back-camera stream. However, during a time when the user uses front camera to record the main picture and uses the back camera to record the inset picture, the recording software prioritizes the front-camera stream. Assuming the recording device includes a priority-aware microprocessor of the sort described herein, the microprocessor dynamically adjusts to these changing priorities by adjusting which camera stream is allocated to the priority processing path and which one is allocated to the non-priority processing path.

[0065] Notably, modifications and other embodiments of the disclosed invention(s) will come to mind to one skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the invention(s) is / are not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of this disclosure. Although specific terms may be employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

Claims

CLAIMSWhat is claimed is:

1. A microprocessor (10) comprising: a sensor interface (12) configured to interface with a plurality of sensors (14) that provide a corresponding plurality of sensor data streams (16) for processing; scheduling circuitry (20) configured to perform dynamic sensor prioritization by designating a dynamically selected one or more sensor data streams (16) among the plurality of sensor data streams (16) as one or more priority sensor data streams (22), with the remaining sensor data streams (16) being non-priority sensor data streams (24); and sensor-data processing circuitry (30) including: a priority processing path (32) that is based on a priority processor core (34) and is allocated to the one or more priority sensor data streams (22); and a non-priority processing path (36) that is based on a non-priority processor core (38) and is allocated to the non-priority sensor data streams (24) on a shared basis.

2. The microprocessor (10) according to claim 1, wherein the non-priority processor core (38) is a simultaneous multi -threading (SMT) processor core (60) that is shared by the non- priority sensor data streams (24) on a SMT basis.

3. The microprocessor (10) according to claim 1 or 2, wherein the priority processor core (34) is a non-SMT processor core (62).

4. The microprocessor (10) according to any of claims 1-3, wherein the scheduling circuitry (20) is configured to receive signaling (56) from applications processing circuitry (50) of the microprocessor (10) that indicates which one or more sensor data streams (16) to designate as the one or more priority sensor data streams (22).

5. The microprocessor (10) according to any of claims 1-3, wherein the number of sensors (14) comprised in the plurality of sensors (14) varies during runtime as a function of individual sensors (14) being activated or deactivated according to application-layer control, and whereinthe scheduling circuitry (20) is configured to perform the dynamic sensor prioritization during runtime with respect to the activated sensors (14).

6. The microprocessor (10) according to any one of claims 1-5, wherein the scheduling circuitry (20) is configured to perform the dynamic sensor prioritization responsive to runtime signaling (56) from an applications processor core (54) in the microprocessor (10).

7. The microprocessor (10) according to any one of claims 1-6, wherein the microprocessor (10) further comprises one or more hardware accelerators (42) associated with the priority and non-priority processing paths (32, 36), and wherein the scheduling circuitry (20) is configured to dynamically allocate the one or more hardware accelerators (42) according to the dynamic sensor prioritization.

8. The microprocessor (10) according to claim 7, wherein the scheduling circuitry (20) controls the allocation of the one or more hardware accelerators (42) in joint dependence on the dynamic sensor prioritization and processing-delay constraints associated with applications-layer use of the plurality of sensor data streams (16).

9. The microprocessor (10) according to any one of claims 1-8, wherein the microprocessor (10) further comprises one or more memory banks (40) associated with the priority and nonpriority processing paths (32, 36), and wherein the scheduling circuitry (20) is configured to dynamically allocate memory from the one or more memory banks (40) for use in processing the respective sensor data streams (16), according to the dynamic sensor prioritization.

10. The microprocessor (10) according to any one of claims 1-9, wherein the sensor interface (12) is configured to interface with a plurality of cameras (70) as the plurality of sensors (14), such that each sensor data stream (16) is a camera data stream (72) with, at any given time, a selected one or more of the camera data streams (72) being processed as the one or more priority sensor data streams (22) and the remaining camera data streams (72) being processed as the nonpriority sensor data streams (24).

11. The microprocessor (10) according to claim 10, wherein the one or more priority sensor data streams (22) are a pair of sensor data streams (16) from a pair of cameras (70) arranged for stereo imaging.

12. The microprocessor (10) according to any one of claims 1-9, wherein the sensor interface (12) is configured to interface with a plurality of Time-of-Flight (ToF) sensors as the plurality of sensors (14), such that each sensor data stream (16) is a ToF data stream, with, at any given time, a selected one of the ToF data streams being processed as the priority sensor data stream (22) and the remaining ToF data streams being processed as the non-priority sensor data streams (24).

13. The microprocessor (10) according to any one of claims 1-9, wherein the sensor interface (12) is configured to interface with a plurality of Light Detection and Ranging (LIDAR) sensors as the plurality of sensors (14), such that each sensor data stream (16) is a LIDAR data stream, with, at any given time, a selected one of the LIDAR data streams being processed as the priority sensor data stream (22) and the remaining LIDAR data streams being processed as the nonpriority sensor data streams (24).

14. The microprocessor (10) according to any one of claims 1-9, wherein the sensor interface (12) is configured to interface with a plurality of Radio Detection and Ranging (RADAR) sensors as the plurality of sensors (14), such that each sensor data stream (16) is a RADAR data stream, with, at any given time, a selected one of the RADAR data streams being processed as the priority sensor data stream (22) and the remaining RADAR data streams being processed as the non-priority sensor data streams (24).

15. The microprocessor (10) according to any one of claims 1-9, wherein the sensor interface (12) comprises a plurality of audio inputs, such that each sensor data stream (16) is an audio data stream, with, at any given time, a selected one of the audio data streams being processed as the priority sensor data stream (22) and the remaining audio data streams being processed as the non-priority sensor data streams (24).

16. The microprocessor (10) according to any one of claims 1-9, wherein the microprocessor (10) is included in a mobile computing device having a front camera and one or more back cameras as the plurality of sensors (14), such that each sensor data stream (16) is a camera data stream, with, at any given time, a selected one of the camera data streams being processed as the priority sensor data stream (22) and the remaining camera data streams being processed as the non-priority sensor data streams (24).

17. An apparatus comprising: a plurality of sensors for sensing a surrounding environment of the apparatus, each sensor configured to provide a respective sensor data stream; a microprocessor comprising: a sensor interface configured to interface with the plurality of sensors; scheduling circuitry configured to perform dynamic sensor prioritization by designating a dynamically selected one among the plurality of sensor data streams as a priority sensor data stream, with the remaining sensor data streams being non-priority sensor data streams; and sensor-processing circuitry including: a priority processing path that is based on a priority processor core and allocated to the priority sensor data stream; and a non-priority processing path that is based on a non-priority processor core and allocated to the non-priority sensor data streams on a shared basis.

18. The apparatus of claim 17, wherein the apparatus comprises a vehicle and the plurality of sensors comprises a plurality of cameras, and wherein the microprocessor further comprises an application processor core that is configured to execute an applications-layer program that includes dynamic designations of the priority camera during runtime of the applications-layer program.

19. A method of operation by a microprocessor having a sensor interface for interfacing with a plurality of sensors, each sensor operative to provide a respective sensor data stream, and the method comprising: dynamically selecting one among a plurality of sensor data streams as a priority sensor data stream, with the remaining sensor data streams being non-priority sensor data streams; allocating a priority processing path to the priority sensor data stream, the priority processing path based on a priority processor core; and allocating a non-priority processing path to the non-priority sensor data streams on a shared basis, the non-priority processing path based on a non-priority processor core.

Citation Information

Patent Citations

  • Real-time scheduling for a heterogeneous multi-core system

    US20220342702A1