The present disclosure pertains to integrated circuit (IC) devices having programmable analog blocks; more specifically, to optimizing performance and power management of IC devices by reconfiguring the programmable analog blocks in response to changing conditions.
Integrated circuit devices can include both analog and digital blocks. Analog blocks are often made reconfigurable in order to meet demands for multitask processing and to facilitate optimal power management. Analog blocks are capable of delivering functionality, such as making measurements and performing comparison of measured quantities, which digital blocks cannot provide. In a combination, analog and digital blocks can combine flexibility of software instructions executed by digital blocks with the speed of analog hardware. While digital blocks are better at handling more computation-heavy tasks, analog blocks can deliver superior performance where speed and saving energy are critical. Accordingly, careful allocation of execution of various tasks between analog and digital blocks is important in order to optimize speed, complexity, and energy efficiency of processing. This is especially crucial where integrated circuits are used in medical electronic devices, internet of things device, and various portable electronic devices that have limited energy resources and where benefits of effective power management can be particularly significant.
Aspects and implementations of the present disclosure are directed at optimizing performance and power management of integrated circuit (IC) devices by utilizing autonomous reconfigurability of the analog circuits independent of the digital processor which may remain in a sleep mode or perform a different operation. The processor may be located in the same die/substrate as the analog circuits, or may be implemented separately. The analog circuits may be combined into a programmable analog subsystem (PASS) that may be used in combination with or, in some implementations, separately from a digital subsystem that may comprise a central processing unit (CPU) and a memory device. In some implementations, the digital subsystem may be a large-scale computing device, a general purpose processing unit (GPU), or an application processing unit (APU). In other implementations, the digital subsystem may be a microcontroller unit (MCU) having a CPU and memory and designed to govern a specific operation. The microcontroller unit may be a separate circuit or a circuit embedded into a larger system. The PASS may use a logic circuit (in some implementations, in conjunction with one or more finite state machines) for decision-making regarding reconfiguring one or more analog devices, such as input-output (IO) devices, routing devices, continuous time blocks (CTB), Discrete-Time Blocks, analog-to-digital converters (ADC). For example, upon receiving and processing an input signal into one or more output data, the PASS may reconfigure one or more of its programmable analog circuits responsive to the output data. The PASS may perform such reconfiguration without waking up the CPU, if the CPU is in a sleep state, or without requesting the CPU instructions, if the CPU is in an active state. The PASS may continue to receive and process the input signals and be on the lookout for further output data. Responsive to such further output data, the PASS may communicate a wake-up instruction to the CPU. The CPU may perform processing and, in some implementations, may output configuration data to the PASS with additional instructions for how to reconfigure one or more of the PASS analog circuits.
Modern computing devices, especially automotive, wearable, hand-held, metering, appliance-integrated, and the like, require increasingly efficient power management. Many portable devices cram significant computational resources into a small form factors. Compact dimensions may limit capacity of portable devices for energy storage. Accordingly, it becomes increasingly crucial to optimize energy consumption during execution of a various tasks. Generally, executing a task faster by a minimal number of essential components leads to better utilization of energy resources. An IC may consist of a digital subsystem (e.g., a microcontroller unit) having a CPU and a reconfigurable analog subsystem. The digital subsystem may remain in a low-power sleep mode while the analog subsystem may be in a mode with limited functionality. The analog subsystem may receive an input signal (e.g., a voice signal) through its front end module and provide the signal, after analog processing (e.g., decoding, filtering and amplification) to an analog-to-digital converter, and then for digital pre-processing. The digital pre-processing output may indicate that the input signal meets a certain threshold criteria or otherwise indicates an event. Responsive to such determination, the analog subsystem may communicate a wake-up instruction to the CPU. Subsequently, the CPU may execute instructions stored in the memory of the digital subsystem and reconfigure the parameters of the analog subsystem so that the analog circuits may provide functionality that is better adjusted to the changed conditions.
For example, the analog subsystem may monitor input signals for an occurrence of one or more conditions, such as a drop of the ambient temperature below a certain pre-set minimum. Upon such an event, the analog blocks may wake up the CPU, which, upon execution of software or firmware, can turn on or adjust a heating system. Additionally, the CPU can reconfigure the analog blocks. After the heating system is turned on, the analog blocks can be reconfigured to monitor for a temperature rise above some pre-set maximum. The CPU and/or other digital blocks can then return to the low-power sleep mode while the reconfigured analog blocks can further monitor the ambient temperature. When the maximum temperature is achieved, the analog blocks can trigger another processor wake-up for further digital processing (e.g., control of the heating system) and/or analog block reconfiguration. As a result, the power consumption can be greatly reduced.
Such an approach, however, has a number of shortcomings. It relies on the CPU functionality (processing power and instruction execution) for the reconfiguration of the programmable analog circuits. But the CPU can consume a significant energy even while executing a minimal reconfiguration of the analog subsystem. Moreover, the CPU can take a considerable time to wake up from a sleep mode to an active state, so that the power economy in the sleep mode may come at a price of a delayed performance. Such a lack of reconfigurability of the analog circuits while the CPU remains in the sleep mode can, therefore, be a disadvantage where power management and processing speed are essential. In particular, in a situation where the CPU may be called upon to respond to multiple false alarms, utilization of computing resources can become suboptimal. This problem is further exacerbated when various analog blocks have fixed functionality (such as resolution or a range of parameters of monitoring) and can only be reconfigured with CPU involvement. As a result, in dynamic environments, when typical time intervals between monitored events or conditions become shorter than the times required for CPU wake-up and data processing, integrated circuits with CPU-only reconfigurable analog blocks become incapable of efficient power management.
Aspects and implementations of the present disclosure address this and other deficiencies of the existing ICs by providing dynamic configurability of programmable analog circuits without active CPU involvement or input. Various analog circuits may be combined into a low-power (LP) programmable analog subsystem (PASS) which may be capable of being in one of a plurality of states selectable in response to one or more received input signals or external conditions without CPU input. For example, the LP PASS may reconfigure itself into a different configuration while the CPU remains in a sleep state. In some implementations, the CPU may be in an active state, but the LP PASS may perform a reconfiguration without requesting CPU instructions. This may allow the CPU to perform other functions, such as processing of digital tasks that may be related or unrelated to the tasks that the LP PASS is performing. This may allow to process the same task faster, if both the LP PASS and the CPU are processing different parts of the same task, or it may allow concurrent processing of different tasks by the LP PASS and the CPU.
Selection of the state of the LP PASS may be accomplished by a logic circuit receiving a digital signal from an analog-to-digital converter (ADC) circuit or from a comparator. The ADC circuit may receive one or more analog signals pre-processed by front-end analog circuits. The input signals received by the LP PASS may represent a variety of external conditions. In some implementations, the input signals may be radio waves, light signals, sound waves, indicators of motion, direction, speed, temperature, mechanical contact, chemical compositions or any other signals that may be generated by environmental sensors representative of the state of physical or chemical environment surrounding the LP PASS. In some implementations, sensors may detect environments located at significant distances from the LP PASS.
The signals input through the IO devices may be routed to various analog blocks via a plurality of multiplexers (MUX).
The SAR ADC 130 may convert one or more signals (e.g., continuous-time signals) into one or more digital signals. The SAR ADC 130 may use a binary search with a resolution that may depend on the specific configuration of the LP PASS 102. For example, in the default configuration of the LP PASS, for detection of some quantity A, the SAR ADC 130 may be configured to output just a single bit with the values 0 or 1 corresponding to the quantity A being below or above a certain pre-determined threshold value. Once the quantity A has been above the threshold value for a certain amount of time (e.g., cumulatively for more than 5 of the last 10 sec), the SAR ADC 130 may be reconfigured into a state where the output value is specified with two bits (e.g., states 00, 01, 10, 11), three bits (001, 101, etc.), or more, depending on the required resolution.
The functionality of the analog circuits (such as MUXs, CTB, SAR ADC) may be supported by an analog reference block (AREF) 140, in some implementations. AREF 140 may provide reference voltages and reference currents to other analog blocks. For example, AREF 140 may provide bandgap voltage, low voltage, high voltage, and the like. In some non-limiting example, the low voltage may be 1.1 V while the high voltage may be within the range 2.7-5.5 V, or any other value. AREF 140 may similarly provide reference currents to various analog blocks. In some implementations, reference voltages and reference currents may be specific to the analog block to which they are provided. In some implementations, reference voltages and reference currents may be temperature-independent. In some implementations, reference voltages and reference currents may be proportional to temperature or may have some other pre-determined temperature dependence. In some implementations, AREF 140 may have a repeater capability, so that multiples of the reference voltages (and/or currents) may be provided to various analog circuits. AREF 140 may further provide clock signals for various analog circuits. In some implementations, AREF 140 may provide different clock signals to different analog circuits.
The signals processed by the analog blocks (and circuits within those blocks) may be input into a digital processing block 150 of the LP PASS 102. For example, as illustrated by a solid line in
The logic circuit 152 may process one or more digital input signals provided by SAR ADC 130 corresponding to various analog inputs of the LP PASS 102. For example, speech recognition digital input signals may be processed together with temperature, humidity, atmospheric pressure, and other digital input signals. In some implementations, different digital input signals may be processed by different gates of the logic circuit 152. In other implementations, different digital input signals may be processed by the same gates of the logic circuit 152 but sequentially in time, e.g., so that the processing of the digital input signal s1 may occur over time interval t1, followed by the processing of the digital input signal s2 over time interval t2, followed again by the processing of the digital input signal s1, and so on. The digital outputs of the processing of the various digital inputs by the logic circuit 152 may be temporally, or permanently, or until the next boot, stored in the memory 154.
The digital outputs of the logic circuit 152 may be used to reconfigure various analog blocks and circuits of the LP PASS 102, as indicated schematically by the dashed lines in
Different LP PASS configurations may have be characterized by different resolution of the continuous time processing of the input signals as well as different resolution of the output digital signals. For example, digital resolution may be increase from 8 bits to 12 bits and from 12 bits to 16 bits when the LP PASS 102 is reconfigured. Higher resolution may require longer processing time and/or more power consumption. Because the losing the lowest resolution may result in the fastest processing and/or lowest power conversion, the LP PASS 102 may start processing the lowest resolution configuration and but reconfigure itself (e.g., its SAR ADC 130) responsive to detection of indicia of specific events.
In some implementations, to reconfigure the LP PASS 102 into the second configuration, the logic circuit 152 may reconfigure some or all of the blocks CTB/DTB 120, SAR ADC 130, AREF 140, AROUTE 114, MUX 110, and SAR MUX 112. For example, to increase resolution of continuous time processing, the logic circuit 152 may execute instructions to AREF 140 to increase the frequency of the clock signal output by AREF to CTB/DTB 120. In another example, to increase resolution of analog-to-digital conversion, the SAR ADC 130 and CTB/DTB 120 may be reconfigured from, e.g., a 12 bit 20 ksps sampling mode to a 12 bit 1 MSPS sampling mode. In some implementations, the sampling rate may remain the same, but the resolution may increase. Conversely, the sampling rate, but not the resolution, may be increased.
In some implementations, the LP PASS 102 may include a finite state machine block (FSM) 158. The FSM 158 may be hardware-implemented as a circuit (or a set of circuits) separate from the logic circuit 152. In some implementations, FSM 158 may be implemented on the same circuitry as the logic circuit 152. In some implementations, FSM 158 may be implemented as instructions executed by the logic circuit 152. FSM 158 may be capable of receiving an input from the logic circuit 152 or directly from the SAR ADC 130 or from both. Responsive to receiving input, FSM 158 may be capable of selecting one or more of FSM states. FSM states may correspond to settings of any one of the analog circuits, or settings of a plurality of the analog circuits, or settings of the LP PASS 102 as a whole. The state selected by FSM 158 may be used to reconfigure some or all of the blocks CTB/DTB 120, SAR ADC 130, AREF 140, AROUTE 114, MUX 110, and SAR MUX 112.
FSM 158 may be one or more of a Finite State Transducer, an intelligent logic circuit, programmable logic device, controller, inference engine, acceptor, classifier, or sequencer type or any combination thereof. A classifier FSM may be able to select a state from a plurality of available states based on the input. For example, an FSM used by a heart monitoring device may select, depending on the heart rate of the patient, whether to implement heart rhythm corrections, administer electrocardiogram measurements, or to dispatch a communication to a medical professional. An acceptor FSM may be able to produce a binary output. In some implementations, output of state 0 means that no changes to the current configuration of the LP PASS 102 are to be implemented whereas output of state 1 means that the LP PASS 102 has to be reconfigured. In some implementations, selection of LP PASS configuration may be done in sequence: e.g., the output of state 1 means that the configuration with the next available resolution (or power consumption) is to be selected. As an illustrative example, a 12-bit 20 ksps sampling configuration of SAR ADC 130 may be followed by a 12-bit 1 MSPS configuration followed by a 16-bit 62.5 KSPS configuration. The FSM as inference engine, may be used, as a way of example, in speech recognition, such as when the LP PASS 102 may be in a stand-by mode looking for indicia of a code word. The FSM will study the observed phenomena in digital domain (after ADC) and match the data with pre-loaded data in the memory—to make inferences. This FSM can also act as Inference Engine—making key decisions, in image processing and also speech recognition.
The LP PASS 302 may include the same blocks as the LP PASS 102 illustrated in
The functionality of the multi-set LP PASS 302 may be similar to the functionality of the single-set LP PASS 102. The IO subsystem may include GPIO 304, PRGIO 306, and Programmable Interconnect (PI) 308A. The PI 308A may control what input signals are delivered to the LP PASS 102 from the GPIO 304 and/or PRGIO 306. The LP PASS may additionally have a PI 308B as part of the LP PASS 302. In some implementations, the PI 308B may distribute incoming analog signals between different sets of analog circuits. For example, chemical and physical sensing inputs may be directed to MUX 310(1) while audio signals may be directed to MUX 310(2). Routing of signals inside the LP PASS 302 may be done by the AROUTE 314 and reference values to both sets of analog circuits provided by the AREF 340. The logic circuit 352 may be configured to receive digital inputs from some or all CTBs 320 and to produce one or more digital output values. Some of the output values may be binary functions (0 or 1) of the input analog signals. For example, the input sound signal may result in the binary output 1 if the input contained a code word and in the binary output 0 if the input did not contain the code word. Some output values may be multi-bit digital numbers which may represent input analog signals in a quasi-continuous manner. For example, a detected ambient temperature or chemical composition of air or water may be represented by a quantity having a significant resolution (accuracy). The PI 308B may be controlled by the logic circuit 352 which may control how input signals are distributed within the LP PASS 302 by reprogramming the PI 308B, as shown schematically in
The logic circuit 352 or the FSM 358 may determine if one or more output values satisfy a first criteria. In some implementations, the first criteria may be represented by a first threshold value and the first criteria is satisfied if the output value exceeds the first threshold value. In some implementations, the first criteria is satisfied if the output value is below the first threshold value. The plural term “criteria” is understood in the present disclosure as encompassing both its dictionary—plural—meaning and the related singular meaning (“criterion”). Accordingly, the term “first criteria” (or “second criteria” and the like) encompasses implementations where a single output value may be compared with a single threshold value as well as implementations where a plurality of output values may be compared with a plurality of threshold values. Similarly, a singular term “threshold value” should be understood as also encompassing implementations having a plurality of threshold values.
The first threshold value may be stored in memory 354(1) or 354(2). In some implementations, the first threshold value may be stored in the registers 356(1) or 356(2). In some implementations, the first threshold value may be stored in the settings of the FSMs 358(1) or 358(2). If it is determined that the first criteria is satisfied, the logic circuit 352 and/or the corresponding FSMs 358 may reconfigure the LP PASS 302 from a first PASS configuration to a second PASS configuration having a different configuration setting. The configuration setting may include parameters that determine a functionality of at least one programmable analog circuits, such as clock rate of CTB/DTB 320, resolution and sampling rate of the SAR ADC 330, routing fabrics of AROUTE 314, analog references of AREF 340, and the like. The setting(s) for the second PASS configuration may be stored in memory 354, registers 356, or in the settings of the FSMs 358. In some implementations, registers 356 may be implemented in ROM and configuration settings stored in them may not be modified. In some implementations, registers 356 may be RAM-implemented and may be modified by the CPU 362 of the digital subsystem 360. In some implementations, some configuration settings may be stored in RAM (either memory 354 or registers 356) while other configuration settings may be stored in ROM (either memory 354 or registers 356). In some implementations, configuration settings may be stored in registers 356 whereas data collected by the LP PASS 302 may be stored in memory 354. In some implementations, the configuration settings may represent the states of one or more switches of one or more of CTB/DTB 320, SAR ADC 330, AROUTE 314, AREF 340, and the like.
When the LP PASS 302 is in the first configuration, the CPU 362 of the digital subsystem 360 may be in the CPU Off State. When the LP PASS 302 is reconfigured into the second configuration, the CPU may remain in the CPU Off State. The LP PASS 302 may continue receiving and processing the analog input signals in the second configuration. The logic circuit 352 or the FSM 358 may subsequently determine that one or more output values in the second configuration satisfy a second criteria. For example, the output value of the logic circuit 352 may be above (or below) the first second threshold value. If this happens, the logic circuit 352 may output a wake-up signal to the CPU 362 through a digital interface (not shown) and trigger CPU transition into the CPU On State. In some implementations, the wake-up signal may be an instruction, such as a digital instruction, for the CPU to wake up. In other implementations the wake-up signal may be a data signal that contains no instruction to the CPU 362 but such that causes the CPU 362 to wake up. In the On State, the CPU 362 may load instructions from the memory 364 of the digital subsystem 360 and execute a digital code. As a result of the code execution, the CPU 362 may send configuration data with instructions to the LP PASS 302 (e.g., to the logic circuit 352 and/or to the FSMs 358) to reconfigure the LP PASS to a third PASS configuration. The settings for the third configuration may be retrieved from the LP PASS memory 354 or registers 356, in some implementations. In some implementations, the CPU 362 may first store configuration settings into one or more RAM devices of the LP PASS 302 (e.g., to memory 354 or registers 356) and instruct the logic circuit 352 to fetch these stored settings. In some implementation, the CPU 362 may modify the settings of various analog blocks of the LP PASS 302 directly, without involvement of the logic circuit 352. In some implementations, the CPU 362 may load new configuration settings into memory 354 or registers 356 upon an occurrence of some predetermined condition. For example, when the LP PASS 102 detects smoke in the ambient air, the LP PASS 102 may output a wake-up signal to the CPU 362 and the CPU 362 may load new configuration settings to reconfigure the LP PASS 102 from detection of a smoke to determining its chemical composition. In some implementations, the CPU 362 may load new configuration setting into memory 354 or registers 356 independent of the input signals, simply as part of an update, e.g., a scheduled (at a specific time of day) update.
In some implementations, the LP PASS 302 in the second configuration may not receive a second analog input signal. Rather, upon reconfiguration (and without waking up CPU 362), the LP PASS 302 may reprocess the first analog input signal stored during the initial processing that was performed in the first PASS configuration. For example, the first analog input signal may be stored in the sample/hold circuit 231 of the SAR ADC 330. After the LP PASS 302 is reconfigured into the second configuration, e.g., having a higher SAR ADC sampling rate, the reconfigured SAR ADC 330 and the logic circuit 352 may reprocess the stored input signal with a new (higher) resolution to determine a new output value. This new output value may then be compared to the second threshold value and a decision may be made whether to wake up the CPU 362 from its Off State.
In some implementations, after receiving and processing the analog input signals, the LP PASS 302 may output to the CPU 362 a signal that is different from a wake-up signal. In some implementations, the signal output to the CPU 362 is a mode selection signal. For example, in some implementations, the CPU 362 may be initially in the CPU On State and the logic circuit 352 may output a signal to the CPU 362 that causes the CPU 362 to transition to the CPU Off State. In some implementations, the mode selection signal may cause the CPU 362 to transition between different active modes (states).
In some implementations, the LP PASS 302 may output no wake up instruction to the CPU while undergoing multiple reconfigurations into configurations with progressively escalating functionality (e.g., speed, accuracy, and resolution) and power consumption before the CPU 362 is finally woken up. For example, the sequence of LP PASS states may be: Sleep, Active1, Active2, Active3, followed by a wake-up instruction to the CPU 362. In some implementation, the LP PASS 302 may reverse and deescalate without waking the CPU 362 if it is determined that no active CPU involvement or input is necessary: Active1, Active2, Active3, Active2, Active1. In some implementations, the LP PASS 302 may deescalate into Sleep (or DeepSleep) state. In some implementations, the LP PASS 302 may periodically reconfigure itself into one of the Active states at the beginning of a monitoring time period and revert back into Sleep (or DeepSleep) state at the end of such period.
The digital subsystem 360 may be a general purpose processing system or a special purpose processing system configured to execute a limited number of instructions. In some implementations, the digital subsystem 360 may be a microcontroller unit (MCU). The digital subsystem 360 may include flash memory 366, direct memory access circuit (DMA) 368, as well as other conventional components, such as monitors, IO devices, network adapters, and so on. The digital subsystem 360 may have access to a cloud storage. Some or all of the computing performed by the digital subsystem 360 may be a remote (e.g., cloud) computing.
The system 300 may have a number of system-wide resources 370, such as an internal main oscillator 372 and a reference block 374 to provide voltage and current to the components of the digital subsystem and, in some implementations, to AREF 340. The system-wide resources may also include a phase lock loop (PLL) 376 to generate phase-locked reference signals. The system 300 may also have a number of peripheral resources 380, which may include capacitive sensing arrays 382, a watchdog timer 384, a serial communication block 386, a liquid crystal display 388, and a timer counter pulse width modulator (TCPWM) 389.
In some implementations, all components of the system 300 may be implemented on the same chip (substrate), as illustrated by the dashed rectangle Low-Power System-on-Chip (SoC) 390. In some implementations, some of the components of the system 300 may be implemented off-chip. For example, some or all of the peripheral resources 380 and/or 10 subsystem 303 may be implemented off-chip and connected to the chip hosting the LP PASS 302 and the digital subsystem 360 by one or more buses (not shown). In some implementations, the LP PASS 302 and the digital subsystem 360 may be implemented as separate SoCs on different (e.g., Si) substrates.
The LP PASS 402 may be a single-set apparatus shown in
In some implementations, the first criteria may include a plurality of metrics. Depending on the application of the plurality of metrics to one or more output values, the second PASS configuration may be selected from more than one possible configuration. In some implementations, if a certain subset of the first criteria is satisfied, the reconfiguration of the LP PASS 402 may be performed with the help of one or more of the pre-configured states of the FSM 458. The FSM 458 may be used to facilitate fast reconfiguration of the LP PASS 402. If none of the subset of the first criteria is satisfied, so that none of the pre-configured states of the FSM 458 is to be selected, the reconfiguration of the LP PASS 402 may be performed by the logic circuit 452. In some implementations, the settings for the second configuration of the LP PASS 402 may be retrieved from the LP PASS memory 454. In some implementations, the LP PASS memory 454 may include one or more ROM registers, e.g., registers 356 to store configuration settings.
The settings for the selected second PASS configuration may be applied to the front-end interface 405, CTB/DTB 420, the SAR ADC 430, and other LP PASS blocks not explicitly shown in
When a super-threshold input 201 is processed by the LP PASS 402, the logic circuit 452 and/or the FSM 458 may determine that the output value(s) satisfy the second criteria. Responsive to determining that the second criteria is satisfied, the digital processing block may output a wake up instruction to the digital subsystem 460 via the digital interface 455 to wake up the CPU 462 from its CPU Off State. Responsive to the signal from the LP PASS 102, the CPU 462 may transition into the CPU On State. The wake up instructions may contain an interrupt message describing a reason for the wake up. The CPU 462 may then load (e.g., from memory 464) and execute a particular code responsive to the specific reasons contained in the interrupt message. In some implementations, the CPU 462 may output instructions to the LP PASS 402 to transition into a third PASS configuration. The third PASS configuration may be used to implement one of the Active LP PASS states, in some implementations. In other implementations, the third PASS configuration may be used to implement a Sleep or DeepSleep state. In some implementations, the CPU 462 may not output any reconfiguration instructions to the LP PASS 402 but the LP PASS 402 may reconfigure itself into the third configuration according to one of the procedures described above.
In some implementations, when the LP PASS 402 is in one of its Active states and the CPU 462 is in its CPU On State, the LP PASS 402 and the CPU 462 may be processing the same task, e.g., speech recognition. In other implementations, the LP PASS 402 and the CPU 462 may be processing different tasks. For example, the LP PASS 402 may be monitoring air humidity whereas the CPU 462 is adjusting the heating system. As another example, the LP PASS 402 may be monitoring the brightness of natural lighting transmitted through smart windows whereas the CPU 462 is optimizing air conditioning parameters. When the current task has been accomplished, the CPU 462 may transition into the CPU Off State and output further configuration instructions to the LP PASS 402. In some implementations, the LP PASS may receive indication that the CPU 462 has transitioned into the CPU Off State and reconfigure itself without CPU involvement or input into a default state (e.g., Sleep or Active1).
In some implementations, the signal output by the LP PASS 102 to the CPU 462 may be a wake-up instruction. Responsive to receiving such instruction, the CPU 462 may wake up from its CPU Off State. In some implementations, the output signal may be an interrupt signal to the CPU 462, which may be in the CPU On State but processing other tasks, e.g., tasks unrelated to the tasks performed by the LP PASS 402. Responsive to receiving an interrupt instruction, the CPU 462 may not change its state, but may interrupt the task it is currently performing and switch to a different task, e.g., reconfiguring the LP PASS 402, as explained above. In some implementations, the output signal may be a “sleep” signal to the CPU 462 to switch to the CPU Off State. For example, such signal may be output by the LP PASS 402 responsive to non-occurrence of a certain event within a pre-determined period of time.
The output of the receiver 502 may be provided to the LP PASS 512. The LP PASS 512 may be either one of the LP PASSs 102, 302, 402, or the like. The LP PASS 512 may be in one of the low-power states, as disclosed above. The LP PASS 512 may be able to reconfigure itself, as well the FEM-R 506(R), responsive to the analog and digital processing of the signals received by the antenna 501(R). In some implementations, the LP PASS 512 may be capable of transmitting radio signals via the transmitter 504 and the antenna 501(T). The signal to be transmitted may be stored in the memory of the LP PASS 512 and selected by the FSM of the LP PASS 512 when the digital output of the LP PASS 512 meets one or more of pre-determined criteria. In some implementations, the signal to be transmitted may be determined by the logic circuit of the LP PASS 512. The signal may be converted into an analog form by the digital-to-analog converter (DAC) module 516. In some implementations, the signal may be encoded by an encoder 518 and provided to the transmitter front-end module FEM-T 506(T). The FEM-T 506(T) may include multiplexers, filters (e.g., band-pass filters), low-noise radio-frequency amplifiers, down-conversion mixer(s), frequency-shift and/or amplitude-shift keying modules, and other circuitry.
The LP PASS 512 may be manufactured together with the digital subsystem 514 on the same chip (e.g., same Si substrate), e.g., as a low-power system-on-chip (SoC) 516. In some implementations, the SoC 516 may be the SoC 390. The digital subsystem 514 may include a CPU, a memory, and a digital interface. In some implementations, the digital subsystem 514 may be an MCU. During radio signal processing described above, the digital subsystem 514 may be in the CPU Off State. In some implementations, when digital outputs of LP PASS 512 meet one or more criteria for waking up the CPU, the digital subsystem 514 may take over radio reception and/or radio transmission. The digital subsystem 514 may also reconfigure the LP PASS 512, as described above in reference to
In some implementations, the receiver 502 and the transmitter 504 may be mounted on the same chip, e.g., the transceiver SoC 520. In some implementations, the transceiver SoC 520 may an Internet of Things (IoT) chip. In some implementations, the receiver 502, the transmitter 504, and the LP PASS 512 may be mounted on the same chip. In some implementations, the receiver 502 and the transmitter 504 may share some components. For example, the FEM-R 506(R) and the FEM-T 506(T) may share filters, amplifiers, and/or other components, or be implemented as a single module. In some implementations, the receiver 502, the transmitter 504, and the LP PASS 512 may be mounted on the same chip. In some implementations, the receiver 502, the transmitter 504, the LP PASS 512, and the digital subsystem 514 may be mounted on the same chip. In some implementations, one or more network adapters may be used in place of the receiver 502 and the transmitter 504, and data streaming (e.g., to/from a network, cloud) may be used instead of radio reception/transmission.
If more speech is detected, however, the LP PASS 552 may wake up the CPU of the digital subsystem 554. The CPU may further reconfigure the LP PASS 552 and/or the analog interface 540 and begin outputting the detected speech to a speech recognition system 570 through a digital interface 560. In some implementations, the digital subsystem 554 may be absent, and when a positive determination that a speech is being detected has been made, the LP PASS 552 may wake up the speech recognition system 570 and output the (digitized) audio signal through the interface 560.
In some implementations, the microphone 530 may be replaced with a radio front end or a network adapter, or any other device capable of delivering an audio signal. In some implementations, the analog interface 540 and the digital interface 560 may be mounted on the same chip with the LP PASS 552.
Depending on the triggering event that wakes up the LP PASS, the LP PASS may be reconfigured into one of the Active states, such as Active1, Active2, Active3, and so on. In the absence of a triggering event, the LP PASS may transition into one of the Active states (by changing configurations of one or more blocks) at specified time intervals, per a wake-up schedule. For example, every 1 second the LP PASS may transition from LP PASS Sleep state into LP PASS Active1 state and every 10 seconds the LP PASS may transition from LP PASS Sleep state into LP PASS Active2 state. Various LP PASS states may differ by LP PASS functionality and power consumption. In some instances, waking up the LP PASS may follow (and be caused by) the waking up of the digital subsystem.
In other implementations, the lengths of time intervals may be much shorter. For example, a period of a duty cycle of the LP PASS may be 50 μs in one implementation, with the first 44 μs of each cycle spent in the LP PASS Sleep state and the next 6 μs spent in the LP PASS Active1 state. In the Sleep state, the LP PASS may be in an ultra-low power state waiting for a wake-up interrupt. In the Active1 state, the LP PASS may have the analog front-end (e.g., CTB) active with the SAR ADC configured to perform a single conversion, store the result in LP PASS memory, and compare it with the LP PASS reconfiguration or CPU wake-up criteria. Once every N cycles (e.g., N=10), the LP PASS may be reconfigured into the Active2 (or Active3) state with higher (or ultimate) functionality of the LP PASS circuits. The LP PASS may remain in such state for 20 μs (or any other pre-determined time), and then revert back to the Sleep state.
The method 700 may continue with processing, with the PASS in a first PASS configuration, the first input signal through the plurality of reconfigurable analog circuits, wherein the plurality of reconfigurable analog circuits have a first configuration setting in the first PASS configuration (720). The reconfigurable PASS circuits may include some or all of the circuits shown in
In some implementations, reconfiguring the plurality of reconfigurable analog circuits into a second PASS configuration may be performed by selecting one of the FSM states. In some implementations, settings for some or all of the analog circuits of the PASS may be obtained based on a selected FSM state. In some implementations, settings for some or all of the analog circuits of the PASS may be provided by the logic circuit of the PASS. In some implementations, settings for some of the analog circuits of the PASS may be provided by the FSM whereas settings for other analog circuits may be provided by the logic circuit. In some implementations, settings for some analog circuits may remain the same between two or more different PASS configurations.
The method 800 may continue with a decision-making block where it may be determined whether the first output value satisfies the first threshold criteria (835). For example, it may be determined by the logic circuit and/or the FSM whether carbon monoxide concentration has reached a detectable level. If the first threshold criteria is not met, the PASS may remain in the first PASS configuration (840). If, however, it is determined that the first threshold criteria is met, the method 800 may continue with determining whether the second threshold criteria is met (845). For example, at block 845 it may be determined whether carbon monoxide concentration has reached a dangerous level. If the second threshold criteria is not met, the method 800 may continue with reconfiguring the plurality of reconfigurable analog circuits into a second PASS configuration with a second configuration setting (850). In some implementations, block 850 may be performed similarly to block 740 of the method 700. For example, the first configuration may be used to implement the LP PASS Sleep state and the second configuration may be used to implement the LP PASS Active1 state. In other instances, the first configuration may be used to implement the LP PASS Active1 state and the second configuration may be used to implement the LP PASS Active2 state. The method 800 may continue with the LP PASS receiving a subsequent (e.g., second) input signal from an IO device. In some implementations, the second input signal may be the same as the first input signal but stored by one or more analog circuits for later re-processing by the PASS in the second configuration (which may have a higher resolution and/or accuracy of processing).
The method 800 may continue with processing, with the PASS in the second PASS configuration, the second input signal through the plurality of reconfigurable analog circuits (870) and with generating a second output value based on the second input signal (880). The actions in the blocks 870-880 may be performed similarly to the actions in the blocks 810-830. The method may then loop back to the decision-making block 845 and compare the second output with the second threshold criteria again. In the case the second threshold criteria has not been met, the method may continue with keeping the PASS in the second configuration and repeating blocks 850-880 and 845, as needed. In case the second threshold criteria has been met, the method 800 may proceed with outputting a signal to the CPU (890) (such as a wake-up or interrupt instruction, in some implementations) through an interface (such as a digital interface 455). If it is determined that both the first criteria (block 835) and the second criteria (block 845) are satisfied while the PASS is still in the first PASS configuration, the method 800 may continue with waking up the CPU (890) and also (as shown by the dashed line) reconfiguring the PASS into the second PASS configuration. In some implementations this action may be optional and the method 800 may conclude when the CPU takes over the input signal processing.
It should be understood that the above description is intended to be illustrative, and not restrictive. Many other implementation examples will be apparent to those of skill in the art upon reading and understanding the above description. Although the present disclosure describes specific examples, it will be recognized that the systems and methods of the present disclosure are not limited to the examples described herein, but may be practiced with modifications within the scope of the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative sense rather than a restrictive sense. The scope of the present disclosure should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The implementations of methods, hardware, software, firmware or code set forth above may be implemented via instructions or code stored on a machine-accessible, machine readable, computer accessible, or computer readable medium which are executable by a processing element. “Memory” includes any mechanism that provides (i.e., stores and/or transmits) information in a form readable by a machine, such as a computer or electronic system. For example, “memory” includes random-access memory (RAM), such as static RAM (SRAM) or dynamic RAM (DRAM); ROM; magnetic or optical storage medium; flash memory devices; electrical storage devices; optical storage devices; acoustical storage devices, and any type of tangible machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
Reference throughout this specification to “one implementation” or “an implementation” means that a particular feature, structure, or characteristic described in connection with the implementation is included in at least one implementation of the disclosure. Thus, the appearances of the phrases “in one implementation” or “in an implementation” in various places throughout this specification are not necessarily all referring to the same implementation. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more implementations.
In the foregoing specification, a detailed description has been given with reference to specific exemplary implementations. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the disclosure as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense. Furthermore, the foregoing use of implementation, implementation, and/or other exemplarily language does not necessarily refer to the same implementation or the same example, but may refer to different and distinct implementations, as well as potentially the same implementation.
The words “example” or “exemplary” are used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “example’ or “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs. Rather, use of the words “example” or “exemplary” is intended to present concepts in a concrete fashion. As used in this application, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless specified otherwise, or clear from context, “X includes A or B” is intended to mean any of the natural inclusive permutations. That is, if X includes A; X includes B; or X includes both A and B, then “X includes A or B” is satisfied under any of the foregoing instances. In addition, the articles “a” and “an” as used in this application and the appended claims should generally be construed to mean “one or more” unless specified otherwise or clear from context to be directed to a singular form. Moreover, use of the term “an implementation” or “one implementation” or “an implementation” or “one implementation” throughout is not intended to mean the same implementation or implementation unless described as such. Also, the terms “first,” “second,” “third,” “fourth,” etc. as used herein are meant as labels to distinguish among different elements and may not necessarily have an ordinal meaning according to their numerical designation.
This application claims the benefit of U.S. Provisional Application No. 62/728,290, filed Sep. 7, 2018, and U.S. Provisional Application No. 62/770,382, filed Nov. 21, 2018, the entire contents of both applications being incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62770382 | Nov 2018 | US | |
62728290 | Sep 2018 | US |