WO2019015087A1 - A startup signal processing method and device - Google Patents

A startup signal processing method and device Download PDF

Info

Publication number
WO2019015087A1
WO2019015087A1 PCT/CN2017/103110 CN2017103110W WO2019015087A1 WO 2019015087 A1 WO2019015087 A1 WO 2019015087A1 CN 2017103110 W CN2017103110 W CN 2017103110W WO 2019015087 A1 WO2019015087 A1 WO 2019015087A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
signal
mos transistor
resistor
valid signal
Prior art date
Application number
PCT/CN2017/103110
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 WO2019015087A1 publication Critical patent/WO2019015087A1/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/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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
    • 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
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K17/56Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
    • H03K17/567Circuits characterised by the use of more than one type of semiconductor device, e.g. BIMOS, composite devices such as IGBT

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and an apparatus for processing a boot signal.
  • the power-on triggering mode does not require other operations, as long as the power is turned on. That is, the booting is triggered, and the existing product is implemented by applying a normal high or low level that triggers the logic to the power-on trigger source pin of the processor, and is currently used on many existing platforms.
  • the function of triggering the power-on has become more and more.
  • different functions are defined according to the different time lengths triggered by the power-on trigger signal, so the previous processing
  • a normal high or low level that triggers the logic is applied to the power-on trigger source pin, and is triggered when used on the processor platform with the time length definition of the power-on trigger pin.
  • a new interrupt is generated, causing problems in use.
  • the externally applied low to high level controls the second logic circuit through the first logic circuit, and the second logic circuit controls the third logic circuit through the delay circuit
  • a method of generating a low-pulse signal is used. In this method, more logic circuits are used, and a RC (Resistance-Capacitance) delay circuit is used, which increases the number of devices used, is not sufficiently streamlined, and is applied.
  • a RC (Resistance-Capacitance) delay circuit is used, which increases the number of devices used, is not sufficiently streamlined, and is applied.
  • the RC delay circuit will make the start pulse signal generation speed very slow, may not be used in some scenarios with low power-on delay.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and a device for processing a boot signal, so as to avoid the occurrence of an erroneous interrupt during the startup of the power supply.
  • a method for processing a boot signal comprising:
  • the power-on trigger valid signal is turned off.
  • the turning off the power-on triggering valid signal includes:
  • the power-on trigger valid signal is turned off after a specified time.
  • the method further includes:
  • generating a power-on trigger valid signal is implemented by:
  • a gate of the first semiconductor metal oxide MOS transistor is connected to the system power supply through a first resistor, a source of the first MOS transistor is grounded, and a drain of the first MOS transistor passes through a second resistor and the system
  • the power connection is configured to: when the system power is present, the drain output of the first MOS transistor triggers a valid signal.
  • turning off the power-on triggering valid signal is implemented by:
  • the source of the second MOS transistor is grounded, the drain of the second MOS transistor is connected to the gate of the first MOS transistor to the first node, and the gate of the MOS transistor receives a request to turn off the power-on triggering valid signal. After the level signal, the potential of the first node is lowered, and the first MOS transistor is turned off.
  • a processing device for a boot signal comprising:
  • the signal generating module is configured to generate a power-on trigger valid signal when the system power is detected to be present Number, triggering the execution of the boot process;
  • the control module is configured to turn off the power-on trigger valid signal after the boot process is completed.
  • control module when the power-on triggering valid signal is turned off, includes: immediately turning off the power-on triggering valid signal, or turning off the power-on triggering valid signal after a specified time.
  • the processing device further includes:
  • the detecting module is configured to detect the validity of the system power after detecting the presence of the system power.
  • the signal generating module includes a first semiconductor metal oxide MOS transistor and a second resistor, wherein a gate of the first MOS transistor is connected to the system power supply through a first resistor, the first MOS The source of the tube is grounded, and the drain of the first MOS transistor is connected to the system power supply through the second resistor.
  • the drain output of the first MOS transistor outputs a power-on triggering valid signal.
  • control module includes a second MOS transistor and the first resistor, wherein a source of the second MOS transistor is grounded, a drain of the second MOS transistor is opposite to the first MOS transistor
  • the gate and the first resistor are connected to the first node, and after receiving the level signal requesting to turn off the power-on triggering valid signal, the gate of the second MOS transistor lowers the potential of the first node, and turns off the first A MOS tube.
  • the signal generating module includes a first triode and a third resistor, wherein a base of the first triode is connected to the system power supply through a fourth resistor, the first triode The emitter of the first triode is connected to the system power supply through the third resistor, and the collector output of the first triode is activated to trigger an effective signal when the system power source is present. .
  • control module includes a second transistor, a third transistor, the fourth resistor, and a fifth resistor, wherein an emitter of the second transistor is grounded, and the second The collector of the pole tube is connected to the base of the first transistor and the fourth resistor to the second node, the emitter of the third transistor is grounded, and the collector of the third transistor And the base of the second triode And connecting one end of the fifth resistor, the other end of the fifth resistor is connected to the system power supply, and after the base of the third transistor receives a level signal requesting to turn off the power-on trigger valid signal, The third transistor is turned off, the second transistor is turned on to lower the potential of the second node, and the first transistor is turned off.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
  • a processor for running a program wherein the program is executed to perform the method of any of the above.
  • the embodiments of the present invention provide a method and a device for processing a power-on signal, which can avoid the occurrence of an erroneous interrupt during the power-on triggering process.
  • FIG. 1 is a flowchart of a method for processing a boot signal according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a device for processing a boot signal according to a second embodiment of the present invention
  • FIG. 3 is a general block diagram of a device for processing a boot signal according to Embodiment 3 of the present invention.
  • FIG. 4 is a flowchart of a method for processing a boot signal according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a device for processing a boot signal according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic diagram of a device for processing a boot signal according to Embodiment 5 of the present invention.
  • FIG. 1 is a flowchart of a method for processing a boot signal according to an embodiment of the present invention. As shown in FIG. 1 , the processing method of this embodiment includes the following steps:
  • the turning off the power-on triggering valid signal may immediately turn off the power-on triggering valid signal, or may turn off the power-on triggering valid signal after a specified time.
  • the method of the embodiment implements the intelligent control of the power-on trigger source signal, and avoids the interruption caused by the application of the power source to trigger an error during the power-on.
  • FIG. 2 is a schematic diagram of a device for processing a boot signal according to an embodiment of the present invention. As shown in FIG. 2, the processing device of this embodiment includes:
  • the signal generating module is configured to generate a power-on triggering valid signal when the system power source is detected, and trigger a booting process
  • the control module is configured to turn off the power-on trigger valid signal after the boot process is completed.
  • the controlling module when the power-on triggering valid signal is turned off, includes: immediately turning off the power-on triggering valid signal, or turning off the power-on triggering valid signal after a specified time.
  • the processing device further includes:
  • the detecting module is configured to detect the validity of the system power after detecting the presence of the system power.
  • the signal generating module includes a first semiconductor metal oxide MOS transistor and a second resistor, wherein a gate of the first MOS transistor is connected to the system power supply through a first resistor, A source of the MOS transistor is grounded, and a drain of the first MOS transistor is connected to the system power supply through a second resistor, and a drain output of the first MOS transistor outputs a valid signal when the system power supply is present.
  • the control module includes a second MOS transistor and the first resistor, wherein a source of the second MOS transistor is grounded, a drain of the second MOS transistor and a gate of the first MOS transistor Connected to the first node, after receiving the level signal requesting to turn off the power-on triggering valid signal, the gate of the MOS transistor lowers the potential of the first node and turns off the first MOS transistor.
  • the device of the embodiment can realize the intelligent control of the power-on trigger source signal, and avoids the interruption caused by the application of the power source to trigger an error during the power-on.
  • FIG. 3 is a general block diagram of a device for processing a boot signal according to an embodiment of the present invention.
  • the processing device of the embodiment includes: a boot signal logic generating unit 301 (corresponding to the signal generating module above) and a boot signal.
  • the logic control unit 302 (corresponding to the above control module), the power-on signal logic generating unit outputs a power-on trigger signal to the power-on process execution unit in the power processor, and the power-on signal logic feedback unit in the power processor turns to the power-on signal logic according to the situation.
  • the control unit sends a power-off trigger valid signal.
  • the thick arrows in Figure 3 represent the power lines that the system power supplies to the product, and the thin arrows represent the control lines for the control signals.
  • the system power control startup signal generating unit generates a power-on signal, and the power-on signal triggers the booting process execution unit to execute the booting process.
  • the booting process execution unit feeds back the power-on logic feedback unit to request to turn off the power-on triggering valid signal according to the function requirement, and the booting process control unit receives the feedback. After the signal is turned off, the power-on signal generation unit is turned off, and the power-on trigger signal becomes invalid.
  • the circuit in this embodiment will once again generate a power-on trigger signal to trigger the system to boot.
  • Step 101 Detecting system power.
  • the system power When the system power is present, generating a valid power-on trigger level signal by the power-on signal logic generating unit, and proceeding to step 102. If the system power supply does not exist, the system is in a power-off state and cannot be turned on. The logic generation unit also does not generate a power-on trigger signal.
  • Step 102 After the boot process execution unit detects the valid boot trigger level signal, the boot process is performed. If the system platform used by the product needs to detect the active level of the input system power, the boot process also needs to be detected. The effectiveness of the system power supply.
  • the effectiveness of the power supply of the detection system in this embodiment is an effective input for detecting whether the input voltage reaches a range of the system power-on level.
  • Step 103 After the boot process is completed, determine whether to immediately turn off the power-on trigger signal according to the function requirement. If it is not necessary to trigger a new interrupt according to the length of the power-on signal, perform step 104. Otherwise, the length of time is defined according to the demand function, and after the time is reached, step 104 is performed.
  • Step 104 The power-on signal logic feedback unit requests the power-on logic signal control unit to turn off the power-on trigger valid signal, and the power-on logic signal control unit turns off the power-on trigger logic signal unit after receiving the request, and sets the valid power-on trigger level signal to be invalid. level.
  • the power-on signal generation method starts from step 102 after the power-off, and generates a power-on trigger signal to trigger the system to start.
  • the method for processing a power-on signal can convert a high-level signal into a pulse signal with adjustable time width.
  • the power-on pulse signal whose time length can be adjusted is needed, and the power-on process execution unit sets the active level to be invalid through the feedback unit after the set time length is executed.
  • the length of time can be adjusted according to the set time.
  • FIG. 5 is a schematic diagram of a device for processing a boot signal according to an embodiment of the present invention.
  • the boot trigger signal is an active low signal
  • the system power supply supplies power to the entire product, and the product mainly includes power management, a processor, and other parts. .
  • the boot signal logic generating unit comprises a Q1 tube and a resistor R2
  • the boot process execution unit can be implemented by a power management chip, a processor chip and a display part circuit
  • the boot signal logic feedback unit can be implemented by the processor GPIO (General Purpose Input Output, general purpose input / output)
  • the power-on signal logic control unit is realized by Q2 tube and resistor R2.
  • the system power supply adds an initial high level state to the power-on trigger signal through R2.
  • Q2 defaults to the off state.
  • the system power supply turns on the Q1 tube, the active low-level signal generated by the power-on trigger is generated.
  • the chip detects a valid power-on trigger signal, it starts powering up the system and simultaneously displays part of the circuit to perform the power-on display action.
  • the processor chip selects the specific time request to open the Q2 tube according to the definition of the function requirement by the GPIO. After the Q2 is turned on, the level of the R1 near the Q1 side becomes low, the Q1 tube will be turned off, and the power-on trigger signal becomes invalid. .
  • this circuit will once again generate a power-on trigger signal to trigger the system to boot.
  • the Q1 tube and the Q2 tube in the power-on signal logic generating unit and the power-on signal logic control unit may be MOS (Metal-Oxide-Semiconductor, semiconductor metal oxide).
  • MOS Metal-Oxide-Semiconductor, semiconductor metal oxide.
  • an N-channel MOS transistor can be used in this embodiment.
  • the MOS transistor in FIG. 5 can also be replaced with a triode, and the power-on signal logic feedback unit can also be implemented by other processor-controlled power signals.
  • FIG. 6 is a schematic diagram of another implementation of the present invention by using a triode method.
  • the boot signal logic generating unit includes a Q1 tube and a resistor R2, and the boot process execution unit can be powered by a power management chip, a processor chip, and a display.
  • the power-on signal logic feedback unit can be implemented by the processor's default pull-up GPIO (General Purpose Input Output), and the boot signal logic control unit is composed of Q2 tube, Q3 tube, resistor R2 and resistor. R3 implementation.
  • the system power supply adds an initial high state to the power-on trigger signal through R2.
  • Q3 defaults to saturation conduction, Q2 is off, Q1 is saturated, and the active low level signal is generated.
  • the power management chip detects a valid power-on trigger signal, the system starts power-on, and at the same time, some circuits are displayed to perform a power-on display action.
  • the processor chip selects the specific time request through the GPIO according to the definition of the functional requirements to cut off Q3, Q2. When it becomes saturated, the level of R1 near the Q1 side becomes low, the Q1 tube becomes OFF, and the power-on trigger signal becomes invalid.
  • the triode of the embodiment adopts an NPN triode, and of course, a PNP triode can also be used.
  • the principle is similar, and the description will not be repeated here.
  • This embodiment provides a way to finally convert a high level power signal into a time width adjustable pulse signal.
  • the power-on signal logic control unit selects whether to turn on or off the power-on trigger source signal according to the detection of the logic signal feedback unit of the power-on signal according to different demand functions and scene definitions, thereby realizing the intelligent control of the power-on trigger source signal, and avoiding the application of the power source to trigger the power-on process.
  • An error interrupt was generated.
  • Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
  • the method and apparatus for processing a power-on signal provided by the embodiments of the present invention have the following beneficial effects: the application of the power source can be avoided to trigger an error interrupt during the power-on process.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

A startup signal processing method, comprising: upon detection of a system power source, generating a valid system startup trigger signal and triggering execution of a startup process (S11); and turning off the valid system startup trigger signal after completing execution of the startup process (S12). The method prevents errors or interruptions caused by strain on a power source during the startup process.

Description

一种开机信号的处理方法及装置Method and device for processing start signal 技术领域Technical field
本发明实施例涉及通信技术领域,特别是涉及一种开机信号的处理方法及装置。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and an apparatus for processing a boot signal.
背景技术Background technique
随着电子产品技术和功能的发展,产品的开机实现方式变得多样化,主要包括按键触发、拨码触发、上电开机触发等,上电开机触发方式不需要其他操作,只要电源接通,即触发开机,已有产品在实现上电开机方式时主要通过对处理器的开机触发源管脚施加一个触发该逻辑有效的常态高或低电平实现,目前在现有的很多平台上使用。With the development of electronic product technology and functions, the implementation of the product has become diversified, mainly including button triggering, dialing triggering, power-on and triggering, etc. The power-on triggering mode does not require other operations, as long as the power is turned on. That is, the booting is triggered, and the existing product is implemented by applying a normal high or low level that triggers the logic to the power-on trigger source pin of the processor, and is currently used on many existing platforms.
随着电子产品技术的迅速发展,在某些处理器平台中,触发开机的需求功能变的越来越多,例如,根据开机触发信号触发有效的不同时间长度定义了不同的功能,因此之前处理器平台中设计的实现方式,对开机触发源管脚一直施加一个触发该逻辑有效的常态高或低电平,在这些对开机触发管脚有时间长度定义的处理器平台上使用时,会触发出一个新的中断,导致使用时存在问题。With the rapid development of electronic product technology, in some processor platforms, the function of triggering the power-on has become more and more. For example, different functions are defined according to the different time lengths triggered by the power-on trigger signal, so the previous processing In the implementation of the design in the platform, a normal high or low level that triggers the logic is applied to the power-on trigger source pin, and is triggered when used on the processor platform with the time length definition of the power-on trigger pin. A new interrupt is generated, causing problems in use.
在低脉冲输出电路及应用低脉冲输出的设备中,描述了外界施加由低到高的电平通过第一逻辑电路控制第二逻辑电路,第二逻辑电路通过延时电路控制第三逻辑电路,产生了一个的低脉冲信号的方法,这种方法中用到的逻辑电路较多,并且使用了RC(Resistance-Capacitance,电阻电容)延时电路,会增加器件的使用数量,不够精简,在施加电源开机的不同功能使用场景中,如果系统关机后需要重启时这种根据外界输入的由低到高的阶跃脉冲信号产生低脉冲的方法在不关闭电源进行重新上电的情况下无法实现第二次开机,另外,RC延时电路会使开机脉冲信号的产生速度变得很慢,在某些开机延时较低的场景下可能无法使用。 In the low pulse output circuit and the device applying the low pulse output, it is described that the externally applied low to high level controls the second logic circuit through the first logic circuit, and the second logic circuit controls the third logic circuit through the delay circuit, A method of generating a low-pulse signal is used. In this method, more logic circuits are used, and a RC (Resistance-Capacitance) delay circuit is used, which increases the number of devices used, is not sufficiently streamlined, and is applied. In the different function usage scenarios of power-on, if the system needs to be restarted after shutdown, this method of generating low pulses according to the externally input low-to-high step pulse signal cannot be realized without powering down the power supply for re-powering. The second power-on, in addition, the RC delay circuit will make the start pulse signal generation speed very slow, may not be used in some scenarios with low power-on delay.
发明内容Summary of the invention
本发明实施例要解决的技术问题是提供一种开机信号的处理方法及装置,以避免施加电源触发开机过程中产生错误的中断。The technical problem to be solved by the embodiments of the present invention is to provide a method and a device for processing a boot signal, so as to avoid the occurrence of an erroneous interrupt during the startup of the power supply.
一种开机信号的处理方法,包括:A method for processing a boot signal, comprising:
检测到系统电源存在时,产生开机触发有效信号,触发执行开机过程;When the system power supply is detected, a power-on trigger valid signal is generated, and the boot process is triggered;
开机过程执行完毕后,关闭所述开机触发有效信号。After the boot process is completed, the power-on trigger valid signal is turned off.
可选地,所述关闭所述开机触发有效信号,包括:Optionally, the turning off the power-on triggering valid signal includes:
立即关闭所述开机触发有效信号,或者Immediately turn off the power-on trigger valid signal, or
经过指定时间后关闭所述开机触发有效信号。The power-on trigger valid signal is turned off after a specified time.
可选地,检测到系统电源存在后,还包括:Optionally, after detecting that the system power exists, the method further includes:
检测所述系统电源的有效性。Detecting the effectiveness of the system power supply.
可选地,所述检测到系统电源存在时,产生开机触发有效信号是通过以下方式实现的:Optionally, when the detecting that the system power is present, generating a power-on trigger valid signal is implemented by:
第一半导体金属氧化物MOS管的栅极通过第一电阻与所述系统电源连接,所述第一MOS管的源极接地,所述第一MOS管的漏极通过第二电阻与所述系统电源连接,在所述系统电源存在时所述第一MOS管的漏极输出开机触发有效信号。a gate of the first semiconductor metal oxide MOS transistor is connected to the system power supply through a first resistor, a source of the first MOS transistor is grounded, and a drain of the first MOS transistor passes through a second resistor and the system The power connection is configured to: when the system power is present, the drain output of the first MOS transistor triggers a valid signal.
可选地,所述开机过程执行完毕后,关闭所述开机触发有效信号是通过以下方式实现的:Optionally, after the booting process is completed, turning off the power-on triggering valid signal is implemented by:
第二MOS管的源极接地,所述第二MOS管的漏极与所述第一MOS管的栅极连接于第一节点,所述MOS管的栅极接收到请求关闭开机触发有效信号的电平信号后,降低所述第一节点的电位,关闭所述第一MOS管。The source of the second MOS transistor is grounded, the drain of the second MOS transistor is connected to the gate of the first MOS transistor to the first node, and the gate of the MOS transistor receives a request to turn off the power-on triggering valid signal. After the level signal, the potential of the first node is lowered, and the first MOS transistor is turned off.
一种开机信号的处理装置,其中,包括:A processing device for a boot signal, comprising:
信号产生模块,设置为检测到系统电源存在时,产生开机触发有效信 号,触发执行开机过程;The signal generating module is configured to generate a power-on trigger valid signal when the system power is detected to be present Number, triggering the execution of the boot process;
控制模块,设置为开机过程执行完毕后,关闭所述开机触发有效信号。The control module is configured to turn off the power-on trigger valid signal after the boot process is completed.
可选地,所述控制模块,关闭所述开机触发有效信号,包括:立即关闭所述开机触发有效信号,或者经过指定时间后关闭所述开机触发有效信号。Optionally, the control module, when the power-on triggering valid signal is turned off, includes: immediately turning off the power-on triggering valid signal, or turning off the power-on triggering valid signal after a specified time.
可选地,所述处理装置还包括:Optionally, the processing device further includes:
检测模块,设置为检测到系统电源存在后,检测所述系统电源的有效性。The detecting module is configured to detect the validity of the system power after detecting the presence of the system power.
可选地,所述信号产生模块,包括第一半导体金属氧化物MOS管和第二电阻,其中所述第一MOS管的栅极通过第一电阻与所述系统电源连接,所述第一MOS管的源极接地,所述第一MOS管的漏极通过所述第二电阻与所述系统电源连接,在所述系统电源存在时所述第一MOS管的漏极输出开机触发有效信号。Optionally, the signal generating module includes a first semiconductor metal oxide MOS transistor and a second resistor, wherein a gate of the first MOS transistor is connected to the system power supply through a first resistor, the first MOS The source of the tube is grounded, and the drain of the first MOS transistor is connected to the system power supply through the second resistor. When the system power supply is present, the drain output of the first MOS transistor outputs a power-on triggering valid signal.
可选地,所述控制模块,包括第二MOS管和所述第一电阻,其中所述第二MOS管的源极接地,所述第二MOS管的漏极与所述第一MOS管的栅极及所述第一电阻连接于第一节点,所述第二MOS管的栅极接收到请求关闭开机触发有效信号的电平信号后,降低所述第一节点的电位,关闭所述第一MOS管。Optionally, the control module includes a second MOS transistor and the first resistor, wherein a source of the second MOS transistor is grounded, a drain of the second MOS transistor is opposite to the first MOS transistor The gate and the first resistor are connected to the first node, and after receiving the level signal requesting to turn off the power-on triggering valid signal, the gate of the second MOS transistor lowers the potential of the first node, and turns off the first A MOS tube.
可选地,所述信号产生模块,包括第一三极管和第三电阻,其中所述第一三极管的基极通过第四电阻与所述系统电源连接,所述第一三极管的发射极接地,所述第一三极管的集电极通过所述第三电阻与所述系统电源连接,在所述系统电源存在时所述第一三极管的集电极输出开机触发有效信号。Optionally, the signal generating module includes a first triode and a third resistor, wherein a base of the first triode is connected to the system power supply through a fourth resistor, the first triode The emitter of the first triode is connected to the system power supply through the third resistor, and the collector output of the first triode is activated to trigger an effective signal when the system power source is present. .
可选地,所述控制模块,包括第二三极管、第三三极管、所述第四电阻和第五电阻,其中所述第二三极管的发射极接地,所述第二三极管的集电极与所述第一三极管的基极及所述第四电阻连接于第二节点,所述第三三极管的发射极接地,所述第三三极管的集电极与所述第二三极管的基极 及所述第五电阻的一端连接,所述第五电阻的另一端连接所述系统电源,所述第三三极管的基极接收到请求关闭开机触发有效信号的电平信号后,所述第三三极管截止,所述第二三极管导通降低所述第二节点的电位,所述第一三极管截止。Optionally, the control module includes a second transistor, a third transistor, the fourth resistor, and a fifth resistor, wherein an emitter of the second transistor is grounded, and the second The collector of the pole tube is connected to the base of the first transistor and the fourth resistor to the second node, the emitter of the third transistor is grounded, and the collector of the third transistor And the base of the second triode And connecting one end of the fifth resistor, the other end of the fifth resistor is connected to the system power supply, and after the base of the third transistor receives a level signal requesting to turn off the power-on trigger valid signal, The third transistor is turned off, the second transistor is turned on to lower the potential of the second node, and the first transistor is turned off.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
根据本发明的又一个实施例,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a processor for running a program, wherein the program is executed to perform the method of any of the above.
综上,本发明实施例提供一种开机信号的处理方法及装置,可以避免施加电源触发开机过程中产生错误的中断。In summary, the embodiments of the present invention provide a method and a device for processing a power-on signal, which can avoid the occurrence of an erroneous interrupt during the power-on triggering process.
附图说明DRAWINGS
图1为本发明实施例一的一种开机信号的处理方法的流程图;1 is a flowchart of a method for processing a boot signal according to Embodiment 1 of the present invention;
图2为本发明实施例二的一种开机信号的处理装置的示意图;2 is a schematic diagram of a device for processing a boot signal according to a second embodiment of the present invention;
图3为本发明实施例三的开机信号的处理装置的总体框图;3 is a general block diagram of a device for processing a boot signal according to Embodiment 3 of the present invention;
图4为本发明实施例三的开机信号的处理方法的流程图;4 is a flowchart of a method for processing a boot signal according to Embodiment 3 of the present invention;
图5为本发明实施例四的开机信号的处理装置的示意图;FIG. 5 is a schematic diagram of a device for processing a boot signal according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例五的开机信号的处理装置的示意图。FIG. 6 is a schematic diagram of a device for processing a boot signal according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一Embodiment 1
图1为本发明实施例的一种开机信号的处理方法的流程图,如图1所示,本实施例的处理方法包括以下步骤:FIG. 1 is a flowchart of a method for processing a boot signal according to an embodiment of the present invention. As shown in FIG. 1 , the processing method of this embodiment includes the following steps:
S11、检测到系统电源存在时,产生开机触发有效信号,触发执行开 机过程;S11. When the system power supply is detected, a power-on trigger valid signal is generated, and the triggering execution is started. Machine process
S12、开机过程执行完毕后,关闭所述开机触发有效信号。S12. After the boot process is completed, the power-on trigger valid signal is turned off.
在一实施例中,所述关闭所述开机触发有效信号可以立即关闭所述开机触发有效信号,也可以经过指定时间后关闭所述开机触发有效信号。In an embodiment, the turning off the power-on triggering valid signal may immediately turn off the power-on triggering valid signal, or may turn off the power-on triggering valid signal after a specified time.
本实施例的方法实现了开机触发源信号的智能控制,避免了施加电源触发开机过程中产生错误的中断。The method of the embodiment implements the intelligent control of the power-on trigger source signal, and avoids the interruption caused by the application of the power source to trigger an error during the power-on.
实施例二Embodiment 2
图2为本发明实施例的一种开机信号的处理装置的示意图,如图2所示,本实施例的处理装置包括:FIG. 2 is a schematic diagram of a device for processing a boot signal according to an embodiment of the present invention. As shown in FIG. 2, the processing device of this embodiment includes:
信号产生模块,设置为检测到系统电源存在时,产生开机触发有效信号,触发执行开机过程;The signal generating module is configured to generate a power-on triggering valid signal when the system power source is detected, and trigger a booting process;
控制模块,设置为开机过程执行完毕后,关闭所述开机触发有效信号。The control module is configured to turn off the power-on trigger valid signal after the boot process is completed.
在一实施例中,所述控制模块,关闭所述开机触发有效信号包括:立即关闭所述开机触发有效信号,或者经过指定时间后关闭所述开机触发有效信号。In an embodiment, the controlling module, when the power-on triggering valid signal is turned off, includes: immediately turning off the power-on triggering valid signal, or turning off the power-on triggering valid signal after a specified time.
在一实施例中,所述处理装置还包括:In an embodiment, the processing device further includes:
检测模块,设置为检测到系统电源存在后,检测所述系统电源的有效性。The detecting module is configured to detect the validity of the system power after detecting the presence of the system power.
在一实施例中,所述信号产生模块,包括第一半导体金属氧化物MOS管和第二电阻,其中所述第一MOS管的栅极通过第一电阻与所述系统电源连接,所述第一MOS管的源极接地,所述第一MOS管的漏极通过第二电阻与所述系统电源连接,在所述系统电源存在时所述第一MOS管的漏极输出开机触发有效信号。In one embodiment, the signal generating module includes a first semiconductor metal oxide MOS transistor and a second resistor, wherein a gate of the first MOS transistor is connected to the system power supply through a first resistor, A source of the MOS transistor is grounded, and a drain of the first MOS transistor is connected to the system power supply through a second resistor, and a drain output of the first MOS transistor outputs a valid signal when the system power supply is present.
所述控制模块,包括第二MOS管和所述第一电阻,其中所述第二MOS管的源极接地,所述第二MOS管的漏极与所述第一MOS管的栅极 连接于第一节点,所述MOS管的栅极接收到请求关闭开机触发有效信号的电平信号后,降低所述第一节点的电位,关闭所述第一MOS管。The control module includes a second MOS transistor and the first resistor, wherein a source of the second MOS transistor is grounded, a drain of the second MOS transistor and a gate of the first MOS transistor Connected to the first node, after receiving the level signal requesting to turn off the power-on triggering valid signal, the gate of the MOS transistor lowers the potential of the first node and turns off the first MOS transistor.
本实施例的装置可以实现了开机触发源信号的智能控制,避免了施加电源触发开机过程中产生错误的中断。The device of the embodiment can realize the intelligent control of the power-on trigger source signal, and avoids the interruption caused by the application of the power source to trigger an error during the power-on.
实施例三Embodiment 3
图3为本发明实施例的开机信号的处理装置的总体框图,如图3所示,本实施例的处理装置包括:开机信号逻辑产生单元301(相当于上文的信号产生模块)和开机信号逻辑控制单元302(相当于上文的控制模块),开机信号逻辑产生单元输出开机触发信号给电源处理器中的开机过程执行单元,电源处理器中的开机信号逻辑反馈单元根据情况向开机信号逻辑控制单元发送关闭开机触发有效信号。图3中粗箭头代表系统电源向产品供电的电源线,细箭头代表控制信号的控制线。FIG. 3 is a general block diagram of a device for processing a boot signal according to an embodiment of the present invention. As shown in FIG. 3, the processing device of the embodiment includes: a boot signal logic generating unit 301 (corresponding to the signal generating module above) and a boot signal. The logic control unit 302 (corresponding to the above control module), the power-on signal logic generating unit outputs a power-on trigger signal to the power-on process execution unit in the power processor, and the power-on signal logic feedback unit in the power processor turns to the power-on signal logic according to the situation. The control unit sends a power-off trigger valid signal. The thick arrows in Figure 3 represent the power lines that the system power supplies to the product, and the thin arrows represent the control lines for the control signals.
系统电源控制开机信号逻辑产生单元产生开机信号,开机信号触发开机过程执行单元执行开机流程,开机过程执行单元根据功能需求向开机逻辑反馈单元反馈请求关闭开机触发有效信号,开机过程控制单元接收到反馈信号后关闭开机信号逻辑产生单元,开机触发信号变为无效。The system power control startup signal generating unit generates a power-on signal, and the power-on signal triggers the booting process execution unit to execute the booting process. The booting process execution unit feeds back the power-on logic feedback unit to request to turn off the power-on triggering valid signal according to the function requirement, and the booting process control unit receives the feedback. After the signal is turned off, the power-on signal generation unit is turned off, and the power-on trigger signal becomes invalid.
当系统关机后,如果系统电源依旧正常,本实施例中的电路会再一次产生开机触发信号触发系统开机。After the system is shut down, if the system power is still normal, the circuit in this embodiment will once again generate a power-on trigger signal to trigger the system to boot.
本实施例的工作流程框图如图4所示,具体步骤如下:The workflow diagram of this embodiment is shown in Figure 4. The specific steps are as follows:
步骤101,检测系统电源,当系统电源存在时,通过开机信号逻辑产生单元产生有效的开机触发电平信号,转步骤102,如果系统电源不存在,这时系统处于掉电状态无法开机,开机信号逻辑产生单元也不会产生开机触发信号。Step 101: Detecting system power. When the system power is present, generating a valid power-on trigger level signal by the power-on signal logic generating unit, and proceeding to step 102. If the system power supply does not exist, the system is in a power-off state and cannot be turned on. The logic generation unit also does not generate a power-on trigger signal.
步骤102,开机过程执行单元检测到有效的开机触发电平信号后,执行开机过程,如果产品所使用的系统平台内部需要对输入的系统电源的有效电平做检测,执行开机过程时还需要检测系统电源的有效性。 Step 102: After the boot process execution unit detects the valid boot trigger level signal, the boot process is performed. If the system platform used by the product needs to detect the active level of the input system power, the boot process also needs to be detected. The effectiveness of the system power supply.
本实施例中的检测系统电源的有效性即检测输入电压是否达到系统开机电平范围的有效输入。The effectiveness of the power supply of the detection system in this embodiment is an effective input for detecting whether the input voltage reaches a range of the system power-on level.
步骤103,开机过程执行完毕后,根据功能需求判断是否立即关闭开机触发信号,如果不需要根据开机信号时间长短触发新的中断,执行步骤104。否则,根据需求功能定义一段时间长度,到达定时的时间后,执行步骤104。Step 103: After the boot process is completed, determine whether to immediately turn off the power-on trigger signal according to the function requirement. If it is not necessary to trigger a new interrupt according to the length of the power-on signal, perform step 104. Otherwise, the length of time is defined according to the demand function, and after the time is reached, step 104 is performed.
步骤104,开机信号逻辑反馈单元会向开机逻辑信号控制单元请求关闭开机触发有效信号,开机逻辑信号控制单元收到请求后关闭开机触发逻辑信号单元,将有效的开机触发电平信号置为无效电平。Step 104: The power-on signal logic feedback unit requests the power-on logic signal control unit to turn off the power-on trigger valid signal, and the power-on logic signal control unit turns off the power-on trigger logic signal unit after receiving the request, and sets the valid power-on trigger level signal to be invalid. level.
开机后,假设有系统电源稳定的意外的其他因素导致关机,本发明实施例中的提供的开机信号产生方法,关机后会从步骤102开始执行,产生开机触发信号,触发系统开机。After the power-on, it is assumed that there are other factors that cause the system power supply to be unstable, and the power-on signal generation method provided in the embodiment of the present invention starts from step 102 after the power-off, and generates a power-on trigger signal to trigger the system to start.
本发明实施例提供的一种开机信号的处理方法,可以将高电平信号转换为时间宽度可调整的脉冲信号。The method for processing a power-on signal according to an embodiment of the present invention can convert a high-level signal into a pulse signal with adjustable time width.
当开机信号的不同长时间长度有不同定义时,此时需要时间长度可调整的开机脉冲信号,开机过程执行单元在执行完设定时间长度后通过反馈单元将有效电平置为无效,开机信号的时间长度根据设定时间不同可调整。When the different lengths of the power-on signal have different definitions, the power-on pulse signal whose time length can be adjusted is needed, and the power-on process execution unit sets the active level to be invalid through the feedback unit after the set time length is executed. The length of time can be adjusted according to the set time.
实施例四Embodiment 4
图5为本发明实施例提供的开机信号的处理装置的示意图,本实施例中的开机触发信号为低电平有效信号,系统电源向整个产品供电,产品主要包括电源管理、处理器和其他部分。FIG. 5 is a schematic diagram of a device for processing a boot signal according to an embodiment of the present invention. In this embodiment, the boot trigger signal is an active low signal, and the system power supply supplies power to the entire product, and the product mainly includes power management, a processor, and other parts. .
本实施例中,开机信号逻辑产生单元包括Q1管和电阻R2,开机过程执行单元可以由电源管理芯片、处理器芯片和显示部分电路来实现,开机信号逻辑反馈单元可以由处理器的GPIO(General Purpose Input Output,通用输入/输出)来实现,开机信号逻辑控制单元由Q2管和电阻R2实现。 In this embodiment, the boot signal logic generating unit comprises a Q1 tube and a resistor R2, and the boot process execution unit can be implemented by a power management chip, a processor chip and a display part circuit, and the boot signal logic feedback unit can be implemented by the processor GPIO (General Purpose Input Output, general purpose input / output), the power-on signal logic control unit is realized by Q2 tube and resistor R2.
当检测到系统电源后,系统电源通过R2给开机触发信号添加了一个初始高电平状态,Q2默认为关闭状态,系统电源将Q1管打开后,开机触发的有效低电平信号产生,电源管理芯片检测到有效的开机触发信号后,开始系统上电,同时显示部分电路执行开机显示动作。开机完成后处理器芯片通过GPIO根据功能需求的定义来选择具体时间请求打开Q2管,Q2打开后,R1靠近Q1侧的电平变为低,Q1管将会被关闭,开机触发信号变为无效。When the system power is detected, the system power supply adds an initial high level state to the power-on trigger signal through R2. Q2 defaults to the off state. After the system power supply turns on the Q1 tube, the active low-level signal generated by the power-on trigger is generated. After the chip detects a valid power-on trigger signal, it starts powering up the system and simultaneously displays part of the circuit to perform the power-on display action. After the boot is completed, the processor chip selects the specific time request to open the Q2 tube according to the definition of the function requirement by the GPIO. After the Q2 is turned on, the level of the R1 near the Q1 side becomes low, the Q1 tube will be turned off, and the power-on trigger signal becomes invalid. .
另外,当系统关机后,如果系统电源依旧正常,本电路会再一次产生开机触发信号触发系统开机。In addition, when the system is powered off, if the system power is still normal, this circuit will once again generate a power-on trigger signal to trigger the system to boot.
在上述施加电源时触发产品自动开机的信号产生方法的实施例中,开机信号逻辑产生单元和开机信号逻辑控制单元中的Q1管和Q2管可以是MOS(Metal-Oxide-Semiconductor,半导体金属氧化物)管,本实施例可以采用N沟道MOS管。In the embodiment of the signal generating method for triggering the automatic startup of the product when the power source is applied, the Q1 tube and the Q2 tube in the power-on signal logic generating unit and the power-on signal logic control unit may be MOS (Metal-Oxide-Semiconductor, semiconductor metal oxide). In the embodiment, an N-channel MOS transistor can be used in this embodiment.
在一实施例中,图5中的MOS管也可以改用三极管,开机信号逻辑反馈单元也可以由其他处理器控制的电源信号来实现。In an embodiment, the MOS transistor in FIG. 5 can also be replaced with a triode, and the power-on signal logic feedback unit can also be implemented by other processor-controlled power signals.
实施例五Embodiment 5
图6为使用三极管方式实现上述实现本发明的另一种实施例,本实施例中,开机信号逻辑产生单元包括Q1管和电阻R2,开机过程执行单元可以由电源管理芯片、处理器芯片和显示部分电路来实现,开机信号逻辑反馈单元可以由处理器的默认上拉的GPIO(General Purpose Input Output,通用输入/输出)来实现,开机信号逻辑控制单元由Q2管、Q3管、电阻R2和电阻R3实现。FIG. 6 is a schematic diagram of another implementation of the present invention by using a triode method. In this embodiment, the boot signal logic generating unit includes a Q1 tube and a resistor R2, and the boot process execution unit can be powered by a power management chip, a processor chip, and a display. Part of the circuit is implemented, the power-on signal logic feedback unit can be implemented by the processor's default pull-up GPIO (General Purpose Input Output), and the boot signal logic control unit is composed of Q2 tube, Q3 tube, resistor R2 and resistor. R3 implementation.
当检测到系统电源后,系统电源通过R2给开机触发信号添加了一个初始高电平状态,Q3默认为饱和导通、Q2为截止,Q1饱和导通,开机触发的有效低电平信号产生,电源管理芯片检测到有效的开机触发信号后,开始系统上电,同时显示部分电路执行开机显示动作。开机完成后处理器芯片通过GPIO根据功能需求的定义来选择具体时间请求将Q3截止,Q2 变为饱和导通,R1靠近Q1侧的电平变为低,Q1管变为截止状态,开机触发信号变为无效。When the system power is detected, the system power supply adds an initial high state to the power-on trigger signal through R2. Q3 defaults to saturation conduction, Q2 is off, Q1 is saturated, and the active low level signal is generated. After the power management chip detects a valid power-on trigger signal, the system starts power-on, and at the same time, some circuits are displayed to perform a power-on display action. After the boot is completed, the processor chip selects the specific time request through the GPIO according to the definition of the functional requirements to cut off Q3, Q2. When it becomes saturated, the level of R1 near the Q1 side becomes low, the Q1 tube becomes OFF, and the power-on trigger signal becomes invalid.
本实施例的三极管采用NPN三极管,当然也可以采用PNP三极管,原理类似,这里就不再重复说明。The triode of the embodiment adopts an NPN triode, and of course, a PNP triode can also be used. The principle is similar, and the description will not be repeated here.
本实施例提供方式,最终将高电平电源信号转换为时间宽度可调整的脉冲信号。开机信号逻辑控制单元通过对开机信号逻辑反馈单元的检测,根据不同需求功能和场景的定义选择开启或关闭开机触发源信号,实现了开机触发源信号的智能控制,避免了施加电源触发开机过程中产生错误的中断。This embodiment provides a way to finally convert a high level power signal into a time width adjustable pulse signal. The power-on signal logic control unit selects whether to turn on or off the power-on trigger source signal according to the detection of the logic signal feedback unit of the power-on signal according to different demand functions and scene definitions, thereby realizing the intelligent control of the power-on trigger source signal, and avoiding the application of the power source to trigger the power-on process. An error interrupt was generated.
本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本发明的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例,当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种开机信号的处理方法及装置具有以下有益效果:可以避免施加电源触发开机过程中产生错误的中断。 As described above, the method and apparatus for processing a power-on signal provided by the embodiments of the present invention have the following beneficial effects: the application of the power source can be avoided to trigger an error interrupt during the power-on process.

Claims (13)

  1. 一种开机信号的处理方法,包括:A method for processing a boot signal, comprising:
    检测到系统电源存在时,产生开机触发有效信号,触发执行开机过程;When the system power supply is detected, a power-on trigger valid signal is generated, and the boot process is triggered;
    开机过程执行完毕后,关闭所述开机触发有效信号。After the boot process is completed, the power-on trigger valid signal is turned off.
  2. 如权利要求1所述的方法,其中:所述关闭所述开机触发有效信号,包括:The method of claim 1 wherein: said turning off said power-on triggering valid signal comprises:
    立即关闭所述开机触发有效信号,或者Immediately turn off the power-on trigger valid signal, or
    经过指定时间后关闭所述开机触发有效信号。The power-on trigger valid signal is turned off after a specified time.
  3. 如权利要求1所述的方法,其中:检测到系统电源存在后,还包括:The method of claim 1 wherein: after detecting the presence of the system power supply, the method further comprises:
    检测所述系统电源的有效性。Detecting the effectiveness of the system power supply.
  4. 如权利要求1所述的方法,其中:所述检测到系统电源存在时,产生开机触发有效信号是通过以下方式实现的:The method of claim 1 wherein: when said detecting that system power is present, generating a power-on trigger valid signal is accomplished by:
    第一半导体金属氧化物MOS管的栅极通过第一电阻与所述系统电源连接,所述第一MOS管的源极接地,所述第一MOS管的漏极通过第二电阻与所述系统电源连接,在所述系统电源存在时所述第一MOS管的漏极输出开机触发有效信号。a gate of the first semiconductor metal oxide MOS transistor is connected to the system power supply through a first resistor, a source of the first MOS transistor is grounded, and a drain of the first MOS transistor passes through a second resistor and the system The power connection is configured to: when the system power is present, the drain output of the first MOS transistor triggers a valid signal.
  5. 如权利要求4所述的方法,其中:所述开机过程执行完毕后,关闭所述开机触发有效信号是通过以下方式实现的:The method of claim 4, wherein after the booting process is completed, turning off the power-on trigger valid signal is implemented by:
    第二MOS管的源极接地,所述第二MOS管的漏极与所述第一MOS管的栅极连接于第一节点,所述MOS管的栅极接收到请求关闭开机触发有效信号的电平信号后,降低所述第一节点的电位,关闭所 述第一MOS管。The source of the second MOS transistor is grounded, the drain of the second MOS transistor is connected to the gate of the first MOS transistor to the first node, and the gate of the MOS transistor receives a request to turn off the power-on triggering valid signal. After the level signal, lowering the potential of the first node, turning off the The first MOS tube is described.
  6. 一种开机信号的处理装置,包括:A processing device for a boot signal, comprising:
    信号产生模块,设置为检测到系统电源存在时,产生开机触发有效信号,触发执行开机过程;The signal generating module is configured to generate a power-on triggering valid signal when the system power source is detected, and trigger a booting process;
    控制模块,设置为开机过程执行完毕后,关闭所述开机触发有效信号。The control module is configured to turn off the power-on trigger valid signal after the boot process is completed.
  7. 如权利要求6所述的处理装置,其中:The processing apparatus of claim 6 wherein:
    所述控制模块,关闭所述开机触发有效信号,包括:立即关闭所述开机触发有效信号,或者经过指定时间后关闭所述开机触发有效信号。The control module, when the power-on triggering valid signal is turned off, includes: immediately turning off the power-on triggering valid signal, or turning off the power-on triggering valid signal after a specified time.
  8. 如权利要求6所述的处理装置,其中:所述处理装置还包括:The processing device of claim 6 wherein: said processing device further comprises:
    检测模块,设置为检测到系统电源存在后,检测所述系统电源的有效性。The detecting module is configured to detect the validity of the system power after detecting the presence of the system power.
  9. 如权利要求6-8任一项所述的处理装置,其中:A processing apparatus according to any of claims 6-8, wherein:
    所述信号产生模块,包括第一半导体金属氧化物MOS管和第二电阻,其中所述第一MOS管的栅极通过第一电阻与所述系统电源连接,所述第一MOS管的源极接地,所述第一MOS管的漏极通过所述第二电阻与所述系统电源连接,在所述系统电源存在时所述第一MOS管的漏极输出开机触发有效信号。The signal generating module includes a first semiconductor metal oxide MOS transistor and a second resistor, wherein a gate of the first MOS transistor is connected to the system power supply through a first resistor, and a source of the first MOS transistor Grounding, the drain of the first MOS transistor is connected to the system power supply through the second resistor, and the drain output of the first MOS transistor outputs a power-on triggering valid signal when the system power supply is present.
  10. 如权利要求9所述的处理装置,其中:The processing apparatus of claim 9 wherein:
    所述控制模块,包括第二MOS管和所述第一电阻,其中所述第二MOS管的源极接地,所述第二MOS管的漏极与所述第一MOS管 的栅极及所述第一电阻连接于第一节点,所述第二MOS管的栅极接收到请求关闭开机触发有效信号的电平信号后,降低所述第一节点的电位,关闭所述第一MOS管。The control module includes a second MOS transistor and the first resistor, wherein a source of the second MOS transistor is grounded, a drain of the second MOS transistor and the first MOS transistor The gate and the first resistor are connected to the first node, and after receiving the level signal requesting to turn off the power-on triggering valid signal, the gate of the second MOS transistor lowers the potential of the first node, and turns off the The first MOS tube.
  11. 如权利要求6-8任一项所述的处理装置,其中:A processing apparatus according to any of claims 6-8, wherein:
    所述信号产生模块,包括第一三极管和第三电阻,其中所述第一三极管的基极通过第四电阻与所述系统电源连接,所述第一三极管的发射极接地,所述第一三极管的集电极通过所述第三电阻与所述系统电源连接,在所述系统电源存在时所述第一三极管的集电极输出开机触发有效信号。The signal generating module includes a first triode and a third resistor, wherein a base of the first triode is connected to the system power supply through a fourth resistor, and an emitter of the first triode is grounded The collector of the first transistor is connected to the system power supply through the third resistor, and the collector output of the first transistor triggers a valid signal when the system power is present.
  12. 如权利要求11所述的处理装置,其中:A processing apparatus according to claim 11 wherein:
    所述控制模块,包括第二三极管、第三三极管、所述第四电阻和第五电阻,其中所述第二三极管的发射极接地,所述第二三极管的集电极与所述第一三极管的基极及所述第四电阻连接于第二节点,所述第三三极管的发射极接地,所述第三三极管的集电极与所述第二三极管的基极及所述第五电阻的一端连接,所述第五电阻的另一端连接所述系统电源,所述第三三极管的基极接收到请求关闭开机触发有效信号的电平信号后,所述第三三极管截止,所述第二三极管导通降低所述第二节点的电位,所述第一三极管截止。The control module includes a second triode, a third triode, the fourth resistor and a fifth resistor, wherein an emitter of the second triode is grounded, and the second triode is set The electrode is connected to the base of the first transistor and the fourth resistor to the second node, the emitter of the third transistor is grounded, the collector of the third transistor and the first a base of the two transistors is connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the system power supply, and a base of the third transistor receives a request to turn off the power-on trigger effective signal. After the level signal, the third transistor is turned off, the second transistor is turned on to lower the potential of the second node, and the first transistor is turned off.
  13. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至5中任一项所述的方法。 A storage medium, the storage medium comprising a stored program, wherein the program is executed to perform the method of any one of claims 1 to 5.
PCT/CN2017/103110 2017-07-20 2017-09-25 A startup signal processing method and device WO2019015087A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710597376.9 2017-07-20
CN201710597376.9A CN109283991A (en) 2017-07-20 2017-07-20 A kind of processing method and processing device of starting-up signal

Publications (1)

Publication Number Publication Date
WO2019015087A1 true WO2019015087A1 (en) 2019-01-24

Family

ID=65016192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103110 WO2019015087A1 (en) 2017-07-20 2017-09-25 A startup signal processing method and device

Country Status (2)

Country Link
CN (1) CN109283991A (en)
WO (1) WO2019015087A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2831612Y (en) * 2005-07-11 2006-10-25 圆创科技股份有限公司 Reset circuit of starting power source
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
CN203675080U (en) * 2013-12-31 2014-06-25 深圳市易能电气技术有限公司 Trigger signal locking circuit
CN104423515A (en) * 2013-08-23 2015-03-18 深圳市海洋王照明工程有限公司 Low-level reset circuit
CN106292984A (en) * 2016-09-05 2017-01-04 深圳微步信息股份有限公司 Automatic boot circuit and automatic power-on method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351007B (en) * 2008-09-09 2011-12-21 华为终端有限公司 Method and apparatus for implementing one-key type computer opening/closing
JP5123150B2 (en) * 2008-12-10 2013-01-16 株式会社東芝 Trigger signal detection device
CN203596855U (en) * 2013-09-29 2014-05-14 上海斐讯数据通信技术有限公司 Mobile terminal
CN204423011U (en) * 2014-12-04 2015-06-24 潍坊歌尔电子有限公司 Based on start control circuit and the electronic equipment of near-field communication NFC

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2831612Y (en) * 2005-07-11 2006-10-25 圆创科技股份有限公司 Reset circuit of starting power source
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
CN104423515A (en) * 2013-08-23 2015-03-18 深圳市海洋王照明工程有限公司 Low-level reset circuit
CN203675080U (en) * 2013-12-31 2014-06-25 深圳市易能电气技术有限公司 Trigger signal locking circuit
CN106292984A (en) * 2016-09-05 2017-01-04 深圳微步信息股份有限公司 Automatic boot circuit and automatic power-on method

Also Published As

Publication number Publication date
CN109283991A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
TWI505083B (en) Power control circuit and elelctronic device with power control circuit
US20120274369A1 (en) Power-on-reset circuit and reset method
US20170060216A1 (en) Usb power delivery dead-battery control
WO2012142832A1 (en) Electronic device having usb interface and usb communication start method thereof
JPH08181591A (en) Power-on reset circuit
WO2016187790A1 (en) Otg peripheral device, power supply method, terminal and system
WO2022135060A1 (en) Terminal device, nfc clock control method, nfc module, and medium
US20120044601A1 (en) Startup protection circuit and electronic device using the same
JPH05304722A (en) Power retention type integrated circuit
JP2001256790A (en) Detecting circuit for low power source voltage
WO2019015087A1 (en) A startup signal processing method and device
WO2018045770A1 (en) Control circuit, control method and electronic device
TWI595726B (en) Charing circuit
US5894240A (en) Reset methods and apparatus for microcontrollers having bidirectional reset lines
US9417640B2 (en) Input pin control
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof
TWI435208B (en) Integrated circuit and related controlling method
JPH07219681A (en) Circuit and method for detection of system reset caused by turning-on of power supply of electronic system
TWI468921B (en) Server and booting method thereof
US9146754B2 (en) Booting method and computer system thereof
TWI463295B (en) Reset and reboot circuit
TWI645282B (en) System on a chip (soc) and integrated circuit device having the same
KR20130123502A (en) Portable electronic device and method for reset using the same
CN217718539U (en) Desktop and one-key starting circuit thereof
US9507361B2 (en) Initialization signal generation circuits and semiconductor devices including the same

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: 17918490

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: 17918490

Country of ref document: EP

Kind code of ref document: A1