RTC-based periodic wake-up system for single chip microcomputer

文档序号:405423 发布日期:2021-12-17 浏览:7次 中文

阅读说明:本技术 一种基于rtc的单片机周期性唤醒系统 (RTC-based periodic wake-up system for single chip microcomputer ) 是由 李少佳 张国磊 于 2020-06-11 设计创作,主要内容包括:本发明希望通过对整个单片机的进行周期性唤醒,以此实现精准的时间控制和低功耗运行;包括锂电池,RTC,电源管理芯片,单片机;所述锂电池分别与所述RTC,电源管理芯片,单片机电性连接;所述RTC与所述电源管理芯片电性连接;所述电源管理芯片与所述单片机电性连接;本发明的有益效果为:实现终端设备的低功耗,精准控制设备的上电与下电,满足法规规定的OBD信息定时发送。(The invention hopes to realize accurate time control and low power consumption operation by periodically waking up the whole singlechip; the system comprises a lithium battery, an RTC, a power management chip and a single chip microcomputer; the lithium battery is electrically connected with the RTC, the power management chip and the single chip microcomputer respectively; the RTC is electrically connected with the power management chip; the power management chip is electrically connected with the single chip microcomputer; the invention has the beneficial effects that: the low power consumption of the terminal equipment is realized, the power-on and power-off of the equipment are accurately controlled, and the OBD information meeting the regulation is sent at regular time.)

1. A periodic awakening system of a single chip microcomputer based on RTC comprises a lithium battery (1), the RTC (2), a power management chip (3) and the single chip microcomputer (4);

it is characterized in that the preparation method is characterized in that,

the lithium battery (1) is electrically connected with the RTC (2), the power management chip (3) and the singlechip (4) respectively; the RTC (2) is electrically connected with the power management chip (3); the power management chip (3) is electrically connected with the single chip microcomputer (4).

Technical Field

The invention belongs to the field of embedded control systems, and particularly relates to a periodic awakening system of a single chip microcomputer based on an RTC (real time clock).

Background

For the OBD remote monitoring terminal, the current relevant regulations stipulate that OBD information sends data to an enterprise platform and a supervision center at least once in 24 hours, and the data flow is at least 10 seconds. In many cases, the terminal equipment is in a power-off state, so in order to meet the requirements of regulations, a rechargeable lithium battery must be matched, but the battery capacity is limited, and the whole equipment is in a power-on state for a long time, so that a large amount of energy is consumed, and further low power consumption is required.

The existing OBD terminal equipment has large power consumption and fails to effectively control the on-off of the power supply of the equipment.

Disclosure of Invention

The invention hopes to realize accurate time control and low power consumption operation by periodically waking up the whole singlechip.

The invention provides a periodic awakening system of a single chip microcomputer based on RTC (real time clock), which comprises a lithium battery 1, the RTC2, a power management chip 3 and the single chip microcomputer 4;

the lithium battery 1 is electrically connected with the RTC2, the power management chip 3 and the singlechip 4 respectively; the RTC2 is electrically connected to the power management chip 3; the power management chip 3 is electrically connected with the singlechip 4.

The invention has the beneficial effects that: the low power consumption of the terminal equipment is realized, the power-on and power-off of the equipment are accurately controlled, and the OBD information meeting the regulation is sent at regular time.

Drawings

FIG. 1 is a schematic structural view of the present invention;

1. a lithium battery; 2. RTC; 3. a power management chip; 4. and a single chip microcomputer.

Detailed Description

The present invention will now be described in detail with reference to the drawings, which are given by way of illustration and explanation only and should not be construed to limit the scope of the present invention in any way.

The invention provides a periodic awakening system of a single chip microcomputer based on RTC (real time clock), which comprises a lithium battery 1, the RTC2, a power management chip 3 and the single chip microcomputer 4;

the lithium battery 1 is electrically connected with the RTC2, the power management chip 3 and the singlechip 4 respectively; the RTC2 is electrically connected to the power management chip 3; the power management chip 3 is electrically connected with the singlechip 4.

For the scheme, the lithium battery plays a role of a standby battery, and can be charged when an external power supply supplies power; under the condition that external power supply is interrupted, the lithium battery supplies power for the RTC clock chip, the power management chip and the single chip microcomputer, the low-power consumption RTC supplies power continuously, and the power management chip and the single chip microcomputer are periodically powered on.

Under the condition of external power supply of the single chip microcomputer, alarm interruption of RTC2 is set through I2C communication, and the scheme sets that interruption is generated once in 24 hours and is repeated once every 24 hours; when the RTC2 generates alarm interruption, the power management chip 3 is powered on to output an enabling signal, the single chip microcomputer 4 is also powered on, the whole interruption output lasts for about 20ms, one pin of the single chip microcomputer 4 is pulled high during the interruption output period to generate a strengthening signal to form self-locking, the single chip microcomputer is powered on continuously, after the OBD information transmission of 10 seconds is completed, the strengthening signal is pulled low, the self-locking is released, and then the next wake-up waiting is carried out, so that only the RTC2 with low power consumption is in a running state in the whole waiting; through the design, the periodic awakening and the accurate control of the power-on time of the singlechip 4 are realized, so that the aim of low power consumption is fulfilled.

It should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

The above-described embodiments of the present invention do not limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:自动调节显示缩放比例的平板电脑

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!