Clock circuit, power supply control method based on clock circuit and air conditioner
A technology of clock circuit and clock integrated circuit, which is applied in the field of clock circuit and air conditioner, and can solve the problems of complex circuit and high cost of the system
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2015-12-30
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of circuits, in particular to a clock circuit, a power supply control method based on the clock circuit, and an air conditioner. Background technique
[0002] At present, in general circuit design, a real-time clock module is usually used to realize the timing function. figure 1 It is a schematic circuit structure diagram of a real-time clock circuit according to the prior art. Such as figure 1 As shown, the real-time clock module is connected to the circuit through pins, and is connected with a backup power supply. It can be seen from the figure that the real-time clock module occupies a large space in the hardware circuit design, which affects the demand for small circuit design, and the cost of the real-time clock module is high. , affecting the cost of the overall electronic device. Because many kinds of micro-control processors have real-time clock integrated circuits, the real-time clock integrated circuits i...
Examples
Embodiment 1
[0018] According to an embodiment of the present invention, a clock circuit is provided, figure 2 is a structural diagram of an optional clock circuit according to Embodiment 1 of the present invention. Such as figure 2 As shown, the clock circuit includes: a micro control circuit 10 , a power supply 30 and a backup power supply 50 .
[0019] The micro control circuit 10 includes a clock integrated circuit for timing.
[0020] Specifically, the micro control circuit 10 includes a clock integrated circuit for timing.
[0021] The power supply 30 is connected with the micro control circuit and used for supplying power to the micro control circuit.
[0022] Specifically, the power supply 30 can be connected to the micro control circuit and supply power to the micro control circuit.
[0023] The standby power supply 50 is connected between the power supply and the micro control circuit, and is used to supply power to the clock integrated circuit in the micro control circuit ...
Embodiment 2
[0054] According to another embodiment of the present invention, a power supply control method based on a clock circuit is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0055] Figure 4 It is a flow chart of a power supply control method based on a clock circuit according to Embodiment 2 of the present invention, such as Figure 4 As shown, the method includes the following steps:
[0056] Step S102, detecting the power supply state of the power supply.
[0057] Specifically, in the above step S102, by detecting the power supply status of the power supply, it is determined whether the current power supply is a micro-control circuit, and it is determined whether ...
Embodiment 3
[0070] The present invention also provides an air conditioner, which includes any optional or preferred clock circuit provided in Embodiment 1 above.
[0071] It should be noted here that the above-mentioned air conditioner can use the clock circuit in Embodiment 1, and the clock integrated circuit of the micro-control circuit can be used to complete the timing function, so that the timing function of the air conditioner does not need to be completed by a separate real-time clock module, and the air conditioner circuit can be reduced. Cost, the purpose of saving the space used by the air conditioning circuit. While using the clock integrated circuit of the micro-control circuit to complete the timing function, when the power supply circuit is interrupted, the interrupt pin of the micro-control circuit is triggered by the falling edge pulse, so that the micro-control circuit prioritizes the interrupt process and disables the micro-control circuit. The way of connecting with the...