Equipment starting timer

文档序号:1658223 发布日期:2019-12-27 浏览:27次 中文

阅读说明:本技术 一种设备开机计时器 (Equipment starting timer ) 是由 黄国雄 秦艺力 陈凯 毛鑫峰 杨建东 李其福 周启荣 于 2019-09-24 设计创作,主要内容包括:一种设备开机计时器,属于电子技术领域。本发明解决了现有设备需要人工统计开机时间,存在较大误差,且易造成统计数据丢失的问题。本发明检测电路串联在设备的供电回路中,用于检测设备的开关机状态,当检测到设备上电开机后,向微控制器发送开机信号;当检测设备关机时,向微控制器发送关机信号;微控制器记录接收设备开关机信号的时间,开关机状态信号发送至显示电路;同时对设备的单次开机时间进行累计,并将设备的单次开机时间与设备的历史开机时间进行累计;将设备的单次开机时间和累计的开机时间均发送至显示电路。本发明适用于对设备的开机时间进行累计存储。(An equipment starting timer belongs to the technical field of electronics. The invention solves the problems that the existing equipment needs manual statistics of boot time, has larger error and is easy to cause statistical data loss. The detection circuit is connected in series in a power supply loop of the equipment and is used for detecting the on-off state of the equipment, and when the equipment is detected to be powered on and started, a starting signal is sent to the microcontroller; when the detection equipment is shut down, sending a shutdown signal to the microcontroller; the microcontroller records the time of receiving a device startup and shutdown signal, and the startup and shutdown state signal is sent to the display circuit; meanwhile, accumulating the single starting time of the equipment, and accumulating the single starting time of the equipment and the historical starting time of the equipment; and sending the single starting-up time and the accumulated starting-up time of the equipment to a display circuit. The method and the device are suitable for accumulating and storing the starting-up time of the equipment.)

1. The device starting timer is characterized by comprising a detection circuit (1), a display circuit (2), a microcontroller (3) and a power supply conversion circuit (5);

the detection circuit (1) is connected in series in a power supply loop of the equipment and is used for detecting the on-off state of the equipment and sending a starting signal to the microcontroller (3) when the equipment is detected to be powered on and started; when the device is detected to be powered off, a power-off signal is sent to the microcontroller (3);

the microcontroller (3) is used for recording the time of the equipment on-off signal and sending the equipment on-off state signal to the display circuit (2);

meanwhile, accumulating the single starting time of the equipment, and accumulating the single starting time of the equipment and the historical starting time of the equipment; sending the single starting time and the accumulated historical starting time of the equipment to a display circuit (2);

the display circuit (2) is used for displaying the received signal;

the power supply conversion circuit (5) is used for converting the voltage of the power grid and supplying power to the detection circuit (1), the display circuit (2) and the microcontroller (3) by using the converted voltage.

2. The device turn-on timer according to claim 1, wherein the detection circuit (1) comprises a current sensor IC1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a sliding rheostat R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a diode D1, a diode D2, a filter amplifier IC2A, a filter amplifier IC2B, a filter amplifier IC2C and a power supply VCC;

the current sensor IC1 is implemented using a chip model ACS 712;

the No. 1 pin and the No. 2 pin of the current sensor IC1 are connected with a power supply end of the equipment;

the No. 3 pin and the No. 4 pin of the current sensor IC1 are connected with the power inlet end of the equipment power switch;

pin 8 of the current sensor IC1 is connected with a power supply VCC, and pin 6 of the current sensor IC1 is connected with the power supply ground through a capacitor C1;

pin No. 5 of the current sensor IC1 is connected with a power ground;

the No. 7 pin of the current sensor IC1 is connected with the negative signal input end of the filter amplifier IC2A through a resistor R1;

the cathode of the diode D1 is connected with the negative signal input end of the filter amplifier IC2A, and the anode of the diode D1 is connected with the signal output end of the filter amplifier IC 2A;

the resistor R3 is connected between the negative signal input end of the filter amplifier IC2A and the positive electrode of the diode D2;

the cathode of the diode D2 is connected with the signal output end of the filter amplifier IC 2A;

the positive signal input end of the filter amplifier IC2A is connected with the positive signal input end of the filter amplifier IC 2B; the positive signal input end of the filter amplifier IC2A is connected with the power ground after passing through the resistor R2;

the positive signal input end of the filter amplifier IC2B is connected with a power supply VCC after passing through a resistor R6;

one end of the capacitor C2 is connected with the positive signal input end of the filter amplifier IC2A, and the other end of the capacitor C2 is connected with the power ground;

the resistor R5 is connected between the anode of the diode D2 and the negative signal input end of the filter amplifier IC 2B;

the resistor R4 is connected between the pin No. 7 of the current sensor IC1 and the negative signal input end of the filter amplifier IC 2B;

the capacitor C3 is connected in parallel with the resistor R7 and then is connected between the negative signal input end of the filter amplifier IC2B and the signal output end of the filter amplifier IC 2B;

the signal output end of the filter amplifier IC2B is connected with the positive signal input end of the filter amplifier IC2C, and a capacitor C4 is connected between the negative signal input end of the filter amplifier IC2C and the power ground;

the movable end of the slide rheostat R9 is connected with the negative signal input end of the filter amplifier IC2C, the slide rheostat R9 is connected between the resistor R8 and the resistor R10 in series, the resistor R8 is connected with a power supply VCC, and the resistor R10 is connected with the power supply ground;

the signal output terminal of the filter amplifier IC2C is the signal output terminal of the detection circuit (1).

3. The device start-up timer according to claim 1 or 2, wherein the serial communication circuit (4) is configured to receive the device start-up or power-off state signal, the start-up time, the power-off time, the single start-up time of the device, and the accumulated start-up time sent by the microcontroller (3), and transmit the received signal to the outside.

4. The device boot-up timer according to claim 1 or 2, wherein the filter amplifier IC2A, the filter amplifier IC2B and the filter amplifier IC2C are all implemented by a chip with a model LM 324.

5. The device boot timer according to claim 3, wherein the power conversion circuit (5) is implemented by a module of type HLK-PM 01.

6. A device start-up timer according to claim 3, characterized in that the serial communication circuit (4) is implemented by a chip with a model of MAX 3232.

7. A device start-up timer according to claim 1, 2 or 4, characterised in that the microcontroller (3) is implemented using a chip of type ATTINY 2313.

8. The device boot timer according to claim 1, 2 or 4, wherein the display circuit (2) is implemented as a 16 x 2 character liquid crystal display module.

Technical Field

The invention belongs to the technical field of electronics, and particularly relates to a device for counting the starting-up working time of equipment in a timing manner.

Background

After the equipment is handed over to be formally started, equipment historical data is generally established, wherein important data is statistics of equipment starting time, the equipment starting time is one of important bases for equipment maintenance, failure time statistics and updating, and the method has important reference significance for research on reliability and stability of the equipment.

The method mainly depends on manual statistics of operators and stores the statistical data in a paper or electronic format, which has larger error, and in the whole service life management process of the equipment, the statistical data of the paper or electronic format is easily lost or damaged in the equipment handover process, resulting in loss of the equipment startup record.

Disclosure of Invention

The invention aims to solve the problems that the conventional equipment needs manual statistics of boot time, has larger error and is easy to cause statistical data loss. An apparatus boot timer is presented.

The equipment starting timer comprises a detection circuit 1, a display circuit 2, a microcontroller 3 and a power supply conversion circuit 5;

the detection circuit 1 is connected in series in a power supply loop of the equipment and is used for detecting the on-off state of the equipment and sending a starting signal to the microcontroller 3 when the equipment is detected to be powered on and started; when the device is detected to be powered off, a power-off signal is sent to the microcontroller 3;

the microcontroller 3 is used for recording the time of the on-off signal of the equipment and sending the on-off state signal of the equipment to the display circuit 2;

meanwhile, accumulating the single starting time of the equipment, and accumulating the single starting time of the equipment and the historical starting time of the equipment; sending the single starting time and the accumulated historical starting time of the equipment to a display circuit 2;

the display circuit 2 is used for displaying the received signal;

the power conversion circuit 5 is used for converting the voltage of the power grid and supplying power to the detection circuit 1, the display circuit 2 and the microcontroller 3 by using the converted voltage.

The equipment starting-up timer can automatically detect and display the starting-up and closing-down states of equipment, can count and display single starting-up time and accumulated starting-up time of the equipment, can store the accumulated starting-up time of the equipment, has a remote serial port data transmission function, accurately records the starting-up time and the closing-down time of the equipment, effectively accumulates the starting-up time of the equipment, ensures the accurate recording of the starting-up time of the equipment, simultaneously sends out acquired data in real time by adopting a serial port communication circuit, and avoids data loss caused by equipment transfer.

The invention can count the single startup time and the accumulated startup time of the equipment, can display the startup and shutdown states, the single startup time and the accumulated startup time of the equipment, and is a device capable of storing the accumulated startup time of the equipment. The timer comprises a microcontroller, a display circuit, a startup and shutdown state detection circuit and a serial port communication circuit, wherein the display circuit, the startup and shutdown state detection circuit and the serial port communication circuit are connected to the microcontroller, and the startup and shutdown state detection circuit comprises a Hall current sensor chip and an absolute value conversion, amplification filtering and comparison circuit. The method and the device realize accurate statistics of the starting time of the device, accumulate and store the starting time of the device, and avoid data loss.

Drawings

FIG. 1 is a functional block diagram of a boot timer for the device of the present invention;

fig. 2 is a specific circuit diagram of the detection circuit.

Detailed Description

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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.

The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种利用NTP辅助作源提高守时精度的方法及装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!