Powering System-on-Chip Arrangements

By designing multiple internal voltage regulators and current limiters in the SoC, combined with non-volatile memory configuration information, external voltage regulator power supply during startup is achieved, solving the flexibility and current matching of internal and external power management. problem, improving battery life and system efficiency.

CN115087943BActive Publication Date: 2024-10-18NORDIC SEMICONDUCTOR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080096218.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-18
Publication Date
2024-10-18
Estimated Expiration
2040-12-18

AI Technical Summary

Technical Problem

In SoCs, it is difficult for designers to flexibly use external voltage regulators to replace internal voltage regulators during startup, resulting in power management complexity and high manufacturing costs, as well as the risk of current mismatch.

Method used

Design a power management system that contains multiple internal voltage regulators and current limiters by enabling or disabling internal and external voltage regulators, determining the source of power to internal subsystems, avoiding current mismatches, and passing non-volatile memory Configuration information enables flexible power management.

Benefits of technology

Provides flexibility in powering internal subsystems, avoids the risk of current mismatch, achieves overall energy savings, and allows the full functionality of the internal regulator to be used in high power mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115087943B_ABST
    Figure CN115087943B_ABST
Patent Text Reader

Abstract

An electronic device (2) includes a system on chip (6) and an external module. The system on chip (6) includes a plurality of internal subsystems (10, 12) and a power management system (24), the power management system including a plurality of internal voltage regulators (14, 16) for supplying power to the plurality of internal subsystems (10, 12). Each internal voltage regulator (14, 16) has an associated current limiter (30, 32). The external module includes at least one external voltage regulator (8) that can provide power to at least one of the internal subsystems (10, 12). The power management system (24) enables the internal voltage regulators (14, 16) and the current limiters (30, 32) during a startup phase, and in a subsequent phase determines a set of externally powered internal subsystems (10, 12), disables the corresponding internal voltage regulators (14, 16), and disables the current limiters (30, 32) associated with the internal subsystems (10, 12) that are not externally powered.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention relates to power management systems in a system-on-chip (SoC) arrangement, and in particular to the management of power provided to internal subsystems within the system-on-chip.

[0002] SoCs, such as Applicant's very popular nRF series, typically include a microprocessor, memory, and wireless communication functionality on a single integrated circuit. They are used in a variety of portable electronic devices to provide compact, energy-efficient general-purpose data processing and communications. To provide long battery life, SoCs typically include a complex power management system that hosts and controls the various on-chip regulators associated with the different power domains to ensure that power is only supplied when absolutely necessary to meet the requirements of the internal subsystems in the SoC.

[0003] The high manufacturing costs of SoCs, particularly in the production of silicon wafers, make it desirable to manufacture a single design in large quantities rather than a variety of different SoCs. Applicants have recognized the need for a single SoC design that can be implemented in a number of different electronic devices for different purposes. In particular, Applicants have now recognized that in some cases, developers designing products incorporating such SoCs may want to use one or more off-chip voltage regulators rather than one, some or all of the internally provided voltage regulators, but that difficulties may exist in such arrangements, particularly during SoC startup.

[0004] From a first aspect, the present invention provides an electronic device, comprising:

[0005] System on chip, comprising:

[0006] Multiple internal subsystems; and

[0007] a power management system comprising a plurality of internal voltage regulators arranged to supply power to a plurality of internal subsystems, each internal voltage regulator having an associated current limiter; and

[0008] an external module comprising at least one external voltage regulator and connected to the system-on-chip so that the external voltage regulator can provide power to at least one of the internal subsystems on the system-on-chip,

[0009] wherein the power management system is arranged to enable the internal voltage regulator and the current limiter during a startup phase, and in a subsequent phase:

[0010] identifying a set of externally powered internal subsystems powered by an external voltage regulator;

[0011] disabling one or more of said internal voltage regulators corresponding to said set of externally powered internal subsystems; and

[0012] One or more of the current limiters associated with internal voltage regulators corresponding to internal subsystems not in the set of externally powered internal subsystems are disabled.

[0013] Thus, those skilled in the art will see that according to the present invention, a great degree of flexibility can be provided as to which internal subsystems are powered internally and which are powered by external regulators. Furthermore, the current limiter allows the device to start up without knowing which internal subsystems fall into which category, while also avoiding the risk of overcurrent between the internal and external regulators which are typically mismatched when both are running. This can avoid the need to provide any additional pins to provide information about deploying an external regulator to the SoC.

[0014] By disabling the internal regulators for those internal subsystems that are powered externally, overall energy savings may be achieved. By disabling the current limiters corresponding to the internal regulators for those internal subsystems that are powered internally, the full functionality of the internal regulators may be used, which may be important in certain high power operating modes. While only some of the current limiters may be disabled, in one set of embodiments, all current limiters are disabled. This may be automatic for those associated with the disabled voltage regulators, for example, because the current limiter is part of the voltage regulator.

[0015] After an initial boot phase, the power management system determines which internal subsystems are externally powered. This may be achieved in a number of ways, but in one set of embodiments the power management system is arranged to read configuration information about the set of externally powered internal subsystems from a non-volatile memory location. Thus, a subsequent phase may be defined as after a point in the boot sequence where sufficient stability has occurred to enable the processor of the SoC to read data from the non-volatile memory location. The non-volatile memory may be located on the SoC or in a memory module external to the SoC where this is required for other functionality to avoid the need for additional external connections / pins as described above.

[0016] The SoC may be configured so that all of its internal voltage regulators may be bypassed by an external regulator, as described above. However, this is not required, and it is possible that only some, or even only one, may be bypassed in this manner. Thus, references herein to a plurality of internal voltage regulators should be understood to refer to those internal voltage regulators that are designated during manufacture of the SoC as being bypassable in accordance with the present invention, and not necessarily all voltage regulators present on the SoC.

[0017] In one set of embodiments, power management includes a voltage monitoring component. This can be used to determine when to enter the next phase, for example, when the voltage level from one or more internal regulators stabilizes.

[0018] In one set of embodiments, the current limiter is included within a respective voltage regulator. In one set of embodiments, each current limiter comprises a respective digital controller arranged to receive a digital input signal to enable or disable the current limiter. As will be appreciated, the digital input signal allows the current limiter to be controlled independently of the start-up sequence of the regulator.

[0019] In one set of embodiments, the SoC includes a user interface to allow a user to store the regulator configuration in non-volatile memory. This provides the flexibility mentioned above, whereby the user can choose how to use the SoC in their particular application.

[0020] The device may include a main power source, such as a battery. In one set of embodiments, the main power source is connected to the external module to provide power to the external voltage regulator and provides power directly to the SoC to provide power to the internal voltage regulator.

[0021] In one set of embodiments, the SoC includes at least one general purpose input / output (GPIO) module that provides communication with at least one of the internal subsystems and is powered by an external voltage regulator. The external voltage regulator may be the same as described above for bypassing the internal voltage regulator, but in one set of embodiments it is different.

[0022] In one set of embodiments, the power management system is arranged to determine whether the general purpose input / output module is powered and if determined to be powered, control access to the general purpose input / output module to allow access to the GPIO module. This facilitates safe use of the GPIO module. It allows a user to choose whether to power the GPIO module in a given application. For example, this may be useful to prevent leakage of unused GPIO modules in a given application. It may also allow dynamic power gating of the GPIO module at a given operating point. This may be beneficial, for example, where an external peripheral device (such as an external memory that is itself power gated) is connected to the GPIO module.

[0023] This arrangement itself is novel and inventive, so from a second aspect, the present invention provides an electronic device comprising:

[0024] at least one external voltage regulator; and

[0025] A system on a chip comprising:

[0026] i) Multiple internal subsystems;

[0027] ii) a power management system comprising a plurality of internal voltage regulators arranged to supply power to a plurality of internal subsystems; and

[0028] iii) at least one general purpose input / output module providing communication with at least one of said internal subsystems and powered by said external voltage regulator;

[0029] Wherein the power management system is arranged to determine whether the universal input / output module is powered, and if it is determined that the universal input / output module is powered, control access to the universal input / output module to allow access.

[0030] In one set of embodiments of any aspect of the invention, the SoC comprises a plurality of GPIO modules, each of which may be powered by a separate respective external voltage regulator, or some or all of which may share a common external voltage regulator.

[0031] In one set of embodiments, the power management system is arranged to determine whether the GPIO module or a given GPIO module is powered by monitoring the voltage level supplied to the GPIO module. In another set of embodiments, the power management system is arranged to determine whether the GPIO module or a given GPIO module is powered by reading a state from a non-volatile memory location. This may be associated with the non-volatile memory locations listed in accordance with the first aspect of the invention, but this is not required. An embodiment having two features is envisaged - namely, the power management system may check a determinate state in a non-volatile memory location, and if no determinate state is given (e.g., no state is stored or the state indicates that the GPIO module can change dynamically), monitor the voltage supplied to the GPIO module.

[0032] In one set of embodiments, the SoC includes a user interface to allow a user to store the regulator configuration in non-volatile memory. This provides the flexibility mentioned above, whereby the user can choose how to use the GPIO module in their particular application. The user interface may be associated with the user interface proposed according to the first aspect of the invention, but this is not necessary.

[0033] Applicants have also recognized that a SoC including an internal voltage regulator can be used to provide power to device circuit elements peripheral to the SoC using the internal voltage regulator. This may advantageously allow developers to design devices with low power peripherals (e.g., sensors) without providing an external regulator.

[0034] In one set of embodiments, the device includes a peripheral device external to the SoC and connected thereto to receive power from one of the internal voltage regulators, and the power management system includes a power gate arranged to limit or prevent current flow from the internal voltage regulator to the peripheral device when the internal voltage regulator is in a low power mode.

[0035] Such an embodiment can provide the above advantages without suffering from the potential disadvantages that may occur if such a peripheral device attempts to draw current from the internal voltage regulator while the internal voltage regulator is in a low power mode such as sleep mode. This may harm the performance of other parts of the SoC, not just the peripheral device.

[0036] In one set of these embodiments, the power gate is further arranged to limit or prevent current flow from the internal voltage regulator to the peripheral device (ie close the power gate) when the power management system is in a startup phase.

[0037] Although this may be provided in accordance with the first aspect of the invention where one or more external regulators replace the internal regulator, the skilled person will appreciate that this may be more beneficial in the absence of any suitable external regulators. This arrangement is novel and inventive in itself, and therefore from a third aspect the invention provides an electronic device comprising:

[0038] System on chip, comprising:

[0039] Multiple internal subsystems; and

[0040] a power management system comprising a plurality of internal voltage regulators arranged to supply power to a plurality of internal subsystems, wherein at least one of the internal voltage regulators is an externally available regulator and is connected to a connection terminal through a power gate;

[0041] an external peripheral device connected to the connection terminal to receive power from an externally available regulator;

[0042] The power management system is arranged to control a power gate to limit or prevent current flow to the peripheral device when the externally available regulator is in a low power state.

[0043] In one set of embodiments, the power gate is arranged to be controllable from a user application running on the SoC. This allows the user to use the power gate to control the power supply of the peripheral device during the running application, for example, to prevent power leakage when the peripheral device is not in use.

[0044] In one set of embodiments the power management system is arranged to increase the amount of power provided by the externally available internal voltage regulator when the power gate is opened.

[0045] In one set of embodiments, the SoC includes a radio transmitter and / or receiver to enable wireless data transmission, such as using Bluetooth TM , WiFi, LTE, etc.

[0046] Certain embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

[0047] Figure 1 is a system schematic diagram of an electronic device according to a first embodiment of the present invention;

[0048] Figure 2 is a system schematic diagram of an electronic device according to a second embodiment of the present invention; and

[0049] Figure 3 is a system diagram of an electronic device according to a third embodiment of the present invention.

[0050] Figure 1 Schematically shown is an electronic device 2 which may be any of a variety of devices and includes a battery 4 for powering the device, a system on a chip (SoC) 6, described in more detail below, and an external voltage regulator 8. As will be seen, the battery 4 is connected to the SoC 6 to provide power thereto, but is also connected to the external voltage regulator 8 which produces a regulated DC voltage which is provided solely to the SoC 6.

[0051] The SoC 6 contains a large number of different blocks, most of which are standard and omitted for clarity, but they may typically include radio transmitter and receiver blocks, central processing unit, random access memory, clock sources, etc. Figure 1 For illustration purposes two internal subsystems 10, 12 and a central processing unit (CPU) 13 are shown, although in practice more would normally be provided. These could be anything mentioned above or any other type of subsystem.

[0052] The first internal subsystem 10 is in a power domain powered by a first internal voltage regulator 14. The second internal subsystem 12 and the CPU 13 are in a different power domain provided by a second internal voltage regulator 16. The internal voltage regulators 14, 16 are powered by a battery 4 via an external power connection 18. The internal voltage regulators 14, 16 are controlled by respective switches 20, 22, which in turn are controlled by a power management system (PMS) 24 via control signals 26, 28. It will be appreciated that although external switches 20, 22 are described for purposes of explanation, they may in fact be integral to the respective internal voltage regulators 14, 16, e.g., the internal voltage regulators 14, 16 may be arranged to have control inputs that may enable or disable them.

[0053] Between each internal voltage regulator 14, 16 and the associated internal subsystem 10, 12, 13 is a respective current limiter 30, 32, the detailed configuration of which is not shown, but many possibilities are known in the art. For example, they are configured to limit the current flowing through them to no more than 10mA. The current limiters 30, 32 are also controlled by the PMS 24 via control signals 34, 36 to enable or disable a given current limiter, i.e., to allow current to flow through the current limiter 30, 32 without limiting it. As with the switches, it should be understood that although the external current limiters 30, 32 are depicted for the purpose of explanation, in practice these may be an integral part of the respective internal voltage regulators 14, 16, for example the internal voltage regulators 14, 16 may be arranged to have a control input by which the respective current limiter may be enabled or disabled.

[0054] exist Figure 1 In the illustrative embodiment shown, one of the internal subsystems 10 is also connected to an external voltage regulator 8 via another external power connection 38. Alternatively, the external voltage regulator may be connected to the pins used to connect external decoupling capacitors to the corresponding internal voltage regulator. The tool provides flexibility for designers designing devices that employ SoC 6 to decide whether to use only the internal voltage regulators built into SoC 6, or to extend these by providing their own off-chip voltage regulators. This therefore allows the designer to use a regulator that has better performance for a particular application, or a regulator that may be required anyway by other off-chip peripherals (not shown).

[0055] Figure 1 The PMS 24 is also shown connected to the non-volatile memory 40 and the CPU 13. In practice, this connection is usually via a bus.

[0056] We will now describe Figure 1Operation of an embodiment of the invention. During an initial startup phase, the SoC 6 is powered, for example by closing a switch (not shown) between it and the battery 4, and the switches 20, 22 are closed by providing them with corresponding default control signals 26, 28. At this stage, the PMS 24 does not know which of the internal subsystems 10, 12, 13 are powered by the external voltage regulator and which are not. Although this information is stored in the non-volatile memory 40, at the initial stages of the startup sequence, the system is not in a stable position sufficient to read this information. Therefore, as a precaution, the current limiters 30, 32 are enabled at startup. This can be achieved by providing appropriate default control signals 34, 36. For any subsystem 10 that is externally powered, the current limiter 30 ensures that the current is not too high due to the internal regulator 14 and the external regulator 8 trying to 'regulate each other'. However, during startup, the external voltage regulator does provide power in addition to the internal regulator, which may be beneficial.

[0057] Once the internal voltage regulators 14, 16 are stable, the CPU 13 sends a signal to the PMS 24 indicating that the initial startup phase has ended and that a subsequent startup phase can begin. This causes the PMS 24 to retrieve the power rail configuration information from the non-volatile memory 40 previously stored by the designer of the device 2 - for example via a convenient user interface or API. The PMS 24 thus knows that the first power domain 10 is powered by the external regulator 8 and can therefore disable the corresponding internal voltage regulator 14. The PMS 24 therefore sends a control signal 26 to open the corresponding switch 20. This ensures that the internal voltage regulator 14 does not consume any further current.

[0058] The PMS 24 also knows that the other power domains 12, 13 are not being powered externally and therefore do not need to limit the current flowing into or out of the corresponding internal voltage regulator 16. The PMS 24 therefore sends an appropriate control signal 36 to disable the current limiter 32 associated with that regulator 16. This allows the full designed amount of current to flow, thereby enabling all normal operations.

[0059] Although in this embodiment the power rail configuration (ie which power domains are externally regulated) is pre-stored during production of the configuration of the device 2, it is also envisaged that this may be determined dynamically by the SoC - for example by using a voltage monitor.

[0060] Figure 2An embodiment of another aspect of the present invention is shown. In this embodiment, an electronic device 102 includes a battery 104 and a SoC 106. It also includes an external voltage regulator 108 powered by the battery 104. The external voltage regulator 108 is connected to a plurality of general purpose input-output (GPIO) modules 110, 112, 114 on the SoC 106 via corresponding power switches 116, 118, 120. The power switches 116, 118, 120 are controlled by an external controller 122 via control signals 124 (only one of which is shown for clarity). One of the power switches 120 also controls the power supply of an external memory 126 provided on the device 102, which is connected to the same GPIO module 114 as the power switch 120.

[0061] Inside So6 106, a GPIO controller 128, a CPU 130, and a non-volatile memory 132 are connected via a common bus 134. The GPIO controller 128 controls access to the respective GPIO modules 110, 112, 114. Voltage detectors 136, 138, 140 monitor the voltage levels of the power rails of the respective GPIO modules 110, 112, 114 and report them to the GPIO controller 128.

[0062] In operation, the GPIO controller 128 reads from the non-volatile memory 132 via the bus 134 which of the GPIO modules 110, 112, 114 should be permanently activated, which should be permanently disabled, and which are dynamically activated / disabled. For any GPIO module 110, 112, 114 determined to be permanently active (for which the corresponding external power switch 116, 118, 120 should always be off), the GPIO controller 128 allows that GPIO module to access the rest of the SoC 106 - for example, including the CPU 130. For any GPIO module 110, 112, 114 determined to be permanently disabled (for which the corresponding external power switch 116, 118, 120 should always be on), the GPIO controller 128 blocks that GPIO module from accessing the rest of the SoC 106. This avoids the risk of problems such as stray signals resulting from attempting to use an insufficiently powered GPIO module.

[0063] For any GPIO module that is determined to be dynamically activated or disabled (its corresponding external power switch 116, 118, 120 can be turned on or off according to the operating state) - for example, the bottom GPIO module 114, the GPIO controller 128 activates the corresponding voltage detector 140 so that it can determine whether the corresponding power switch 120 is turned on or off. If it is turned off (and therefore the GPIO module 114 is powered), the GPIO controller 128 allows the GPIO module 114 to access the rest of the SoC 106, including, for example, the CPU 130. If the power switch 120 is turned on (and therefore the GPIO module 114 is not powered), the GPIO controller 128 prevents the GPIO module 114 from accessing the rest of the SoC 106.

[0064] The state of the power switch 120 is controlled by the external controller 122, which determines whether the external memory 126 connected to the GPIO module 114 is powered. Therefore, the external controller 122 can be used to power gate the external memory 126 and the GPIO module 114 it uses, which saves energy when the memory 126 is not needed, while ensuring that the GPIO module 114 does not generate any false signals or operate to leak current - for example, during the sleep mode of the SoC 106.

[0065] It will be appreciated that the above-described embodiments allow the SoC to be flexibly installed in a variety of different applications having different requirements for GPIOs, while conserving power and protecting the SoC from damage or other adverse effects.

[0066] Figure 3 An embodiment of another aspect of the invention disclosed herein is shown. In this embodiment, an electronic device 202 includes a battery 204, a SoC 206, and external peripheral circuits 208 such as a sensor device.

[0067] The battery 204 is connected to an internal voltage regulator 210 on the SoC 206. In practice, there will typically be many such regulators to power different corresponding power domains. The internal voltage regulator 210 powers an internal subsystem 212, although there will typically be many such subsystems. The internal voltage regulator 210 is controlled by a power management system (PMS) 214, which also controls a power switch controller 216, which in turn controls a power switch 218, which provides an external connection between the voltage regulator 210 and the external peripheral circuit 208. Therefore, the voltage regulator 210 can be considered to be an externally available regulator. Other externally available regulators may also be provided, and externally unavailable regulators may be provided.

[0068] The PMS 214 and the power gate controller 216 are connected to the CPU 220 via a bus 222 .

[0069] In operation, external peripheral circuits 208 may be powered by internal voltage regulator 210, which eliminates the need to provide an off-chip voltage regulator external to SoC 206, which may save on the bill of materials and allow for a more compact design of device 202 as a whole. CPU 220 is typically aware that such external circuits 208 are being used and therefore signals PMS 214, which ensures that voltage regulator 210 operates in a mode where it can provide additional current.

[0070] If during operation, the PMS 214 chooses to place the voltage regulator 210 in a low power sleep mode, it issues a control signal to the power switch controller 216 to open the power switch 218 to prevent the external circuit 208 from drawing current. This can avoid adverse consequences to the SoC 206 as a whole that would otherwise occur. Application software running on the CPU can be written to accommodate this situation. When the PMS wakes up the regulator 210, it also issues a signal to the power switch controller 216, which can then close the power switch 218 and restore power to the external circuit 208.

[0071] Different from the above, the user software application can issue a command to the power switch controller 216 to close the power switch 118, thereby allowing the user to power gate the external circuit - for example, to save power. The user software application can also issue a control signal to reclose the power switch 218, but this cannot override the control signal from the PMS 214 to open it.

[0072] It can thus be seen that this embodiment provides a simple method of allowing a SoC to power external circuitry, possibly with power gating, whilst reducing the risk of problems caused by excessive current drawn - for example when the internal voltage regulator is in a low power mode.

[0073] Although the various features of the foregoing embodiments have been shown to be implemented in separate devices, the applicant contemplates that a single device having any features of any two or all three of these embodiments may be provided. Other variations and modifications will also be apparent to those skilled in the art, such that the invention is not limited to any of the described embodiments.

Claims

1. An electronic device, comprising: System on chip, comprising: Multiple internal subsystems; and a power management system comprising a plurality of internal voltage regulators arranged to provide power to the plurality of internal subsystems, each of the internal voltage regulators having an associated current limiter; and an external module comprising at least one external voltage regulator and connected to the system-on-chip so that the external voltage regulator can provide power to at least one of the internal subsystems on the system-on-chip, wherein the power management system is arranged to enable the internal voltage regulator and the current limiter during a startup phase, and in a subsequent phase: determining a set of externally powered internal subsystems powered by the external voltage regulator; disabling one or more of said internal voltage regulators corresponding to said set of externally powered internal subsystems; and One or more of the current limiters associated with the internal voltage regulators are disabled, the current limiters corresponding to internal subsystems that are not in the set of externally powered internal subsystems.

2. An electronic device according to claim 1, wherein the power management system is arranged to read configuration information about the set of externally powered internal subsystems from a non-volatile memory location.

3. The electronic device of claim 2, wherein the subsequent phase follows a sufficiently stable point in a boot sequence to enable a processor of the SoC to read data from the non-volatile memory location.

4. An electronic device according to claim 2 or 3, wherein the system on chip comprises a user interface to allow a user to store a regulator configuration in a non-volatile memory.

5. An electronic device according to claim 1, 2 or 3, wherein the power management includes a voltage monitoring part.

6. The electronic device of claim 1, 2 or 3, wherein the current limiter is included in a corresponding voltage regulator.

7. An electronic device as claimed in claim 1, 2 or 3, wherein the current limiters each comprise a respective digital controller arranged to receive a digital input signal to enable or disable the current limiter.

8. The electronic device of claim 1, 2 or 3, comprising a main power supply connected to the external module to provide power to the external voltage regulator and directly to the system on chip to provide power to the internal voltage regulator.

9. The electronic device according to claim 1, 2 or 3, wherein The system on chip includes at least one general purpose input / output module that provides communication with at least one of the internal subsystems and is powered by an external voltage regulator.

10. An electronic device according to claim 9, wherein the power management system is arranged to determine whether the general purpose input / output module is powered and if determined to be powered control access to the general purpose input / output module to allow access to the GPIO module.

Citation Information

Patent Citations

  • Maximum current limiting method and apparatus

    CN103282853A

  • Dynamic voltage adjust circuits and methods

    CN105874340A