Low Power Visual Sensing
Ambient computing systems with low-power detection processes for visual sensor data in mobile devices address power consumption and privacy issues by using low-power components for continuous monitoring and activating high-power components only when needed, thereby extending battery life and maintaining privacy.
Patent Information
- Application Number
- JP2022532137
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-17
- Filing Date
- 2020-12-16
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2040-12-16
AI Technical Summary
Mobile computing devices face challenges in reducing power consumption and extending battery life due to continuous processing of visual sensor data, which often requires activating high-power components like CPUs and machine learning engines, consuming significant power and compromising user privacy.
Implementing a low-power detection process using ambient computing systems that iteratively process visual sensor data with low-power components, activating high-power components only when necessary, and isolating visual sensor data from the main CPU cluster to prevent data leakage and enhance privacy.
This approach reduces power consumption while maintaining advanced functionality, extends battery life, and enhances user privacy by ensuring that visual sensor data is not accessible to compromised software processes.
Smart Images

Figure 0007562669000001 
Figure 0007562669000002
Abstract
Description
[Background technology]
[0001] background This specification relates to ambient computing.
[0002] Mobile computing devices, such as, for example, smart phones, personal digital assistants, electronic tablets, and laptops, typically use power provided by one or more rechargeable batteries. A rechargeable battery provides only a finite amount of power to the device before the battery must be recharged, for example by applying an electric current to the battery. Recharging the battery of a mobile computing device generally requires connecting the mobile computing device to an electric grid, which reduces or eliminates its mobility. Therefore, reducing the power consumption of mobile computing devices and thereby extending their battery life is an important objective.
[0003] A mobile computing device may include one or more peripheral sensors. For example, some mobile computing devices include a microphone, a camera, an accelerometer, and the like. A mobile computing device may further include one or more processing components to process data collected by the one or more peripheral sensors. For example, some mobile computing devices include a central processing unit (CPU), a digital signal processor (DSP), or other processing components.
[0004] Mobile computing devices may take actions based on data collected by their one or more ambient sensors and processed by their one or more processing components. For example, some mobile computing devices may take actions in response to voice commands detected by a microphone and processed by a CPU. However, keeping the processing components active so that the sensor data can be processed consumes a significant amount of power. Summary of the Invention
[0005] overview Described herein are techniques for implementing low-power visual sensing on a computing device that enable a variety of complex applications that rely on continuous monitoring of visual sensor data to run in low power states.
[0006] The subject matter described herein may be implemented in certain embodiments to achieve one or more of the following advantages: The ambient computing system may perform a variety of complex tasks based on visual sensing, but consume less power. This results in power savings and increased battery life. These complex visual sensing tasks may be performed without waking up the device's main CPU cluster. Additionally, the system's architecture may protect the user's privacy by preventing threads from the main CPU cluster from accessing the visual sensor data. This allows the ambient computing system to be more responsive to changes in its environment while also reducing power consumption. Thus, the ambient computing system may provide greater functionality with limited impact on the battery life of the computing device, and may increase the overall battery life of a computing device having complex ambient conditions.
[0007] According to a first aspect of the present disclosure, a computing device is provided, the computing device including a visual sensor configured to generate visual sensor data, and an ambient computing system configured to iteratively process the visual sensor data generated by the visual sensor according to a low power detection process, and, when a detection is indicated by the low power detection process, to activate one or more other components of the computing device to perform a high power detection process with the visual sensor data.
[0008] According to a second aspect of the present disclosure, a computing device is provided, the computing device including a visual sensor configured to generate visual sensor data, means for iteratively processing the visual sensor data generated by the visual sensor according to a low power detection process, and means for performing a high power detection process when detection is indicated by the low power detection process.
[0009] The following features may be provided in combination with either the first or second aspect. The device may be configured to perform a low power detection process using a first processing component and a high power detection process using a second processing component, where the first processing component may consume less power than the second processing component.
[0010] The second processing component may be disabled until detection is indicated by the low power detection process.
[0011] The computing device may further include a main machine learning engine having a plurality of compute tiles. The device may be configured to execute a high power detection process with the main machine learning engine. The main machine learning engine may include a second processing element.
[0012] The device may be configured to perform the low power detection process using fewer than all of the compute tiles of the main machine learning engine.
[0013] The computing device may further include an ambient machine learning engine. The device may be configured to perform the low power detection process with the ambient machine learning engine. The ambient machine learning engine may include a first processing element.
[0014] The computing device may further include a main CPU cluster, and the device may be configured to perform the low power detection process and the high power detection process without storing the visual sensor data in memory accessible by threads executing in the main CPU cluster.
[0015] The computing device may further include a camera and a main image signal processor (ISP) configured to process data generated by the camera. The device may be configured to generate pre-processed visual sensor data for use during the high power detection process using a private channel between a frame buffer that stores the visual sensor data and the main ISP. The private channel may be inaccessible by threads executing in the main CPU cluster.
[0016] The visual sensor may be configured to generate a first frame rate for a low power detection process and a second frame rate higher than the first frame rate for a high power detection process.
[0017] The visual sensor may be configured to generate visual sensor data at a first resolution for the low power detection process and at a second resolution higher than the first resolution for the low power detection process.
[0018] The means for iteratively processing visual sensor data generated by a visual sensor according to a low power detection process may include an ambient computing system.The means for iteratively processing visual sensor data generated by a visual sensor according to a low power detection process may be an ambient computing system.
[0019] When the low power detection process indicates detection, the ambient computing system may be further configured to activate one or more other components of the computing device to perform a high power detection process using the visual sensor data. The means for performing a high power detection process when the low power detection process indicates detection may include the one or more other components of the computing device.
[0020] According to a third aspect of the present disclosure, there is provided a method that includes performing the operations performed by a computing device of either the first or second aspects. The method may include a visual sensor of the computing device generating visual sensor data, iteratively processing the visual sensor data according to a low power detection process, and performing a high power detection process if a detection is indicated by the low power detection process.
[0021] The method may include an ambient computing system of the computing device repeatedly processing visual sensor data generated by the visual sensor according to a low power detection process, and, if detection is indicated by the low power detection process, invoking one or more other components of the computing device to perform a high power detection process using the visual sensor data.
[0022] According to a further aspect of the present disclosure, there is provided one or more computer storage media encoded with computer program instructions which, when executed by a data processing apparatus, are operable to cause the data processing apparatus to perform operations of the first or second aspect, or the method of the third aspect.
[0023] It will be appreciated that optional features described above in the context of the first and second aspects may be used in combination with the third and further aspects described above as well.
[0024] The details of one or more embodiments of the subject matter herein are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. [Brief description of the drawings]
[0025] [Figure 1] FIG. 1 is a diagram of an exemplary computing device. [Diagram 2] 1 is a flow chart of an exemplary process for performing a two-stage visual detection process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Detailed Description Like reference numbers and designations in the various drawings indicate like components.
[0027] 1 is a diagram of an exemplary computing device 100 having low power visual sensing capabilities. Device 100 is an example of a device that may use low power visual sensors to react to objects in its environment. Device 100 may be a system implemented in any suitable computing device, such as, for example, a smartphone, a smart watch, a fitness tracker, a personal digital assistant, an electronic tablet, or a laptop, to name a few.
[0028] The systems of the computing device 100 may be used such that the computing device 100 may remain in a low power state while continuously processing input from the visual sensor 111. In this context, being in a low power state means that one or more of the most powerful computing components are not used, which may mean that these devices are partially powered down or completely turned off. For example, in FIG. 1, the most powerful components include the main CPU cluster 140, the main machine learning (ML) engine 150, and the main image signal processor (ISP) (160). For simplicity, these components will be referred to as the high power components of the device, since typically these devices consume more power when in operation than the ambient computing system 110.
[0029] Thus, device 100 may repeatedly process visual sensor data using ambient computing system 110 without using any high power components. However, if ambient computing system 110 determines that a low power detection has occurred, the high power components may be woken up. As used herein, the terms wake up and activate are used to mean providing an increased amount of power to a particular processing component or other electronic circuit. The system may or may not have previously provided power to the processing component or other circuit being woken up or activated. In other words, the component being woken up or activated may or may not have previously been completely powered down. Wake up or activate a processing component causes the processing component to perform a boot process and instructions and data for the processing component are loaded into a random access memory. Alternatively or additionally, wake up or activate a processing component may include resuming from a previously suspended state.
[0030] As used herein, visual sensor data refers to a two-dimensional array of data elements generated by one or more light sensors of a visual sensor. Each data element may include, for example, one or more light intensity values for red, blue, and green light. Thus, visual sensor data may be stored as raw intensity values for each color of light. Alternatively or additionally, each data element may store a single intensity value without color information.
[0031] As used herein, low power detection means that the data captured by the visual sensor 111 has been processed according to a low power detection model, and that the low power detection model indicates that further processing should be undertaken. Low power detection may be performed by one or more of the low power components of the processing subsystem 130, such as, for example, the low power CPU 132, the low power DSP, or the ambient ML engine 134.
[0032] If low power detection is made, the device 100 may activate one or more of the main CPU cluster 140, the main ML engine 150, or the main ISP to further process the visual sensor data 111. These components may process the visual sensor data using higher performance and more sophisticated models, which we will refer to as high power detection models, since they also utilize more powerful processing devices and therefore consume more power.
[0033] An illustrative example of the present technology is the use of face recognition to unlock a mobile phone. A complete face recognition model with the high-performance feature space required to reliably distinguish between different users' faces tends to consume a large amount of power. Therefore, on a device with finite battery power, it is impractical and inefficient to repeatedly run a complete face recognition model on all data captured by a visual sensor.
[0034] Instead, the ambient computing system 110 may iteratively process the data captured by the visual sensor 111 with a low-power detection model. The low-power detection model may be a model with fewer layers, fewer features, or may operate on smaller input frames. Thus, the low-power detection model may not have the high performance required to distinguish individual users from one another, and may only be able to distinguish human heads or human faces from other objects.
[0035] Thus, the device may use the low power detection model to reliably indicate whether the visual sensor 111 is capturing data that corresponds to a human head or face, but not a particular human head or face. If the low power detection indicates that the visual sensor 111 is likely capturing human face data, the ambient computing system 110 may determine whether the visual sensor 111 is capturing a particular human face (e.g., the human face of the mobile phone owner) by activating one or more of the high power components to run a full face recognition model. In a phone unlocking scenario, the system may then use the output of the full face recognition model to determine whether the phone should be unlocked.
[0036] In the low power detection state, the ambient computing system 110 may instruct the visual sensor 111 to use a lower frame rate, a lower resolution, or both, than in the high power detection state. For example, in the low power detection state, the visual sensor 110 may capture data at 140 pixel resolution at only 10 frames / second. And in the high power detection state, the visual sensor 110 may switch to capturing data at 1080 pixel resolution at 30 frames / second.
[0037] In addition to conserving power, this configuration also improves user privacy while continuing to provide the ability to use advanced facial recognition models. In other words, in a low power detection state, the visual sensor 111 is not capturing data of high enough quality that it can be used to identify any particular person. Thus, even if the mobile phone were to be compromised by malware capable of reading the data being captured by the visual sensor 111, the captured data would not be of high enough resolution to be useful for the purpose of identifying a particular person in the data captured by the visual sensor 111.
[0038] Device 100 may further optionally include an integrated camera 170 and may optionally include a main ISP 160 for processing images captured by camera 170. Notably, camera 170 may include much higher resolution capabilities than visual sensor 111. For example, the camera may capture 10, 20, or 30 megapixel images, whereas visual sensor 111 may only capture a maximum of 2 megapixel images even when in a high power detection mode.
[0039] The architecture of the ambient computing system 110 may also help to enhance user privacy: in particular, the ambient computing system 110 may be designed so that visual sensor data cannot leak to other components of the chip and be accessed by a compromised software process.
[0040] Thus, ambient computing system 110 may allocate dedicated frame buffer 133 in SRAM 139 of ambient computing system 110. In some implementations, ambient computing system 110 allocates the frame buffer in a portion of SRAM 139 that is inaccessible by threads executing main CPU cluster 140 or main ML engine 150. Thus, even if a software process executing on main CPU cluster 140 is compromised, the compromised process has no mechanism to access frame buffer 133 that stores data captured by visual sensor 111 because, unlike the general-purpose DRAM used by main CPU cluster 140, SRAM 139 is only accessible by components of ambient computing system 110 that may never execute any user code.
[0041] In some cases, to provide higher quality detection, the ambient computing system can borrow a processing pipeline from the main ISP 160. The main ISP 160 can be a hardware or software implemented system that includes a pipeline of multiple functional components that process the raw image data in sequence. For example, the main ISP 160 can have modules that apply linearization, black level correction, lens shading correction, white balance gain, and highlight recovery to produce the final output image.
[0042] The image processing pipeline of the main ISP 160 may be used to process raw image data captured by the full resolution camera 170. Additionally, in some implementations, the same processing pipeline of the main ISP may be used to enhance the data captured by the visual sensor 111.
[0043] To prevent data leakage of data captured by the visual sensor 111, the computing device may have a private, dedicated channel 135 from the frame buffer 133 to the main ISP 160. By private, dedicated channel, we mean that the architecture of the device 100 does not provide for other devices to read from the channel 135. In other words, threads running on the main CPU cluster 140 do not have a mechanism to access the data passed along the private channel 135.
[0044] Similarly, device 100 may further implement a private channel 137 between the main ISP and main ML engine 150, allowing main ML engine 150 to run highly performant models on high quality data executed through main ISP 160 over a channel that prevents such data from leaking to other components of device 100 and being read by a compromised thread running main CPU cluster 140.
[0045] Another use case of different power detection levels is the translation of text from one language to another. The ambient computing system 110 may continuously run a low-power optical character recognition (OCR) model on the data received by the visual sensor. A low-power OCR model indicating low-power detection means that the visual sensor 111 is capturing an image with, for example, text on a sign or text written on a piece of paper. Thus, the ambient computing system 110 may launch the main ML engine 150 to run a full high-power translation model on the text recognized from the visual sensor. The output may then be provided to the user, for example, on an ambient display or on an ambient text-to-speech model. In this way, the device may both continuously search for text to be translated, detect text, and automatically perform and output a full translation of any captured text without ever waking up the main CPU cluster 140.
[0046] One or more components of computing device 100 may be realized on a system on a chip (SoC) within the computing device. The SoC may be an integrated circuit including each component of the system on a single silicon substrate or on multiple interconnected dies, for example using a silicon interposer, stacked dies, or interconnect bridges. Other components of the computing device, including the main CPU cluster 140, may be implemented on the same die or on separate dies. Computing device 100 may include components, including sensors 112, one or more displays, a battery, and other components, that are separate and independent of the SoC and may be mounted on a common housing, for example.
[0047] Briefly, as described in further detail below, device 100 includes a number of ambient sensors 112 configured to generate sensor signals based on inputs from the computing device's environment. Device 100 includes a control subsystem 120 for controlling the supply of power and sensor signals to components in the system. Device 100 includes a processing subsystem 130 for processing the sensor signals and generating outputs.
[0048] Device 100 further includes a main CPU cluster 140. Main CPU cluster 140 is a component of a computing device that includes one or more general-purpose processors that are separate from the devices in processing subsystem 130. Because the processors of main CPU cluster 140 generally have more computing power than any of the devices in processing subsystem 130, the processors of main CPU cluster 140 may also consume more power than any of the devices in processing subsystem 130.
[0049] The device 100 may optionally further include a main machine learning (ML) engine 150. The main ML engine 150 is a special-purpose processing device configured to perform inference passes through one or more machine learning models. Each inference pass uses the inputs and learned parameter values of the machine learning model to generate one or more outputs predicted by the learned model. The main ML engine 150 may include one or more compute tiles. In general, a compute tile is a self-contained computational component configured to independently perform a set of computations. Tiles used to facilitate machine learning typically have a massively parallel architecture. In some implementations, each compute tile includes a grid of computational arrays, and each element in the computational array is a processing element capable of independently performing a mathematical operation. Thus, for example, to compute one 3x3 convolution, a tile may use 9 computation arrays in parallel, with each computation array performing 16 or 32 tensor multiplications in parallel between the input and the model weights. A suitable machine learning engine with multiple compute tiles is described in U.S. Patent No. 9,710,265, which is incorporated herein by reference.
[0050] The tiles of the main ML engine 150 may be arranged in a network and programmed such that each tile of the main ML engine 150 is configured to perform the operations of a portion of an inference path through a machine learning model. For example, if the machine learning model is a neural network, each tile in the main ML engine 150 may be configured to perform the computations of one layer of the neural network.
[0051] The main ML engine 150 provides more performance computing power than any of the devices in the processing subsystem 130 of the ambient computing system 110. Thus, the main ML engine 150 also consumes more power than any of the devices in the processing subsystem 130.
[0052] The processing subsystem 130 optionally includes an ambient machine learning engine 134. The ambient ML engine 134 is also a special-purpose processing device disposed within the ambient computing system 110 and configured to perform inference passes through one or more machine learning models. When the device 100 includes both the main ML engine 150 and the ambient ML engine 134, the ambient ML engine 134 has fewer compute tiles. Thus, the ambient ML engine 134 has less processing power and consumes less power than the main ML engine 150. For example, the ambient ML engine 134 may be implemented as one or two tiles, while the main ML engine 150 may have 8-16 or more interconnected tiles.
[0053] As described above, the processing subsystem 130 may save power by performing low power detection of the visual sensor data using the ambient ML engine 134, and then performing high power detection using a fully enabled ML engine 150.
[0054] Alternatively or additionally, the ambient computing system 110 may reconfigure the main ML engine 150 to operate in a reduced power mode. In the reduced power mode, fewer than all compute tiles are enabled. Thus, some compute tiles may not be used, while others may be used repeatedly for different parts of the inference path. For example, the system may enable a single tile on the main ML engine 150 and use this single tile to compute all layers of a neural network for low power detection. Of course, using a single tile will slow down the computation of the detection, but it will also consume power at a slower rate. Furthermore, as described above, the visual sensor may generate data at a lower frame rate for low power detection. Thus, the reduced processing speed from using one compute tile may be sufficient to compute one inference path per frame. Other configurations are possible, such as a reduced power mode using, for example, 2, 4, 8, 16, or any other suitable subset of the tiles in the main ML engine 150.
[0055] An advantage of using the reduced power mode of the main ML engine 150 is that chip size and cost are reduced because implementing the ambient ML engine 134 does not require the inclusion of a separate compute tile within the ambient computing system.
[0056] Although not shown, computing device 100 may further include one or more other components typically found on such computing devices, such as a display, a modem, a graphics processing unit, a display processor, or a special purpose image processor, to name a few. These components may be powered down during low power states described below, and may be activated when the system determines that the sensor signals match an application requiring their activation.
[0057] The device 100 includes a number of ambient sensors 112. The ambient sensors 112 include one or more audio sensors 102, one or more radar sensors 104, one or more touch sensors 106, a Global Positioning System (GPS) sensor 108, and an accelerometer 110. The system may include additional ambient sensors, fewer ambient sensors, or alternative ambient sensors. For example, the system may include a Wi-Fi signal detector, a cellular signal detector, a barometer, a thermometer, a magnetometer, or other types of ambient sensors.
[0058] The ambient sensors 112 may be devices configured to generate sensor signals in response to environmental inputs. One or more audio sensors 102, such as a microphone, may generate audio signals based on sounds in the environment. For example, the audio sensor 102 may generate audio signals corresponding to human speech. One or more radar sensors 104 may detect radar signals based on radio waves emitted by a transmitter of the computing device and then reflected. Variations in the reflected radio waves may indicate movement in the environment. For example, the radar sensor 104 may generate radar signals that are received by being reflected from a user, for example, when the user is performing a gesture in proximity to the computing device. Similarly, one or more touch sensors 106 may generate signals due to presence sensing of the device or touch gestures performed by a user of the computing device on a pressure-sensitive interface. The GPS sensor 108 may generate signals in response to received location data communications. The accelerometer 109 may generate signals due to acceleration experienced by the computing device. And as described above, the visual sensor 111 may generate visual sensor data that may have a lower resolution and frame rate for low-power detection. Whenever a sensor signal is described herein as being an input to another processing component, the input may be an analog electrical signal generated by the sensor itself, a digital representation of the sensor signal, or a processed digital representation of the sensor signal that represents one or more characteristics of the original signal. The ambient sensors of computing device 100 may also include inertial measurement sensors, barometers, specific absorption rate proximity sensors, and WiFi network name sensors, to name a few other examples.
[0059] The ambient computing system 110 includes one or more peripheral interfaces 114. The peripheral interfaces 114 may be components of the computing device 100 that are powered on even when the device is in its lowest power state. The peripheral interfaces 114 may include any suitable peripheral interface for converting inputs received from the peripheral sensors 112 into sensor signals used by the ambient computing system 110. For example, the peripheral interfaces 114 may include a pulse density modulation (PDM) interface, an inter-IC sound (I2S) interface, an inter-integrated circuit (I2C) interface, an I3C interface, a time division multiplexed (TDM) interface, and a serial peripheral interface (SPI), to name a few.
[0060] Each of the peripheral interfaces 114 is configured to generate a respective interrupt upon detecting an environmental input. In general, each interrupt may identify a source of sensor data, such as, for example, an identifier of the peripheral interface or sensor responsible for the interrupt. The interrupts are received and processed by one or more interrupt controllers 124. For example, upon receiving an interrupt, the interrupt controller 124 may activate a power control unit (PCU) 121, which includes a power management unit (PMU) 122 and a clock control unit 123. The PMU 122 may control which components of the device 100 receive power and how much power each component receives. The clock control unit 123 may control the frequency at which the components of the device 100 operate. In some implementations, each processing component has a different clock frequency that is a multiple or fraction of a base clock frequency. By having a clock frequency that is a multiple or fraction of the base clock frequency, each processing component may more efficiently exchange signals with other processing components.
[0061] Upon receiving an interrupt, PCU 121 may determine, based on the source of the interrupt, which other components of ambient computing system 110 should be activated to further process the sensor signal causing the interrupt. To provide processing support for such components, PCU 121 may activate static random access memory (SRAM) 139 and a system communications fabric. The fabric is a communications subsystem that communicatively couples the internal components of ambient computing system 110, their communications to external components, or some combination of these. The fabric may include any suitable combination of communications hardware, such as, for example, a bus or dedicated interconnect circuitry.
[0062] Static random access memory (SRAM) 139 may be a general-purpose random access memory device that may be shared by multiple processing components of processing subsystem 130. For example, SRAM 139 may store sensor signals, processor instructions and data, system outputs, and other data, such as neural network parameters of a neural network model that is or will be implemented by ambient ML engine 134. In general, SRAM is distinguishable from dynamic random-access memory (DRAM) in that it does not need to be periodically refreshed. As described in more detail below, SRAM 139 is directly accessible to processing components in processing subsystem 130 or accessible via one or more DMA controllers. In some implementations, SRAM 139 includes multiple banks that may each store a substantially similar amount of data, e.g., 1 MB, 10 MB, or 100 MB each. Additionally, each individual bank may include multiple blocks that may be individually powered down when entering a low power state. By carefully sequencing the order in which blocks are powered down among the four banks, the SRAM address space can remain contiguous.
[0063] When PCU 121 powers up SRAM 139, PCU 121 may power up fewer than all blocks or memory banks of SRAM 139. Instead, PCU 121 may power up only a sufficient number of blocks to determine whether the next component of processing subsystem 130 should further increase power-up of the components of device 100.
[0064] PCU 121 may further provide different power levels to different blocks of SRAM 139. For example, in the monitoring power state, PMU 122 may provide a lower retention voltage to the entire SRAM 139, thereby reducing its power consumption. PMU 122 may further provide a retention voltage to SRAM 139 when the processing components do not need to access SRAM 139. In the processing power state, PMU 122 may provide a normal voltage to all or portions of SRAM 139 and a reduced or no voltage to other portions of SRAM 139.
[0065] During the process of handling the interrupt, the ambient computing system 110 may further activate one or more DMA controllers 128. The DMA controller 128 may manage DMA paths that allow higher data bandwidth for the incoming sensor signals. For example, the DMA controller 128 may be used to continuously stream audio data from a microphone to the SRAM 139 for access by processing components in the processing subsystem 130. Conversely, the DMA controller may further be used to continuously stream audio data stored in the SRAM 139 for output as sound through one or more speakers. As another example, the DMA controller 128 may be used to stream visual sensor data from the visual sensor 111 to the SRAM 139. The DMA controller 128 may further be used to stream any suitable sensor data to the SRAM 139, although using programmed IO may be computationally less expensive than activating a DMA controller for small amounts of data. Thus, the ambient computing system 110 may activate and use the DMA controller 128 for relatively high bandwidth sensor data, such as audio and radar data, and may use the programmed IO for other types of sensor data.
[0066] After preparing the fabric and SRAM 139, the PCU 121 may use the interrupt to determine which other components of the processing subsystem 130 to wake up. For example, the PMU 122 may control whether power is provided to the low power CPU 132, the low power DSP 136, or other components of the processing subsystem 130 depending on which of one or more sensors generated an interrupt. In some implementations, the peripheral interface 114 and the components of the control subsystem 120 are the only components of the device 100 that are powered on in the monitoring power state. The monitoring power state is a power state in which the system is waiting to receive an interrupt due to an environmental input to the computing device.
[0067] The processing components of the processing subsystem 130 include a low-power CPU 132, an ambient ML engine 134, a low-power DSP 136, and a high-power DSP 138. In some implementations, the processing subsystem has multiple instances of one or more of these components, such as multiple low-power DSPs or multiple high-power DSPs. For example, the processing subsystem 130 may have one high-power DSP dedicated to processing audio signals and a separate high-power DSP dedicated to processing radar signals. Alternatively or additionally, the processing subsystem 130 may have a high-power DSP dedicated to processing visual sensor data generated by the visual sensor 111.
[0068] In the monitoring power state, processing components in the processing subsystem 130 may be maintained in a retention mode. The PCU 121 may maintain the components in the retention mode by reducing or removing the power supplied to the components. For example, in the retention mode, the PCU 121 may supply the processing components with only enough power to maintain register states, but not enough power to process data in the registers.
[0069] The low-power CPU 132 may be a general-purpose programmable processor that includes registers, control circuits, and an arithmetic logic unit (ALU). In general, the low-power CPU 132 may consume less power and include fewer processing cores than the computing device's main CPU cluster 140. In some implementations, the low-power CPU 132 is primarily a scalar processor that operates on a single instruction and a single data input.
[0070] The low-power DSP 136 and the high-power DSP 138 may be special-purpose processors configured for efficient decoding and processing of highly-vectorized signals. The processing subsystem 130 may include various DSPs designed for different purposes. For example, the processing subsystem 130 may include a DSP configured to process visual sensor data, a DSP configured to process audio signals, a DSP configured to perform data plane algorithms, a DSP configured to process wireless communication signals, and a DSP configured to process GPS signals, to name a few. In general, high-power DSPs consume higher levels of power than low-power DSPs because they have more active registers, access and process more data in parallel, rely more on memory operations, or some combination of these.
[0071] In operation, low power CPU 132 may receive interrupts and sensor signals as the system enters a processing power state. Based on the types of sensor signals it receives and the characteristics of those sensor signals, low power CPU 132 may determine that other components of the system should be activated, such as, for example, the communications fabric, DMA controller 128, SRAM 139, or some combination thereof. After activating these components, low power CPU 132 may optionally return to a non-operational state.
[0072] To support low power detection, low power CPU 132 may wake up other components of processing subsystem 130 upon receiving visual sensor data. As described above, this may include waking up ambient ML engine 134 to perform low power detection on visual sensor data stored in frame buffer 133 of SRAM 139. Alternatively or additionally, low power CPU 132 may wake up main ML engine 150 in a low power mode in which fewer than all tiles are enabled. Low power CPU 132 may then stream the data in frame buffer 133 to main ML engine 150 to perform low power detection.
[0073] In some implementations, the visual sensor data is first preprocessed by a software image processing pipeline executed by one or more components of the processing subsystem. For example, the low-power DSP 136 or the high-power DSP 138 may execute one or more stages of the image processing pipeline to enhance the visual sensor data before it is used for low-power detection. These components may execute the image processing pipeline using instructions stored in a portion of the SRAM 139.
[0074] In some other implementations, the visual sensor data is preprocessed by a special purpose image processing device. For example, the high power DSP 138 may be a two-dimensional DSP specially designed to process visual sensor data. The high power DSP 138 may be configured to operate at the same resolution and frame rate as the visual sensor 111 produces for low power detection.
[0075] If the result of the low power detection is positive, the low power CPU 132 may further activate high power components to perform the high power detection process. This may include activating the main CPU cluster 140, the main ML engine 150, the main ISP 160, or some combination thereof. Alternatively or additionally, the high power detection may be performed by another component of the ambient computing system 110, such as the high power DSP 138. As mentioned above, the high power detection may operate on visual sensor data that is pre-processed by an image processing pipeline implemented by the main ISP 160 or another component of the ambient computing system 110. If the image pre-processing is performed by the main ISP 160, the ambient computing system 110 may activate the main ISP 160 upon receiving an indication that the low power detection was positive. If the image pre-processing is performed by another component of the ambient computing system 110, the accuracy of the results may be reduced, but the advantage is that the main ISP 160 does not need to be powered on. Control subsystem 120 may further include timer 129, an electronic timer that may detect system anomalies and resolve those anomalies. During normal operation, the system may periodically reset timer 129 to prevent timer 129 from timing out. If the system fails to reset the timer due to, for example, a hardware failure or a program error, the timer will time out and generate a timeout signal. The timeout signal may be used to initiate one or more corrective actions. The corrective actions may include placing the system in a safe state and restoring normal system operation.
[0076] 2 is a flow chart of an exemplary process for performing a two-stage visual detection process. As described above, the ambient computing system may perform a low-power detection process on the visual sensor data using a low-power processing component, and if detection is indicated, perform a high-power detection process using a high-power processing component. This exemplary process is described as being performed by a system (e.g., computing device 100 of FIG. 1) having a visual sensor, a low-power processing component, and a high-power processing component.
[0077] The system generates 210 visual sensor data using a visual sensor. The system executes the low power detection process using a low power processing component (220). As described above, the low power processing component may be any of the devices on the ambient computing system or the main ML engine that is partially enabled. In general, the low power processing component consumes less power than the main CPU cluster or the main ML engine when fully enabled. Furthermore, during the low power detection process, the visual sensor may be configured to generate data at a lower frame rate, at a lower resolution, or both.
[0078] If the low power detection process does not indicate a detection (230), the system repeats the low power detection process again using the next captured visual sensor data (branch to 220).
[0079] If the low power detection process indicates a detection (230), the system activates (branch to 240) a higher power processing component. As discussed above, this may mean providing power to a previously unpowered high power processing component, increasing power to the high power processing component, or enabling additional functionality of the high power processing component. For example, the system may activate additional compute tiles of a machine learning engine.
[0080] The system performs a high power detection process using a high power processing component (250). As described above, the high power processing component , M In-ML engine or Ambient Computing System The high power detection process may use either already captured visual sensor data or updated visual sensor data.
[0081] If no detection is indicated by the high power detection process (260), the system may again power down the high power processing components back to their original state (branch to 280) and repeat the low power detection process with the next captured visual sensor data (220). Alternatively or additionally, the system may repeat the high power detection process multiple times before switching to perform the low power detection process.
[0082] If a detection is indicated by the high power detection process (260), the system may invoke a processing component to process the high power detection (branch to 270). For example, in a phone unlocking scenario, the system may invoke the main CPU cluster to unlock the phone.
[0083] For some applications, the system may invoke a processing component to process the output of a high-power detection process regardless of the outcome of the process, for example, in an automatic text translation application, the system may repeatedly output the results of a high-power text translation process to a device's display regardless of the outcome of the process.
[0084] The subject matter and the actions and operations described herein may be implemented in digital electronic circuitry, tangibly embodied computer software or firmware, computer hardware including the structures disclosed herein and their structural equivalents, or a combination of one or more of them. The subject matter described herein may be implemented as one or more computer programs, i.e., as one or more modules of computer program instructions encoded on a tangible, non-transitory storage medium for execution by or to control the operation of a data processing device. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagating signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, which is generated to encode information for transmission to a receiver device suitable for execution by a data processing device. The computer storage medium may be, or may be a part of, a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them. The computer storage medium is not a propagating signal.
[0085] A computer program, which may also be referred to or described as a program, software, software application, app, module, software module, engine, script, or code, may be written in any form of programming language, including compiled or interpreted, or declarative or procedural, and may be deployed in any form, including a stand-alone program or a module, component, engine, subroutine, or other unit suitable for execution in a computing environment, which may include one or more computers interconnected by a data communications network in one or more locations.
[0086] A computer program may, but need not, correspond to a file in a file system. A computer program may be stored in a portion of a file that holds other programs or data, such as one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, such as files that store one or more modules, subprograms, or portions of code.
[0087] To provide interaction with a user, embodiments of the subject matter described herein may be implemented on or configured to communicate with a computer having a display device, such as, for example, an LCD (liquid crystal display) monitor, for displaying information to a user, and an input device, such as, for example, a keyboard and a pointing device, such as a mouse, trackball, or touchpad, by which a user may provide input to the computer. Other types of devices may also be used to provide interaction with a user. For example, feedback provided to the user may be any form of sensory feedback, such as, for example, visual feedback, auditory feedback, or tactile feedback. Furthermore, input from the user may be received in any form, including acoustic input, speech input, or tactile input. Furthermore, a computer may interact with a user by sending documents to a device used by the user and receiving documents from the device. For example, a computer may interact with a user by sending a web page to a web browser on the user's device in response to a request received from the web browser, or by interacting with an app running on a user device, such as, for example, a smartphone or electronic tablet. Additionally, the computer may interact with the user by sending text messages or other forms of messages to a personal device, such as a smart phone running a messaging application, and receiving response messages in return from the user.
[0088] An embodiment of the subject matter described herein may be implemented in a computing system that includes a back-end component, e.g., as a data server, a middleware component, e.g., an application server, a front-end component, e.g., a client device, having a graphical user interface, web browser, or app through which a user may interact with an implementation of the subject matter described herein, or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, e.g., a communications network. Examples of communications networks include local area networks (LANs) and wide area networks (WANs), e.g., the Internet.
[0089] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communications network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. In some embodiments, a server sends data, e.g., HTML pages, to a user device, e.g., to display data to and receive user input from a user interacting with the device functioning as a client. Data generated at the user device, e.g., a result of user interaction, may be received from the device at the server.
[0090] Although the present specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or what is claimed or may be claimed, but rather as descriptions of features that may be specific to certain embodiments of a particular invention. Certain features described herein in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in a certain combination and initially claimed as such, one or more features from a claimed combination may in some cases be removed from the combination, and the claims may be directed to the subcombination or variations of the subcombination.
[0091] Similarly, although operations are illustrated in the figures and described in the claims in a particular order, this should not be understood as requiring that such operations be performed in the particular order illustrated or in a sequential order, or that all illustrated operations be performed, to achieve desirable results. In some situations, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the program components and systems described may generally be integrated together in a single software product or packaged in multiple software products.
[0092] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. For example, the actions recited in the claims may be performed in a different order and still achieve desirable results. As an example, the processes depicted in the appended figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous.
Claims
1. 1. A computing device comprising: a visual sensor configured to generate visual sensor data; means for iteratively processing the visual sensor data generated by the visual sensor according to a low power detection process; means for performing a high power detection process when a detection is indicated by the low power detection process; A main CPU cluster; a camera and a main image signal processor configured to process data generated by the camera; the computing device is configured to generate pre-processed visual sensor data for use during the high power detection process using a private channel between a frame buffer storing the visual sensor data and the main image signal processor; A computing device, wherein the frame buffer is allocated memory that is not accessible by threads executing in the main CPU cluster.
2. 2. The computing device of claim 1, wherein the computing device is configured to perform the low power detection process with a first processing component and to perform the high power detection process with a second processing component, the first processing component consuming less power than the second processing component.
3. The computing device of claim 2 , wherein the second processing component is disabled until detection is indicated by the low power detection process.
4. 4. The computing device of claim 2 or 3, further comprising a main machine learning engine having a plurality of compute tiles, the computing device being configured to perform the high power detection process using the main machine learning engine as the second processing component.
5. 5. The computing device of claim 4, wherein the computing device is configured to perform the low power detection process using fewer than all of the plurality of compute tiles of the main machine learning engine as the first processing component.
6. The computing device of claim 4 , further comprising an ambient machine learning engine, the computing device configured to perform the low power detection process using the ambient machine learning engine as the first processing component.
7. A computing device according to claim 1 , configured to perform the low power detection process and the high power detection process using the visual sensor data stored in the frame buffer.
8. The computing device of claim 1 or 7, wherein the private channel is inaccessible by threads executing in the main CPU cluster.
9. 9. The computing device of claim 1, wherein the visual sensor is configured to generate a first frame rate for the low power detection process and a second frame rate, the second frame rate being higher than the first frame rate, for the high power detection process.
10. 10. The computing device of claim 1, wherein the visual sensor is configured to generate the visual sensor data at a first resolution for the low power detection process and at a second resolution higher than the first resolution for the high power detection process.
11. A computing device according to any preceding claim, wherein the means for iteratively processing the visual sensor data generated by the visual sensor according to the low power detection process comprises an ambient computing system.
12. 12. The computing device of claim 11, wherein the ambient computing system is further configured to wake up one or more other components of the computing device to perform the high power detection process using the visual sensor data when detection is indicated by the low power detection process.
13. 1. A method performed by a computing device, comprising: receiving visual sensor data from a visual sensor configured to generate said visual sensor data; iteratively processing the visual sensor data according to a low power detection process; performing a high power detection process if a detection is indicated by the low power detection process; generating pre-processed visual sensor data for use during the high power detection process using a private channel between a main image signal processor configured to process data generated by a camera and a frame buffer storing the visual sensor data; The method, wherein the frame buffer is allocated memory that is not accessible by threads executing in a main CPU cluster.
14. the low power detection process is performed using a first processing component; performing the high power detection process includes performing the high power detection process with a second processing component; The method performed by the computing device of claim 13 , wherein the first processing component consumes less power than the second processing component.
15. The method performed by the computing device of claim 14 , wherein the second processing component is disabled until detection is indicated by the low power detection process.
16. 16. The method performed by a computing device according to claim 14 or 15, wherein the high power detection process is performed using a main machine learning engine having a plurality of compute tiles as the second processing component.
17. 20. The method performed by the computing device of claim 16, wherein the low power detection process is performed using fewer than all of the plurality of compute tiles of the main machine learning engine as the first processing component.
18. 20. The method performed by the computing device of claim 17, wherein the low power detection process is performed using an ambient machine learning engine as the first processing component.
19. One or more computer storage media having stored thereon a plurality of instructions for causing a plurality of processors of said computing device to carry out the method of any one of claims 13 to 18, comprising: A computer storage medium, wherein the plurality of instructions includes computer program instructions executed by a first processor for the low power detection process and computer program instructions executed by a second processor for the high power detection process.
Citation Information
Patent Citations
Imaging apparatus, its control method, program and storage medium
JP2007013472A
Controller and power amount control method
JP2013115649A
Gesture recognition method, gesture input system and electronic apparatus
JP2016086334A
Low-power, always-on face detection, tracking, recognition, and / or analysis using event-based vision sensors.
JP2018501531A
Low-power ambient computing system using machine learning
JP2020532779A
