Normally open circuit for low-power SOC chip

文档序号:1543516 发布日期:2020-01-17 浏览:27次 中文

阅读说明:本技术 一种用于低功耗soc芯片的常开电路 (Normally open circuit for low-power SOC chip ) 是由 兰田田 胡胜发 于 2019-09-18 设计创作,主要内容包括:针对现有技术的不足,本发明涉及一种用于低功耗SOC芯片的常开电路,通过单芯片实现RTC、电压监测、低电压唤醒、唤醒源监测和PWM输出多种功能。在集成了多种功能的前提下还需要保证功耗小,有利于长时间的待机。为实现以上目的,本发明通过以下技术方案予以实现:一种用于低功耗SOC芯片的常开电路,包括连接在唤醒源合并装置上的:RTC实时时钟装置,电池电压检测控制器装置,以及唤醒源输入监测装置。本发明通过这样的技术方案,通过单个芯片中的常开电路允许多个外设唤醒源触发芯片从待机状态恢复到正常工作状态。所有触发源的状态都被记录,以便芯片唤醒后可以查询是什么事件触发的唤醒。(Aiming at the defects of the prior art, the invention relates to a normally open circuit for a low-power SOC chip, which realizes multiple functions of RTC, voltage monitoring, low-voltage awakening, awakening source monitoring and PWM output through a single chip. And on the premise of integrating multiple functions, the low power consumption is required to be ensured, and the long-time standby is facilitated. In order to achieve the purpose, the invention is realized by the following technical scheme: a normally open circuit for a low power SOC chip includes: the device comprises an RTC real-time clock device, a battery voltage detection controller device and a wake-up source input monitoring device. According to the technical scheme, the normally open circuit in the single chip allows the multiple peripheral awakening sources to trigger the chip to recover to the normal working state from the standby state. The status of all trigger sources is recorded so that the wake-up of the chip can be queried as to what event triggered the wake-up.)

1. The utility model provides a normally open circuit for low-power consumption SOC chip, its output is connected in power management device which characterized in that: the method comprises the following steps of connecting to a wake-up source merging device:

RTC real-time clock device: the functions of timing and a timer are realized;

battery voltage detection controller means: setting a threshold value of alarm voltage in a battery voltage detection device, the periodic frequency of voltage detection and a shielding alarm time period;

and waking up the source input monitoring device: connecting and monitoring the states of a plurality of wake-up sources;

the awakening source merging device awakens the whole chip according to different trigger events, merges a plurality of trigger sources into an awakening signal and reserves the states of all the trigger sources.

2. The normally-on circuit for a low power SOC chip of claim 1, wherein: the PWM breathing lamp output device is used for reminding or marking the state of the circuit.

3. The normally-on circuit for the low power consumption SOC chip of claim 1 or 2, wherein: and the awakening source input monitoring device is connected with a pin function selection device.

4. The normally-on circuit for a low power SOC chip of claim 3, wherein: the pin function selection device multiplexes a pin input by an unused awakening source or output by the PWM breathing lamp into a common GPIO function in the normally open circuit, and when the normally open circuit runs, the device connects a common GPIO access with a corresponding pin in the normally open circuit to prepare for switching.

5. The normally-on circuit for a low power SOC chip of claim 1, wherein: each wake-up source input signal can use the change of high and low levels to indicate whether to wake up, and when the wake-up source input monitoring device detects that the edge of the input signal has a sudden change, the wake-up source input monitoring device informs the normally-open circuit that a wake-up source wake-up event occurs.

6. The normally-on circuit for a low power SOC chip of claim 1, wherein: the battery voltage detection controller device acquires clock information from the RTC real-time clock device and controls the periodic frequency of the battery voltage detection device for implementing voltage detection and the time period of shielding alarm.

7. The normally-on circuit for a low power SOC chip of claim 6, wherein: the battery voltage detection device adopts an analog circuit implementation mode of a multistage voltage comparator to divide the battery electric quantity into a plurality of areas and a battery voltage detection controller device sets the range of the corresponding alarm threshold value.

8. The normally-on circuit for the low power consumption SOC chip of claim 6 or 7, wherein: the complete detection process of the battery voltage detection controller device comprises the following steps:

step 1: turning on the battery voltage detection device, and marking the battery voltage detection device as an idle state;

step 2: recording the current time transmitted by the RTC, and waiting for detecting the trigger time;

and step 3: a detection cycle timing stage, which is used for judging whether a night time interval exists or not after the triggering time is detected;

and 4, step 4: step 3, when the time is judged to be the night time, timing is carried out, and step 5 is carried out after the shielding time is finished; otherwise, directly entering the step 5;

and 5: starting a battery voltage detection device for detection, and judging whether a detection result is lower than a wake-up voltage threshold value;

when the detection result is higher than the awakening voltage threshold, the detection is finished, and the battery voltage detection device is emptied to wait for the next detection;

and when the detection result is lower than the awakening voltage threshold, the current detection is finished, and the battery voltage detection controller device sends an awakening signal.

9. The normally-on circuit for a low power SOC chip of claim 1, wherein: meanwhile, the power management device is integrated, and after receiving the wake-up signal, the power management chip automatically performs a power-on process to wake up the whole SOC chip.

10. The normally-on circuit for a low power SOC chip of claim 1, wherein: the power management device is an external independent power management chip, and the power management chip performs a power-on process after receiving the wake-up signal to wake up the whole SOC chip.

Technical Field

The invention relates to an electronic circuit, in particular to a normally open circuit for a low-power-consumption SOC chip.

Background

The manufacture of electronic product chips typically employs SOC technology (System on Chip) that enables all processing components to be integrated onto a single Chip. Normally open circuits in a general SOC chip only include a Real-Time Clock (RTC) function in order to realize low-power standby sleep. But for SOC chips in standby sleep state, a hardware mechanism is needed to wake up. In the prior art, in order to meet the requirements of trigger source monitoring and awakening, PWM (Pulse Width Modulation) breathing lamp output and the like, a system solution integrator needs to separately plug a low standby power consumption MCU (microprocessor Unit) chip. The chip is used for electrifying the SOC chip by controlling the power management chip after detecting the awakening condition, so that the awakening purpose is realized. If other functions need to be added, an additional chip needs to be correspondingly added, so that not only is the circuit redesigned, but also the overall power consumption is remarkably increased.

Disclosure of Invention

Aiming at the defects of the prior art, the invention relates to a normally open circuit for a low-power SOC chip, which realizes multiple functions of RTC, voltage monitoring, low-voltage awakening, awakening source monitoring and PWM output through a single chip. And on the premise of integrating multiple functions, the low power consumption is required to be ensured, and the long-time standby is facilitated.

In order to achieve the purpose, the invention is realized by the following technical scheme:

a normally open circuit for low-power SOC chip, the output terminal of which is connected to the power management device, includes the following components connected to the wake-up source merging device:

RTC real-time clock device: the functions of timing and a timer are realized;

battery voltage detection controller means: setting a threshold value of alarm voltage in a battery voltage detection device, the periodic frequency of voltage detection and a shielding alarm time period;

and waking up the source input monitoring device: connecting and monitoring the states of a plurality of wake-up sources;

the awakening source merging device awakens the whole chip according to different trigger events, merges a plurality of trigger sources into an awakening signal and reserves the states of all the trigger sources.

Preferably, the circuit further comprises a PWM breathing lamp output device for reminding or identifying the state of the circuit.

Preferably, the wake-up source input monitoring device is connected with a pin function selection device.

Preferably, the pin function selection device multiplexes a pin of an unused wake-up source input or a PWM breathing lamp output into a common GPIO function in the normally open circuit, and when the normally open circuit operates, the device connects the common GPIO path to a corresponding pin in the normally open circuit to prepare for switching.

Preferably, each wake-up source input signal can indicate whether to wake up by using a change of a high level and a low level, and the wake-up source input monitoring device informs the normally-open circuit that a wake-up source wake-up event occurs when monitoring that an edge of the input signal has a sudden change.

Preferably, the battery voltage detection controller device acquires clock information from the RTC real-time clock device and controls the periodic frequency of the battery voltage detection device for performing voltage detection and the time period of the shielding alarm.

Preferably, the battery voltage detection device divides the battery power into a plurality of areas by adopting an analog circuit implementation mode of a multistage voltage comparator, and the battery voltage detection controller device sets a range corresponding to the alarm threshold value.

Preferably, the complete detection process set by the battery voltage detection controller device comprises the following steps:

step 1: turning on the battery voltage detection device, and marking the battery voltage detection device as an idle state;

step 2: recording the current time transmitted by the RTC, and waiting for detecting the trigger time;

and step 3: a detection cycle timing stage, which is used for judging whether a night time interval exists or not after the triggering time is detected;

and 4, step 4: step 3, when the time is judged to be the night time, timing is carried out, and step 5 is carried out after the shielding time is finished; otherwise, directly entering the step 5;

and 5: starting a battery voltage detection device for detection, and judging whether a detection result is lower than a wake-up voltage threshold value;

when the detection result is higher than the awakening voltage threshold, the detection is finished, and the battery voltage detection device is emptied to wait for the next detection;

and when the detection result is lower than the awakening voltage threshold, the current detection is finished, and the battery voltage detection controller device sends an awakening signal.

Preferably, the power management device is integrated at the same time, and the power management chip automatically performs a power-on process after receiving the wake-up signal to wake up the whole SOC chip.

Preferably, the power management device is an external single power management chip, and the power management chip performs a power-on process after receiving the wake-up signal to wake up the whole SOC chip.

According to the technical scheme, the normally open circuit in the single chip allows a plurality of peripheral awakening sources to trigger the chip to recover to a normal working state from a standby state; meanwhile, the device can also be matched with PWM (Pulse Width Modulation) output and used for indicating the breathing lamp; the utilization rate of chip pins is improved through pin multiplexing; meanwhile, the functions of voltage monitoring, low-voltage alarming and the like can be considered. The status of all trigger sources is recorded so that the wake-up of the chip can be queried as to what event triggered the wake-up.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a block diagram of the overall architecture of the present invention;

FIG. 2 is a block diagram of the operation of the battery voltage detection apparatus of the present invention;

fig. 3 is a block diagram of a pin function selection workflow of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1: the invention relates to a normally open circuit for a low-power SOC chip, the output end of which is connected with a power supply management device, comprising: RTC real-time clock device: the functions of timing and a timer are realized; this is a necessary device in a normally open circuit. Battery voltage detection controller means: directly connecting and controlling a battery voltage detection device, setting a threshold value of alarm voltage in the battery voltage detection device, the periodic frequency of voltage detection, and shielding an alarm time period; the time information required by the battery voltage detection controller device comes from an RTC real-time clock device, when the time of periodic monitoring arrives, the battery voltage detection controller device can turn on the battery voltage detection device, and the specific detection process is as shown in FIG. 2: the method comprises the following steps:

step 1: turning on the battery voltage detection device, and marking the battery voltage detection device as an idle state;

step 2: recording the current time transmitted by the RTC, and waiting for detecting the trigger time;

and step 3: a detection cycle timing stage, which is used for judging whether a night time interval exists or not after the triggering time is detected;

and 4, step 4: step 3, when the time is judged to be the night time, timing is carried out, and step 5 is carried out after the shielding time is finished; otherwise, directly entering the step 5;

and 5: starting a battery voltage detection device for detection, and judging whether a detection result is lower than a wake-up voltage threshold value;

when the detection result is higher than the awakening voltage threshold, the detection is finished, and the battery voltage detection device is emptied to wait for the next detection; and when the detection result is lower than the awakening voltage threshold, the current detection is finished, and the battery voltage detection controller device sends an awakening signal.

The battery voltage detection device does not adopt a common SAR ADC (successive approximation register type analog-digital converter) circuit scheme, but adopts an analog circuit implementation mode of a multi-stage voltage comparator to divide the battery power into a plurality of areas, such as 12 levels, wherein the low-power area has high grading density, and the high-power area has low grading density. The low-voltage alarm function in practical application does not need a very accurate voltage value, and importantly, the range of the alarm threshold value is taken as an example, the alarm threshold value can be notified to a user within the values of 1%, 5%, 10%, 20% and the like of the residual electric quantity, and compared with a voltage monitoring scheme of the SAR ADC, the low-voltage alarm circuit has the advantages that a simpler scheme of a multi-stage voltage comparator is adopted in a normally open circuit, the power consumption is low, the area is small, the interaction control logic is simple, and the advantages are large.

And waking up the source input monitoring device: connecting and monitoring the states of a plurality of wake-up sources; the awakening source merging device awakens the whole chip according to different trigger events, merges a plurality of trigger sources into an awakening signal and reserves the states of all the trigger sources.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:控制方法、装置、芯片与设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!