Data acquisition and storage during low-power states
By using a system management circuit to manage power states and transfer sensor data only when buffer usage exceeds a threshold, the challenge of transferring data during low-power memory states is addressed, enhancing power efficiency and user interaction detection in processing systems.
Patent Information
- Application Number
- JP2026525204
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-30
- Filing Date
- 2024-06-14
- Publication Date
- 2026-11-20
AI Technical Summary
Processing systems face challenges in transferring sensor data from sensor buffers to system memory when the memory is in a low-power state, leading to buffer overflow and impaired user interaction detection and application debugging.
A system management circuit is used to manage power states, including waking up the system memory only when sensor data buffers reach a threshold usage, allowing sensor data to be transferred to system memory while minimizing the time the memory is in a normal power state, thereby reducing power consumption.
This approach enables efficient collection and storage of sensor data in system memory during low-power states, reducing power consumption and maintaining effective user interaction detection and application debugging by minimizing the duration of normal power state usage.
Smart Images

Figure 2026539153000001_ABST
Abstract
Description
Background Art
[0001] Some processing systems, such as those implemented in mobile devices, are configured to reduce power consumption by placing particular elements of the processing system in a low power state. While in the low power state, the elements of the processing system are configured to perform fewer operations and actions, which helps reduce the power consumption of these elements. To place these elements in the low power state, some processing systems include a system management controller configured to control various signals connected to those elements. By controlling these signals, the system management controller is configured to induce the low power state in the elements of the processing system using clock gating techniques or power gating techniques, respectively.
[0002] The present disclosure may be better understood with reference to the accompanying drawings, and numerous features and advantages thereof will be apparent to those skilled in the art. The use of the same reference numerals in different drawings indicates similar or identical items.
Brief Description of the Drawings
[0003] [Figure 1] FIG. 3 is a block diagram illustrating a processing system configured for sensor data collection and storage during a low power memory state, in accordance with some embodiments. [Figure 2] FIG. 4 is a flow diagram illustrating exemplary operations for sensor data collection and storage during a low power memory state, in accordance with some embodiments. [Figure 3] FIG. 5 is a timing diagram illustrating buffer usage during a first power state and a second power state of a memory, in accordance with some embodiments. [Figure 4] FIG. 6 is a flow diagram illustrating an exemplary method for combining sensor data collection and storage based on memory power states, in accordance with some embodiments.
Mode for Carrying Out the Invention
[0004] Some processing systems, such as those found in mobile devices, smartphones, game systems, laptops, and wearable devices, are configured to help conserve power by placing parts of one or more components of the processing system into one or more low-power states. These low-power states include, for example, placing at least a portion of a component into an idle state, an off state, a self-refresh state, or any combination thereof, so that the component draws less power than when it is in a standard power state (e.g., on state, active state, operating state). Some examples of such low-power components include parts of a central processing unit (CPU), an acceleration unit (AU), memory, a security processor, or any combination thereof. To place a portion of a component into a specific power state (e.g., normal power state, low-power state), some processing systems include a system management circuit (e.g., a system management controller) configured to send status signals to bring the component into a specific power state. For example, each of these status signals includes data indicating the specific power state in which one or more parts of the component will be placed. For example, the status signal includes data indicating the clock frequency to provide to at least a portion of the component in order to bring it into a specific power state. As another example, a status signal includes data indicating the voltage, current, power, or any combination thereof to be supplied to a component in order to bring at least one part of the component into a specific power state. In response to receiving a clock signal or power signal based on such a status signal, one or more parts of the component then enter the power state indicated by the status signal.
[0005] Furthermore, to help improve the user experience, some processing systems include sensor circuits, which include one or more sensors configured to collect data (e.g., taking measurements) about the device containing the processing system, the user of the processing system (e.g., the user of the device), or both. For example, the sensors collect data representing user interactions with the device, such as the user handling the device, the user moving the device, the user looking at the device's camera, the user making noise around the device (e.g., talking), or any combination thereof. The data collected by the sensors is then used by applications executed by the processing system, so that the applications take specific actions based on the user interactions represented by the sensor data. To aid in the execution of these applications, debugging the processing system (e.g., applications, sensors), or both, the sensor circuits are configured to store the data collected by the sensors in one or more buffers of the sensor circuits (e.g., storing measurements taken by the sensors). The processing system then transfers the sensor data from the buffers to system memory.
[0006] However, when the system memory is in a low-power state, the processing system cannot transfer sensor data from the sensor circuit's buffer to the system memory. For this purpose, the systems and techniques disclosed herein include a processing system configured to collect and store sensor data while the system memory is in a low-power state. The processing system includes a system management circuit (e.g., a system management controller) configured to put one or more parts of one or more components of the processing system into one or more power states. As an example, the system management circuit is configured to put the system memory into a low-power state, such as a self-refresh state. While the system memory is in a low-power state, one or more sensors in the sensor circuit acquire one or more measurements to generate sensor data. Such sensor data includes, for example, one or more measurements representing a user interaction with a device including the processing system. Once the sensors have generated sensor data, the sensor circuit is configured to store the sensor data in a buffer that is included in the sensor circuit or otherwise connected to the sensor circuit.
[0007] Furthermore, the processing system includes a sensor data management circuit configured to monitor the usage of a buffer that stores sensor data. Such usage represents, for example, the percentage of the buffer used to store sensor data. The sensor data management circuit is further configured to determine whether the buffer has reached a threshold usage by comparing the monitored usage with a predetermined threshold. Based on the monitored buffer usage being greater than or equal to the predetermined threshold, the sensor data management circuit generates a wake-up signal and transmits the wake-up signal to the system management circuit. Such a wake-up signal includes, for example, data indicating that the buffer has reached a threshold usage, data indicating that a portion of the system management circuit enters a normal power state, or both. Based on receiving the wake-up signal, the system management circuit wakes up at least a portion of the system memory and generates a transfer signal, for example, an instruction to transfer data. As an example, based on receiving the wake-up signal, a portion of the system management circuit generates one or more status signals to exit a low-power state (e.g., enter a normal power state) and to cause the memory controller, at least a portion of the system memory, or both to exit a low-power state (e.g., enter a normal power state). The system management circuit then generates a transfer data signal and provides it to the memory controller associated with the system memory. The transfer data signal includes, for example, data indicating that sensor data is to be written from the sensor circuit's buffer to one or more locations (e.g., memory addresses) in the system memory. Based on receiving the transfer sensor data signal, the memory controller then transfers the sensor data from the sensor circuit's buffer to the system memory. For example, the memory controller writes the sensor data to the area of system memory indicated by the transfer sensor data signal.
[0008] When the memory controller transfers data from the buffer to system memory, the system management circuit generates one or more status signals to return the memory controller, at least a portion of the system memory, or both, to a low-power state. The sensor then continues to acquire measurements, and the sensor data management circuit continues to monitor the buffer until the threshold usage is met again. When the threshold usage is met again, the sensor data management circuit wakes up the system management circuit again, and then wakes up the memory controller and system memory to transfer the data in the buffer. In this way, the processing system is configured to collect sensor data and store this sensor data in system memory while the system memory is in a low-power state. That is, the processing system is configured to wake up the system memory to store sensor data only when the buffer is at threshold usage, which helps reduce the amount of time the system memory is in a normal power state and helps limit the power consumption required to transfer sensor data into system memory. Furthermore, since the system memory is returned to a low-power state after the sensor data is written from the buffer to the system memory, the system memory is only in a normal power state during data transfer. In this case as well, it helps reduce the amount of time the system memory is in a normal power state, and helps limit the power consumption required to store sensor data in the system memory.
[0009] Figure 1 is a block diagram of a processing system 100 configured to collect sensor data and store this sensor data in the system memory while the system memory is in a low-power memory state, according to several embodiments. According to some embodiments, the processing system 100 is implemented in a mobile device powered by one or more batteries (not shown for clarity). For example, in some embodiments, the processing system 100 is implemented in a smartphone, game system, laptop, automotive system, drone, wearable device, etc. In embodiments, the processing system 100 includes or has access to memory 106 or other storage components implemented using a non-temporary computer-readable medium such as dynamic random-access memory (DRAM). However, in embodiments, memory 106 is implemented using other types of memory, including static random-access memory (SRAM), non-volatile RAM, etc. According to embodiments, memory 106 includes external memory implemented outside the processing unit implemented in the processing system 100. Furthermore, the processing system 100 includes a bus 132 to support communication between components implemented within the processing system 100 (e.g., CPU 102, AU 112, memory 106, system management circuit 116, sensor data management circuit 120, sensor circuit 124). Some embodiments of the processing system 100 include other buses, bridges, switches, routers, etc., which are not shown in Figure 1 for clarity. For example, in some embodiments, the processing system 100 includes a data fabric that includes the bus 132 and is configured to support communication between components of the processing system 100.
[0010] According to one embodiment, the processing system 100 is configured to run one or more applications 108. Such applications 108 include, for example, computational applications, graphics applications, or both. When a computational application is run by the processing system 100, it causes the processing system 100 to perform one or more calculations, such as machine learning calculations, neural network calculations, database calculations, etc. When a graphics application is run by the processing system 100, it causes the processing system 100 to render a scene containing one or more graphics objects in screen space and display them, for example, on a display (not shown for clarity). To assist in running one or more applications 108, the processing system 100 includes an AU 112. AU112 includes, for example, one or more vector processors, coprocessors, graphics processing units (GPUs), general-purpose GPUs (GPGPUs), non-scalar processors, highly parallel processors, artificial intelligence (AI) processors, inference engines, machine learning processors, other multithreaded processing units, scalar processors, serial processors, programmable logic devices (e.g., field-programmable logic devices (FPGAs)), or any combination thereof. In embodiments, AU112 executes one or more commands, instructions, draw calls, or any combination thereof as shown in application 108. For example, AU112 executes one or more commands, instructions, draw calls, or any combination thereof to render an image according to one or more graphics applications for presentation on a display.For this purpose, as an example, the AU112 renders a graphics object (e.g., a group of primitives) to generate pixel values that are provided to the display, which then uses those pixel values to display an image representing the rendered graphics object.
[0011] To execute commands, instructions, draw calls, or any combination thereof for application 108, AU112 includes several processor cores 114, each operating as one or more compute units. According to some embodiments, the processor cores 114, each operating as one or more compute units, are configured to execute instructions, commands, and draw calls simultaneously or in parallel. For this reason, in some embodiments, one or more processor cores 114, each operating as one or more compute units, include SIMD units that perform the same operation on different datasets. As an example, one or more processor cores 114 each include SIMD units that perform the same operation indicated by one or more commands, instructions, or both from application 108. According to some embodiments, after performing one or more operations for application 108, the SIMD units store the data obtained from the execution of the operations (e.g., results) in a cache, memory 106, or both, connected to the associated processor core 114. In the exemplary embodiment shown in Figure 1, three processor cores (114-1, 114-2, 114-N) representing N processor cores are presented, but the number of processor cores 114 implemented within the AU112 is a matter of design choice. Therefore, in other embodiments, the AU112 can contain any number of processor cores 114.
[0012] Furthermore, the processing system 100 includes a CPU 102, which is connected to a bus 132 and therefore communicates with the AU 112 and memory 106 via the bus 132. The CPU 102 implements a plurality of processor cores 104-1 to 104-N that execute instructions simultaneously or in parallel. In the exemplary embodiment shown in Figure 1, three processor cores (104-1, 104-2, 104-M) representing M cores are presented, but the number of processor cores 104 implemented in the CPU 102 is a matter of design choice. Therefore, in other embodiments, the CPU 102 may include any number of processor cores 104. In some embodiments, the CPU 102 and AU 112 have an equal number of processor cores 104, 114, but in other embodiments, the CPU 102 and AU 112 have different numbers of processor cores 104, 114. The processor core 104 executes instructions such as program code for one or more applications 108 stored in memory 106, and the CPU 102 stores information such as the results of the executed instructions in the cache, memory 106, or both. In some embodiments, the CPU 102 is configured to control data movement between the sensor data management circuit 120, the system management circuit 110, and memory 106 during one or more power states 118. For example, the CPU 102 is configured to generate one or more instructions that, when executed by the sensor data management circuit 120, the system management circuit 110, or the memory controller, cause data to be transferred between the sensor data management circuit 120, the system management circuit 110, and memory 106.
[0013] In one embodiment, one or more components of the processing system 100 are each powered by their respective power rails. For example, in the embodiment shown in Figure 1, the memory 106 is powered by the memory rail 110, the sensor data management circuit 120 is powered by the sensor data management rail 122, and the sensor circuit 124 is powered by the sensor rail 130. The exemplary embodiment shown in Figure 1 shows a processing system 100 having three power rails (memory rail 110, sensor data management rail 122, and sensor power rail 130), each powering one component of the processing system 100. In other embodiments, the processing system 100 may include any number of power rails, each powering any number of components. In one embodiment, each power rail is configured to provide voltage, current, power, or any combination thereof to one or more components. For example, a first power rail (e.g., memory rail 110) is configured to supply a first voltage to memory 106, and a second power rail (e.g., sensor data management rail 122) is configured to supply a second voltage to sensor data management circuit 120, wherein the first voltage is different from the second voltage. Since different components of the processing system 100 are powered by their respective power rails, the processing system 100 is configured to control the voltage, current, and power supplied to the first components of the processing system 100 without affecting the voltage, current, and power supplied to the second different components of the processing system 100.
[0014] To help reduce the power consumption of the processing system 100, the processing system 100 includes a system management circuit 116 (e.g., a system management controller) configured to control the power states 118 of one or more components of the processing system 100 (e.g., CPU 102, memory 106, AU 112, sensor circuit 124). Such power states 118 include, for example, a normal power state (e.g., S0) in which a component is operational (e.g., configured to perform one or more expected actions) and a low-power state in which a component performs fewer actions and consumes less power. As an example, such low-power states include, but are not limited to, a self-refresh state, a sleep state (e.g., S1, S2, S3, S4, S5), a suspended state, an idle state, an active idle state (e.g., S0I1, S0i3), or any combination thereof. In embodiments, the system management circuit 116 is configured to put at least a portion of the components of the processing system 100 into a low-power state by generating a low-power state signal. Such low-power state signals indicate, for example, a frequency for setting a clock signal provided to a component to bring at least a portion of the component into a specific low-power state (e.g., a clock-gate power state), or a voltage, current, or power for a power rail to provide to the component to bring a portion of the component into a specific low-power state (e.g., a power-gate power state). Similarly, the system management circuit 116 is configured to generate a normal power state signal so that a component exits a low-power state (e.g., brings the component into a normal power state). Such a normal power state signal indicates, for example, a frequency for setting a clock signal provided to a component to bring at least a portion of the component into a specific normal power state (e.g., an operating state), or a voltage, current, or power for a power rail to provide to the component to bring a portion of the component into a specific normal power state.
[0015] According to one embodiment, one or more applications 108 executed by the processing system 100 are configured to improve the user experience by tracking user interactions with a device (e.g., a mobile device) on which the processing system 100 is implemented. Such user interactions include, to name a few, a user handling the device, a user moving the device, a user looking at the device (e.g., the device's camera), a user making noise around the device (e.g., talking), or any combination thereof. To track these user interactions, the processing circuit 100 includes a sensor circuit 124. The sensor circuit 124 includes one or more sensors 126 configured to acquire one or more measurements representing user interactions with the device. As an example, the sensor circuit 124 includes a sensor hub having one or more sensors 126 configured to acquire one or more measurements representing user, device, or both of them representing user interactions with the device. Such sensors 126 include, to name a few, one or more cameras, microphones, accelerometers, temperature sensors, humidity sensors, proximity sensors, gyroscopes, light sensors (e.g., ambient light sensors), Global Positioning System position sensors, Hall sensors, biosensors (e.g., fingerprint sensors), magnetometers, or any combination thereof. Each sensor 126 is configured to acquire one or more measurements representing at least a portion of the user interaction. For example, an accelerometer acquires a measurement of the device's acceleration, representing the user moving the device.
[0016] After acquiring one or more measurements, each sensor 126 is configured to store data representing the measurements, also referred to herein as “sensor data,” in one or more buffers 128, which are included in or otherwise connected to the sensor circuit 124. In some embodiments, a memory controller (not shown for clarity), which is included in or otherwise connected to the memory 106, is configured to transfer the sensor data from one or more buffers 128 to one or more locations in the memory 106 (e.g., physical memory addresses, virtual memory addresses). After the sensor data has been transferred to the memory 106, one or more applications 108 executed by the processing system 100 use the sensor data to determine one or more user interactions with the device, including the processing system 100, and take one or more actions based on the determined user interactions. Furthermore, in some embodiments, the sensor data written to the memory 106 is used to debug one or more applications 108, the sensor 126, or both.
[0017] Memory 106 is powered by a first rail (e.g., memory rail 110), and the sensor circuit 124 is powered by a second different rail (e.g., sensor rail 130), so that the sensor circuit 124 can operate while memory 106 is in a low-power state. For example, while memory 106 is in a low-power state, the sensor 126 is configured to continue acquiring measurements and storing the sensor data in one or more buffers 128. However, when memory 106 is in a low-power state, the memory controller associated with memory 106 cannot transfer sensor data from buffer 128 to memory 106. As a result of the memory controller being unable to transfer sensor data to memory 106, buffer 128 continues to store sensor data until buffer 128 is full, purging the sensor data from the buffer to make room for new sensor data. Such purged sensor data from buffer 128 negatively impacts the ability of application 108 to detect user interactions, the ability to debug application 108 and sensor 126, or both. Therefore, the power system 100 is configured to terminate the low-power state in memory 106 when one or more buffers 128 are at a threshold usage level, and then transfer the sensor data from buffer 128 to a location in memory 106 (e.g., a physical memory address, a virtual memory address). Such usage represents, for example, the percentage of buffer 128 currently storing data.
[0018] To wake up the memory 106 from a low-power state when one or more buffers 128 are at a threshold usage level, the processing system 100 includes a sensor data management circuit 120. In embodiments, the sensor data management circuit 120 is powered by a power rail (e.g., sensor data management rail 122) separate from the memory 106 and the system management circuit 116. In this way, the processing system 100 is configured to bring the sensor data management circuit 120 to a normal power state (e.g., operating state) while the system management circuit 116, the memory 106, or both are in a low-power state. According to embodiments, the sensor data management circuit 120 is configured to monitor the usage of one or more buffers 128 of the sensor circuit 124. For example, the sensor data management circuit 120 is configured to determine the usage level of one or more buffers 128 and then compare the determined usage level with a usage threshold. The usage threshold includes, for example, a predetermined threshold representing a threshold limit for the usage level of one or more buffers 128. Based on the determined usage of buffer 128 being less than the usage threshold, the sensor data management circuit 120 continues to monitor the usage of buffer 128. Based on the determined usage of buffer 128 being equal to or greater than the usage threshold, the sensor data management circuit 120 is configured to return memory 106 to a normal power state (for example, to terminate the low power state of memory 106).
[0019] To bring memory 106 to a normal power state, the sensor data management circuit 120 first sends a signal to the system management circuit 116 indicating that memory 106 should exit the low power state. In some embodiments, at least a portion of the system management circuit 116 is in a low power state at the same time as memory 106 is in a low power state. Based on the fact that at least a portion of the system management circuit 116 is in a low power state, the sensor data management circuit 120 is configured to send a wake-up signal to the system management circuit 116 in response to determining that the usage of buffer 128 is greater than or equal to a usage threshold. Such a wake-up signal includes data indicating, for example, that at least a portion of the system management circuit 116 (e.g., the security processor) should be brought to a normal power state and that at least a portion of memory 106 should be brought to a normal power state. Based on the wake-up signal, at least a portion of the system management circuit 116 (e.g., the security processor) exits the low-power state and then brings at least a portion of the memory 106 to a normal power state (e.g., at least a portion of the memory 106 exits the low-power state). Furthermore, in some embodiments, the system management circuit 116 sends a signal to the memory controller associated with the memory 106 indicating that sensor data in one or more buffers 128 should be written to one or more specific areas in the memory 106 (e.g., physical memory addresses, virtual memory addresses).
[0020] After the system management circuit 116 brings at least a portion of the memory 106 to a normal power state (e.g., operating state), the memory controller associated with the memory 106 then transfers sensor data from one or more buffers 128 to one or more locations in the memory 106. Once the memory controller has transferred the sensor data to the memory 106, the system management circuit 116 then returns the memory 106 to a low power state. Furthermore, in some embodiments, after the memory controller has written sensor data to the memory 106, the system management circuit 116 is configured to return at least a portion of the system management circuit 116 (e.g., security processes) to a low power state. The sensor data management circuit 120 is then configured to continue monitoring the usage of one or more buffers 128 and wake up the memory 106 again based on whether one or more buffers 128 are at a threshold usage level. In this way, the processing system 100 is configured to collect sensor data and store this sensor data in the memory 106 even while the memory 106 is in a low power state. The sensor data management circuit 120 is configured to return the memory 106 to a normal power state only when one or more buffers are at a threshold usage level. Therefore, the memory 106 is in a normal power state for only a short time before returning to a low power state, which helps reduce the power consumption required to transfer sensor data to the memory 106.
[0021] Referring here to Figure 2, the sensor data acquisition and storage of an exemplary operation 200 during a low-power state is shown according to the embodiment. In the embodiment, at least a portion of the exemplary operation 200 is performed by the sensor data management circuit 120 while at least a portion of the memory 106 is in a low-power state (e.g., a self-refresh state) and at least a portion of the system management circuit 116 is in a low-power state. According to the embodiment, the exemplary operation 200 first includes the sensor circuit 124 generating sensor data 205 while the memory 106 is in a low-power state. For example, in the embodiment, the sensor circuit 124 includes one or more sensors 126, each sensor configured to acquire one or more measurements of a device including a processing system 100, a user of such a device, or both. As an example, each sensor 126 is configured to acquire one or more measurements of a device, a user, or both that represent a user interaction with a device including a processing system 100 (e.g., a user handling the device, a user moving the device, a user looking at the device's camera, a user generating noise around the device). To acquire these measurements, each sensor 126 includes, for example, a camera, microphone, accelerometer, temperature sensor, humidity sensor, proximity sensor, gyroscope, light sensor (e.g., ambient light sensor), Global Positioning System position sensor, Hall sensor, biosensor (e.g., fingerprint sensor), magnetometer, or any combination thereof. According to the embodiment, after acquiring one or more measurements of the device, user, or both, each sensor 126 is configured to store data representing the measurements shown in Figure 2 as sensor data 205 in a buffer 128 which is included in or otherwise connected to the sensor circuit 124. The exemplary embodiment shown in Figure 2 shows a sensor circuit 124 including three sensors (126-1, 126-2, 126-N) representing N sensors, but in other embodiments, the sensor circuit 124 can have any number of sensors 126.
[0022] Furthermore, exemplary operation 200 includes the sensor data management circuit 120 monitoring the usage of buffer 128 (for example, shown as buffer 128 in Figure 1). That is, the sensor data management circuit 120 monitors the percentage of buffer 128 used to store sensor data 205. For this purpose, the sensor data management circuit 120 includes one or more microcontrollers 234 configured to monitor buffer 128. These microcontrollers 234 include, for example, one or more AVR microcontrollers, PIC microcontrollers, programmable logic devices (e.g., FPGAs), or any combination thereof. To monitor buffer 128, one or more microcontrollers 234 are configured to determine the usage of buffer 128 (for example, to determine the percentage of buffer 128 used to store sensor data 205). After determining the usage of buffer 128, one or more microcontrollers 234 then compare the determined usage with a buffer threshold 215. The buffer threshold 215 includes a predetermined value that represents, for example, a threshold usage (e.g., a percentage) of buffer 128. Based on the determined usage of buffer 128 being below the buffer threshold 215, one or more microcontrollers 234 continue to monitor buffer 128 (e.g., continue to determine the usage of buffer 128). Based on the determined usage of buffer 128 being greater than or equal to the buffer threshold 215, one or more microcontrollers 234 start waking up memory 106 in order to transfer the sensor data 205 in buffer 128 to memory 106.
[0023] In the embodiment, to wake up memory 106, one or more microcontrollers 234 are configured to generate a wake-up signal 225 and provide the wake-up signal 225 to the system management circuit 116. The wake-up signal 225 includes data, for example, indicating that sensor data 205 from buffer 128 should be written to memory 106. Furthermore, in the embodiment, the wake-up signal 225 includes data that, when received by the system management circuit 116, causes at least a portion of the system management circuit 116 to exit the low-power state. Based on the receipt of the wake-up signal 225, the system management circuit 116 is configured to cause at least a portion of the system management circuit 116 (e.g., the security processor) to exit the low-power state and enter the normal-power state. After at least a portion of the system management circuit 116 has entered the normal-power state, the system management circuit 116 is configured to change the memory controller 236 associated with memory 106, at least a portion of memory 106, or both, from the low-power state to the normal-power state. In other words, the system management circuit 116 causes at least a portion of the memory controller 236, the memory 106, or both to exit the low-power state. To this end, according to some embodiments, the system management circuit 116 is configured to generate one or more signals to modify the clock signal provided to the memory controller 236, the memory 106, or both, or to modify the voltage, current, or power provided to the memory controller 236, the memory 106, or both, or a combination of these two. In addition, after returning the memory controller 236, the memory 106, or both to the normal power state, the system management circuit 116 is configured to generate a transfer sensor data signal 235 and provide the transfer sensor data signal 235 to the memory controller 236. The transfer sensor data signal 235 includes, for example, data indicating that sensor data 205 from buffer 128 should be transferred to memory 106, data indicating one or more locations in memory 106 to write the sensor data 205 (e.g., physical memory address, virtual memory address), or both.
[0024] Based on receiving the transfer sensor data signal 235, the memory controller 236 then transfers the sensor data 205 from the buffer 128 to one or more locations in the memory 106 indicated by the transfer sensor data signal 235. In addition, in some embodiments, the memory controller 236 is configured to write one or more timestamps to the memory 106 indicating, for example, when each individual sensor data 205 was generated by the sensor 126, when each individual sensor data 205 was written to the memory 106, or both. According to some embodiments, after the memory controller 236 has transferred the sensor data 205 from the buffer 128 to the memory 106, the system management circuit 116 is configured to return the memory controller 236, at least a portion of the memory 106, or both, to a low-power state. For example, in order to return the memory controller 236, at least a portion of the memory 106, or both, to a low-power state, the system management circuit 116 is configured to generate one or more signals to modify the clock signal supplied to the memory controller 236, the memory 106, or both, or to modify the voltage, current, or power supplied to the memory controller 236, the memory 106, or both, or a combination of these two. After the memory controller 236, at least a portion of the memory 106, or both, are placed in a low-power state, in some embodiments, the system management circuit 116 then places at least a portion of the system management circuit 116 (e.g., the security processor) into a low-power state. The sensor data management circuit 120 then continues to monitor the usage of buffer 128 until the usage of buffer 128 exceeds the buffer threshold 215. When the usage of buffer 128 exceeds the buffer threshold 215, the sensor data management circuit 120 then wakes up at least a portion of memory 106 in order to transfer sensor data 205 from buffer 128 to memory 106.
[0025] Referring now to FIG. 3, there is shown a timing diagram 300 illustrating buffer usage between a first power state 320 and a second power state 325 according to an embodiment. In an embodiment, the timing diagram 300 illustrates the usage of the buffer 128 during the exemplary operation 200. For example, during the exemplary operation 200, one or more sensors 126 of the sensor circuit 124 are configured to obtain one or more measurement values each representing one or more user interactions with the device, and generate data representing these measurement values, which is depicted in FIG. 3 as sensor data 305. Further, the sensors 126 are configured to store the sensor data 305 in the buffer 128. As the sensor data 305 is stored in the buffer 128, the usage of the buffer 128 increases (e.g., the percentage of the buffer 128 storing the sensor data 305 increases), as represented by the buffer usage 310 in the timing diagram 300.
[0026] In this embodiment, when the sensor 126 stores sensor data 305 in the buffer 128, the memory 106 is in a first power state 320, for example, a self-refresh state. While the memory 106 is in the first power state 320, the memory controller 236 cannot transfer the sensor data 305 from the buffer 128 to the memory 106. For this reason, the sensor data management circuit 120 is configured to wake the memory 106 (for example, to put the memory 106 into a second power state 325) based on the buffer usage 310. In the exemplary embodiment shown in Figure 3, based on the buffer usage 310 being greater than or equal to the buffer threshold 215, the sensor data management circuit 120 first wakes up at least a portion of the system management circuit 116, which in turn puts at least a portion of the memory controller 236, the memory 106, or both into a second power state 325 (for example, a normal power state). As an example, the timing diagram 300 includes a memory power state 315 that represents the power state of memory 106 over time. In the timing diagram 300, at the first time T1 330, the buffer usage 310 is greater than or equal to the buffer threshold 215. Also, based on the fact that the buffer usage 310 is greater than or equal to the buffer threshold 215, at T1 330, the sensor data management circuit 120 wakes the memory controller 236, at least a portion of memory 106, or both, so that the memory power state 315 changes from the first power state 320 to the second power state 325. While memory 106 is in the second power state 325, the memory controller 236 is configured to transfer the sensor data stored in buffer 128 to one or more portions of memory 106. Since the sensor data is written from buffer 128 to memory 106, the usage of buffer 128 is reduced to the amount represented by the buffer usage 310 from time T1 330 to T2 335. At time T2 335, the memory controller 236 completes the process of writing sensor data from buffer 128 to memory 106. Furthermore, at time T2 335, memory 106 returns from the second power state 325 to the first power state 320.
[0027] In addition, within the timing diagram 300, at a third time T3 340 and a fifth time T5 350, the buffer usage 310 is again equal to or greater than the buffer threshold 215. Due to the buffer usage 310 being equal to or greater than the buffer threshold 215, at both T3 340 and T5 350, the sensor data management circuit 120 wakes the memory controller 236, at least a portion of the memory 106, or both, such that the memory power state 315 is changed from the first power state 320 to the second power state 325. After the memory controller 236 finishes writing sensor data from the buffer 128 to the memory 106 at time T4 345 and time T6 355 respectively, the memory 106 is returned to the first power state 320 again. Because the memory 106 is placed in the second power state 325 only while the memory controller 236 transfers sensor data from the buffer 128, the memory 106 is in the normal power state only for a short amount of time, which helps reduce the power consumption required to transfer sensor data into the memory 106.
[0028] Referring here to Figure 4, exemplary methods 400 for sensor data acquisition and storage in a low-power memory state are shown according to several embodiments. According to the embodiments, at least a portion of exemplary method 400 is carried out by a system management circuit 116, a sensor data management circuit 120, a sensor circuit 124, a memory controller 236, or any combination thereof. In the embodiments, in block 405, one or more sensors 126 of the sensor circuit 124 are configured to acquire one or more measurements representing one or more user interactions with a device implementing the processing system 100. Such user interactions include, for example, a user handling the device, a user moving the device, a user looking at the device's camera, a user making noise around the device (e.g., talking), or any combination thereof. Each sensor 126 is configured to generate sensor data (e.g., sensor data 205, 305) representing the acquired measurements after acquiring one or more measurements. In block 410, each sensor stores the generated sensor data in a buffer 128 of the sensor circuit 124. While one or more sensors 126 are storing sensor data in the buffer 128 of the sensor circuit 124, in block 415, the sensor data management circuit 120 is configured to monitor the usage of the buffer 128. That is, the sensor data management circuit 120 tracks the percentage of the buffer 128 being used to store sensor data. In block 415, the sensor data management circuit 120 is configured to determine whether the monitored usage of the buffer 128 is greater than or equal to a buffer threshold 215. Such a buffer threshold 215 includes, for example, a predetermined value representing a threshold usage of the buffer 128. Based on the monitored usage being less than the buffer threshold 215, one or more sensors 126 continue to store data in the buffer in block 410, and the sensor data management circuit 120 continues to monitor the usage of the buffer 128.
[0029] Based on the monitored usage being greater than or equal to the buffer threshold 215, the sensor data management circuit 120 is configured in block 420 to wake up at least a portion of the system management circuit 116. For example, in block 420, the sensor data management circuit 120 generates a wake-up signal 225 that includes data indicating that the sensor data in buffer 128 should be transferred to memory 106. Furthermore, in some embodiments, the wake-up signal 225 includes data that, when received by the system management circuit 116, causes at least a portion of the sensor data management circuit 120 (e.g., the security processor) to exit a low-power state and enter a normal power state (e.g., an active state, an operating state). In block 425, the system management circuit 116 is configured to wake up the memory controller 236, at least a portion of memory 106, or both. That is, the system management circuit 116 is configured to bring the memory controller 236, at least a portion of memory 106, or both into a normal power state. In addition, in some embodiments, the system management circuit 116 is configured to provide the memory controller 236 with a transfer sensor data signal 235 that includes data indicating that the sensor data stored in the buffer 128 should be transferred to one or more specific locations (e.g., physical memory addresses, virtual memory addresses). Referring further to block 425, when the memory controller 236, at least a portion of the memory 106, or both are in a normal power state, the memory controller 236 is configured to transfer the sensor data from the buffer 128 to the memory 106. As an example, the memory controller 236 transfers the sensor data from the buffer 128 to one or more locations in the memory 106 indicated by the stored sensor data signal 235 received from the system management circuit 116. After the memory controller 236 has transferred the sensor data from the buffer 128 to the memory 106, in block 430, the system management circuit 116 then returns the memory controller 236, at least a portion of the memory 106, or both to a low power state.In block 430, when at least a portion of the memory controller 236, memory 106, or both return to a low-power state, the system returns to block 410, where one or more sensors 126 continue to store data in the buffer, and the sensor data management circuit 120 continues to monitor the usage of buffer 128.
[0030] In some embodiments, the apparatus and techniques described above are implemented in a system including one or more integrated circuit (IC) devices (also called integrated circuit packages or microchips), such as the sensor data management circuit 120 described above with reference to Figures 1 to 4. Electronic design automation (EDA) and computer-aided design (CAD) software tools can be used to design and manufacture these IC devices. These design tools are typically represented as one or more software programs. One or more software programs include computer-executable code for operating a computer system to operate with code representing the circuit of one or more IC devices in order to perform at least part of the process of designing or adapting a manufacturing system for manufacturing the circuit. This code may include instructions, data, or combinations of instructions and data. Software instructions representing the design or manufacturing tools are typically stored in a computer-readable storage medium accessible to the computing system. Similarly, code representing one or more stages of designing or manufacturing an IC device is stored in and accessed from the same or different computer-readable storage medium.
[0031] Computer-readable storage media include any non-temporary storage media or combination of non-temporary storage media that are accessible by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact discs (CDs), digital versatile discs (DVDs), Blu-ray® discs), magnetic media (e.g., floppy disks, magnetic tapes, magnetic hard drives), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or microelectromechanical system (MEMS) based storage media. Computer-readable storage media (e.g., system RAM or ROM) may be built into the computing system, computer-readable storage media (e.g., magnetic hard drives) may be permanently mounted to the computing system, computer-readable storage media (e.g., optical disks or Universal Serial Bus (USB) based flash memory) may be detachably mounted to the computing system, and computer-readable storage media (e.g., network-accessible storage (NAS)) may be connected to the computer system via a wired or wireless network.
[0032] In some embodiments, certain aspects of the technology described above are implemented by one or more processors of a processing system that executes the software. The software includes one or more sets of executable instructions, which are stored in a non-temporary computer-readable storage medium or otherwise clearly embodied. The software may also include instructions and specific data, which, when executed by one or more processors, operate the one or more processors to execute one or more aspects of the technology described above. Non-temporary computer-readable storage mediums may include, for example, magnetic or optical disk storage devices, solid-state storage devices such as flash memory, caches, random-access memory (RAM), or other non-volatile memory devices (one or more). Executable instructions stored in a non-temporary computer-readable storage medium can be implemented as source code, assembly language code, object code, or other instruction forms that can be interpreted or otherwise executed by one or more processors.
[0033] In addition to the foregoing, it should be noted that not all activities or elements described in the summary are required, and certain activities or parts of devices may not be required, and one or more additional activities may be performed, and one or more additional elements may be included. Furthermore, the order in which the activities are listed does not necessarily indicate the order in which they are performed. Also, the concepts have been described with reference to specific embodiments. However, those skilled in the art will understand that various modifications and variations can be made without departing from the scope of the invention as described in the claims. Therefore, the specification and drawings should be considered illustrative rather than restrictive, and all of these variations are intended to fall within the scope of the invention.
[0034] Benefits, other advantages, and solutions to problems have been described above with respect to specific embodiments. However, benefits, advantages, solutions to problems, and features that may give rise to or manifest any benefits, advantages, or solutions are not to be construed as essential, necessary, or indispensable features to any or all of the claims. Furthermore, the disclosed invention can be modified and implemented in different but similar ways, in ways that are obvious to those skilled in the art who are interested in the teachings of this specification; therefore, the specific embodiments described above are merely illustrative. There are no limitations to the details of the configuration or design shown herein beyond those described in the appended claims. Accordingly, the specific embodiments described above may be modified or altered, and it is clear that all such modifications are within the scope of the disclosed invention. Accordingly, the protection sought herein is described in the appended claims.
Claims
1. A processing system, Memory and A buffer configured to store sensor data, A system management circuit configured to change at least a portion of the memory from a low-power state to a normal power state based on the usage of the buffer while at least a portion of the memory is in a low-power state, A memory controller configured to transfer sensor data from the buffer to at least a portion of the memory when at least a portion of the memory is in the normal power state, Processing system.
2. The system includes a sensor data management circuit configured to wake up at least a portion of the system management circuit based on whether the amount of buffer usage is above a predetermined threshold. The processing system according to claim 1.
3. The system management circuit is configured to change at least a portion of the memory from the low-power state to the normal-power state in response to receiving a wake-up signal from the sensor data management circuit. The processing system of claim 2.
4. A first power rail configured to supply power to the sensor data management circuit, The system comprises a second power rail configured to supply power to the memory, The first power rail is different from the second power rail. The processing system of claim 2.
5. The system management circuit is configured to change the memory from the normal power state to the low power state after the sensor data has been transferred to at least a portion of the memory. The processing system according to claim 1.
6. The system comprises one or more sensors configured to generate the aforementioned sensor data, The aforementioned sensor data represents one or more user interactions. The processing system according to claim 1.
7. At least a portion of the system management circuit is configured to enter a second low-power state after the memory controller has written the sensor data to at least a portion of the memory. The processing system according to claim 1.
8. It is a method, The system management circuit changes at least a portion of the memory from the low-power state to the normal power state based on the usage of the buffer that stores sensor data, while at least a portion of the memory is in a low-power state. The process includes writing the sensor data from the buffer to at least a portion of the memory when at least a portion of the memory is in the normal power state, method.
9. The sensor data management circuit includes waking up at least a portion of the system management circuit based on the buffer usage being above a predetermined threshold. The method of claim 8.
10. Changing at least a portion of the memory from the low-power state to the normal-power state is performed in response to receiving a wake-up signal from the sensor data management circuit. The method of claim 9.
11. To supply power from the first power rail to the sensor data management circuit, This includes supplying power to the memory from a second power rail, The first power rail is different from the second power rail. The method of claim 10.
12. After the sensor data has been written to at least a portion of the memory, the memory is changed from the normal power state to the low power state, or After the memory controller writes the sensor data to at least a portion of the memory, the system management circuit enters a second low-power state. Including at least one of the following: The method of claim 8.
13. One or more sensors generate the sensor data, The aforementioned sensor data represents one or more user interactions. The method of claim 8.
14. A processing system, At least one memory, At least one sensor, The system comprises at least one memory and at least one microcontroller coupled to the at least one sensor, Configured to carry out any of the methods of claims 8 to 13, Processing system.
15. A processing system, Memory and One or more sensors configured to store sensor data in a buffer, Equipped with a microcontroller, The aforementioned microcontroller is While at least a portion of the memory is in a first power state, the amount of the buffer used by the sensor data is monitored, Based on the monitored usage of the buffer, the memory is changed from the first power state to the second power state, It is configured to do the following: Processing system.
