WO2010135945A1 - System on chip and starting method thereof - Google Patents

System on chip and starting method thereof Download PDF

Info

Publication number
WO2010135945A1
WO2010135945A1 PCT/CN2010/072346 CN2010072346W WO2010135945A1 WO 2010135945 A1 WO2010135945 A1 WO 2010135945A1 CN 2010072346 W CN2010072346 W CN 2010072346W WO 2010135945 A1 WO2010135945 A1 WO 2010135945A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
power supply
reset
circuit
reference voltage
Prior art date
Application number
PCT/CN2010/072346
Other languages
French (fr)
Chinese (zh)
Inventor
熊江
刘永根
Original Assignee
炬才微电子(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 炬才微电子(深圳)有限公司 filed Critical 炬才微电子(深圳)有限公司
Publication of WO2010135945A1 publication Critical patent/WO2010135945A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Definitions

  • the invention belongs to the field of integrated circuits, and in particular relates to a system on chip and a method for starting the same.
  • a system on chip (System On The Chip, SOC) system usually includes four parts: a reference voltage generating circuit, a power generating circuit, a clock generating circuit, and a digital-analog hybrid circuit.
  • the reference voltage generating circuit requires a power generating circuit to supply power thereto, and the power generating circuit requires a reference voltage generating circuit to supply a reference voltage thereto;
  • the clock generating circuit requires a power generating circuit to supply power thereto, and the power generating circuit requires a clock
  • the generating device provides a clock signal for it;
  • the digital-analog hybrid circuit requires both a power supply, a reference voltage, and a clock signal, and the digital-analog hybrid circuit may also control or regulate the power supply, the reference voltage, and the clock signal.
  • the traditional starting method in the industry is: when the external power supply is connected to the SOC on-chip system, first establish a standby state, at least reset a part of the circuit; when receiving a power enable signal, generate a clock signal; when the clock signal reaches a stable state, The reference voltage signal can be started, and then the internal power supply starts under the action of the clock signal and the reference signal; when the internal power supply is stabilized, the function module is enabled, and the system enters the normal working state.
  • the power-on time of the conventional method is almost equal to the sum of the startup times of the modules, resulting in a slow system startup time, which is not suitable for applications requiring a quick start system.
  • a system on chip includes:
  • On-chip power supply device, reset device and functional device
  • the on-chip power supply device includes a first reference voltage generating circuit and a power regulator for generating a first reference voltage, and the power regulator generates other device internals of the system on chip under the action of the first reference voltage Required power supply voltage;
  • the reset device causes the function device to be in a reset state within a preset delay time.
  • the delay time is completed, the reset state of the function device is released and a clock signal is output, and the function device is adjusted at the power source.
  • the operation is started by the power supply voltage generated by the device, the first reference voltage, and the clock signal.
  • An embodiment of the present invention further provides a method for starting a system on a chip, the system on chip comprising an on-chip power supply device, a reset device, and a function device;
  • the on-chip power supply device includes a first reference voltage for generating a first reference voltage Generating a circuit and a power regulator;
  • the reset device includes a reset circuit and a delay circuit;
  • the startup method includes the following steps:
  • the power regulator in the on-chip power supply device is activated by the first reference voltage, and the reset circuit issues a reset signal to cause the function device to be in a reset state, and the delay circuit starts to work;
  • the on-chip power supply device starts to start immediately under the action of the first reference voltage, and is not controlled by any reset signal and enable signal of other devices in the system, that is, no need is needed. Waiting for other reset signals or enable signals from other devices on the system, thus greatly improving the startup speed of the system on chip; and the functional device does not need to wait until the power generated by the on-chip power supply device is completely stabilized, as long as the control device is controlled.
  • the sub-function unit can work normally, further improving the startup speed of the system on chip; when the power supply voltage generated by the on-chip power supply device rises to a certain extent Before the functional device is enabled, the performance evaluation device is used to evaluate the power performance generated by the on-chip power supply device to improve the internal power supply performance.
  • FIG. 1 is a schematic structural diagram of a system on chip provided by an embodiment of the present invention.
  • FIG. 2 is a flow chart showing an implementation of the method for starting the system on chip shown in FIG. 1;
  • FIG. 3 is a flow chart showing an implementation of another method for starting the system on chip shown in FIG. 1;
  • FIG. 4 is a flow chart showing an implementation of another method for starting the system on chip shown in FIG. 1;
  • Figure 5 is a diagram showing an example of the structure of a clock generator 111 in the on-chip power supply unit 11 shown in Figure 1;
  • FIG. 6 is a diagram showing an example of the structure of a first reference voltage generating circuit 112 in the on-chip power supply device 11 shown in FIG. 1;
  • Fig. 7 is a view showing an example of the structure of the delay circuit 121 and the reset circuit 122 in the reset device 12 shown in Fig. 1.
  • the on-chip power supply device starts to start immediately under the action of the first reference voltage, and is not controlled by any reset signal and enable signal of other devices in the system.
  • FIG. 1 shows the structural principle of the system on chip provided by the embodiment of the present invention. For the convenience of description, only parts related to the present invention are shown.
  • the system on chip 1 includes four parts of an on-chip power supply device 11, a reset device 12, a function device 13, and a performance evaluation device 14.
  • the system-on-chip is connected to an external power supply 2, which can be a battery or other power generator, but it can only provide the correct supply voltage for some of the circuits in the system on a chip.
  • the on-chip power supply device 11 includes a clock generator 111, a first reference voltage generating circuit 112, and a power conditioner 113.
  • the clock generator 111, the first reference voltage generating circuit 112, and the power conditioner 113 are all connected to the external power source 2, and the power supply is adjusted.
  • the device 113 can be a linear adjustment tube (Low Dropout Regulator, LDO), switching power supply or charge pump.
  • the power regulator 113 normally starts to generate the power supply voltage under the action of the clock signal and the first reference voltage, and after a certain time, the on-chip power supply device 11 reaches a steady state. That is, once the external power source 2 is connected to the system on chip 1, the power conditioner 113 in the on-chip power supply unit 11 can generate at least one stable power supply voltage signal to supply power to other devices in the system on chip 1.
  • the clock generator 111 of the on-chip power supply device 11 and the first reference voltage generating circuit 112 are not controlled by any of the reset signal and the enable signal, once the external power source 2 is connected to the system on chip 1, the clock generator 111 and the first reference The voltage generating circuit 112 can work normally, and immediately activates the power conditioner 113 of the on-chip power supply device 11, that is, the power regulator 113 of the power supply device 11 does not need to wait for other signals from the on-chip system 1 to issue any signal, and thus starts to be started, thus greatly The startup speed of the system on chip 1 is increased.
  • the on-chip power supply device 11 may not include a clock generator.
  • the reset device 12 includes a delay circuit 121, a reset circuit 122, a clock masker 123, and a clock generator 124.
  • the delay circuit 121, the reset circuit 122, and the clock mask 123 are directly powered by the external power source 2, and the clock generator 124 is The power supply voltage generated by the power conditioner 113 in the on-chip power supply device 11 is supplied with power.
  • the reset circuit 122 immediately generates a reset signal to reset the function device 13 to prevent the function device 13 from starting to operate during the startup of the on-chip power source device 12, resulting in malfunction.
  • the reset circuit 122 controls the clock mask 123 connected thereto to shield the clock signal generated by the clock generator 124 from being transmitted to the functional device 13.
  • the clock generator 124 starts generating the clock signal required by the functional device 13.
  • the delay circuit 121 After the external power source 2 is connected to the system on chip 1, the delay circuit 121 starts to work. After the set time delay, the delay circuit 121 sends a control signal to the reset circuit 122 to stop the reset circuit 122 from outputting to the function device 13. The reset signal, the reset circuit 122, in turn sends a control signal to the clock mask 123, causing the clock mask 123 to send the clock signal generated by the clock generator 124 to the functional device 13, and the functional device 13 starts operating.
  • the time from when the external power source 2 is connected to the system on chip 1 to when the function device 13 starts to operate is completely controlled by the delay circuit 121, and the function device 13 can be started as long as the delay circuit 121 has passed the set time delay.
  • the functional device 13 includes a plurality of sub-function units having different operating voltages, such as the first sub-function unit 131 and the second sub-function unit 132 in FIG. 1, and each of the sub-function units may be a digital circuit, an analog circuit, or a digital-analog hybrid circuit. Used to implement the functions set by the system on chip 1.
  • the reset signal generated by the reset circuit 122 resets the function device 13.
  • the on-chip power supply unit 11 supplies the functional device 13 with the power supply voltage and reference voltage required for operation.
  • the delay circuit 121 is provided with a plurality of delay times.
  • the clock masker 123 sets the clock generator 124.
  • the generated clock signal is sent to the first sub-function unit 131, so that the first sub-function unit 131 starts normal operation; when the delay circuit 121 generates the second delay completion signal, the clock masker 123 generates the clock generator 124.
  • the clock signal is sent to the second sub-function unit 132 so that the second sub-function unit 132 starts normal. That is to say, the function device 13 does not need to wait for the on-chip power supply device 11 to be completely stable before starting operation, which can be sequentially controlled according to the characteristics of each sub-function unit in the functional device 13 during the rise of the power supply voltage outputted by the power supply device 11 start working.
  • the performance evaluation device 14 includes a performance evaluation circuit 141.
  • the performance evaluation circuit 141 starts to evaluate the power supply voltage performance output by the power conditioner 113, and if it detects The power supply voltage performance index output by the on-chip power supply device 11 does not meet the setting requirement (if it is detected that the power supply voltage value changes sharply with temperature or the power supply voltage value does not accurately reach the set target), the performance evaluation circuit 141 adjusts to the power supply.
  • the device 113 issues a performance adjustment signal.
  • the power regulator 113 adjusts the power supply voltage outputted by itself, and returns a performance detection signal to the performance evaluation circuit 141.
  • the performance evaluation circuit 141 evaluates the power supply voltage performance outputted by the power conditioner 113 again, and repeats the above steps until the power supply voltage. Performance meets the requirements.
  • the power primary stabilization signal is sent by the clock generator 111 or the power conditioner 113 of the on-chip power supply unit 11.
  • the performance evaluation device 14 further includes a second reference voltage generation circuit 142 and a voltage reference selector 143 that are simultaneously connected to the first reference voltage generation circuit 112 and the second reference voltage generation circuit 142.
  • the first reference voltage generating circuit 112 controls the power conditioner 113 and the function device 13 of the on-chip power supply device 11 before the performance evaluation device 14 starts operating.
  • the performance evaluation circuit 141 detects that the first reference voltage of the first reference voltage generating circuit 112 cannot satisfy the performance requirement of a certain sub-function unit of the on-chip power supply device 11 or the functional device 13, the performance evaluation circuit 141
  • the second reference voltage generated by the second reference voltage generating circuit 142 is controlled by the voltage reference selector 143 in place of the first reference voltage, thereby optimizing the performance of a power source or a sub-function unit in the functional device 13 output from the on-chip power supply device 11.
  • the performance evaluation circuit 141 detects that the first reference voltage performance satisfies the requirements of the on-chip power supply device 11 and the functional device 13, it is not necessary to switch the reference voltage, and the second reference voltage generation circuit 142 can be turned off to save system power consumption.
  • the performance evaluation device 14 does not necessarily need to wait for the on-chip power supply device 11 to be completely stable before starting to work, and can also start working after the power supply voltage output from the on-chip power supply device 11 rises to a certain level, thereby further improving the system on chip 1 Startup speed.
  • FIG. 2 shows an implementation flow of the startup method of the system on chip shown in FIG. 1, which is detailed as follows:
  • step S21 the power conditioner in the on-chip power supply device is immediately activated; the reset circuit issues a reset signal to cause the function device to be in a reset state, and the delay circuit starts operating.
  • the clock generator and the first reference voltage generating circuit in the on-chip power supply device are immediately powered, and the clock generator generates a clock signal required by the power regulator, and the first reference voltage generating circuit generates The first reference voltage required by the power regulator, and then the power regulator is normally started under the control of the clock signal and the first reference voltage. Since the on-chip power supply device is activated without any control of the reset signal and the enable signal, It does not need to wait for other signals from other devices on the system to start the startup, thus greatly improving the startup speed of the system on chip.
  • the reset circuit When the external power supply is connected to the system on chip, the reset circuit immediately generates a reset signal to reset the function device, preventing the function device from starting to work during the startup of the on-chip power supply device, causing malfunction, and the delay circuit starts to work and is delaying.
  • the time-waiting control masks the clock signal required for the functional device to operate normally.
  • step S22 the delay circuit completes the set time delay, and the function device starts normal operation.
  • the function device includes a plurality of sub-function units having different operating voltages.
  • the function device does not need to wait until the power supply voltage generated by the on-chip power supply device is completely stable, and then starts to work.
  • a plurality of delay times are correspondingly set in the delay circuit, and after the delay circuit completes the set time delay, the clock signal is transmitted to the function device, and reset. The reset signal of the circuit disappears, so that the sub-function unit starts to work normally.
  • the system on chip further includes a performance evaluation device, the performance evaluation device including a performance evaluation circuit; as shown in FIG. 3, in steps S21 and S22 In addition, the following steps are also included:
  • step S2111 the performance evaluation circuit evaluates whether the power supply voltage performance generated by the power supply regulator meets the requirements, such as whether the power supply voltage value changes sharply with temperature or the power supply voltage value does not accurately reach the set target, and then proceeds to step S2112. Otherwise proceed to step S2113;
  • the performance evaluation circuit does not necessarily need to wait for the on-chip power supply device to be completely stable before starting to work. It can start working after the power supply voltage output from the on-chip power supply device rises to a certain level, which can further improve the startup speed of the system on chip.
  • step S2112 the performance evaluation circuit stops working, the power supply voltage of the power regulator maintains the original performance, proceeds to step S22;
  • step S2113 the power conditioner adjusts the signal according to the performance of the performance evaluation circuit to boost the generated power performance, and proceeds to step S2111.
  • the power regulator After adjusting the power supply voltage of the self-output, the power regulator returns a performance detection signal to the performance evaluation circuit, and the performance evaluation circuit evaluates the power supply voltage performance of the power regulator output again, and repeats the above steps until the power supply voltage performance meets the requirements.
  • the performance evaluation device further includes a second reference voltage generating circuit and a voltage reference selector for generating the second reference voltage.
  • the startup process of the system on chip is as shown in FIG. 4, and after step S21, the method further includes The evaluation result of the performance evaluation circuit selects the step of outputting the reference voltage circuit, specifically:
  • step S2114 the performance evaluation circuit evaluates whether the first reference voltage meets the requirements, if not, the process proceeds to step S2115, otherwise proceeds to step S22;
  • step S2115 the voltage reference selector controls the output of the second reference voltage to the functional device, and proceeds to step S22.
  • FIG. 5 shows a structural example of the clock generator 111 in the on-chip power supply device 11 shown in FIG. 1, which is a ring oscillator with RC delay, in which T1, T2, and T3 are inverters, and output clock signals.
  • the frequency is about .
  • the power supply of the clock generator 111 is supplied from the external power supply 2. As long as the external power supply 2 is connected to the system on chip 1, the clock generator 111 can immediately generate a clock signal 2 to drive the power conditioner 113 to start.
  • the first reference voltage generating circuit 112 can generate a reference voltage signal having a magnitude of the gate voltage of the NMOS transistor Q, that is, the sum of the threshold voltage of the NMOS transistor Q and its overdrive voltage. If the overdrive voltage is designed to be much smaller than the threshold voltage of the NMOS transistor 21, the reference voltage signal is approximately the threshold voltage of the NMOS transistor Q, so that the first reference voltage generating circuit 112 generates a relatively stable reference voltage signal.
  • FIG. 7 is a structural example of the delay circuit 121 and the reset circuit 122 in the reset device 12 shown in FIG. 1.
  • the input signal is the signal of the external power source 2, and the output signal is the reset signal.
  • the external power supply 2 When the external power supply 2 is connected to the system on chip 1, the external power supply 2 immediately gives the D flip-flop 1, D flip-flop 2
  • the D flip-flop 3 and the inverter T are powered, but due to the delay of the resistor R and the capacitor C, the input of the inverter T remains low after the external power source 2 is connected to the system on chip 1 for a certain period of time, thereby During the period of time, the output of the inverter T is kept high, so the D flip-flop 1, D flip-flop 2 and D flip-flop 3 are cleared under the control of the clear signal, so that the reset signal remains low.
  • the function device 13 is placed in the reset state.
  • the clear signal outputs a low level, so that the D flip-flop 1, the D flip-flop 2, and the D flip-flop 3 stop the clearing operation, and start the control of the clock signal.
  • the reset signal is held low until the function of the fourth rising edge signal from the start of the clock signal, so that the functional device 13 is always in the reset state.
  • the delay circuit 121 outputs a rising edge signal to the reset circuit 122 to cause the reset signal to transition from a low level to a high level, so that the function device 13 exits the reset state and starts. normal work. It should be understood that, in specific implementation, the number of D flip-flops in the delay circuit 121 can be set according to the time condition.
  • the on-chip power supply device can start to start immediately, without any reset signal and enable signal control of other devices in the system, that is, there is no need to wait for other devices of the system on the chip to issue any
  • the reset signal or the enable signal greatly increases the startup speed of the system on the chip; and the functional device does not need to wait for the power generated by the on-chip power supply device to be fully stabilized, as long as the control device corresponds to a sub-function unit.
  • the sub-function unit can work normally, further improving the startup speed of the system on chip; when the power supply voltage generated by the on-chip power supply device rises to a certain extent and before the functional device is enabled
  • the performance evaluation device is used to evaluate the power performance generated by the on-chip power supply unit to improve the internal power supply performance.

Abstract

A system on chip (SOC) (1) and a starting method thereof are provided, which are suitable for the field of integrate circuit. The SOC includes an on-chip power supply device (11), a reset device (12) and a functional device (13), wherein the on-chip power supply device (11) includes a clock generator (111) for generating a clock signal, a first reference voltage generating circuit (112) for generating the first reference voltage and a power supply regulator (113) for providing a power supply voltage required by other device during working; the reset device (12) keeps the functional device (13) in a reset state in a preset delay time and when the delay time is over, releases the functional device (13) from the reset state and outputs a clock signal (20) in order to set the functional device (13) to work. Once the external power source (2) connects to the SOC, the on-chip power supply device (11) starts immediately under the action of the first reference voltage, and is not controlled by any reset signal and enable signal of other devices inside the system, so the start speed of the SOC is improved greatly.

Description

一种片上系统及其启动方法  System on chip and startup method thereof 技术领域Technical field
本发明属于集成电路领域,尤其涉及一种片上系统及其启动方法。 The invention belongs to the field of integrated circuits, and in particular relates to a system on chip and a method for starting the same.
背景技术Background technique
一个片上系统(System On Chip,SOC)系统通常包含基准电压产生电路、电源产生电路、时钟产生电路和数模混合电路四个部分。一般来说,基准电压产生电路需要电源产生电路为其提供电源,而电源产生电路需要基准电压产生电路为其提供基准电压;时钟产生电路需要电源产生电路为其提供电源,而电源产生电路需要时钟产生装置为其提供时钟信号;数模混合电路同时需要电源、基准电压和时钟信号,同时数模混合电路也有可能去控制或调节电源、基准电压和时钟信号。业界传统启动方法是:当外部电源连接到SOC片上系统时,首先建立一个待机状态,至少复位一部分电路;当接收到一个电源使能信号后,产生一个时钟信号;当时钟信号达到稳定后,使能基准电压信号,然后内部电源在时钟信号和基准信号的作用下开始启动;当内部电源达到稳定后,使能功能模块,从而系统进入到正常工作状态。该传统方法的电源启动时间几乎等于各个模块的启动时间之和,导致系统启动时间比较慢,不适合需要快速启动系统的应用场合。 a system on chip (System On The Chip, SOC) system usually includes four parts: a reference voltage generating circuit, a power generating circuit, a clock generating circuit, and a digital-analog hybrid circuit. In general, the reference voltage generating circuit requires a power generating circuit to supply power thereto, and the power generating circuit requires a reference voltage generating circuit to supply a reference voltage thereto; the clock generating circuit requires a power generating circuit to supply power thereto, and the power generating circuit requires a clock The generating device provides a clock signal for it; the digital-analog hybrid circuit requires both a power supply, a reference voltage, and a clock signal, and the digital-analog hybrid circuit may also control or regulate the power supply, the reference voltage, and the clock signal. The traditional starting method in the industry is: when the external power supply is connected to the SOC on-chip system, first establish a standby state, at least reset a part of the circuit; when receiving a power enable signal, generate a clock signal; when the clock signal reaches a stable state, The reference voltage signal can be started, and then the internal power supply starts under the action of the clock signal and the reference signal; when the internal power supply is stabilized, the function module is enabled, and the system enters the normal working state. The power-on time of the conventional method is almost equal to the sum of the startup times of the modules, resulting in a slow system startup time, which is not suitable for applications requiring a quick start system.
技术问题technical problem
本发明实施例的目的在于提供一种片上系统及其启动方法,以使SOC系统能正确快速地启动。 It is an object of embodiments of the present invention to provide a system on a chip and a method for starting the same, so that the SOC system can be started up correctly and quickly.
技术解决方案Technical solution
本发明实施例是这样实现的,一种片上系统,包括:The embodiment of the present invention is implemented in this manner, and a system on chip includes:
片内电源装置、复位装置和功能装置;On-chip power supply device, reset device and functional device;
所述片内电源装置包括用于产生第一基准电压的第一基准电压产生电路和电源调整器,所述电源调整器在所述第一基准电压的作用下产生片上系统内部的其他装置工作所需的电源电压; The on-chip power supply device includes a first reference voltage generating circuit and a power regulator for generating a first reference voltage, and the power regulator generates other device internals of the system on chip under the action of the first reference voltage Required power supply voltage;
所述复位装置在预设的延时时间内使所述功能装置处于复位状态,当延时时间完成时,解除所述功能装置的复位状态并输出时钟信号,所述功能装置在所述电源调整器产生的电源电压、所述第一基准电压和所述时钟信号的作用下开始工作。The reset device causes the function device to be in a reset state within a preset delay time. When the delay time is completed, the reset state of the function device is released and a clock signal is output, and the function device is adjusted at the power source. The operation is started by the power supply voltage generated by the device, the first reference voltage, and the clock signal.
本发明实施例还提供了一种片上系统的启动方法,所述片上系统包括片内电源装置、复位装置和功能装置;所述片内电源装置包括用于产生第一基准电压的第一基准电压产生电路和电源调整器;所述复位装置包括复位电路和延时电路;An embodiment of the present invention further provides a method for starting a system on a chip, the system on chip comprising an on-chip power supply device, a reset device, and a function device; the on-chip power supply device includes a first reference voltage for generating a first reference voltage Generating a circuit and a power regulator; the reset device includes a reset circuit and a delay circuit;
所述启动方法包括以下步骤:The startup method includes the following steps:
1):片内电源装置中的电源调整器在所述第一基准电压的作用下启动,同时复位电路发出复位信号使功能装置处于复位状态,延时电路开始工作;1): the power regulator in the on-chip power supply device is activated by the first reference voltage, and the reset circuit issues a reset signal to cause the function device to be in a reset state, and the delay circuit starts to work;
2):延时电路完成所设定的时间延时之后,将时钟信号传递到功能装置,且复位电路的复位信号消失,功能装置开始正常工作。2): After the delay circuit completes the set time delay, the clock signal is transmitted to the function device, and the reset signal of the reset circuit disappears, and the function device starts to work normally.
有益效果Beneficial effect
本发明实施例中,一旦外部电源连接到片上系统,片内电源装置就在第一基准电压的作用下立即开始启动,不受系统内部其他装置任何复位信号和使能信号的控制,即不需要等待片上系统其它装置发出任何复位信号或使能信号,因此大大提高了片上系统的启动速度;并且不需要等待片内电源装置产生的电源完全达到稳定后,功能装置才开始工作,只要控制功能装置中某个子功能单元对应的延时电路实现所设定的时间延迟后,该子功能单元就能正常工作,进一步提高了片上系统的启动速度;当片内电源装置产生的电源电压上升到一定程度并在使能功能装置之前,通过性能评估装置对片内电源装置产生的电源性能进行评估,以提升内部电源性能。 In the embodiment of the present invention, once the external power source is connected to the system on chip, the on-chip power supply device starts to start immediately under the action of the first reference voltage, and is not controlled by any reset signal and enable signal of other devices in the system, that is, no need is needed. Waiting for other reset signals or enable signals from other devices on the system, thus greatly improving the startup speed of the system on chip; and the functional device does not need to wait until the power generated by the on-chip power supply device is completely stabilized, as long as the control device is controlled. After the delay circuit corresponding to a sub-function unit realizes the set time delay, the sub-function unit can work normally, further improving the startup speed of the system on chip; when the power supply voltage generated by the on-chip power supply device rises to a certain extent Before the functional device is enabled, the performance evaluation device is used to evaluate the power performance generated by the on-chip power supply device to improve the internal power supply performance.
附图说明DRAWINGS
图1是本发明实施例提供的片上系统的结构原理图;1 is a schematic structural diagram of a system on chip provided by an embodiment of the present invention;
图2是图1所示片上系统的启动方法的实现流程图;2 is a flow chart showing an implementation of the method for starting the system on chip shown in FIG. 1;
图3是图1所示片上系统的另一启动方法的实现流程图;3 is a flow chart showing an implementation of another method for starting the system on chip shown in FIG. 1;
图4是图1所示片上系统的再一启动方法的实现流程图;4 is a flow chart showing an implementation of another method for starting the system on chip shown in FIG. 1;
图5是图1所示片内电源装置11中的时钟发生器111的一个结构示例图;Figure 5 is a diagram showing an example of the structure of a clock generator 111 in the on-chip power supply unit 11 shown in Figure 1;
图6是图1所示片内电源装置11中的第一基准电压产生电路112的一个结构示例图;6 is a diagram showing an example of the structure of a first reference voltage generating circuit 112 in the on-chip power supply device 11 shown in FIG. 1;
图7是图1所示复位装置12中的延时电路121和复位电路122的一个结构示例图。Fig. 7 is a view showing an example of the structure of the delay circuit 121 and the reset circuit 122 in the reset device 12 shown in Fig. 1.
本发明的实施方式Embodiments of the invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例中,一旦外部电源连接到片上系统,片内电源装置就在第一基准电压的作用下立即开始启动,不受系统内部其他装置任何复位信号和使能信号的控制。In the embodiment of the present invention, once the external power source is connected to the system on chip, the on-chip power supply device starts to start immediately under the action of the first reference voltage, and is not controlled by any reset signal and enable signal of other devices in the system.
图1示出了本发明实施例提供的片上系统的结构原理,为了便于描述,仅示出了与本发明相关的部分。FIG. 1 shows the structural principle of the system on chip provided by the embodiment of the present invention. For the convenience of description, only parts related to the present invention are shown.
参照图1,片上系统1包括片内电源装置11、复位装置12、功能装置13和性能评估装置14四个部分。片上系统与外部电源2连接,外部电源2可以是电池或其它的电源生成器,但它只能为片上系统中部分电路提供正确的电源电压。Referring to FIG. 1, the system on chip 1 includes four parts of an on-chip power supply device 11, a reset device 12, a function device 13, and a performance evaluation device 14. The system-on-chip is connected to an external power supply 2, which can be a battery or other power generator, but it can only provide the correct supply voltage for some of the circuits in the system on a chip.
片内电源装置11包括时钟发生器111、第一基准电压产生电路112和电源调整器113,时钟发生器111、第一基准电压产生电路112和电源调整器113均与外部电源2连接,电源调整器113可以是线性调整管(Low Dropout Regulator,LDO)、开关电源或电荷泵。一旦外部电源2连接到片上系统1,时钟发生器111和第一基准电压产生电路112立即得电开始工作,时钟发生器111产生电源调整器113所需要的时钟信号,第一基准电压产生电路112产生电源调整器113所需要的第一基准电压。然后电源调整器113在时钟信号和第一基准电压的作用下正常启动产生电源电压,一定时间后,片内电源装置11达到稳定状态。也就是说,一旦外部电源2连接到片上系统1,片内电源装置11中的电源调整器113能至少产生一个稳定的电源电压信号,为片上系统1中的其它装置供电。由于片内电源装置11的时钟发生器111和第一基准电压产生电路112都不受任何复位信号和使能信号的控制,一旦外部电源2连接到片上系统1,时钟发生器111和第一基准电压产生电路112就能正常工作,并立即启动片内电源装置11的电源调整器113,即电源装置11的电源调整器113不需要等待片上系统1其它装置发出任何信号后才开始启动,因此大大提高了片上系统1的启动速度。The on-chip power supply device 11 includes a clock generator 111, a first reference voltage generating circuit 112, and a power conditioner 113. The clock generator 111, the first reference voltage generating circuit 112, and the power conditioner 113 are all connected to the external power source 2, and the power supply is adjusted. The device 113 can be a linear adjustment tube (Low Dropout Regulator, LDO), switching power supply or charge pump. Once the external power source 2 is connected to the system on chip 1, the clock generator 111 and the first reference voltage generating circuit 112 are immediately energized to start operation, and the clock generator 111 generates a clock signal required by the power conditioner 113, and the first reference voltage generating circuit 112 A first reference voltage required by the power conditioner 113 is generated. Then, the power regulator 113 normally starts to generate the power supply voltage under the action of the clock signal and the first reference voltage, and after a certain time, the on-chip power supply device 11 reaches a steady state. That is, once the external power source 2 is connected to the system on chip 1, the power conditioner 113 in the on-chip power supply unit 11 can generate at least one stable power supply voltage signal to supply power to other devices in the system on chip 1. Since the clock generator 111 of the on-chip power supply device 11 and the first reference voltage generating circuit 112 are not controlled by any of the reset signal and the enable signal, once the external power source 2 is connected to the system on chip 1, the clock generator 111 and the first reference The voltage generating circuit 112 can work normally, and immediately activates the power conditioner 113 of the on-chip power supply device 11, that is, the power regulator 113 of the power supply device 11 does not need to wait for other signals from the on-chip system 1 to issue any signal, and thus starts to be started, thus greatly The startup speed of the system on chip 1 is increased.
应当理解,以上关于片内电源装置11的结构仅以需要时钟发生器的应用为例描述,对于不需要时钟发生器的应用,片内电源装置11也可不包括时钟发生器。It should be understood that the above description regarding the structure of the on-chip power supply device 11 is only described by taking an application requiring a clock generator as an example, and for an application that does not require a clock generator, the on-chip power supply device 11 may not include a clock generator.
复位装置12包括延时电路121、复位电路122、时钟屏蔽器123和时钟发生器124,其中延时电路121、复位电路122和时钟屏蔽器123由外部电源2直接供电,而时钟发生器124则由片内电源装置11中的电源调整器113产生的电源电压供电。当外部电源2连接到片上系统1,复位电路122立即产生复位信号,将功能装置13进行复位,避免功能装置13在片内电源装置12启动过程中就开始工作而导致误动作。同时,复位电路122控制与其连接的时钟屏蔽器123将时钟发生器124产生的时钟信号屏蔽,即不传递到功能装置13。当片内电源装置11输出的电源电压上升到能使时钟发生器124开始工作时,时钟发生器124开始产生功能装置13所需要的时钟信号。外部电源2连接到片上系统1后,延时电路121就开始工作,其经过所设定的时间延迟后,延时电路121向复位电路122发出控制信号,使复位电路122停止向功能装置13输出复位信号,复位电路122进而向时钟屏蔽器123发出控制信号,使时钟屏蔽器123将时钟发生器124所生成的时钟信号送到功能装置13,功能装置13开始工作。也就是说从外部电源2连接到片上系统1到功能装置13开始工作的时间完全由延时电路121控制,只要延时电路121经过所设定的时间延迟后,功能装置13即可开始工作。The reset device 12 includes a delay circuit 121, a reset circuit 122, a clock masker 123, and a clock generator 124. The delay circuit 121, the reset circuit 122, and the clock mask 123 are directly powered by the external power source 2, and the clock generator 124 is The power supply voltage generated by the power conditioner 113 in the on-chip power supply device 11 is supplied with power. When the external power source 2 is connected to the system on chip 1, the reset circuit 122 immediately generates a reset signal to reset the function device 13 to prevent the function device 13 from starting to operate during the startup of the on-chip power source device 12, resulting in malfunction. At the same time, the reset circuit 122 controls the clock mask 123 connected thereto to shield the clock signal generated by the clock generator 124 from being transmitted to the functional device 13. When the power supply voltage output from the on-chip power supply unit 11 rises to enable the clock generator 124 to start operating, the clock generator 124 starts generating the clock signal required by the functional device 13. After the external power source 2 is connected to the system on chip 1, the delay circuit 121 starts to work. After the set time delay, the delay circuit 121 sends a control signal to the reset circuit 122 to stop the reset circuit 122 from outputting to the function device 13. The reset signal, the reset circuit 122, in turn sends a control signal to the clock mask 123, causing the clock mask 123 to send the clock signal generated by the clock generator 124 to the functional device 13, and the functional device 13 starts operating. That is to say, the time from when the external power source 2 is connected to the system on chip 1 to when the function device 13 starts to operate is completely controlled by the delay circuit 121, and the function device 13 can be started as long as the delay circuit 121 has passed the set time delay.
功能装置13包括多个工作电压不相同的子功能单元,如图1中的第一子功能单元131和第二子功能单元132,各个子功能单元可以是数字电路、模拟电路或数模混合电路,用于实现片上系统1所设定的功能。当外部电源2连接到片上系统1时,复位电路122产生的复位信号将功能装置13复位。片内电源装置11为功能装置13提供工作所需电源电压和基准电压。与功能装置13中的多个子功能单元相对应,延时电路121中设置有多个延时时间,当延时电路121生成第一延时完成信号后,时钟屏蔽器123将时钟产生器124所生成的时钟信号送给第一子功能单元131,从而第一子功能单元131开始正常工作;当延时电路121生成第二延时完成信号后,时钟屏蔽器123将时钟产生器124所生成的时钟信号送给第二子功能单元132,从而第二子功能单元132开始正常。也就是说,功能装置13不需要等待片内电源装置11完全稳定后才开始工作,其可以根据功能装置13中各子功能单元的特性,在电源装置11输出的电源电压上升过程中,依次控制开始工作。The functional device 13 includes a plurality of sub-function units having different operating voltages, such as the first sub-function unit 131 and the second sub-function unit 132 in FIG. 1, and each of the sub-function units may be a digital circuit, an analog circuit, or a digital-analog hybrid circuit. Used to implement the functions set by the system on chip 1. When the external power source 2 is connected to the system on chip 1, the reset signal generated by the reset circuit 122 resets the function device 13. The on-chip power supply unit 11 supplies the functional device 13 with the power supply voltage and reference voltage required for operation. Corresponding to the plurality of sub-function units in the function device 13, the delay circuit 121 is provided with a plurality of delay times. When the delay circuit 121 generates the first delay completion signal, the clock masker 123 sets the clock generator 124. The generated clock signal is sent to the first sub-function unit 131, so that the first sub-function unit 131 starts normal operation; when the delay circuit 121 generates the second delay completion signal, the clock masker 123 generates the clock generator 124. The clock signal is sent to the second sub-function unit 132 so that the second sub-function unit 132 starts normal. That is to say, the function device 13 does not need to wait for the on-chip power supply device 11 to be completely stable before starting operation, which can be sequentially controlled according to the characteristics of each sub-function unit in the functional device 13 during the rise of the power supply voltage outputted by the power supply device 11 start working.
本发明实施例中,性能评估装置14包括性能评估电路141,当片内电源装置11发出电源初级稳定信号后,性能评估电路141开始对电源调整器113输出的电源电压性能进行评估,若检测到片内电源装置11输出的电源电压性能指标没有达到设定要求(如检测到电源电压值随温度变化比较剧烈或电源电压值没有精确达到所设定的目标),则性能评估电路141向电源调整器113发出性能调整信号。电源调整器113对自身输出的电源电压进行调整后,向性能评估电路141返回一性能检测信号,性能评估电路141再次对电源调整器113输出的电源电压性能进行评估,重复上述步骤直到该电源电压性能满足要求。其中电源初级稳定信号由片内电源装置11的时钟发生器111或电源调整器113发出。In the embodiment of the present invention, the performance evaluation device 14 includes a performance evaluation circuit 141. When the on-chip power supply device 11 issues a power supply primary stabilization signal, the performance evaluation circuit 141 starts to evaluate the power supply voltage performance output by the power conditioner 113, and if it detects The power supply voltage performance index output by the on-chip power supply device 11 does not meet the setting requirement (if it is detected that the power supply voltage value changes sharply with temperature or the power supply voltage value does not accurately reach the set target), the performance evaluation circuit 141 adjusts to the power supply. The device 113 issues a performance adjustment signal. The power regulator 113 adjusts the power supply voltage outputted by itself, and returns a performance detection signal to the performance evaluation circuit 141. The performance evaluation circuit 141 evaluates the power supply voltage performance outputted by the power conditioner 113 again, and repeats the above steps until the power supply voltage. Performance meets the requirements. The power primary stabilization signal is sent by the clock generator 111 or the power conditioner 113 of the on-chip power supply unit 11.
进一步地,性能评估装置14还包括与第二基准电压产生电路142和电压基准选择器143,电压基准选择器143同时与第一基准电压产生电路112和第二基准电压产生电路142连接。性能评估装置14开始工作之前,第一基准电压产生电路112控制片内电源装置11的电源调整器113和功能装置13。在系统启动后,若性能评估电路141检测到第一基准电压产生电路112的第一基准电压不能满足片内电源装置11或功能装置13中某个子功能单元的性能要求时,则性能评估电路141通过电压基准选择器143控制用第二基准电压产生电路142产生的第二基准电压代替第一基准电压,从而优化片内电源装置11输出的电源或功能装置13中某个子功能单元的性能。若性能评估电路141检测到第一基准电压性能满足片内电源装置11和功能装置13的要求时,则不需要切换基准电压,此时可以关闭第二基准电压产生电路142以节省系统功耗。当然,性能评估装置14不一定需要等片内电源装置11完全稳定后才开始工作,还可以在片内电源装置11输出的电源电压上升到一定程度后就开始工作,这样可进一步提高片上系统1的启动速度。Further, the performance evaluation device 14 further includes a second reference voltage generation circuit 142 and a voltage reference selector 143 that are simultaneously connected to the first reference voltage generation circuit 112 and the second reference voltage generation circuit 142. The first reference voltage generating circuit 112 controls the power conditioner 113 and the function device 13 of the on-chip power supply device 11 before the performance evaluation device 14 starts operating. After the system is started, if the performance evaluation circuit 141 detects that the first reference voltage of the first reference voltage generating circuit 112 cannot satisfy the performance requirement of a certain sub-function unit of the on-chip power supply device 11 or the functional device 13, the performance evaluation circuit 141 The second reference voltage generated by the second reference voltage generating circuit 142 is controlled by the voltage reference selector 143 in place of the first reference voltage, thereby optimizing the performance of a power source or a sub-function unit in the functional device 13 output from the on-chip power supply device 11. If the performance evaluation circuit 141 detects that the first reference voltage performance satisfies the requirements of the on-chip power supply device 11 and the functional device 13, it is not necessary to switch the reference voltage, and the second reference voltage generation circuit 142 can be turned off to save system power consumption. Of course, the performance evaluation device 14 does not necessarily need to wait for the on-chip power supply device 11 to be completely stable before starting to work, and can also start working after the power supply voltage output from the on-chip power supply device 11 rises to a certain level, thereby further improving the system on chip 1 Startup speed.
图2示出了图1所示片上系统的启动方法的实现流程,详述如下:FIG. 2 shows an implementation flow of the startup method of the system on chip shown in FIG. 1, which is detailed as follows:
在步骤S21中,片内电源装置中的电源调整器立即启动;复位电路发出复位信号使功能装置处于复位状态,延时电路开始工作。In step S21, the power conditioner in the on-chip power supply device is immediately activated; the reset circuit issues a reset signal to cause the function device to be in a reset state, and the delay circuit starts operating.
一旦外部电源连接到片上系统,片内电源装置中的时钟发生器和第一基准电压产生电路立即得电开始工作,时钟发生器产生电源调整器所需要的时钟信号,第一基准电压产生电路产生电源调整器所需要的第一基准电压,然后电源调整器在时钟信号和第一基准电压的控制下立即正常启动,由于片内电源装置启动时不受任何复位信号和使能信号的控制,即不需要等待片上系统其它装置发出任何信号后才开始启动,因此大大提高了片上系统的启动速度。Once the external power source is connected to the system-on-chip, the clock generator and the first reference voltage generating circuit in the on-chip power supply device are immediately powered, and the clock generator generates a clock signal required by the power regulator, and the first reference voltage generating circuit generates The first reference voltage required by the power regulator, and then the power regulator is normally started under the control of the clock signal and the first reference voltage. Since the on-chip power supply device is activated without any control of the reset signal and the enable signal, It does not need to wait for other signals from other devices on the system to start the startup, thus greatly improving the startup speed of the system on chip.
当外部电源连接到片上系统,复位电路立即产生复位信号,将功能装置进行复位,避免功能装置在片内电源装置启动过程中就开始工作而导致误动作,同时延时电路开始工作,并在延时等待的时间内控制将功能装置正常工作所需要的时钟信号屏蔽掉。When the external power supply is connected to the system on chip, the reset circuit immediately generates a reset signal to reset the function device, preventing the function device from starting to work during the startup of the on-chip power supply device, causing malfunction, and the delay circuit starts to work and is delaying. The time-waiting control masks the clock signal required for the functional device to operate normally.
在步骤S22中,延时电路完成所设定的时间延时,功能装置开始正常工作。In step S22, the delay circuit completes the set time delay, and the function device starts normal operation.
本发明实施例中,功能装置包括多个工作电压不相同的子功能单元,为进一步提高片上系统的启动速度,使功能装置不需要等到片内电源装置产生的电源电压完全稳定后才开始工作,根据功能装置中各个子功能单元工作电压的不同,在延时电路中对应设置有多个延时时间,延时电路完成所设定的时间延时之后,将时钟信号传递到功能装置,且复位电路的复位信号消失,从而子功能单元开始正常工作。In the embodiment of the present invention, the function device includes a plurality of sub-function units having different operating voltages. To further improve the startup speed of the system on chip, the function device does not need to wait until the power supply voltage generated by the on-chip power supply device is completely stable, and then starts to work. According to different working voltages of each sub-function unit in the functional device, a plurality of delay times are correspondingly set in the delay circuit, and after the delay circuit completes the set time delay, the clock signal is transmitted to the function device, and reset. The reset signal of the circuit disappears, so that the sub-function unit starts to work normally.
另外,为保证片内电源装置供给功能装置的电源电压的性能,片上系统进一步包括一性能评估装置,所述性能评估装置包括一性能评估电路;如图3所示,在步骤S21和步骤S22之间,还包括下述步骤:In addition, to ensure the performance of the power supply voltage of the on-chip power supply device to the functional device, the system on chip further includes a performance evaluation device, the performance evaluation device including a performance evaluation circuit; as shown in FIG. 3, in steps S21 and S22 In addition, the following steps are also included:
在步骤S2111中,性能评估电路评估电源调整器产生的电源电压性能是否达到要求,如电源电压值是否随温度变化比较剧烈或电源电压值没有精确达到所设定的目标,是则进入步骤S2112,否则进入步骤S2113;In step S2111, the performance evaluation circuit evaluates whether the power supply voltage performance generated by the power supply regulator meets the requirements, such as whether the power supply voltage value changes sharply with temperature or the power supply voltage value does not accurately reach the set target, and then proceeds to step S2112. Otherwise proceed to step S2113;
其中,性能评估电路不一定需要等片内电源装置完全稳定后才开始工作,其可以在片内电源装置输出的电源电压上升到一定程度后就开始工作,这样可进一步提高片上系统的启动速度。Among them, the performance evaluation circuit does not necessarily need to wait for the on-chip power supply device to be completely stable before starting to work. It can start working after the power supply voltage output from the on-chip power supply device rises to a certain level, which can further improve the startup speed of the system on chip.
在步骤S2112中,性能评估电路停止工作,电源调整器的电源电压保持原来的性能,进入步骤S22;In step S2112, the performance evaluation circuit stops working, the power supply voltage of the power regulator maintains the original performance, proceeds to step S22;
在步骤S2113中,电源调整器根据性能评估电路的性能调整信号,提升所产生的电源性能,进入步骤S2111。In step S2113, the power conditioner adjusts the signal according to the performance of the performance evaluation circuit to boost the generated power performance, and proceeds to step S2111.
电源调整器对自身输出的电源电压进行调整后,向性能评估电路返回一性能检测信号,性能评估电路再次对电源调整器输出的电源电压性能进行评估,重复上述步骤直到该电源电压性能满足要求。After adjusting the power supply voltage of the self-output, the power regulator returns a performance detection signal to the performance evaluation circuit, and the performance evaluation circuit evaluates the power supply voltage performance of the power regulator output again, and repeats the above steps until the power supply voltage performance meets the requirements.
进一步地,性能评估装置进一步包括用于产生第二基准电压的第二基准电压产生电路和电压基准选择器,此时,片上系统的启动流程如图4所示,在步骤S21后,还包括根据性能评估电路的评估结果选择输出基准电压电路的步骤,具体为:Further, the performance evaluation device further includes a second reference voltage generating circuit and a voltage reference selector for generating the second reference voltage. At this time, the startup process of the system on chip is as shown in FIG. 4, and after step S21, the method further includes The evaluation result of the performance evaluation circuit selects the step of outputting the reference voltage circuit, specifically:
步骤S2114中,性能评估电路评估第一基准电压能否满足要求,若不能满足要求则进入步骤S2115,否则进入步骤S22;In step S2114, the performance evaluation circuit evaluates whether the first reference voltage meets the requirements, if not, the process proceeds to step S2115, otherwise proceeds to step S22;
步骤S2115中,电压基准选择器控制输出第二基准电压至功能装置,进入步骤S22。In step S2115, the voltage reference selector controls the output of the second reference voltage to the functional device, and proceeds to step S22.
应当理解,本发明实施例及权利要求的步骤标记仅用于指代该步骤,并不用于限定步骤执行的先后顺序。It should be understood that the step markings of the embodiments of the present invention and the claims are only used to refer to the steps, and are not intended to limit the order in which the steps are performed.
图5示出了图1所示片内电源装置11中的时钟发生器111的一个结构示例,其为带RC延迟的环行振荡器,其中T1、T2、T3为反向器,输出的时钟信号的频率约为 。时钟发生器111的电源由外部电源2提供,只要外部电源2连接到片上系统1,该时钟发生器111就能马上产生一个时钟信号2,带动电源调整器113启动。FIG. 5 shows a structural example of the clock generator 111 in the on-chip power supply device 11 shown in FIG. 1, which is a ring oscillator with RC delay, in which T1, T2, and T3 are inverters, and output clock signals. The frequency is about . The power supply of the clock generator 111 is supplied from the external power supply 2. As long as the external power supply 2 is connected to the system on chip 1, the clock generator 111 can immediately generate a clock signal 2 to drive the power conditioner 113 to start.
图6示出了图1所示片内电源装置11中的第一基准电压产生电路112的一个结构示例,其输入电压为外部电源2,输出基准电压信号,只要外部电源2连接到片上系统1,第一基准电压产生电路112就能产生一个基准电压信号,大小为NMOS管Q的栅极电压,即NMOS管Q的阈值电压与其过驱动电压之和。如果设计该过驱动电压远小于NMOS管21的阈值电压,则基准电压信号约为NMOS管Q的阈值电压,从而第一基准电压产生电路112产生了一个较为稳定的基准电压信号。6 shows a structural example of the first reference voltage generating circuit 112 in the on-chip power supply device 11 shown in FIG. 1, whose input voltage is the external power source 2, and outputs a reference voltage signal as long as the external power source 2 is connected to the system on chip 1 The first reference voltage generating circuit 112 can generate a reference voltage signal having a magnitude of the gate voltage of the NMOS transistor Q, that is, the sum of the threshold voltage of the NMOS transistor Q and its overdrive voltage. If the overdrive voltage is designed to be much smaller than the threshold voltage of the NMOS transistor 21, the reference voltage signal is approximately the threshold voltage of the NMOS transistor Q, so that the first reference voltage generating circuit 112 generates a relatively stable reference voltage signal.
图7为图1所示复位装置12中的延时电路121和复位电路122的一个结构示例,其输入信号为外部电源2的信号,输出信号为复位信号。当外部电源2连接到片上系统1时,外部电源2立即给D触发器1、D触发器2、 D触发器3和反向器T供电,但由于电阻R和电容C的延迟,反向器T的输入端在外部电源2连接到片上系统1一定时间后,仍然保持低电平,从而在这段时间内反向器T的输出端保持高电平,因此D触发器1、D触发器2和D触发器3在清零信号控制下,进行清零动作,从而复位信号一直保持低电平,使功能装置13处于复位状态。当反向器T的输入端慢慢上升到高电平时,清零信号输出低电平,从而D触发器1、D触发器2和D触发器3停止清零动作,开始在时钟信号的控制下工作。从时钟信号开始产生到其第四个上升沿信号到来之前,复位信号一直保持低电平,使功能装置13一直处于复位状态。当时钟信号的第四个上升沿信号到来后,延时电路121输出一个上升沿信号给复位电路122,使复位信号从低电平跳变到高电平,从而功能装置13退出复位状态,开始正常工作。应当理解,具体实现时,可以根据时间情况设置延时电路121中D触发器的个数。FIG. 7 is a structural example of the delay circuit 121 and the reset circuit 122 in the reset device 12 shown in FIG. 1. The input signal is the signal of the external power source 2, and the output signal is the reset signal. When the external power supply 2 is connected to the system on chip 1, the external power supply 2 immediately gives the D flip-flop 1, D flip-flop 2 The D flip-flop 3 and the inverter T are powered, but due to the delay of the resistor R and the capacitor C, the input of the inverter T remains low after the external power source 2 is connected to the system on chip 1 for a certain period of time, thereby During the period of time, the output of the inverter T is kept high, so the D flip-flop 1, D flip-flop 2 and D flip-flop 3 are cleared under the control of the clear signal, so that the reset signal remains low. The function device 13 is placed in the reset state. When the input terminal of the inverter T rises slowly to a high level, the clear signal outputs a low level, so that the D flip-flop 1, the D flip-flop 2, and the D flip-flop 3 stop the clearing operation, and start the control of the clock signal. Work under. The reset signal is held low until the function of the fourth rising edge signal from the start of the clock signal, so that the functional device 13 is always in the reset state. When the fourth rising edge signal of the clock signal arrives, the delay circuit 121 outputs a rising edge signal to the reset circuit 122 to cause the reset signal to transition from a low level to a high level, so that the function device 13 exits the reset state and starts. normal work. It should be understood that, in specific implementation, the number of D flip-flops in the delay circuit 121 can be set according to the time condition.
本发明实施例中,一旦外部电源连接到片上系统,片内电源装置就能立即开始启动,不受系统内部其他装置任何复位信号和使能信号的控制,即不需要等待片上系统其它装置发出任何复位信号或使能信号,因此大大提高了片上系统的启动速度;并且不需要等待片内电源装置产生的电源完全达到稳定后,功能装置才开始工作,只要控制功能装置中某个子功能单元对应的延时电路实现所设定的时间延迟后,该子功能单元就能正常工作,进一步提高了片上系统的启动速度;当片内电源装置产生的电源电压上升到一定程度并在使能功能装置之前,通过性能评估装置对片内电源装置产生的电源性能进行评估,以提升内部电源性能。In the embodiment of the present invention, once the external power source is connected to the system on chip, the on-chip power supply device can start to start immediately, without any reset signal and enable signal control of other devices in the system, that is, there is no need to wait for other devices of the system on the chip to issue any The reset signal or the enable signal greatly increases the startup speed of the system on the chip; and the functional device does not need to wait for the power generated by the on-chip power supply device to be fully stabilized, as long as the control device corresponds to a sub-function unit. After the delay circuit realizes the set time delay, the sub-function unit can work normally, further improving the startup speed of the system on chip; when the power supply voltage generated by the on-chip power supply device rises to a certain extent and before the functional device is enabled The performance evaluation device is used to evaluate the power performance generated by the on-chip power supply unit to improve the internal power supply performance.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims (10)

  1. 一种片上系统,其特征在于,所述片上系统包括: A system on a chip, characterized in that the system on a chip comprises:
    片内电源装置、复位装置和功能装置;On-chip power supply device, reset device and functional device;
    所述片内电源装置包括用于产生第一基准电压的第一基准电压产生电路和电源调整器,所述电源调整器在所述第一基准电压的作用下产生片上系统内部的其他装置工作所需的电源电压;The on-chip power supply device includes a first reference voltage generating circuit and a power regulator for generating a first reference voltage, and the power regulator generates other device internals of the system on chip under the action of the first reference voltage Required power supply voltage;
    所述复位装置在预设的延时时间内使所述功能装置处于复位状态,当延时时间完成时,解除所述功能装置的复位状态并输出时钟信号,所述功能装置在所述电源调整器产生的电源电压、所述第一基准电压和所述时钟信号的作用下开始工作。 The reset device causes the function device to be in a reset state within a preset delay time. When the delay time is completed, the reset state of the function device is released and a clock signal is output, and the function device is adjusted at the power source. The operation is started by the power supply voltage generated by the device, the first reference voltage, and the clock signal.
  2. 如权利要求1所述的片上系统,其特征在于,所述片内电源装置进一步包括用于产生时钟信号的时钟发生器,所述电源调整器在所述时钟发生器的时钟信号和所述第一基准电压的作用下产生片上系统内部的其他装置工作所需的电源电压。A system-on-chip according to claim 1, wherein said on-chip power supply device further comprises a clock generator for generating a clock signal, said power regulator having a clock signal at said clock generator and said A reference voltage produces the supply voltage required for operation of other devices within the system on the chip.
  3. 如权利要求1所述的片上系统,其特征在于,所述功能装置包括多个工作电压不相同的子功能单元,所述复位装置预设有与多个所述子功能单元相对应的延时时间,每当一个延时时间完成后,所述复位装置解除相应子功能单元的复位状态并输出时钟信号,所述子功能单元在所述电源调整器产生的电源电压和所述时钟信号的作用下开始工作。The system-on-chip according to claim 1, wherein said functional device comprises a plurality of sub-functional units having different operating voltages, said resetting means being pre-configured with a delay corresponding to said plurality of said sub-functional units Time, each time a delay time is completed, the reset device releases the reset state of the corresponding sub-function unit and outputs a clock signal, and the power supply voltage generated by the sub-function unit at the power regulator and the function of the clock signal Start working.
  4. 如权利要求1、2或3所述的片上系统,其特征在于,所述复位装置包括:The system-on-chip of claim 1, 2 or 3, wherein said resetting means comprises:
    延时电路,用于预设一个或多个延时时间; a delay circuit for presetting one or more delay times;
    复位电路,用于向所述功能装置输出复位信号,并在所述延时电路完成延时时间时停止输出复位信号;a reset circuit, configured to output a reset signal to the function device, and stop outputting the reset signal when the delay circuit completes the delay time;
    时钟发生器,用于产生时钟信号;以及a clock generator for generating a clock signal;
    时钟屏蔽器,与所述复位电路连接,用于在所述复位电路向所述功能装置输出复位信号时将所述时钟发生器产生的时钟信号予以屏蔽,并在所述复位电路停止输出复位信号时将所述时钟发生器产生的时钟信号送到所述功能装置。a clock mask connected to the reset circuit for shielding a clock signal generated by the clock generator when the reset circuit outputs a reset signal to the function device, and stopping outputting a reset signal at the reset circuit The clock signal generated by the clock generator is sent to the functional device.
  5. 如权利要求1所述的片上系统,其特征在于,所述片上系统进一步包括一性能评估装置,所述性能评估装置包括:The system-on-chip of claim 1, wherein said system on chip further comprises a performance evaluation device, said performance evaluation device comprising:
    性能评估电路,用于对所述电源调整器输出的电源电压性能进行评估,若检测到电源电压性能指标没有达到设定要求,则向所述电源调整器发出性能调整信号,以使所述电源调整器对自身输出的电源电压进行调整。a performance evaluation circuit, configured to evaluate a power supply voltage performance of the power regulator output, and if it is detected that the power supply voltage performance indicator does not meet the set requirement, send a performance adjustment signal to the power regulator to enable the power supply The regulator adjusts the power supply voltage of its own output.
  6. 如权利要求5所述的片上系统,其特征在于,所述性能评估电路还用于检查所述第一基准电压是否满足所述功能装置的要求;所述性能评估装置进一步包括:The system-on-chip according to claim 5, wherein the performance evaluation circuit is further configured to check whether the first reference voltage meets a requirement of the functional device; the performance evaluation device further comprises:
    第二基准电压产生电路,用于产生第二基准电压;以及a second reference voltage generating circuit for generating a second reference voltage;
    电压基准选择器,与所述第一基准电压产生电路和所述第二基准电压产生电路连接,用于在所述性能评估电路在系统启动后检测到所述第一基准电压不能满足要求时,控制输出所述第二基准电压至所述功能装置。a voltage reference selector connected to the first reference voltage generating circuit and the second reference voltage generating circuit, when the performance evaluation circuit detects that the first reference voltage cannot meet the requirement after the system is started, Controlling the output of the second reference voltage to the functional device.
  7. 一种片上系统的启动方法,其特征在于,所述片上系统包括片内电源装置、复位装置和功能装置;所述片内电源装置包括用于产生第一基准电压的第一基准电压产生电路和电源调整器;所述复位装置包括复位电路和延时电路;A method for starting a system on a chip, characterized in that the system on chip includes an on-chip power supply device, a reset device, and a functional device; the on-chip power supply device includes a first reference voltage generating circuit for generating a first reference voltage and a power regulator; the reset device includes a reset circuit and a delay circuit;
    所述启动方法包括以下步骤:The startup method includes the following steps:
    1):片内电源装置中的电源调整器在所述第一基准电压的作用下启动,同时复位电路发出复位信号使功能装置处于复位状态,延时电路开始工作;1): the power regulator in the on-chip power supply device is activated by the first reference voltage, and the reset circuit issues a reset signal to cause the function device to be in a reset state, and the delay circuit starts to work;
    2):延时电路完成所设定的时间延时之后,将时钟信号传递到功能装置,且复位电路的复位信号消失,功能装置开始正常工作。2): After the delay circuit completes the set time delay, the clock signal is transmitted to the function device, and the reset signal of the reset circuit disappears, and the function device starts to work normally.
  8. 如权利要求7所述的启动方法,其特征在于,所述片上系统的功能装置包括多个工作电压不相同的子功能单元,所述延时电路预设有与多个所述子功能单元相对应的延时时间;所述步骤2)具体为:The startup method according to claim 7, wherein the function device of the system on chip comprises a plurality of sub-function units having different operating voltages, and the delay circuit is pre-configured with a plurality of the sub-function units Corresponding delay time; the step 2) is specifically:
    每当延时电路完成一个时间延时之后,将时钟信号传递到相应的子功能单元,且该子功能单元的复位信号消失,该子功能单元开始正常工作。Whenever the delay circuit completes a time delay, the clock signal is transmitted to the corresponding sub-function unit, and the reset signal of the sub-function unit disappears, and the sub-function unit starts normal operation.
  9. 如权利要求7或8所述的启动方法,其特征在于,所述片上系统进一步包括一性能评估装置,所述性能评估装置包括一性能评估电路;在所述步骤1)之后,所述方法进一步包括下述步骤:The booting method according to claim 7 or 8, wherein said system on chip further comprises a performance evaluation device, said performance evaluation device comprising a performance evaluation circuit; after said step 1), said method further Including the following steps:
    1a),性能评估电路评估电源调整器产生的电源电压性能是否达到要求;1a), the performance evaluation circuit evaluates whether the power supply voltage performance generated by the power regulator meets the requirements;
    1b),若电源调整器产生的电源电压性能可以满足要求,则电源调整器的电源电压保持原来的性能,进入步骤2);1b), if the power supply voltage performance generated by the power regulator can meet the requirements, the power supply voltage of the power regulator maintains the original performance, proceeds to step 2);
    1c),若电源调整器产生的电源电压性能不可以满足要求,则性能评估装置向所述电源调整器发出性能调整信号,以使所述电源调整器对自身输出的电源电压进行调整,进入步骤1a)。1c), if the power supply voltage performance generated by the power regulator is not satisfactory, the performance evaluation device sends a performance adjustment signal to the power regulator to adjust the power voltage output by the power regulator to the step 1a).
  10. 如权利要求7或8所述的启动方法,其特征在于,所述性能评估装置进一步包括用于产生第二基准电压的第二基准电压产生电路和电压基准选择器;在所述步骤1)之后,所述方法进一步包括下述步骤:The startup method according to claim 7 or 8, wherein said performance evaluation means further comprises a second reference voltage generation circuit and a voltage reference selector for generating a second reference voltage; after said step 1) The method further includes the steps of:
    1d),性能评估电路评估第一基准电压能否满足要求,若不能满足要求,则进入步骤1e),否则进入步骤2);1d), the performance evaluation circuit evaluates whether the first reference voltage can meet the requirements, if the requirements are not met, then proceeds to step 1e), otherwise proceeds to step 2);
    1e),电压基准选择器控制输出第二基准电压至功能装置,进入步骤2)。1e), the voltage reference selector controls the output of the second reference voltage to the functional device, and proceeds to step 2).
PCT/CN2010/072346 2009-05-25 2010-04-29 System on chip and starting method thereof WO2010135945A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910107709.0 2009-05-25
CN2009101077090A CN101566974B (en) 2009-05-25 2009-05-25 System on a chip and starting method thereof

Publications (1)

Publication Number Publication Date
WO2010135945A1 true WO2010135945A1 (en) 2010-12-02

Family

ID=41283130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072346 WO2010135945A1 (en) 2009-05-25 2010-04-29 System on chip and starting method thereof

Country Status (2)

Country Link
CN (1) CN101566974B (en)
WO (1) WO2010135945A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566974B (en) * 2009-05-25 2011-11-30 炬力集成电路设计有限公司 System on a chip and starting method thereof
CN102193576B (en) * 2010-03-12 2015-01-21 上海华虹宏力半导体制造有限公司 Reference voltage generation circuit
CN103152019B (en) * 2011-12-07 2016-01-27 上海西门子医疗器械有限公司 A kind of reset circuit of control lever
CN103246304B (en) * 2012-02-06 2016-08-24 炬芯(珠海)科技有限公司 A kind of sheet internal reference voltage generative circuit, generation chip and the method for generation
CN102707780B (en) * 2012-05-09 2014-12-10 中兴通讯股份有限公司 Method for improving resetting reliability of single plate, device and single plate
CN103685077B (en) * 2013-12-18 2017-12-19 上海斐讯数据通信技术有限公司 The method of network data exchange machine and handover network data forwarding function
CN110489169B (en) * 2019-08-06 2021-10-19 晶晨半导体(上海)股份有限公司 Quick starting method for memory of system on chip
CN113467845A (en) * 2021-06-25 2021-10-01 厦门码灵半导体技术有限公司 Starting method, control device, storage medium and electronic equipment of ARM chip suitable for industrial application scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201929A (en) * 1997-06-02 1998-12-16 日本电气株式会社 Power-on reset circuit applied to semiconductor integrated circuit device
US6629291B1 (en) * 2000-09-25 2003-09-30 International Business Machines Corporation Integrated power solution for system on chip applications
CN1681105A (en) * 2004-04-05 2005-10-12 华为技术有限公司 Method and chip for realizing chip reset
CN101566974A (en) * 2009-05-25 2009-10-28 炬力集成电路设计有限公司 System on a chip and starting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201929A (en) * 1997-06-02 1998-12-16 日本电气株式会社 Power-on reset circuit applied to semiconductor integrated circuit device
US6629291B1 (en) * 2000-09-25 2003-09-30 International Business Machines Corporation Integrated power solution for system on chip applications
CN1681105A (en) * 2004-04-05 2005-10-12 华为技术有限公司 Method and chip for realizing chip reset
CN101566974A (en) * 2009-05-25 2009-10-28 炬力集成电路设计有限公司 System on a chip and starting method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN103105915B (en) * 2013-02-18 2016-02-03 广东欧珀移动通信有限公司 A kind of repositioning method of intelligent terminal and system

Also Published As

Publication number Publication date
CN101566974B (en) 2011-11-30
CN101566974A (en) 2009-10-28

Similar Documents

Publication Publication Date Title
WO2010135945A1 (en) System on chip and starting method thereof
WO2011003327A1 (en) Integrated circuit and standby controlling method thereof
RU2222084C2 (en) Paralleling device for dc voltage converters primarily in vehicle on-board supply mains rated at several voltage levels
JP3150567U (en) Electronic device that reduces power consumption when computer motherboard shuts down
RU2011153305A (en) DEVICE FOR ARCHITECTURE OF HIGH-EFFICIENT PLATFORM POWER SUPPLY CONTROL
US11472354B2 (en) Vehicle controller
WO2015152578A1 (en) Power control method and apparatus for low power system of electronic device
ATE193387T1 (en) MULTIPLEXER AND INTEGRATED PROCESSOR WITH SUCH A MULTIPLEXER
US9122288B1 (en) Low power USB 2.0 subsystem
JP4136822B2 (en) Semiconductor integrated circuit device, clock control method, and data transfer control method
CN102890524A (en) Power control device and method therefor
JPH0375976A (en) Semiconductor integrated circuit device
US11372470B2 (en) Control system for controlling intelligent system to reduce power consumption based on bluetooth device
KR100329330B1 (en) Microcomputer
KR101052284B1 (en) An apparatus of managing a power sequence/clock timing
KR100672989B1 (en) Electronic device and method capable of preventing power consumption due to regulator in power-down mode
US10331592B2 (en) Communication apparatus with direct control and associated methods
TWI772733B (en) Multi-power management system and multi-power management method
TWI582561B (en) Integrated circuit,method,and system for avs master slave
US6502196B1 (en) Voltage converter for applying suspension voltage to a RAM when resume signal is low while suspension-to-RAM signal is high, and applying source voltage in a reverse condition
WO2022080625A1 (en) Multi-power supply capable of sequence control
JP2008041106A (en) Semiconductor integrated circuit device, clock control method and data transfer control method
JP2004114319A (en) Power supply device
KR100425337B1 (en) Power control unit for module
WO2012139342A1 (en) Television power control management apparatus and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10780027

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10780027

Country of ref document: EP

Kind code of ref document: A1