WO2013016997A1 - Method and apparatus for controlling power supplying sequence - Google Patents
Method and apparatus for controlling power supplying sequence Download PDFInfo
- Publication number
- WO2013016997A1 WO2013016997A1 PCT/CN2012/077897 CN2012077897W WO2013016997A1 WO 2013016997 A1 WO2013016997 A1 WO 2013016997A1 CN 2012077897 W CN2012077897 W CN 2012077897W WO 2013016997 A1 WO2013016997 A1 WO 2013016997A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- power
- module
- time
- sequence
- timer
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
Definitions
- the present invention relates to the field of communications, and in particular, to a method and apparatus for controlling a power-on sequence. Background technique
- Each board in the communication device has a power-on sequence requirement.
- power-on sequence control There are two main methods for power-on sequence control: First, as shown in Figure 1, different capacitor charging delays are used to control the enable of each board power supply. The signal is used to obtain different power-on times. Second, as shown in Figure 2, the output of the previous single-board power supply is used as the enable signal for the next single-board power supply.
- the first method is simple in circuit, it is not easy to obtain an accurate capacitor charging delay. The resistance value must be carefully adjusted, and it is difficult to achieve a large-scale power-on delay, which has great limitations in practical applications.
- the second method is more complicated, and the power-on delay of the two boards is very large. If there are multiple boards, the power-on sequence needs to be controlled.
- a primary object of the present invention is to provide a method and apparatus for controlling the power-on sequence to achieve accurate power-on time control in a simple, low-cost manner to meet increasingly complex power-up sequencing requirements.
- the present invention provides a method of controlling a power-on sequence, the method comprising:
- the control power supply respectively powers up the powered module.
- control power is respectively powered on each module, including:
- a plurality of power sources respectively correspond to the power-on modules, when the power-on time of the timer arrives, the power source corresponding to the power-on module that has reached the power-on time is started, and power-on is performed.
- control power is respectively powered on each module, including:
- the timer is one or more.
- each of the powered modules is clocked by the plurality of timers.
- the present invention also provides an apparatus for controlling a power-on sequence, the apparatus comprising:
- timing module configured to time the power-on time of the plurality of powered modules by using a preset timer
- the power-on module is configured to: when the power-on time of the power-on module arrives, the control power source respectively powers on the power-on module.
- the power-on module is configured to: when there are multiple power sources respectively corresponding to the powered-on module, when the power-on time of the timer arrives in the timing module, the power-on time is started. Power is supplied to the power supply corresponding to the power-on module.
- the power-on module is configured to: when there is only one power source, when the power-on time of the timer arrives in the timing module, the switch corresponding to the power-on module that reaches the power-on time is started, and the switch is performed. Electricity.
- the timer is one or more.
- the timing module when there are a plurality of timers, the timing module respectively counts each power-on module by the timer.
- the invention provides a method and a device for controlling a power-on sequence, which implements an accurate power-on time control and a complicated power-on sequence control in a simple and low-cost manner, and meets an increasingly complex single-board or chip power-on sequence requirement. It is also possible to multiplex the existing CPLD or FPGA in the communication device for logic. Control to improve the reliability of the board. Through the invention, the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not needed to simplify the design process.
- FIG. 1 is a schematic diagram of a power-on sequence control circuit of the prior art
- FIG. 2 is a schematic diagram of another power-on sequence control circuit of the prior art
- FIG. 3 is a schematic diagram of a component structure in an application scenario of a device for controlling a power-on sequence according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of another application scenario of a device for controlling a power-on sequence according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a composition structure of an apparatus for controlling a power-on sequence according to an embodiment of the present invention
- FIG. 6 is a schematic flowchart of a method for controlling a power-on sequence according to an embodiment of the present invention
- FIG. 7 is a schematic structural diagram of a device for controlling a power-on sequence according to the present invention. detailed description
- Embodiments of the present invention provide a device for controlling a power-on sequence, and the device may include a control module, a low-power power supply for supplying power to the control module, and other peripheral circuits.
- the main function of the control module is timing, and the power of each power-on module is activated at each set time.
- the control module mainly includes a timer and a plurality of control output pins, which can be realized by Complex Programmable Logic Device (CPLD), Field Programmable Logic Controller (FPLD) or other controller plus crystal oscillator.
- CPLD Complex Programmable Logic Device
- FPLD Field Programmable Logic Controller
- the crystal generates a fixed period pulse to the CPLD or FPLD.
- the counter inside the CPLD or FPLD counts the pulse. The period of the pulse multiplied by the count value is the value of the timer.
- the low-power supply can be implemented with a low-cost Low DropOut linear regulator (LDO) that converts the device's main supply voltage into a voltage that can be used by the CPLD or FPLD.
- LDO Low DropOut linear regulator
- the function of the peripheral circuit is to activate or deactivate the power supply in conjunction with the control module.
- this embodiment has two implementation modes:
- the application scenario has multiple power supplies 300 (three power supplies are taken as an example, respectively, power supply 1, power supply 2, and power supply 3), and different power supply 300s correspond to different powered modules, and are powered on. Order requirements.
- the small power source 100 supplies power to the control module 200.
- the control module 200 is clocked by an internal timer. When the set time point is reached, the enable pin of the corresponding power source 300 is controlled to be activated by the control pin, and the plurality of power sources 300 are set. The required requirements are to start and supply power to the powered module.
- the application scenario has a power supply 300 that requires multiple outputs with different startup times.
- the first output can be output directly through the power supply 300, the second and subsequent outputs are controlled by a controllable switch 400, or by a plurality of controllable switches 400, respectively, corresponding to each powered module.
- the controllable switch 400 can be implemented by a power metal oxide semiconductor (MOS) tube, but is not limited to a power MOS transistor.
- the low-power power supply 100 supplies power to the control module 200.
- the control module 200 is timed by an internal timer. When the set time point is reached, the corresponding controllable switch 400 is controlled to be turned on by the control pin to achieve multi-output according to the set requirements. The purpose of the startup.
- the method for controlling the power-on sequence in the embodiment of the present invention includes the following steps:
- Step S101 Count the power-on time of the plurality of powered modules by using a preset timer.
- the main power of the device is powered on, and the low-power power supply 100 supplies power to the control module 200, that is, supplies power to the CPLD or FPLD and the crystal oscillator 202, and the counter 201 inside the control module 200 starts counting the pulses;
- Step S102 When the power-on time of the power-on module arrives, the control power source respectively powers on the powered-on module.
- the control module 200 determines whether the preset preset time is reached by checking the timer 201, and if so, starts the power supply 301 through the control pin. Control module 200 passes The timer 201 is checked to determine whether the set time two is reached. If it is reached, the power supply 302 is activated through the control pin. Repeat the above process until power supply 303 is activated.
- timers in the embodiments of the present invention are one or more. When there are multiple timers, each power-on module is clocked by multiple timers.
- the existing CPLD or FPGA in the communication device can be multiplexed for logical control, and the accurate power-on time control and the complicated power-on sequence control can be realized in a simple and low-cost manner to meet increasingly complex boards. Or the power-on sequence of the chip is required to improve the reliability of the board.
- the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not required to be modified, thereby simplifying the design process.
- the apparatus 500 for controlling the power-on sequence according to the embodiment of the present invention may include:
- the timing module 10 is configured to time the power-on time of the plurality of powered modules by using a preset timer
- the power-on module 20 is configured to: when the power-on time of the powered-on module arrives, control power is powered on the powered-on module.
- the system architecture of this embodiment includes a control module, a small power supply for powering the control module, and other peripheral circuits, and the device 500 for controlling the power-on sequence may be the control module 200 described above, or a device built-in or external to the control module.
- the main function of the device 500 for controlling the power-on sequence is timing, and the power of each power-on module is activated at each set time point.
- the timing module 10 can be implemented by a CPLD, FPLD or other controller plus a crystal oscillator.
- the crystal oscillator generates a fixed period pulse to the CPLD or FPLD.
- the counter inside the CPLD or FPLD counts the pulse, and the period of the pulse is multiplied by the count value. This is the value of the timer.
- a low-power supply can be implemented with a low-cost LDO that converts the device's mains voltage into a voltage that can be used by CPLDs or FPLDs.
- the function of the peripheral circuit is to activate or deactivate the power supply with the device 500 that controls the power-on sequence.
- the embodiment of the present invention has two implementation manners: 1) In the application scenario shown in Figure 3, there are multiple power supplies 300 (taking three power supplies as an example). Different power supplies 300 correspond to different powered modules, and there is a power-on sequence requirement.
- the low-power power supply 100 supplies power to the device 500 for controlling the power-on sequence (in this case, the control module 200), and the timing module 10 is clocked by an internal timer.
- the power-on module 20 controls the corresponding power supply 300 through the control pin.
- the enable pin is enabled to start, and the plurality of power sources 300 are activated according to the set requirements and are powered by the power-on module.
- the first output can be output directly through the power supply 300, the second and subsequent outputs are controlled by a controllable switch 400, or by a plurality of controllable switches 400, corresponding to each powered module.
- the controllable switch 400 can be implemented by a power MOS transistor, but is not limited to a power MOSFET.
- the low-power power supply 100 supplies power to the device 500 (in this case, the control module 200) that controls the power-on sequence.
- the timing module 10 is clocked by an internal timer. When the set-up time is reached, the power-up module 20 controls the corresponding control pin.
- the opening of the controllable switch 400 achieves the purpose of starting the multi-output according to the set requirements.
- the three power supplies 300 shown in FIG. 3 are the power supply one, the power supply two, and the power supply three.
- the device 500 for controlling the power-on sequence is the control module 200, and the application scenario shown in FIG. 3 is used in the embodiment of the present invention.
- the process of controlling the power-on sequence is as follows:
- the timing module 10 counts the power-on time of the plurality of powered modules by a preset timer.
- the main power of the device is powered on, and the low-power power supply 100 supplies power to the timing module 10, that is, supplies power to the CPLD or FPLD and the crystal oscillator, and the counter inside the timing module 10 starts counting the pulses;
- the power-on module 20 controls the power supply to power on the power-on module.
- the power-on module 20 checks whether the preset time is reached by checking the timer of the timing module 10, and if it is reached, the power supply 1 is started through the control pin.
- the power-on module 20 determines whether the set time 2 is reached by checking the timer of the timing module 10, and if it is reached, the power supply 2 is started by the control pin. Repeat the above process until power supply three is activated.
- the timers in the embodiments of the present invention are one or more. When there are a plurality of timers, each of the powered modules is clocked by a plurality of timers.
- the existing CPLD or FPGA in the communication device can be multiplexed for logical control, and the accurate power-on time control and the complicated power-on sequence control can be realized in a simple and low-cost manner to meet increasingly complex boards. Or the power-on sequence of the chip is required to improve the reliability of the board.
- the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not required to be modified, thereby simplifying the design process.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
Disclosed in the invention is a method for controlling power supplying sequence. The method comprises: timing the power supplying time of a plurality of power supplied modules by the predetermined timer; supplying the power supplied modules respectively by a control power when the power supplying time of the power supplied modules arrives. Also disclosed in the invention isan apparatus for controlling power supplying sequence, which can realize the precision control of power supplying time with a simple and low cost way and meets the more complex requirement for power supplying sequence.
Description
控制上电顺序的方法和装置 技术领域 Method and device for controlling power-on sequence
本发明涉及到通信领域, 特别涉及到一种控制上电顺序的方法和装置。 背景技术 The present invention relates to the field of communications, and in particular, to a method and apparatus for controlling a power-on sequence. Background technique
通讯设备中各单板都有上电顺序要求, 传统的上电顺序控制方法主要 有两种: 第一, 如图 1所示, 利用不同的电容充电延时来控制各个单板电源 的使能信号, 以获得不同的上电时间; 第二, 如图 2所示, 利用前一个单板 电源的输出作为下一个单板电源的使能信号。 第一种方法虽然电路简单, 但是不容易获得准确的电容充电延时, 必须仔细地调整阻容值, 且很难实 现大尺度的上电延时, 在实际应用中存在很大局限性。 第二种方法电路比 较复杂, 而且前后两个单板电源的上电延时很大, 如果存在多个单板电源 需要控制上电顺序, 最后一个单板电源的上电比第一个单板电源的上电将 会有大延时。 这两种方法都只能应用于简单的上电顺序控制场合, 对于日 趋复杂的上电顺序要求越来越难以应付。 发明内容 Each board in the communication device has a power-on sequence requirement. There are two main methods for power-on sequence control: First, as shown in Figure 1, different capacitor charging delays are used to control the enable of each board power supply. The signal is used to obtain different power-on times. Second, as shown in Figure 2, the output of the previous single-board power supply is used as the enable signal for the next single-board power supply. Although the first method is simple in circuit, it is not easy to obtain an accurate capacitor charging delay. The resistance value must be carefully adjusted, and it is difficult to achieve a large-scale power-on delay, which has great limitations in practical applications. The second method is more complicated, and the power-on delay of the two boards is very large. If there are multiple boards, the power-on sequence needs to be controlled. The last board power is higher than the first board. There will be a large delay in powering up the power supply. Both of these methods can only be applied to simple power-up sequence control situations, and it is increasingly difficult to cope with the increasingly complex power-up sequence requirements. Summary of the invention
本发明的主要目的是提供一种控制上电顺序的方法和装置, 以简单、 低成本的方法实现准确的上电时间控制, 满足日趋复杂的上电顺序要求。 SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method and apparatus for controlling the power-on sequence to achieve accurate power-on time control in a simple, low-cost manner to meet increasingly complex power-up sequencing requirements.
本发明提供了一种控制上电顺序的方法, 所述方法包括: The present invention provides a method of controlling a power-on sequence, the method comprising:
通过预设的计时器对多个被上电模块的上电时间进行计时; Counting the power-on time of multiple powered modules by a preset timer;
当所述被上电模块的上电时间到达时, 控制电源分别对所述被上电模 块上电。 When the power-on time of the power-on module arrives, the control power supply respectively powers up the powered module.
在上述方案中, 所述控制电源分别对各模块上电, 包括:
当存在多个电源分别对应所述被上电模块时, 则在计时器的上电时间 到达时, 启动上电时间到达的被上电模块对应的电源, 进行上电。 In the above solution, the control power is respectively powered on each module, including: When a plurality of power sources respectively correspond to the power-on modules, when the power-on time of the timer arrives, the power source corresponding to the power-on module that has reached the power-on time is started, and power-on is performed.
在上述方案中, 所述控制电源分别对各模块上电, 包括: In the above solution, the control power is respectively powered on each module, including:
只有一个电源时, 则在计时器的上电时间到达时, 启动上电时间到达 的被上电模块对应的开关, 进行上电。 When there is only one power supply, when the power-on time of the timer arrives, the switch corresponding to the power-on module that has reached the power-on time is started, and the power is turned on.
在上述方案中, 所述计时器为一个或多个。 In the above solution, the timer is one or more.
在上述方案中, 当所述计时器为多个时, 分别通过所述多个定时器对 各被上电模块进行计时。 In the above solution, when there are a plurality of timers, each of the powered modules is clocked by the plurality of timers.
本发明还提供了一种控制上电顺序的装置, 所述装置包括: The present invention also provides an apparatus for controlling a power-on sequence, the apparatus comprising:
计时模块, 用于通过预设的计时器对多个被上电模块的上电时间进行 计时; a timing module, configured to time the power-on time of the plurality of powered modules by using a preset timer;
上电模块, 用于当所述被上电模块的上电时间到达时, 控制电源分别 对所述被上电模块上电。 The power-on module is configured to: when the power-on time of the power-on module arrives, the control power source respectively powers on the power-on module.
在上述方案中, 所述上电模块用于: 当存在多个电源分别对应所述被 上电模块时, 则在所述计时模块中计时器的上电时间到达时, 启动上电时 间到达的被上电模块对应的电源, 进行上电。 In the above solution, the power-on module is configured to: when there are multiple power sources respectively corresponding to the powered-on module, when the power-on time of the timer arrives in the timing module, the power-on time is started. Power is supplied to the power supply corresponding to the power-on module.
在上述方案中, 所述上电模块用于: 只有一个电源时, 则在所述计时 模块中计时器的上电时间到达时, 启动上电时间到达的被上电模块对应的 开关, 进行上电。 In the above solution, the power-on module is configured to: when there is only one power source, when the power-on time of the timer arrives in the timing module, the switch corresponding to the power-on module that reaches the power-on time is started, and the switch is performed. Electricity.
在上述方案中, 所述计时器为一个或多个。 In the above solution, the timer is one or more.
在上述方案中, 当所述计时器为多个时, 所述计时模块分别通过所述 计时器对各被上电模块进行计时。 In the above solution, when there are a plurality of timers, the timing module respectively counts each power-on module by the timer.
本发明提供的一种控制上电顺序的方法和装置, 以简单、 低成本的方 法实现准确的上电时间控制及复杂的上电顺序控制, 满足日趋复杂的单板 或芯片上电顺序要求, 还可以复用通讯设备内已有的 CPLD或 FPGA作逻辑
控制, 提高单板可靠性。 通过本发明, 调整上电时间和上电顺序, 只需要 修改相应代码, 无需修改硬件电路, 简化设计流程。 附图说明 The invention provides a method and a device for controlling a power-on sequence, which implements an accurate power-on time control and a complicated power-on sequence control in a simple and low-cost manner, and meets an increasingly complex single-board or chip power-on sequence requirement. It is also possible to multiplex the existing CPLD or FPGA in the communication device for logic. Control to improve the reliability of the board. Through the invention, the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not needed to simplify the design process. DRAWINGS
图 1 为现有技术的上电顺序控制电路示意图; 1 is a schematic diagram of a power-on sequence control circuit of the prior art;
图 2 为现有技术的另一上电顺序控制电路示意图; 2 is a schematic diagram of another power-on sequence control circuit of the prior art;
图 3 为本发明实施例控制上电顺序的装置一种应用场景下的组成结构 示意图; 3 is a schematic diagram of a component structure in an application scenario of a device for controlling a power-on sequence according to an embodiment of the present invention;
图 4 为本发明实施例控制上电顺序的装置另一应用场景下的组成结构 示意图; 4 is a schematic structural diagram of another application scenario of a device for controlling a power-on sequence according to an embodiment of the present invention;
图 5 为本发明实施例控制上电顺序的装置一种应用场景下的组成结构 示意图; FIG. 5 is a schematic diagram of a composition structure of an apparatus for controlling a power-on sequence according to an embodiment of the present invention; FIG.
图 6 为本发明实施例控制上电顺序的方法的流程示意图; 6 is a schematic flowchart of a method for controlling a power-on sequence according to an embodiment of the present invention;
图 7 为本发明控制上电顺序的装置的组成结构示意图。 具体实施方式 FIG. 7 is a schematic structural diagram of a device for controlling a power-on sequence according to the present invention. detailed description
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。 It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供了一种控制上电顺序的装置, 该装置可以包括控制 模块、 给控制模块供电的小功率电源及其它外围电路。 控制模块的主要功 能是计时, 并在各个设定的时间点分别启动各个被上电模块的电源。 控制 模块主要包含一个计时器和若干控制输出管脚, 可由复杂可编程逻辑器件 ( CPLD , Complex Programmable Logic Device ), 现场可编程逻辑控制器 ( FPLD, Field programmable logic device )或其它控制器加晶振实现, 晶振 产生固定周期的脉冲送给 CPLD或 FPLD , CPLD或 FPLD内部的计数器对脉 冲进行计数, 脉冲的周期乘以计数值即为计时器的值。
小功率电源可用一个低成本的低压差线性稳压器(LDO , Low DropOut linear regulator ) 实现, 将设备主电源电压转换成 CPLD或 FPLD可使用的电 压。 外围电路的功能是配合控制模块启动或关闭电源。 Embodiments of the present invention provide a device for controlling a power-on sequence, and the device may include a control module, a low-power power supply for supplying power to the control module, and other peripheral circuits. The main function of the control module is timing, and the power of each power-on module is activated at each set time. The control module mainly includes a timer and a plurality of control output pins, which can be realized by Complex Programmable Logic Device (CPLD), Field Programmable Logic Controller (FPLD) or other controller plus crystal oscillator. The crystal generates a fixed period pulse to the CPLD or FPLD. The counter inside the CPLD or FPLD counts the pulse. The period of the pulse multiplied by the count value is the value of the timer. The low-power supply can be implemented with a low-cost Low DropOut linear regulator (LDO) that converts the device's main supply voltage into a voltage that can be used by the CPLD or FPLD. The function of the peripheral circuit is to activate or deactivate the power supply in conjunction with the control module.
才艮据应用场景, 本实施例有两种实现方式: According to the application scenario, this embodiment has two implementation modes:
1 )如图 3所示, 该应用场景有多个电源 300 (以三个电源为例, 分别为 电源一、 电源二和电源三), 不同电源 300对应不同的被上电模块, 有上电 顺序要求。 小功率电源 100给控制模块 200供电, 控制模块 200通过内部的计 时器计时, 当到达设定时间点就通过控制管脚控制相应电源 300的使能脚使 其启动, 达到多个电源 300按设定的要求启动并对被上电模块供电的目的。 1) As shown in FIG. 3, the application scenario has multiple power supplies 300 (three power supplies are taken as an example, respectively, power supply 1, power supply 2, and power supply 3), and different power supply 300s correspond to different powered modules, and are powered on. Order requirements. The small power source 100 supplies power to the control module 200. The control module 200 is clocked by an internal timer. When the set time point is reached, the enable pin of the corresponding power source 300 is controlled to be activated by the control pin, and the plurality of power sources 300 are set. The required requirements are to start and supply power to the powered module.
2 )如图 4所示, 该应用场景有一个电源 300, 需要产生不同启动时间的 多路输出。 第一路输出可直接通过电源 300输出, 第二路以及之后的输出通 过一个可控的开关 400控制其输出; 或者通过多个可控的开关 400, 分别对 应各被上电模块。 可控的开关 400可由功率金属氧化物半导体(MOS , metal oxide semiconductor ) 管实现, 但不限于功率 MOS管。 小功率电源 100对控 制模块 200供电, 控制模块 200通过内部的计时器计时, 当到达设定时间点 就通过控制管脚控制相应的可控开关 400的打开, 达到多路输出按设定的要 求启动的目的。 2) As shown in Figure 4, the application scenario has a power supply 300 that requires multiple outputs with different startup times. The first output can be output directly through the power supply 300, the second and subsequent outputs are controlled by a controllable switch 400, or by a plurality of controllable switches 400, respectively, corresponding to each powered module. The controllable switch 400 can be implemented by a power metal oxide semiconductor (MOS) tube, but is not limited to a power MOS transistor. The low-power power supply 100 supplies power to the control module 200. The control module 200 is timed by an internal timer. When the set time point is reached, the corresponding controllable switch 400 is controlled to be turned on by the control pin to achieve multi-output according to the set requirements. The purpose of the startup.
参照图 5、 图 6, 仍以三个电源为例, 本发明实施例控制上电顺序的方 法包括以下步骤: Referring to FIG. 5 and FIG. 6, the three power supplies are still taken as an example. The method for controlling the power-on sequence in the embodiment of the present invention includes the following steps:
步骤 S 101、通过预设的计时器对多个被上电模块的上电时间进行计时。 设备主电源上电, 小功率电源 100对控制模块 200供电, 即对 CPLD或 FPLD 及晶振 202供电, 控制模块 200内部的计数器 201开始对脉冲进行计数; Step S101: Count the power-on time of the plurality of powered modules by using a preset timer. The main power of the device is powered on, and the low-power power supply 100 supplies power to the control module 200, that is, supplies power to the CPLD or FPLD and the crystal oscillator 202, and the counter 201 inside the control module 200 starts counting the pulses;
步骤 S102、 当所述被上电模块的上电时间到达时, 控制电源分别对所 述被上电模块上电。 控制模块 200通过检查计时器 201 , 判断是否达到设定 预设的时间一, 若达到即通过控制管脚启动电源一 301。 控制模块 200通过
检查计时器 201 , 判断是否达到设定时间二, 若达到即通过控制管脚启动电 源二 302。 重复上述过程, 直到启动电源三 303。 Step S102: When the power-on time of the power-on module arrives, the control power source respectively powers on the powered-on module. The control module 200 determines whether the preset preset time is reached by checking the timer 201, and if so, starts the power supply 301 through the control pin. Control module 200 passes The timer 201 is checked to determine whether the set time two is reached. If it is reached, the power supply 302 is activated through the control pin. Repeat the above process until power supply 303 is activated.
需要注意的是, 本发明实施例的计时器为一个或多个。 当计时器为多 个时, 分别通过多个计时器对各被上电模块进行计时。 It should be noted that the timers in the embodiments of the present invention are one or more. When there are multiple timers, each power-on module is clocked by multiple timers.
本发明实施例中, 可以复用通讯设备内已有的 CPLD或 FPGA作逻辑控 制, 以简单、 低成本的方法实现准确的上电时间控制及复杂的上电顺序控 制, 满足日趋复杂的单板或芯片上电顺序要求, 提高单板可靠性。 通过本 发明, 调整上电时间和上电顺序, 只需要修改相应代码, 无需修改硬件电 路, 简化设计流程。 In the embodiment of the present invention, the existing CPLD or FPGA in the communication device can be multiplexed for logical control, and the accurate power-on time control and the complicated power-on sequence control can be realized in a simple and low-cost manner to meet increasingly complex boards. Or the power-on sequence of the chip is required to improve the reliability of the board. Through the invention, the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not required to be modified, thereby simplifying the design process.
参照图 7 , 本发明实施例控制上电顺序的装置 500可以包括: Referring to FIG. 7, the apparatus 500 for controlling the power-on sequence according to the embodiment of the present invention may include:
计时模块 10, 用于通过预设的计时器对多个被上电模块的上电时间进 行计时; The timing module 10 is configured to time the power-on time of the plurality of powered modules by using a preset timer;
上电模块 20, 用于当所述被上电模块的上电时间到达时, 控制电源分 别对所述被上电模块上电。 The power-on module 20 is configured to: when the power-on time of the powered-on module arrives, control power is powered on the powered-on module.
本实施例的系统架构包括控制模块、 给控制模块供电的小功率电源及 其它外围电路, 而控制上电顺序的装置 500可为上述的控制模块 200, 或者 控制模块内置、外置的一装置。控制上电顺序的装置 500的主要功能是计时, 并在各个设定的时间点分别启动各个被上电模块的电源。 在实际应用中, 计时模块 10可由 CPLD、 FPLD或其它控制器加晶振实现, 晶振产生固定周 期的脉冲送给 CPLD或 FPLD , CPLD或 FPLD内部的计数器对脉冲进行计数, 脉冲的周期乘以计数值即为计时器的值。 The system architecture of this embodiment includes a control module, a small power supply for powering the control module, and other peripheral circuits, and the device 500 for controlling the power-on sequence may be the control module 200 described above, or a device built-in or external to the control module. The main function of the device 500 for controlling the power-on sequence is timing, and the power of each power-on module is activated at each set time point. In practical applications, the timing module 10 can be implemented by a CPLD, FPLD or other controller plus a crystal oscillator. The crystal oscillator generates a fixed period pulse to the CPLD or FPLD. The counter inside the CPLD or FPLD counts the pulse, and the period of the pulse is multiplied by the count value. This is the value of the timer.
小功率电源可用一个低成本的 LDO实现, 将设备主电源电压转换成 CPLD或 FPLD可使用的电压。 外围电路的功能是配合控制上电顺序的装置 500启动或关闭电源。 A low-power supply can be implemented with a low-cost LDO that converts the device's mains voltage into a voltage that can be used by CPLDs or FPLDs. The function of the peripheral circuit is to activate or deactivate the power supply with the device 500 that controls the power-on sequence.
对于不同的应用场景, 本发明实施例有两种实现方式:
1 )如图 3所示的应用场景下, 有多个电源 300 (以三个电源为例), 不 同电源 300对应不同的被上电模块, 有上电顺序要求。 小功率电源 100给控 制上电顺序的装置 500 (此时为控制模块 200 )供电, 计时模块 10通过内部 的计时器计时, 当到达设定时间点上电模块 20通过控制管脚控制相应电源 300的使能脚使其启动, 达到多个电源 300按设定的要求启动并对被上电模 块供电的目的。 For different application scenarios, the embodiment of the present invention has two implementation manners: 1) In the application scenario shown in Figure 3, there are multiple power supplies 300 (taking three power supplies as an example). Different power supplies 300 correspond to different powered modules, and there is a power-on sequence requirement. The low-power power supply 100 supplies power to the device 500 for controlling the power-on sequence (in this case, the control module 200), and the timing module 10 is clocked by an internal timer. When the set-up time is reached, the power-on module 20 controls the corresponding power supply 300 through the control pin. The enable pin is enabled to start, and the plurality of power sources 300 are activated according to the set requirements and are powered by the power-on module.
2 )如图 4所示的应用场景下, 有一个电源 300, 需要产生不同启动时间 的多路输出。 第一路输出可直接通过电源 300输出, 第二路以及之后的输出 通过一个可控的开关 400控制其输出; 或者通过多个可控的开关 400, 分别 对应各被上电模块。 可控的开关 400可由功率 MOS管实现, 但不限于功率 MOS管。 小功率电源 100给控制上电顺序的装置 500 (此时为控制模块 200 ) 供电, 计时模块 10通过内部的计时器计时, 当到达设定时间点上电模块 20 就通过控制管脚控制相应的可控开关 400的打开, 达到多路输出按设定的要 求启动的目的。 2) In the application scenario shown in Figure 4, there is a power supply 300 that needs to generate multiple outputs with different startup times. The first output can be output directly through the power supply 300, the second and subsequent outputs are controlled by a controllable switch 400, or by a plurality of controllable switches 400, corresponding to each powered module. The controllable switch 400 can be implemented by a power MOS transistor, but is not limited to a power MOSFET. The low-power power supply 100 supplies power to the device 500 (in this case, the control module 200) that controls the power-on sequence. The timing module 10 is clocked by an internal timer. When the set-up time is reached, the power-up module 20 controls the corresponding control pin. The opening of the controllable switch 400 achieves the purpose of starting the multi-output according to the set requirements.
图 3所述的三个电源 300分别为电源一、 电源二和电源三, 在该应用场 景中, 控制上电顺序的装置 500为控制模块 200, 本发明实施例以图 3所示的 应用场景为例控制上电顺序的过程如下: The three power supplies 300 shown in FIG. 3 are the power supply one, the power supply two, and the power supply three. In this application scenario, the device 500 for controlling the power-on sequence is the control module 200, and the application scenario shown in FIG. 3 is used in the embodiment of the present invention. The process of controlling the power-on sequence is as follows:
计时模块 10通过预设的计时器对多个被上电模块的上电时间进行计 时。设备主电源上电,小功率电源 100对计时模块 10供电,即对 CPLD或 FPLD 及晶振供电, 计时模块 10内部的计数器开始对脉冲进行计数; The timing module 10 counts the power-on time of the plurality of powered modules by a preset timer. The main power of the device is powered on, and the low-power power supply 100 supplies power to the timing module 10, that is, supplies power to the CPLD or FPLD and the crystal oscillator, and the counter inside the timing module 10 starts counting the pulses;
当所述被上电模块的上电时间到达时, 上电模块 20控制电源分别对所 述被上电模块上电。 上电模块 20通过检查计时模块 10的计时器, 判断是否 达到设定预设的时间一, 若达到即通过控制管脚启动电源一。 上电模块 20 通过检查计时模块 10的计时器, 判断是否达到设定时间二, 若达到即通过 控制管脚启动电源二。 重复上述过程, 直到启动电源三。
需要注意的是, 本发明实施例的计时器为一个或多个。 当计时器为多 个时, 分别通过多个计时器对各被上电模块进行计时。 When the power-on time of the power-on module arrives, the power-on module 20 controls the power supply to power on the power-on module. The power-on module 20 checks whether the preset time is reached by checking the timer of the timing module 10, and if it is reached, the power supply 1 is started through the control pin. The power-on module 20 determines whether the set time 2 is reached by checking the timer of the timing module 10, and if it is reached, the power supply 2 is started by the control pin. Repeat the above process until power supply three is activated. It should be noted that the timers in the embodiments of the present invention are one or more. When there are a plurality of timers, each of the powered modules is clocked by a plurality of timers.
本发明实施例中, 可以复用通讯设备内已有的 CPLD或 FPGA作逻辑控 制, 以简单、 低成本的方法实现准确的上电时间控制及复杂的上电顺序控 制, 满足日趋复杂的单板或芯片上电顺序要求, 提高单板可靠性。 通过本 发明, 调整上电时间和上电顺序, 只需要修改相应代码, 无需修改硬件电 路, 简化设计流程。 In the embodiment of the present invention, the existing CPLD or FPGA in the communication device can be multiplexed for logical control, and the accurate power-on time control and the complicated power-on sequence control can be realized in a simple and low-cost manner to meet increasingly complex boards. Or the power-on sequence of the chip is required to improve the reliability of the board. Through the invention, the power-on time and the power-on sequence are adjusted, and only the corresponding code needs to be modified, and the hardware circuit is not required to be modified, thereby simplifying the design process.
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直 接或间接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范 围内。
The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.
Claims
1、 一种控制上电顺序的方法, 其特征在于, 所述方法包括: 通过预设的计时器对多个被上电模块的上电时间进行计时; A method for controlling a power-on sequence, the method comprising: timing a power-on time of a plurality of powered modules by using a preset timer;
当所述被上电模块的上电时间到达时, 控制电源分别对所述被上电模 块上电。 When the power-on time of the power-on module arrives, the control power supply respectively powers up the powered module.
2、 如权利要求 1所述的方法, 其特征在于, 所述控制电源分别对各模 块上电, 包括: 2. The method according to claim 1, wherein the controlling power supply respectively powers up each module, including:
当存在多个电源分别对应所述被上电模块时, 则在计时器的上电时间 到达时, 启动上电时间到达的被上电模块对应的电源, 进行上电。 When a plurality of power sources respectively correspond to the power-on modules, when the power-on time of the timer arrives, the power source corresponding to the power-on module that has reached the power-on time is started, and the power is turned on.
3、 如权利要求 1所述的方法, 其特征在于, 所述控制电源分别对各模 块上电, 包括: The method of claim 1, wherein the controlling power supply respectively powers up each module, including:
只有一个电源时, 则在计时器的上电时间到达时, 启动上电时间到达 的被上电模块对应的开关, 进行上电。 When there is only one power supply, when the power-on time of the timer arrives, the switch corresponding to the power-on module that has reached the power-on time is started, and the power is turned on.
4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述计时器为一 个或多个。 The method according to any one of claims 1 to 3, wherein the timers are one or more.
5、 如权利要求 4所述的方法, 其特征在于, 当所述计时器为多个时, 分别通过所述多个定时器对各被上电模块进行计时。 The method according to claim 4, wherein when the plurality of timers are plural, each of the powered modules is clocked by the plurality of timers.
6、 一种控制上电顺序的装置, 其特征在于, 所述装置包括: 计时模块, 用于通过预设的计时器对多个被上电模块的上电时间进行 计时; A device for controlling a power-on sequence, the device comprising: a timing module, configured to time a power-on time of a plurality of powered modules by using a preset timer;
上电模块, 用于当所述被上电模块的上电时间到达时, 控制电源分别 对所述被上电模块上电。 The power-on module is configured to: when the power-on time of the power-on module arrives, the control power source respectively powers on the power-on module.
7、 如权利要求 6所述的装置, 其特征在于, 所述上电模块用于: 当存在多个电源分别对应所述被上电模块时, 则在所述计时模块中计 时器的上电时间到达时, 启动上电时间到达的被上电模块对应的电源, 进 行上电。 The device of claim 6, wherein the power-on module is configured to: when there are multiple power sources respectively corresponding to the powered-on module, powering on the timer in the timing module When the time arrives, the power supply corresponding to the power-on module that arrives at the power-on time is started. Power on.
8、 如权利要求 6所述的装置, 其特征在于, 所述上电模块用于: 只有一个电源时, 则在所述计时模块中计时器的上电时间到达时, 启 动上电时间到达的被上电模块对应的开关, 进行上电。 The device of claim 6, wherein the power-on module is configured to: when there is only one power source, when the power-on time of the timer arrives in the timing module, the power-on time is started. The switch corresponding to the power-on module is powered on.
9、 如权利要求 6至 8任一项所述的装置, 其特征在于, 所述计时器为一 个或多个。 The apparatus according to any one of claims 6 to 8, wherein the timers are one or more.
10、 如权利要求 9所述的装置, 其特征在于, 当所述计时器为多个时, 所述计时模块分别通过所述计时器对各被上电模块进行计时。 The device according to claim 9, wherein when the timer is plural, the timing module respectively counts each power-on module by the timer.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110221251.9 | 2011-08-03 | ||
CN2011102212519A CN102915097A (en) | 2011-08-03 | 2011-08-03 | Method and device for controlling electrifying sequence |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013016997A1 true WO2013016997A1 (en) | 2013-02-07 |
Family
ID=47613497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/077897 WO2013016997A1 (en) | 2011-08-03 | 2012-06-29 | Method and apparatus for controlling power supplying sequence |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102915097A (en) |
WO (1) | WO2013016997A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572378A (en) * | 2015-01-28 | 2015-04-29 | 合肥联宝信息技术有限公司 | Code debugging and diagnosis method and device of embedded controller |
CN108629185B (en) * | 2017-03-15 | 2021-08-13 | 华大半导体有限公司 | Server trusted platform measurement control system and operation method thereof |
CN112600403A (en) * | 2020-12-23 | 2021-04-02 | 中国电子科技集团公司第五十八研究所 | Single-module multi-output power supply system capable of realizing sequential power-on |
CN113933579A (en) * | 2021-09-01 | 2022-01-14 | 新华三信息安全技术有限公司 | Power-on method of power module and electronic equipment |
CN114143124A (en) * | 2021-11-05 | 2022-03-04 | 国网江苏省电力有限公司盐城供电分公司 | Control device capable of starting power communication equipment in regions |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1601412A (en) * | 2003-09-25 | 2005-03-30 | 华为技术有限公司 | Method and circuit for controlling time sequence of power supplying |
CN1725132A (en) * | 2005-05-30 | 2006-01-25 | 杭州华为三康技术有限公司 | Device and method for controlling multivoltage electric supply sequence |
CN101017452A (en) * | 2007-03-13 | 2007-08-15 | 杭州华为三康技术有限公司 | Sequentially electrifying device, method and single board |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1987694A (en) * | 2006-12-19 | 2007-06-27 | 江苏万工科技集团有限公司 | Power supply control device |
-
2011
- 2011-08-03 CN CN2011102212519A patent/CN102915097A/en active Pending
-
2012
- 2012-06-29 WO PCT/CN2012/077897 patent/WO2013016997A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1601412A (en) * | 2003-09-25 | 2005-03-30 | 华为技术有限公司 | Method and circuit for controlling time sequence of power supplying |
CN1725132A (en) * | 2005-05-30 | 2006-01-25 | 杭州华为三康技术有限公司 | Device and method for controlling multivoltage electric supply sequence |
CN101017452A (en) * | 2007-03-13 | 2007-08-15 | 杭州华为三康技术有限公司 | Sequentially electrifying device, method and single board |
Also Published As
Publication number | Publication date |
---|---|
CN102915097A (en) | 2013-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013016997A1 (en) | Method and apparatus for controlling power supplying sequence | |
TW201701578A (en) | An electrical circuit and a power module for providing electrical power to electronic devices, and a method of assembling a voltage reduction apparatus | |
CN102890525B (en) | Power control circuit and method therefor | |
US11275394B2 (en) | Multiple power management integrated circuits and apparatus having dual pin interface | |
CN104904107A (en) | Electrical circuit for powering consumer electronic devices | |
WO2017084447A1 (en) | Power-on timing sequence control circuit, control method, power supply apparatus and electronic terminal | |
WO2013032753A3 (en) | Systems and methods for switched-inductor integrated voltage regulators | |
ATE347208T1 (en) | POWER SUPPLY TO AN ETHERNET CARD BY A TERMINAL DEVICE OR A LOCAL NETWORK (LAN) | |
WO2018235790A1 (en) | Vehicle control device | |
US20130201737A1 (en) | Off-grid master-slave solar inverter system and method thereof | |
TW200611098A (en) | Power factor correction circuit and controlling method of output voltage thereof | |
CN102118516A (en) | Control method and system for output voltage of power management chip | |
CN103888270A (en) | Interchanger power-on/power-off time sequence control system and method | |
CA2416338A1 (en) | Power supply start up circuit | |
CN111522593B (en) | Chip dormancy awakening control system with high adaptability and control method | |
CN107612338B (en) | Integrated DC/DC power supply front-end control system and control method | |
WO2017156838A1 (en) | Angle cutting circuit in liquid crystal panel drive system | |
RU2571727C2 (en) | Mechanism and device of power supply start-up and method to control activation of power supply circuits | |
US20130099568A1 (en) | Power supply circuit for memory slots | |
JP2013238480A (en) | Voltage detector of battery pack | |
JP2008153733A (en) | Semiconductor device | |
CN108227893B (en) | Serial port controller, micro control system and awakening method in micro control system | |
US8897324B2 (en) | Timebase peripheral | |
CN110320828B (en) | Method and device for controlling module to test rise time of power supply | |
JP2016192058A (en) | Semiconductor device and power supply 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: 12819678 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: 12819678 Country of ref document: EP Kind code of ref document: A1 |