Clock circuit, electronic equipment and energy management system

By incorporating a power supply circuit and a voltage conversion circuit into the clock circuit, increasing the voltage value of the energy storage circuit, and utilizing controllable switching devices and filtering circuits to ensure accurate transmission of communication signals, the problem of short backup power time for supercapacitors is solved, enabling reliable timing and communication of the clock circuit after power failure.

CN121996024APending Publication Date: 2026-05-08EMERSON NETWORK POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411574022.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing clock circuits, supercapacitors have a short backup power time, which causes the clock circuit to lose timing information after power failure. In addition, disposable batteries are inconvenient to replace, while rechargeable batteries are expensive and complicated to manage.

Method used

By setting up a power supply circuit and a voltage conversion circuit in the clock circuit, a first power supply voltage signal is provided to exceed the operating voltage of the communication bus, increasing the voltage value of the energy storage circuit, and the energy storage circuit maintains the timing when power is lost. At the same time, controllable switching devices and filtering circuits are set up to ensure accurate transmission of communication signals and voltage stability.

Benefits of technology

The backup power time of the clock circuit has been improved to ensure that it can still keep time normally after a power failure and can communicate reliably with the controller to prevent abnormal electrical signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121996024A_ABST
    Figure CN121996024A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a clock circuit, electronic equipment and an energy management system, in the clock circuit, a first power supply voltage signal provided by a power supply circuit can charge an energy storage circuit, and the voltage value exceeds the working voltage applied by a communication bus, so that the power supply duration of the energy storage circuit to a clock generation circuit is increased after the clock circuit is powered down, and the power supply efficiency is improved. The standby power duration of the clock circuit is increased, and the voltage conversion circuit is arranged to adjust the power supply voltage of the clock generation circuit or the voltage value of the output clock signal, so that the signal level of communication between controllers electrically connected with the clock circuit can be correctly identified when the clock circuit works normally, and reliable communication is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this application relate to the field of power electronics technology, and more particularly to a clock circuit, electronic device, and energy management system. Background Technology

[0002] A clock circuit is a circuit that generates and provides a precise and stable clock signal. It is an important circuit structure that ensures the energy management system operates and communicates accurately according to a predetermined sequence and time.

[0003] To ensure the clock circuit can maintain its timing function even after the main power supply fails, a backup power period needs to be set. This can be achieved by setting a battery in the clock circuit to maintain the backup power period. However, replacing disposable batteries is not conducive to maintenance, and rechargeable batteries are expensive and have complex charging and discharging management. Therefore, a supercapacitor is usually set in the clock circuit to store the energy needed to maintain the backup power period. After the clock circuit loses power, the supercapacitor maintains the timing operation of the clock circuit.

[0004] Improving the backup power time of clock circuits containing supercapacitors has become a key research focus. Summary of the Invention

[0005] This application provides a clock circuit, electronic device, and energy management system to solve the above-mentioned technical problems.

[0006] In a first aspect, embodiments of this application provide a clock circuit, including:

[0007] A power supply circuit is used to output a first power supply voltage signal when the clock circuit is powered on;

[0008] An energy storage circuit, wherein the power supply terminal of the energy storage circuit is electrically connected to the output terminal of the power supply circuit, and is used for charging based on the first power supply voltage signal;

[0009] A voltage conversion circuit, wherein the first terminal of the voltage conversion circuit is coupled to the power supply circuit, and is used to control the voltage value of its first terminal to be within the working clamping voltage range when the clock circuit is powered on;

[0010] A clock generation circuit, wherein the power supply terminal of the clock generation circuit is electrically connected or coupled to the first terminal of the voltage conversion circuit, and the communication terminal of the clock generation circuit is electrically connected to the controller via a communication bus for timing after power-on at its power supply terminal;

[0011] When the power-on voltage at the power supply terminal is within the operating clamping voltage range, the high level of the communication signal transmitted between the clock generation circuit and the controller is within the operating voltage range of the communication bus application, and the voltage value of the first power supply voltage signal is greater than the operating voltage.

[0012] The power supply terminal of the energy storage circuit is coupled to the first terminal of the voltage conversion circuit, and is used to supply power to the clock generation circuit when the external power supply of the clock circuit is de-energized.

[0013] In the above technical solution, when the clock circuit is powered on, the voltage conversion circuit controls the voltage value of its first terminal to be within the working clamping voltage range. The clock generation circuit operates based on the voltage value of the first terminal of the voltage conversion circuit, which can ensure that it can communicate normally with the controller. The communication signal generated by the clock circuit can be accurately transmitted on the communication bus. When the clock circuit is powered on, the power supply circuit outputs the first power supply voltage signal, which can charge the energy storage circuit. The voltage value of the first power supply voltage signal is greater than the voltage value of the working voltage signal, which increases the maximum voltage value of the energy storage circuit and increases the energy storage capacity. After the clock circuit is powered off, the energy storage circuit releases the stored energy, which can maintain the timing of the clock circuit and increase the backup power duration of the clock circuit.

[0014] Optionally, the power supply circuit includes a first diode and a second current-limiting resistor;

[0015] The anode of the first diode is electrically connected to the output terminal of the second power supply circuit, and the cathode of the first diode is electrically connected to the power supply terminal of the energy storage circuit through the second current-limiting resistor.

[0016] Alternatively, the anode of the first diode is electrically connected to the output terminal of the second power supply circuit through the second current-limiting resistor, and the cathode of the first diode is electrically connected to the power supply terminal of the energy storage circuit.

[0017] The second power supply circuit is used to output the second power supply voltage signal;

[0018] The first diode is used to conduct when the second power supply circuit is powered on, to obtain the second power supply voltage signal, and to output the first power supply voltage signal.

[0019] The first diode is also used to reverse cut off when the second power supply circuit is powered off.

[0020] In the above technical solution, a first diode is provided in the power supply circuit to limit the direction of electrical signal transmission between the second power supply circuit and the energy storage circuit, and to prevent the discharge current from flowing back into the second power supply circuit when the energy storage circuit discharges after the second power supply circuit loses power.

[0021] Optionally, the voltage conversion circuit includes a controllable switching device;

[0022] The first terminal of the controllable switching device is electrically connected to the power supply terminal of the first power supply circuit, and the second terminal of the controllable switching device serves as the first terminal of the voltage conversion circuit.

[0023] When the controllable switching device receives the first power supply voltage signal at its second terminal, it controls the voltage value at its second terminal to be less than or equal to the maximum value of the working clamping voltage range based on the voltage value of the third power supply voltage signal provided by the first power supply circuit.

[0024] In the above technical solution, a controllable switching device is set in the voltage conversion circuit. This device is turned on when the power supply circuit outputs the first power supply voltage signal, that is, when the first power supply circuit and the second power supply circuit are powered on and output electrical signals. This prevents the discharge current from flowing back into the first power supply circuit when the energy storage circuit discharges after the first power supply circuit is powered off. It also clamps the voltage value of its second terminal based on the voltage value of the third power supply voltage signal provided by the first power supply circuit, ensuring that the voltage value of its second terminal is less than or equal to the maximum value of the working clamping voltage range. This ensures that the voltage value of the communication signal transmitted between the clock generation circuit and the controller is within the working voltage range of the communication bus application, preventing the controller from reading or setting the clock signal abnormally.

[0025] Optionally, the controllable switching device is further configured to output a working voltage signal when it receives the third power supply voltage signal at its first terminal and does not receive the first power supply voltage signal at its second terminal, wherein the voltage value of the working voltage signal is the minimum value of the working clamping voltage range.

[0026] In the above technical solution, when the voltage value of the energy storage circuit is low during the charging process of the power supply circuit and the first power supply voltage signal cannot be transmitted to the clock generation circuit, the voltage value output by the controllable switching device is the minimum value of the working clamping voltage range, which ensures the normal operation of the clock generation circuit in the early stage of power-on of the clock circuit.

[0027] Optionally, the clock circuit includes a first resistor;

[0028] The second terminal of the controllable switching device is electrically connected to the second terminal of the first resistor, and the first terminal of the first resistor is electrically connected to the power supply terminal of the energy storage circuit.

[0029] The first resistor is used to prevent the first supply voltage signal obtained from the first terminal from being output from the second terminal when the voltage value at its first terminal is less than the voltage value at its second terminal.

[0030] The operating voltage signal is transmitted to the energy storage circuit to charge the energy storage circuit.

[0031] In the above technical solution, by connecting a first resistor in series between the second terminal of the controllable switching device and the power supply terminal of the energy storage circuit, the voltage value of the power supply terminal of the energy storage circuit will not be affected by the voltage value of the working voltage signal output by the voltage conversion circuit, ensuring that the voltage value that the energy storage circuit can store exceeds the working voltage signal, thereby increasing the backup power duration that the energy storage circuit can provide.

[0032] Optionally, the controllable switching device includes a relay, an opto-MOS, or an optocoupler.

[0033] The controllable switch device is further provided with a third terminal and a fourth terminal. The third terminal of the controllable switch device is electrically connected to the second power supply circuit, and the fourth terminal of the controllable switch device is grounded. When the controllable switch device obtains a second power supply voltage signal from its third terminal, its third terminal and its fourth terminal are connected to control its first terminal and its second terminal to be connected.

[0034] Optionally, when the controllable switching device includes an optocoupler, the first and second terminals of the controllable switching device have unidirectional conductivity.

[0035] The voltage conversion circuit also includes a second diode;

[0036] The anode of the second diode is electrically connected to the first terminal of the controllable switching device, and the cathode of the second diode is electrically connected to the second terminal of the controllable switching device. The second diode is used to limit the voltage value at the first terminal of the controllable switching device to be greater than the voltage value at the second terminal of the controllable switching device.

[0037] In the above technical solution, when the controllable switching device in the voltage conversion circuit includes an optocoupler, the controllable switching device has unidirectional conductivity. Connecting a second diode in parallel with the optocoupler can limit the voltage relationship between the terminals of the controllable switching device, preventing the energy storage circuit from backfeeding the optocoupler when the second power supply circuit connected to the controllable switching device loses power, thus preventing damage to the optocoupler.

[0038] Optionally, the clock circuit further includes a filter circuit;

[0039] The first terminal of the filter circuit is electrically connected to the power supply terminal of the energy storage circuit and the first terminal of the voltage conversion circuit, and the second terminal of the filter circuit is electrically connected to the power supply terminal of the clock generation circuit, for filtering out noise from the power supply signal of the clock generation circuit.

[0040] In the above technical solution, a filter circuit is electrically connected between the power supply terminal of the clock generation circuit and the power supply side including the energy storage circuit and the voltage conversion circuit to filter out the noise generated by the power supply switching when the clock circuit loses power, so as to prevent the noise from affecting the stable operation of the clock generation circuit.

[0041] Secondly, embodiments of this application provide a clock circuit, including:

[0042] A power supply circuit is used to output a first power supply voltage signal when the clock circuit is powered on;

[0043] An energy storage circuit, wherein the power supply terminal of the energy storage circuit is electrically connected to the output terminal of the power supply circuit, is used to charge based on the first power supply voltage signal when the first power supply voltage signal is obtained;

[0044] Discharge when the first power supply voltage signal is not received;

[0045] A clock generation circuit, wherein the power supply terminal of the clock generation circuit and the output terminal of the power supply circuit are electrically connected, and the clock is used to keep time after the power supply terminal is powered on;

[0046] A voltage conversion circuit is provided, wherein the input terminal of the voltage conversion circuit is electrically connected to the output terminal of the clock generation circuit, and the output terminal of the voltage conversion circuit is electrically connected to the controller via a communication bus. The voltage conversion circuit is used to perform level conversion on the first communication signal output by the clock generation circuit and output a second communication signal to the controller.

[0047] Wherein, the high level of the second communication signal is within the operating voltage range of the communication bus application, and the operating voltage of the communication bus application is less than the voltage value of the first power supply voltage signal.

[0048] In the above technical solution, when the power supply circuit simultaneously supplies power to the clock generation circuit and charges the energy storage circuit, it provides a first power supply voltage signal. Since the voltage value of the first power supply voltage signal is greater than the operating voltage of the communication bus, a voltage conversion circuit is also electrically connected between the clock generation circuit and the communication bus to perform level conversion on the first communication signal output by the clock generation circuit, so that the high level in the second communication signal transmitted to the communication bus is within the operating voltage range of the communication bus, thereby ensuring that the clock generation circuit and the controller can communicate normally. The voltage value of the first power supply voltage signal is relatively large, and the voltage value stored in the storage circuit is also large, which can maintain the backup power for a longer time after the clock circuit loses power.

[0049] Thirdly, embodiments of this application provide an electronic device including a clock circuit as described in any of the claims of the first aspect, or a clock circuit as described in any of the claims of the second aspect.

[0050] Fourthly, embodiments of this application provide an energy management system, including the electronic equipment involved in the third aspect.

[0051] The clock circuit, electronic device, and energy management system provided in this application embodiment include a clock circuit in which a first power supply voltage signal provided by a power supply circuit can charge an energy storage circuit. This voltage value exceeds the operating voltage of the communication bus, so as to increase the power supply duration of the energy storage circuit to the clock generation circuit after the clock circuit is powered off, thereby increasing the backup power duration of the clock circuit. A voltage conversion circuit is also provided to adjust the power supply voltage of the clock generation circuit or the voltage value of the output clock signal, so as to ensure that when the clock circuit is working normally, it can correctly identify the signal level of communication between the controller electrically connected to it, thereby ensuring reliable communication. Attached Figure Description

[0052] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0053] Figure 1 This is a schematic diagram of the structure of a clock circuit using a supercapacitor according to an exemplary embodiment of this application;

[0054] Figure 2 This is a schematic diagram of the circuit structure of a clock circuit provided according to an exemplary embodiment of this application;

[0055] Figure 3 This is a schematic diagram of the circuit structure of a clock circuit provided in another exemplary embodiment of this application;

[0056] Figure 4 This is a schematic diagram of the circuit structure of a clock circuit provided in another exemplary embodiment of this application;

[0057] Figure 5 This is a schematic diagram of the structure of a clock circuit provided in this application according to another exemplary embodiment.

[0058] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0059] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0060] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, components, features, and elements with the same names in different embodiments of this application may have the same meaning or different meanings, the specific meaning of which must be determined by its interpretation in that specific embodiment or further in conjunction with the context of that specific embodiment.

[0061] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0062] A clock circuit is a circuit that generates and provides a precise and stable clock signal. It is an important circuit structure that ensures the energy management system operates and communicates accurately according to a predetermined sequence and time.

[0063] To ensure the clock circuit can maintain its timing function even after the main power supply fails, a backup power period needs to be set. This can be achieved by setting a battery in the clock circuit to maintain the backup power period. However, replacing disposable batteries is not conducive to maintenance, and rechargeable batteries are expensive and have complex charging and discharging management. Therefore, a supercapacitor is usually set in the clock circuit to store the energy needed to maintain the backup power period. After the clock circuit loses power, the supercapacitor maintains the timing operation of the clock circuit.

[0064] Figure 1 This is a schematic diagram of the structure of a clock circuit using a supercapacitor according to an exemplary embodiment of this application, as shown below. Figure 1 As shown, the clock circuit 00 includes a first diode D1, a second current-limiting resistor R2, a clock generation circuit 11, and a first capacitor C1.

[0065] The anode of the first diode D1 is electrically connected to the power supply circuit. The cathode of the first diode D1 is electrically connected to the first end of the second current-limiting resistor R2. The second end of the second current-limiting resistor R2 is electrically connected to the first end of the first capacitor C1 and the power supply terminal of the clock generation circuit 11. The communication terminal of the clock generation circuit 11 is electrically connected to the controller 12 through the communication bus 13.

[0066] When the power supply circuit outputs a power supply signal, it charges the first capacitor C1 on one hand and supplies power to the clock generation circuit 11 on the other, enabling the clock generation circuit 11 to keep time and output a clock signal when a time query command is received. Accurate transmission of the clock signal between the output and control terminals of the clock generation circuit 11 requires the clock signal voltage to be the operating voltage of the communication bus 13 (e.g., 3.3V). Since the voltage value of the high-level signal in the clock signal is consistent with the power supply voltage of the clock generation circuit 11, the voltage value of the power supply signal output by the power supply circuit is the sum of the operating voltage and the forward voltage drop of the first diode D1.

[0067] When the clock circuit 00 loses power, the power supply circuit stops outputting the power supply signal, the first capacitor C1 discharges, and supplies power to the clock generation circuit 11 so that the clock generation circuit 11 can keep timing. If the power supply circuit does not restore power in time, the energy in the first capacitor C1 will be exhausted, the clock generation circuit 11 will lose power, and the clock information will be lost.

[0068] Improving the backup power time of clock circuits containing supercapacitors has become a key research focus.

[0069] To address the aforementioned technical problems, this application provides a clock circuit, an electronic device, and an energy management system. The technical concept of this application is as follows: In the clock circuit, a first power supply voltage signal provided by the power supply circuit can charge the energy storage circuit. This voltage value exceeds the operating voltage used in the communication bus, thereby increasing the power supply duration of the energy storage circuit to the clock generation circuit after the clock circuit loses power, and increasing the backup power duration of the clock circuit. A voltage conversion circuit is also provided to adjust the power supply voltage of the clock generation circuit or the voltage value of the output clock signal, ensuring that when the clock circuit is working normally, it can correctly identify the signal level of communication between itself and the controller electrically connected to it, ensuring reliable communication.

[0070] Figure 2 This is a schematic diagram of the circuit structure of a clock circuit 00 provided according to an exemplary embodiment of this application, as shown below. Figure 2 The circuit structure shown includes a clock circuit 00 comprising: a power supply circuit 01, a voltage conversion circuit 03, a clock generation circuit 11, and an energy storage circuit 02.

[0071] The power supply circuit 01 is used to output the first power supply voltage signal when the clock circuit 00 is powered on;

[0072] Energy storage circuit 02, the power supply terminal of energy storage circuit 02 is electrically connected to the output terminal of power supply circuit 01, and is used for charging based on the first power supply voltage signal;

[0073] Voltage conversion circuit 03, the first terminal of voltage conversion circuit 03 is coupled to power supply circuit 01, and is used to control the voltage value of its first terminal to be within the working clamping voltage range when clock circuit 00 is powered on;

[0074] The clock generation circuit 11 is electrically connected or coupled to the first terminal of the voltage conversion circuit 03. The communication terminal of the clock generation circuit 11 is electrically connected to the controller 12 through the communication bus 13, and is used for timing after its power supply terminal is powered on.

[0075] When the power-on voltage at the power supply end is within the operating clamping voltage range, the high level of the communication signal transmitted between the clock generation circuit 11 and the controller 12 is within the operating voltage range of the communication bus application, and the voltage value of the first power supply voltage signal is greater than the operating voltage.

[0076] In some embodiments, the controller 12 outputs a communication signal to the clock generation circuit 11 via the communication bus 13. This communication signal includes a time query or time setting command. The clock generation circuit 11 responds to the command by performing a corresponding operation and feeds back the corresponding communication signal via the communication bus. The clock generation circuit 11's power-on voltage is within the operating clamping voltage range, ensuring that the communication signal transmitted on the communication bus 13 matches the level of the controller 12, preventing communication abnormalities.

[0077] The power supply terminal of the energy storage circuit 02 is coupled to the first terminal of the voltage conversion circuit 03, and is used to supply power to the clock generation circuit 11 when the clock circuit 00 is powered off.

[0078] In the above technical solution, when the clock circuit is powered on, the voltage conversion circuit controls the voltage value of its first terminal to be within the working clamping voltage range. The clock generation circuit operates based on the voltage value of the first terminal of the voltage conversion circuit, which can ensure that it can communicate normally with the controller. The communication signal generated by the clock circuit can be accurately transmitted on the communication bus. When the clock circuit is powered on, the power supply circuit outputs the first power supply voltage signal, which can charge the energy storage circuit. The voltage value of the first power supply voltage signal is greater than the voltage value of the working voltage signal, which increases the maximum voltage value of the energy storage circuit and increases the energy storage capacity. After the clock circuit is powered off, the energy storage circuit releases the stored energy, which can maintain the timing of the clock circuit and increase the backup power duration of the clock circuit.

[0079] In some embodiments, the energy storage circuit 02 includes a first capacitor C1, with the first end of the first capacitor C1 serving as the power supply terminal of the energy storage circuit 02 and the second end grounded to GND.

[0080] In some embodiments, the power supply circuit 01 includes a first diode D1; the first diode D1 and the second power supply circuit 102 are electrically connected.

[0081] The second power supply circuit 102 is used to output a second power supply voltage signal;

[0082] The anode of the first diode D1 is electrically connected to the output terminal of the second power supply circuit 102, and the cathode of the first diode D1 is electrically connected to the power supply terminal of the energy storage circuit 02, in order to obtain the second power supply voltage signal and output the first power supply voltage signal.

[0083] The first diode D1 is also used to reverse cut off when the second power supply circuit 102 is powered off, so as to prevent the energy storage circuit from backflowing electrical energy to the power network load.

[0084] In some embodiments, the first diode D1 is a Schottky diode.

[0085] In the above technical solution, a first diode is provided in the power supply circuit to limit the direction of electrical signal transmission between the second power supply circuit and the energy storage circuit, and to prevent the discharge current from flowing back into the second power supply circuit when the energy storage circuit discharges after the second power supply circuit loses power.

[0086] In some embodiments, a second current-limiting resistor R2 is connected in series between the cathode of the first diode D1 and the power supply terminal of the energy storage circuit 02 to limit the charging current of the energy storage circuit 02.

[0087] In another embodiment, a second current-limiting resistor R2 is connected in series between the anode of the first diode D1 and the output terminal of the second power supply circuit.

[0088] In some embodiments, the voltage conversion circuit 03 includes a controllable switching device K1;

[0089] The first terminal (point A) of the controllable switching device K1 is electrically connected to the power supply terminal of the first power supply circuit 101, and the second terminal (point B) of the controllable switching device K1 serves as the first terminal of the voltage conversion circuit 03.

[0090] When the controllable switching device K1 obtains the first power supply voltage signal at its second terminal (point B), it controls the voltage value at its second terminal (point B) to be less than or equal to the maximum value of the working clamping voltage range based on the voltage value of the third power supply voltage signal provided by the first power supply circuit.

[0091] The controllable switching device K1 is also used to output a working voltage signal when it receives a third power supply voltage signal at its first terminal (point A) and does not receive a first power supply voltage signal at its second terminal (point B). The voltage value of the working voltage signal is the minimum value of the working clamping voltage range.

[0092] In some embodiments, the operating clamping voltage range is determined based on the operating voltage range of the communication bus application to which the clock generation circuit is electrically connected.

[0093] In the above technical solution, a controllable switching device is set in the voltage conversion circuit. This device is turned on when the power supply circuit outputs the first power supply voltage signal, that is, when the first power supply circuit and the second power supply circuit are powered on and output electrical signals. This prevents the discharge current from flowing back into the first power supply circuit when the energy storage circuit discharges after the first power supply circuit is powered off. It also clamps the voltage value of its second terminal based on the voltage value of the third power supply voltage signal provided by the first power supply circuit, ensuring that the voltage value of its second terminal is less than or equal to the maximum value of the working clamping voltage range. This ensures that the voltage value of the communication signal transmitted between the clock generation circuit and the controller is within the working voltage range of the communication bus application, preventing the controller from reading or setting the clock signal abnormally.

[0094] The controllable switching device can also ensure the normal operation of the clock generation circuit in the early stage of power-on by outputting a voltage value that is the minimum value of the working clamping voltage range when the voltage value of the energy storage circuit is low during the charging process of the energy storage circuit by the power supply circuit, so that the first power supply voltage signal cannot be transmitted to the clock generation circuit.

[0095] Whether the second terminal (point B) of the controllable switching device K1 receives the first power supply voltage signal is determined by the voltage value at both ends of the circuit structure electrically connected between the energy storage circuit 02 and the second terminal (point B) of the controllable switching device K1.

[0096] In some embodiments, the clock circuit 00 includes a first resistor R1;

[0097] The second terminal (point B) of the controllable switching device K1 is electrically connected to the second terminal of the first resistor R1, and the first terminal of the first resistor R1 is electrically connected to the power supply terminal of the energy storage circuit.

[0098] The first resistor R1 is used to prevent the first supply voltage signal obtained from the first terminal from being output from the second terminal when the voltage value at its first terminal is less than the voltage value at its second terminal.

[0099] The working voltage signal is transmitted to the energy storage circuit 02 to charge the energy storage circuit 02.

[0100] More specifically, the second terminal of the first resistor R1 is electrically connected to the second terminal (point B) of the controllable switching device K1. The voltage value at the second terminal (point B) of the controllable switching device K1 is determined based on the voltage value of the third supply voltage signal output by the first power supply circuit 101 to the first terminal (point A) of the controllable switching device K1. In some embodiments, no other devices are connected in parallel between the first terminal (point A) and the second terminal (point B) of the controllable switching device K1. When the controllable switching device K1 can be turned on from its first terminal to its second terminal, the voltage difference between the first terminal and the second terminal is the on-state voltage drop of the controllable switching device K1. When the on-state voltage drop is negligible, the voltage value at the first terminal is the same as the voltage value at the second terminal; when the on-state voltage drop is not negligible, the voltage value at the second terminal of the controllable switching device K1 is the difference between the voltage value at its first terminal and its on-state voltage drop. At this time, the voltage value at the second terminal of the controllable switching device K1 is greater than or equal to the minimum value of the working clamping voltage range.

[0101] In some embodiments, the voltage conversion circuit 03 further includes a second diode D2;

[0102] The anode of the second diode D2 is electrically connected to the first terminal (point A) of the controllable switching device K1, and the cathode of the second diode D2 is electrically connected to the second terminal (point B) of the controllable switching device K1. The second diode D2 is used to limit the voltage value of the first terminal (point A) of the controllable switching device K1 to be greater than the voltage value of the second terminal (point B) of the controllable switching device K1.

[0103] When the second terminal (point B) of the controllable switch K1 does not receive any other voltage signal, the voltage value of the second terminal (point B) is determined based on the voltage value of the third power supply voltage signal and the conduction voltage value of the second diode D2. For example, the voltage value of the second terminal (point B) of the controllable switch K1 is the difference between the voltage value of the third power supply voltage signal and the conduction voltage value of the second diode D2. When the controllable switch K1 is turned on from its second terminal to its first terminal, and the controllable switch K1 and the second diode D2 are connected in parallel, the difference between the voltage value of the third power supply voltage signal and the conduction voltage value of the second diode D2 can be the minimum value of the working clamping voltage range.

[0104] The first terminal of the first resistor R1 is electrically connected to the first terminal of the first capacitor C1 in the energy storage circuit 02. During the initial charging phase of the severely depleted first capacitor C1 by the power supply circuit 01, the voltage at the first terminal of the first capacitor C1 is less than the voltage at its second terminal (i.e., the second terminal (point B) of the controllable switching device K1). The first power supply circuit 101 outputs a working voltage signal through the voltage conversion circuit 03. The first resistor R1 transmits this working voltage signal to the first terminal of the first capacitor C1, charging the first capacitor C1 until the voltage at the first terminal of the first resistor R1 exceeds the voltage of the working voltage signal output by the controllable switching device K1. Then, the first resistor R1 transmits the first power supply voltage signal to the controllable switching device K1, enabling K1 to transmit an electrical signal to the first power supply circuit 101. The conduction direction of the controllable switching device K1 is from its second terminal to its first terminal. When its conduction voltage drop is negligible, the voltage at its second terminal is the same as the voltage at its first terminal; when its conduction voltage drop is not negligible, the voltage at its second terminal is the sum of the voltage at its first terminal and its conduction voltage drop. At this time, the voltage value at the second terminal of the controllable switching device K1 is less than or equal to the maximum value of the working clamping voltage range.

[0105] In the above technical solution, by connecting a first resistor in series between the second terminal of the controllable switching device and the power supply terminal of the energy storage circuit, the voltage value of the power supply terminal of the energy storage circuit will not be affected by the voltage value of the working voltage signal output by the voltage conversion circuit, ensuring that the voltage value that the energy storage circuit can store exceeds the working voltage signal, thereby increasing the backup power duration that the energy storage circuit can provide.

[0106] In some embodiments, the controllable switching device K1 includes a relay, an optical MOS, or an optocoupler.

[0107] In some embodiments, the relay includes a solid-state relay or a signal relay;

[0108] In some embodiments, the controllable switching device K1 is further provided with a third terminal (point C) and a fourth terminal (point D). The third terminal (point C) of the controllable switching device K1 is electrically connected to the second power supply circuit 102, and the fourth terminal (point D) of the controllable switching device K1 is grounded to GND. When the controllable switching device K1 obtains a second power supply voltage signal from its third terminal (point C), its third terminal (point C) and its fourth terminal (point D) are turned on to control its first terminal (point A) and its second terminal (point B) to be turned on, and output a working voltage signal.

[0109] In some embodiments, when the controllable switching device K1 includes an optocoupler, the first end (point A) and the second end (point B) of the controllable switching device K1 have unidirectional conductivity, and the voltage relationship between the first end (point A) and the second end (point B) is fixed.

[0110] Figure 3The circuit structure of the voltage conversion circuit 03 including the optocoupler provided in one embodiment of this application is as follows: the third terminal (point C) of the optocoupler is electrically connected to the second power supply circuit 102; the fourth terminal (point D) is electrically connected to the first terminal of the third resistor R3; the second terminal of the third resistor R3 is grounded to GND; the emitter of the optocoupler is electrically connected to the first power supply circuit 101 as the first terminal (point A); the collector of the optocoupler is electrically connected to the second terminal (point B) of the optocoupler as the second terminal; a light-emitting diode is provided inside the optocoupler; the anode of the light-emitting diode is electrically connected to the third terminal (point C) of the optocoupler; and the cathode of the light-emitting diode is electrically connected to the fourth terminal (point D) of the optocoupler.

[0111] After the clock circuit 00 is powered on, the second power supply circuit 102 outputs a second power supply voltage signal. In some embodiments, the voltage value of the second power supply voltage signal is 5V, which is greater than the conduction voltage of the light-emitting diode. The light-emitting diode emits light, controlling the conduction between the collector and emitter of the optocoupler.

[0112] When the clock circuit 00 loses power, the voltage of the first power supply circuit 101 decreases. The voltage of the emitter of the optocoupler is provided by the energy storage circuit 02, which is higher than the voltage of the collector. In order to prevent the power supply current from flowing from the emitter to the collector and breaking down the optocoupler, a second diode D2 is electrically connected between the collector and the emitter. The conduction voltage of the second diode D2 limits the fixed voltage difference between the collector and the emitter, thus preventing breakdown when power is lost.

[0113] In the above technical solution, when the controllable switching device in the voltage conversion circuit includes an optocoupler, the controllable switching device has unidirectional conductivity. Connecting a second diode in parallel with the optocoupler can limit the voltage relationship between the terminals of the controllable switching device, preventing the energy storage circuit from backfeeding the optocoupler when the second power supply circuit connected to the controllable switching device loses power, thus preventing damage to the optocoupler.

[0114] In some embodiments, such as Figure 4 As shown, the clock circuit 00 also includes a filter circuit 04;

[0115] The first terminal of the filter circuit 04 is electrically connected to the power supply terminal of the energy storage circuit 02 and the first terminal of the voltage conversion circuit 03. The second terminal of the filter circuit 04 is electrically connected to the power supply terminal of the clock generation circuit 11, and is used to filter out noise from the power supply signal of the clock generation circuit 11.

[0116] More specifically, when the clock circuit 00 is powered on, the clock generation circuit 11 is powered by the voltage conversion circuit 03. When the clock circuit 00 is powered off, it is powered by the energy storage circuit 02. During the power switching process, especially when the output voltage values ​​are inconsistent, high-frequency noise will be generated. The filter circuit 04 is set to filter out the high-frequency noise and smooth the power supply signal.

[0117] In some embodiments, filter circuit 04 is a low-pass filter circuit 04. It can be as follows: Figure 4 The RC filter circuit 04 shown can also be an active filter circuit 04.

[0118] In the above technical solution, a filter circuit is electrically connected between the power supply terminal of the clock generation circuit and the power supply side including the energy storage circuit and the voltage conversion circuit to filter out the noise generated by the power supply switching when the clock circuit loses power, so as to prevent the noise from affecting the stable operation of the clock generation circuit.

[0119] The operation of the power supply circuit 01 mentioned in the above embodiments is explained below. After the clock circuit 00 is powered on, the first power supply circuit 101 outputs a third power supply voltage signal with a voltage value of 3.3V, and the second power supply circuit 102 outputs a second power supply voltage signal with a voltage value of 5V. The second power supply voltage signal charges the first terminal of the first capacitor C1 through the first diode D1 and the second current-limiting resistor R2. The controllable switching device K1 controls the conduction of its first terminal and its second terminal based on the third power supply voltage signal. The voltage value of its second terminal is clamped by the voltage value of the third power supply voltage signal. When the conduction voltage of the controllable switching device K1 is not considered and it is not connected in parallel with the second diode D2, the voltage value of its second terminal is 3.3V; when the controllable switching device K1 is connected in parallel with the second diode D2, the voltage value of its second terminal is the difference between 3.3V and the conduction voltage of the second diode D2.

[0120] When the voltage at the first terminal of the first resistor R1 is less than the voltage at its second terminal, the electrical signal output by the voltage conversion circuit 03 charges the first capacitor C1; when the voltage at the first terminal of the first resistor R1 is greater than or equal to the voltage at its second terminal, the voltage conversion circuit 03 stops charging the first capacitor C1 with its output electrical signal, and the first power supply voltage signal is transmitted to the first power supply circuit 101 through the voltage conversion circuit 03, and the voltage conversion circuit 03 clamps the voltage value at point B.

[0121] Because of the presence of the first resistor R1, the clamping voltage at its second terminal is not affected by the voltage value at its first terminal.

[0122] The clock generation circuit 11 is powered by the electrical signal output from the controllable switching device K1, and it keeps time and outputs a clock signal. The voltage value of the high-level signal of the clock signal is its supply voltage.

[0123] Communication bus 13 includes, but is not limited to, I2C bus, SPI bus, etc.

[0124] When clock generation circuit 11 and controller 12 transmit data via I2C bus, the voltage of the high-level signal in the bidirectional transmission of electrical signals on the bus is 3.3V, which is the operating voltage of communication bus 13. This exceeds the operating voltage, resulting in inaccurate clock signals.

[0125] When the clock circuit 00 loses power, the second power supply circuit 102 and the first power supply circuit 101 stop outputting the power supply voltage signal, the controllable switching device K1 is turned off, the first capacitor C1 discharges, and the clock generation circuit 11 is powered through the first resistor R1 and the filter circuit 04 to maintain the timing of the clock generation circuit 11.

[0126] After the clock circuit 00 is powered on again, the clock generation circuit 11 can continue timing based on the timing results.

[0127] Figure 5 This is a schematic diagram of the structure of a clock circuit 00 provided according to another exemplary embodiment of this application, as shown below. Figure 5 As shown, the clock circuit 00 includes: a power supply circuit 01, a voltage conversion circuit 14, a clock generation circuit 11, and an energy storage circuit 02;

[0128] The output terminal of the power supply circuit 01 is electrically connected to the power supply terminal of the energy storage circuit 02, and is electrically connected or coupled to the clock generation circuit 11. The power supply circuit 01 is used to output the first power supply voltage signal.

[0129] When the energy storage circuit 02 obtains the first power supply voltage signal, it charges the power supply circuit 01 based on the first power supply voltage signal.

[0130] Discharge occurs when the first supply voltage signal is not received.

[0131] The power supply terminal of the clock generation circuit 11 is electrically connected to the output terminal of the power supply circuit 01, and is used for timing after power is applied to its power supply terminal;

[0132] The input terminal of the voltage conversion circuit 14 is electrically connected to the output terminal of the clock generation circuit 11. The output terminal of the voltage conversion circuit 14 is electrically connected to the controller 12 through a communication bus. The voltage conversion circuit 14 is used to perform level conversion on the first communication signal output by the clock generation circuit and output a second communication signal to the controller.

[0133] The high level of the second communication signal is within the operating voltage range of the communication bus application, and the operating voltage of the communication bus application is less than the voltage value of the first power supply voltage signal.

[0134] In some embodiments, the voltage conversion circuit 14 is used to receive the third communication signal and, in response to the time query or time setting command in the third communication signal, output the first communication signal; wherein, the third communication signal is the communication signal output by the voltage conversion circuit 14 after receiving the fourth communication signal containing the time query or time setting command output by the controller 12 and performing level conversion on the fourth communication signal.

[0135] In some embodiments, the high level of the first communication signal is greater than the high level of the second communication signal, the high level of the fourth communication signal is greater than the high level of the third communication signal, and there is a communication abnormality when the first communication signal is directly transmitted to the controller 12. In this case, the voltage conversion circuit 14 can be set to match the communication signal transmitted between the clock generation circuit 11 and the controller 12.

[0136] In the above technical solution, when the power supply circuit simultaneously supplies power to the clock generation circuit and charges the energy storage circuit, it provides a first power supply voltage signal. Since the voltage value of the first power supply voltage signal is greater than the operating voltage of the communication bus, a voltage conversion circuit is also electrically connected between the clock generation circuit and the communication bus to perform level conversion on the first communication signal output by the clock generation circuit, so that the voltage value of the high-level signal in the second communication signal transmitted to the communication bus is within the operating voltage range of the communication bus, thereby ensuring that the clock generation circuit and the controller can communicate normally. The voltage value of the first power supply voltage signal is relatively large, and the voltage value stored in the storage circuit is also large, which can maintain the backup power for a longer time after the clock circuit is powered off.

[0137] The circuit structure and connection relationship of the power supply circuit 01 and the energy storage circuit 02 are the same as those in the previous embodiment, and will not be repeated here.

[0138] In some embodiments, the clock circuit 00 further includes a filter circuit 04, which is electrically connected between the energy storage circuit 02 and the clock generation circuit 11. Its circuit structure is the same as that in the aforementioned embodiments, and will not be described again here.

[0139] In some embodiments, the voltage conversion circuit 14 includes a level conversion chip capable of level conversion of digital communication signals, such as those applied to I... 2 Level conversion chip for C communication.

[0140] This application provides an electronic device including any of the clock circuits 00 described in the foregoing embodiments.

[0141] This application provides an energy management system, including the aforementioned electronic device.

[0142] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0143] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A clock circuit, characterized in that, include: A power supply circuit is used to output a first power supply voltage signal when the clock circuit is powered on; An energy storage circuit, wherein the power supply terminal of the energy storage circuit is electrically connected to the output terminal of the power supply circuit, and is used for charging based on the first power supply voltage signal; A voltage conversion circuit, wherein the first terminal of the voltage conversion circuit is coupled to the power supply circuit, and is used to control the voltage value of its first terminal to be within the working clamping voltage range when the clock circuit is powered on; A clock generation circuit, wherein the power supply terminal of the clock generation circuit is electrically connected or coupled to the first terminal of the voltage conversion circuit, and the communication terminal of the clock generation circuit is electrically connected to the controller via a communication bus for timing after power-on at its power supply terminal; When the power-on voltage at the power supply terminal is within the operating clamping voltage range, the high level of the communication signal transmitted between the clock generation circuit and the controller is within the operating voltage range of the communication bus application, and the voltage value of the first power supply voltage signal is greater than the operating voltage. The power supply terminal of the energy storage circuit is coupled to the first terminal of the voltage conversion circuit, and is used to supply power to the clock generation circuit when the external power supply of the clock circuit is de-energized.

2. The clock circuit according to claim 1, characterized in that, The power supply circuit includes a first diode and a second current-limiting resistor; The anode of the first diode is electrically connected to the output terminal of the second power supply circuit, and the cathode of the first diode is electrically connected to the power supply terminal of the energy storage circuit through the second current-limiting resistor. Alternatively, the anode of the first diode is electrically connected to the output terminal of the second power supply circuit through the second current-limiting resistor, and the cathode of the first diode is electrically connected to the power supply terminal of the energy storage circuit. The second power supply circuit is used to output the second power supply voltage signal; The first diode is used to conduct when the second power supply circuit is powered on, to obtain the second power supply voltage signal, and to output the first power supply voltage signal. The first diode is also used to reverse cut off when the second power supply circuit is powered off.

3. The clock circuit according to claim 1 or 2, characterized in that, The voltage conversion circuit includes a controllable switching device; The first terminal of the controllable switching device is electrically connected to the power supply terminal of the first power supply circuit, and the second terminal of the controllable switching device serves as the first terminal of the voltage conversion circuit. When the controllable switching device receives the first power supply voltage signal at its second terminal, it controls the voltage value at its second terminal to be less than or equal to the maximum value of the working clamping voltage range based on the voltage value of the third power supply voltage signal provided by the first power supply circuit.

4. The clock circuit according to claim 3, characterized in that, The controllable switching device is further configured to output a working voltage signal when it receives the third power supply voltage signal at its first terminal and does not receive the first power supply voltage signal at its second terminal, wherein the voltage value of the working voltage signal is the minimum value of the working clamping voltage range.

5. The clock circuit according to claim 4, characterized in that, The clock circuit includes a first resistor; The second terminal of the controllable switching device is electrically connected to the second terminal of the first resistor, and the first terminal of the first resistor is electrically connected to the power supply terminal of the energy storage circuit. The first resistor is used to prevent the first supply voltage signal obtained from the first terminal from being output from the second terminal when the voltage value at its first terminal is less than the voltage value at its second terminal. The operating voltage signal is transmitted to the energy storage circuit to charge the energy storage circuit.

6. The clock circuit according to claim 5, characterized in that, The controllable switching device includes a relay, an optical MOS, or an optocoupler. The controllable switch device is further provided with a third terminal and a fourth terminal. The third terminal of the controllable switch device is electrically connected to the second power supply circuit, and the fourth terminal of the controllable switch device is grounded. When the controllable switch device obtains a second power supply voltage signal from its third terminal, its third terminal and its fourth terminal are connected to control its first terminal and its second terminal to be connected.

7. The clock circuit according to claim 6, characterized in that, When the controllable switching device includes an optocoupler, the first and second terminals of the controllable switching device have unidirectional conductivity. The voltage conversion circuit also includes a second diode; The anode of the second diode is electrically connected to the first terminal of the controllable switching device, and the cathode of the second diode is electrically connected to the second terminal of the controllable switching device. The second diode is used to limit the voltage value at the first terminal of the controllable switching device to be greater than the voltage value at the second terminal of the controllable switching device.

8. The clock circuit according to claim 1 or 2, characterized in that, The clock circuit also includes a filter circuit; The first terminal of the filter circuit is electrically connected to the power supply terminal of the energy storage circuit and the first terminal of the voltage conversion circuit, and the second terminal of the filter circuit is electrically connected to the power supply terminal of the clock generation circuit, for filtering out noise from the power supply signal of the clock generation circuit.

9. A clock circuit, characterized in that, include: A power supply circuit is used to output a first power supply voltage signal when the clock circuit is powered on; An energy storage circuit, wherein the power supply terminal of the energy storage circuit is electrically connected to the output terminal of the power supply circuit, is used to charge based on the first power supply voltage signal when the first power supply voltage signal is obtained; Discharge when the first power supply voltage signal is not received; A clock generation circuit, wherein the power supply terminal of the clock generation circuit and the output terminal of the power supply circuit are electrically connected, and the clock is used to keep time after the power supply terminal is powered on; A voltage conversion circuit is provided, wherein the input terminal of the voltage conversion circuit is electrically connected to the output terminal of the clock generation circuit, and the output terminal of the voltage conversion circuit is electrically connected to the controller via a communication bus. The voltage conversion circuit is used to perform level conversion on the first communication signal output by the clock generation circuit and output a second communication signal to the controller. Wherein, the high level of the second communication signal is within the operating voltage range of the communication bus application, and the operating voltage of the communication bus application is less than the voltage value of the first power supply voltage signal.

10. An electronic device, characterized in that, Includes the clock circuit as described in any one of claims 1-8, or the clock circuit as described in claim 9.

11. An energy management system, characterized in that, Including the electronic device as described in claim 10.