Timing control clock circuit
The power supply control of peripheral devices is achieved in the self-contained ADCP device through a timing control clock circuit, which solves the problems of high power consumption and complexity in the prior art, reduces the power consumption of the equipment and improves reliability.
Patent Information
- Application Number
- CN202410979137.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
The existing self-casual ADCP devices consume high power in idle mode, and the MCU duty circuit increases additional system power consumption and circuit complexity, affecting the battery life and reliability of the device.
The timing control clock circuit is adopted, and the timing signal control sub-circuit, the equipment system sub-circuit and the system power sub-circuit are used to realize the power supply control of peripheral devices, ensuring reliable power-up in idle mode and entering the working mode, reducing unnecessary work during operation Consumption.
It reduces the power consumption of the equipment, achieves effective energy-saving effects, simplifies circuit and software support, and improves the battery life and reliability of the equipment.
Smart Images

Figure CN118938722A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electronic circuits, and in particular to a timing control clock circuit. Background Art
[0002] Self-contained ADCP, or acoustic Doppler current profiler, is a device for measuring water velocity based on the acoustic Doppler principle. It mainly transmits sound waves to the water area to be measured through a transducer, and the sound waves are reflected in the water area to be measured. We calculate the water velocity by measuring the reflected sound wave signal. Self-contained ADCP is lightweight and easy to install on buoys, ship sides, ship bottoms or fixed on the bottom of the water. It is connected to the computer on the shore through a cable or modem. When the self-contained ADCP is working, it needs to maintain an unattended working state at the bottom of the water for a long time, and a large amount of data needs to be collected and saved during the work. Therefore, on the one hand, a safe and reliable storage medium and file management chip are needed; on the other hand, the existing self-contained ADCP is basically powered by an integrated battery pack inside the device. In order to ensure that the self-contained ADCP has a stronger endurance, it is also necessary to realize the power consumption control of the entire device. The means usually used to realize the power consumption control of the entire device is to put the device into a sleep or power-off state when it is idle, and wake it up before entering the working state when it needs to run.
[0003] At present, most of the self-contained ADCPs on the market use MCU micro-watchdog circuits to control the system power supply to achieve energy saving. However, the existing technology has the following disadvantages: in idle mode, the device system maintains a current of about 70μA and consumes about 1mW of power; in normal working mode, the MCU watchdog circuit increases additional system power consumption; the MCU watchdog circuit requires more peripheral circuits and certain embedded software support, which increases unreliable factors and circuit complexity. Therefore, it is very important to design an efficient and energy-saving ADCP device power control strategy. Summary of the invention
[0004] The invention provides a timing control clock circuit, which can reduce the power consumption of equipment and effectively save energy for the equipment.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a timing control clock circuit, including: a timing signal control subcircuit, a device system subcircuit, a system power supply subcircuit and peripheral devices; wherein:
[0006] The timing signal control subcircuit is used to receive a timing signal to output a first control signal;
[0007] The system power subcircuit supplies power to the peripheral device in response to the first control signal, so as to make the peripheral device enter a working mode and output a second control signal;
[0008] The device system subcircuit responds to the second control signal, causing the system power subcircuit to continuously supply power to the peripheral device until the peripheral device completes its task and enters an idle mode;
[0009] The timing signal control subcircuit stops outputting the first control signal in response to the received reset timing signal.
[0010] The beneficial effects of the embodiments of the present invention are:
[0011] Compared with the existing system power control through MCU duty circuit, which requires more peripheral circuits and certain embedded software support, has more unreliable factors and complex circuits, the embodiment of the present invention uses a timing control clock circuit to control the power supply of peripheral devices, so that the peripheral devices can be reliably powered on and enter the working mode according to the timing signal in the idle mode, and the device system sub-circuit responds to the second control signal to make the system power sub-circuit continue to supply power to the peripheral device, and the timing signal control sub-circuit responds to the received reset timing signal to stop outputting the first control signal, so that the peripheral device does not generate excess power consumption when working, thereby reducing the power consumption of the device, achieving the purpose of effective energy saving, and realizing the power consumption control of the entire device.
[0012] As a preferred solution, the timing control clock circuit further includes: an internal clock subcircuit of the device; the internal clock subcircuit of the device is used to output a timing signal and reset a timing signal.
[0013] This preferred solution outputs a timing signal and a reset timing signal through the internal clock subcircuit of the device, so that the subsequent circuit can control the output of the first control signal according to these two signals, so that the timing signal control subcircuit receives the timing signal to output the first control signal, thereby powering the peripheral device, and the timing signal control subcircuit responds to the received reset timing signal to stop outputting the first control signal.
[0014] As a preferred solution, the timing signal control subcircuit is also used to feed back the timing signal to the peripheral device.
[0015] As a preferred solution, the system power subcircuit includes an external power supply, a switch module and a device power supply;
[0016] Wherein, the output end of the external power supply is connected to the first end of the switch module;
[0017] The second end of the switch module receives the first control signal and is connected to the device system sub-circuit;
[0018] The third end of the switch module is connected to the device power supply;
[0019] The device power supply is connected to the peripheral device.
[0020] This preferred solution connects the external power supply and the peripheral device through a switch module. When receiving the first control signal or being controlled by the device system sub-circuit, the switch module realizes the connection between the external power supply and the peripheral device, so that the external power supply powers the peripheral device.
[0021] As a preferred solution, the switch module includes a first switch tube, a third resistor, a fourth resistor and a fifth resistor;
[0022] Wherein, the gate of the first switch tube is connected to the second end of the fourth resistor;
[0023] The source of the first switch tube is connected to the first end of the third resistor and the external power supply;
[0024] The drain of the first switch tube is connected to the device power supply;
[0025] The first end of the fifth resistor is connected to the first end of the fourth resistor and the second end of the third resistor;
[0026] The second end of the fifth resistor receives the first control signal and is connected to the device system sub-circuit.
[0027] This preferred solution forms a switch module through a first switch tube and several resistors, receives the first control signal through the second end of the fifth resistor and connects to the device system sub-circuit, controls the conduction and disconnection of the first switch tube, and further controls the connection and disconnection of the external power supply and the peripheral device, so that the external power supply can power the peripheral device or cut off the power to the peripheral device.
[0028] As a preferred solution, the timing control clock circuit further includes: a reset detection subcircuit, a first voltage reduction module and a second voltage reduction module;
[0029] The reset detection subcircuit is connected to the external power supply through the first step-down module;
[0030] The reset detection subcircuit is connected to the device power supply through the second step-down module;
[0031] The reset detection subcircuit is used to detect whether the timing signal is reset successfully and output a corresponding detection signal.
[0032] This preferred solution uses the reset detection subcircuit to detect whether the timing signal is reset successfully, outputs a corresponding detection signal, and respectively realizes the connection between the reset detection subcircuit and the external power supply and the device power supply through two step-down modules. If the external power supply is not connected to the peripheral device, the external power supply does not output power, the reset detection subcircuit will not work and will not consume power.
[0033] As a preferred solution, the reset detection subcircuit includes a first resistor, a second resistor and a photoelectric coupler;
[0034] Wherein, the first end of the photoelectric coupler is connected to the external power supply through the first step-down module;
[0035] The second end of the photoelectric coupler receives the timing signal through the first resistor;
[0036] The third terminal of the photoelectric coupler is grounded;
[0037] The fourth end of the photoelectric coupler is connected to the device power supply through the second resistor and the second step-down module, and outputs a detection signal.
[0038] The preferred solution forms a reset detection subcircuit through a plurality of resistors and a photoelectric coupler, and realizes the connection between the photoelectric coupler and the external power supply and the device power supply through two step-down modules. Compared with the prior art, the first end of the photoelectric coupler is connected to a button battery power supply. When a timing signal is received, the photoelectric coupler is driven by the button battery output power. At this time, if the external power supply is not connected to the device, the peripheral device cannot be powered on and work normally, the timing signal control subcircuit cannot receive the reset timing signal, the timing signal will continue, the button battery power will be quickly consumed, and the timing signal will lose its function. The preferred solution relies on the output power of the stepped-down external power supply to drive the photoelectric coupler. If the external power supply is not connected to the device, the external power supply does not output power, so it does not consume power and can ensure the reliability of the device when it is connected to the power supply again.
[0039] As a preferred solution, the timing signal control subcircuit includes a first transistor, a sixth resistor and a seventh resistor;
[0040] Wherein, the base of the first transistor is connected to the external power supply through the sixth resistor and the first step-down module;
[0041] The seventh resistor is connected between the base of the first transistor and the emitter of the first transistor;
[0042] The emitter of the first transistor receives the timing signal;
[0043] The collector of the first transistor outputs the first control signal.
[0044] In this preferred solution, a timing signal control subcircuit is formed by a first transistor and a plurality of resistors. When the emitter of the first transistor receives the timing signal, the collector of the first transistor outputs the first control signal, thereby causing the system power supply subcircuit to respond to the first control signal.
[0045] As a preferred solution, the timing signal control subcircuit further includes a diode;
[0046] Wherein, the first end of the diode is grounded;
[0047] The second end of the diode is connected to the emitter of the first transistor.
[0048] As a preferred solution, the device system subcircuit includes a second triode, an eighth resistor and a ninth resistor;
[0049] Wherein, the base of the second transistor receives the second control signal through the ninth resistor;
[0050] The eighth resistor is connected between the base of the second triode and the emitter of the second triode;
[0051] The emitter of the second triode is grounded;
[0052] The collector of the second transistor is connected to the system power supply sub-circuit.
[0053] This preferred solution forms a device system subcircuit through a second transistor and a plurality of resistors. When the base of the second transistor receives a second control signal, the second transistor can control the system power subcircuit through the collector to continuously supply power to the peripheral device until the peripheral device completes its task and enters idle mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 : A schematic structural diagram of an embodiment of a timing control clock circuit provided by the present invention;
[0055] Figure 2 : A circuit diagram of an embodiment of a timing control clock circuit provided by the present invention;
[0056] Figure 3 : A circuit diagram of an embodiment of a reset detection subcircuit provided by the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] ADCP equipment operates in two main modes: working mode and idle mode. Working mode means that the equipment can perform a series of measurement processes such as signal transmission, acquisition, data processing, and storage in this mode; idle mode means that the equipment does not have any measurement tasks in this mode, but just waits for a signal to trigger the work.
[0059] Self-contained ADCPs are basically powered by an integrated battery pack inside the device. In order to ensure that the self-contained ADCP has a stronger endurance, it is necessary to achieve power consumption control of the entire device. Most of the self-contained ADCPs on the market use an MCU micro-watchdog circuit to control the system power supply to achieve energy saving. However, the existing technology has the following disadvantages: in idle mode, the device system maintains a current of about 70μA and a high power consumption of about 1mW; in normal working mode, the MCU watchdog circuit increases additional system power consumption; the MCU watchdog circuit requires more peripheral circuits and certain embedded software support, which increases unreliable factors and circuit complexity. In addition, most electronic products or devices in the field of electronic technology are currently powered by batteries, and power consumption needs to be strictly controlled to extend the battery life. Therefore, it is necessary to design an efficient and energy-saving ADCP device power control strategy to solve the problems of additional power consumption and stability when the MCU watchdog circuit controls power saving.
[0060] Embodiment 1
[0061] In order to solve the above technical problems, the present invention provides a timing control clock circuit, which allows the device to be reliably powered on according to the set timing time in idle mode, enter the working mode, and reduce the power consumption of the device to achieve the purpose of effective energy saving.
[0062] Please refer to Figure 1 , Figure 1 A schematic structural diagram of an embodiment of a timing control clock circuit provided by the present invention.
[0063] like Figure 1 As shown, the timing control clock circuit includes: a timing signal control subcircuit, a device system subcircuit, a system power subcircuit and peripheral devices; wherein:
[0064] The timing signal control subcircuit is used to receive a timing signal to output a first control signal;
[0065] The system power subcircuit supplies power to the peripheral device in response to the first control signal, so as to make the peripheral device enter a working mode and output a second control signal;
[0066] The device system subcircuit responds to the second control signal, causing the system power subcircuit to continuously supply power to the peripheral device until the peripheral device completes its task and enters an idle mode;
[0067] The timing signal control subcircuit stops outputting the first control signal in response to the received reset timing signal.
[0068] In this embodiment, the peripheral device may be, but is not limited to, an ADCP device.
[0069] Compared with the existing system power control through MCU duty circuit, which requires more peripheral circuits and certain embedded software support, has more unreliable factors and complex circuits, the embodiment of the present invention uses a timing control clock circuit to control the power supply of peripheral devices, so that the peripheral devices can be reliably powered on and enter the working mode according to the timing signal in the idle mode, and the device system sub-circuit responds to the second control signal to make the system power sub-circuit continue to supply power to the peripheral device, and the timing signal control sub-circuit responds to the received reset timing signal to stop outputting the first control signal, so that the peripheral device does not generate excess power consumption when working, thereby reducing the power consumption of the device, achieving the purpose of effective energy saving, and realizing the power consumption control of the entire device.
[0070] Furthermore, the timing control clock circuit further includes: an internal clock subcircuit of the device; the internal clock subcircuit of the device is used to output a timing signal and reset a timing signal.
[0071] In this embodiment, the timing time is set by the internal clock subcircuit of the device, and when the timing time is reached, the internal clock subcircuit of the device generates a timing signal; wherein, the customer can set the working time interval of the peripheral device through the host computer software, and after the setting is completed, the time interval is saved as a constant value in the system of the peripheral device, and the system calculates the next timing time according to the time interval set by the customer, that is, current time + time interval = timing time.
[0072] In this embodiment, the timing signal and the reset timing signal are outputted by the internal clock subcircuit of the device, so that the subsequent circuit can control the output of the first control signal according to these two signals, so that the timing signal control subcircuit receives the timing signal to output the first control signal, thereby powering the peripheral device, and the timing signal control subcircuit responds to the received reset timing signal to stop outputting the first control signal.
[0073] Furthermore, the timing signal control subcircuit is also used to feed back the timing signal to the peripheral device.
[0074] This embodiment feeds back the timing signal to the peripheral device, so that the system of the peripheral device can monitor the output status of the timing signal, and judge whether the internal clock subcircuit of the device is stable through the output status, so as to make corresponding fault tolerance processing or error reporting.
[0075] Please refer to the following Figure 2, Figure 2 A circuit diagram of an embodiment of a timing control clock circuit provided by the present invention.
[0076] Furthermore, if Figure 2 As shown, the system power subcircuit includes an external power supply Power_External, a switch module and a device power supply Power_System;
[0077] Wherein, the output end of the external power supply Power_External is connected to the first end of the switch module;
[0078] The second end of the switch module receives the first control signal and is connected to the device system sub-circuit;
[0079] The third end of the switch module is connected to the device power supply Power_System;
[0080] The device power supply Power_System is connected to the peripheral device.
[0081] In this embodiment, the external power supply and the peripheral device are connected through the switch module. When the first control signal is received or the device system sub-circuit is controlled, the switch module realizes the connection between the external power supply and the peripheral device so that the external power supply supplies power to the peripheral device.
[0082] Furthermore, if Figure 2 As shown, the switch module includes a first switch tube Q1, a third resistor R3, a fourth resistor R4 and a fifth resistor R9;
[0083] Wherein, the gate of the first switch tube Q1 is connected to the second end of the fourth resistor R4;
[0084] The source of the first switch tube Q1 is connected to the first end of the third resistor R3 and the external power supply Power_External;
[0085] The drain of the first switch tube Q1 is connected to the device power supply Power_System;
[0086] The first end of the fifth resistor R9 is connected to the first end of the fourth resistor R4 and the second end of the third resistor R3;
[0087] The second end of the fifth resistor R9 receives the first control signal and is connected to the device system sub-circuit.
[0088] In this embodiment, a switch module is formed by a first switch tube and a plurality of resistors. The first control signal is received through the second end of the fifth resistor and connected to the device system sub-circuit, so as to control the conduction and disconnection of the first switch tube, and further control the connection and disconnection of the external power supply and the peripheral device, so that the external power supply can power the peripheral device or cut off the power to the peripheral device.
[0089] Furthermore, the timing control clock circuit further includes: a reset detection subcircuit, a first voltage reduction module and a second voltage reduction module;
[0090] The reset detection subcircuit is connected to the external power supply through the first step-down module;
[0091] The reset detection subcircuit is connected to the device power supply through the second step-down module;
[0092] The reset detection subcircuit is used to detect whether the timing signal is reset successfully and output a corresponding detection signal.
[0093] This embodiment uses the reset detection subcircuit to detect whether the timing signal is reset successfully, outputs a corresponding detection signal, and respectively realizes the connection between the reset detection subcircuit and the external power supply and the device power supply through two step-down modules. If the external power supply is not connected to the peripheral device, the external power supply does not output power, the reset detection subcircuit will not work and will not consume power.
[0094] Please refer to the following Figure 3 , Figure 3 A circuit diagram of an embodiment of a reset detection subcircuit provided by the present invention.
[0095] In this embodiment, the external power supply outputs a stepped-down external power supply voltage through the first step-down module, and the stepped-down external power supply voltage is recorded as 3.3Ve; the device power supply outputs a stepped-down device power supply voltage through the second step-down module, and the stepped-down device power supply voltage is recorded as 3.3Vs.
[0096] Furthermore, if Figure 3 As shown, the reset detection subcircuit includes a first resistor R1, a second resistor R2 and a photocoupler U1;
[0097] Wherein, the first end of the photoelectric coupler U1 is connected to the external power supply through the first step-down module;
[0098] The second end of the photocoupler U1 receives the timing signal RTC_Signal through the first resistor R1;
[0099] The third terminal of the photoelectric coupler U1 is grounded;
[0100] The fourth end of the photocoupler U1 is connected to the device power supply through the second resistor R2 and the second step-down module, and outputs a detection signal RTC_Signal_Check.
[0101] In this embodiment, the first end of the photoelectric coupler U1 is connected to the external power supply through the first step-down module, that is, the first end of the photoelectric coupler U1 is connected to 3.3Ve; the fourth end of the photoelectric coupler U1 is connected to the device power supply through the second resistor R2 and the second step-down module, that is, the fourth end of the photoelectric coupler U1 is connected to 3.3Vs through the second resistor R2.
[0102] In this embodiment, when the timing time arrives, the timing signal RTC_Signal outputs a low level valid, the photocoupler U1 works, and the detection signal RTC_Signal_Check is a low level; after the timing signal is reset, the timing signal RTC_Signal is in a high impedance state, the U1 photocoupler is idle, and the detection signal RTC_Signal_Check is a high level.
[0103] In this embodiment, a reset detection subcircuit is formed by a plurality of resistors and a photoelectric coupler, and two step-down modules are used to realize the connection between the photoelectric coupler and the external power supply and the device power supply. Compared with the prior art, the first end of the photoelectric coupler is connected to a button battery power supply, that is, 3.3Ve is a button battery power supply. When a timing signal is received, the photoelectric coupler is driven by the button battery output power. At this time, if the external power supply is not connected to the device, the peripheral device cannot be powered on and work normally, and the timing signal control subcircuit cannot receive the reset timing signal. The timing signal will continue, and the button battery power will be quickly consumed, causing the timing signal to lose its function. In this embodiment, the photoelectric coupler is driven by the output power of the stepped-down external power supply. If the external power supply is not connected to the device, the external power supply does not output power, so it does not consume power and can ensure the reliability of the device when it is connected to the power supply again.
[0104] Furthermore, if Figure 2 As shown, the timing signal control subcircuit includes a first transistor Q2, a sixth resistor R5 and a seventh resistor R6;
[0105] Wherein, the base of the first transistor Q2 is connected to the external power supply through the sixth resistor R5 and the first step-down module;
[0106] The seventh resistor R6 is connected between the base of the first transistor Q2 and the emitter of the first transistor Q2;
[0107] The emitter of the first transistor Q2 receives the timing signal RTC_Signal;
[0108] The collector of the first transistor Q2 outputs the first control signal.
[0109] In this embodiment, the base of the first transistor Q2 is connected to the external power supply through the sixth resistor R5 and the first buck module, that is, the base of the first transistor Q2 is connected to 3.3Ve through the sixth resistor R5.
[0110] In this embodiment, a timing signal control subcircuit is formed by a first transistor and a plurality of resistors. When the emitter of the first transistor receives the timing signal, the collector of the first transistor outputs the first control signal, thereby causing the system power supply subcircuit to respond to the first control signal.
[0111] Furthermore, if Figure 2 As shown, the timing signal control subcircuit also includes a diode D6;
[0112] Wherein, the first end of the diode D6 is grounded;
[0113] The second end of the diode D6 is connected to the emitter of the first transistor Q2.
[0114] In this embodiment, the diode is a 3.3V voltage regulator diode. The setting of the diode can ensure that the voltage of the timing signal RTC_Signal entering the circuit does not exceed 3.3V, thereby protecting the circuit.
[0115] Furthermore, if Figure 2 As shown, the device system sub-circuit includes a second transistor Q3, an eighth resistor R7 and a ninth resistor R8;
[0116] Wherein, the base of the second transistor Q3 receives the second control signal System_Control through the ninth resistor R8;
[0117] The eighth resistor R7 is connected between the base of the second transistor Q3 and the emitter of the second transistor Q3;
[0118] The emitter of the second transistor Q3 is grounded;
[0119] The collector of the second transistor Q3 is connected to the system power supply sub-circuit.
[0120] In this embodiment, a device system subcircuit is formed by a second transistor and a plurality of resistors. When the base of the second transistor receives a second control signal, the second transistor can control the system power subcircuit through the collector to continuously supply power to the peripheral device until the peripheral device completes its task and enters idle mode.
[0121] Based on the above, the control logic of the supplementary timing control clock circuit in this embodiment is as follows:
[0122] (1) First, set the timing time through the internal clock circuit of the device;
[0123] (2) When the timing time is reached, the clock subcircuit inside the device generates a timing signal, and the timing signal turns on the system power switch to power on the peripheral device through the timing signal control subcircuit, that is, turns on the first switch tube to power on the peripheral device, and at the same time, the timing signal is fed back to the peripheral device;
[0124] (3) When the peripheral device is powered on, reset the timing time, reset the timing signal and detect whether the timing signal is reset successfully, and then enter the working state;
[0125] (4) After the peripheral device has completed its work, the power switch of the system is turned off through the device system sub-circuit, that is, the first switch tube is turned off to cut off the power of the peripheral device, and the peripheral device re-enters the idle mode from the working mode.
[0126] In this embodiment, resetting the timing signal causes the internal clock subcircuit of the device to output a reset timing signal, wherein the timing signal is in a low level state and the reset timing signal is in a high impedance state.
[0127] Furthermore, the principle of the supplementary timing control clock circuit of the embodiment of the present invention is as follows:
[0128] (1) When the peripheral device is in idle mode: RTC_Signal and System_Control are both in high-impedance state, Q1, Q2 and Q3 as electronic switches are all in the off state, Power_External and Power_System are not connected, and there is no conduction loop in the timing control clock circuit, so the power consumption of the entire peripheral device is almost zero.
[0129] (2) When the timing time arrives: RTC_Signal changes from a high impedance state to a low level, and at the same time drives the photocoupler U1 and the first transistor Q2 to turn on; after the first transistor Q2 turns on, it drives the first switch tube Q1 to turn on, so that Power_External and Power_System are connected, the peripheral device is powered on and enters the working mode, and at the same time the peripheral device outputs the second control signal System_Control to control the second transistor Q3 to turn on, so as to keep the system power in the working mode of the peripheral device in the on state and no longer be controlled by RTC_Signal;
[0130] After the photocoupler U1 is turned on, if RTC_Signal_Check is at a low level, it means that the timing signal will continue to be output if it is not reset. At this time, the system of the peripheral device needs to reset the next timing time and reset the timing signal. The timing signal after reset is at a high level, indicating that the RTC timing setting and reset are successful;
[0131] In the working mode, only System_Control maintains the power consumption of the second transistor Q3, and there is no other redundant power consumption. Compared with the power consumption of the traditional guard circuit, this power consumption can be ignored.
[0132] (3) When the peripheral device completes its work, the system control System_Control of the peripheral device outputs a low level to turn off the second transistor Q3 and drive the first switch Q1 to turn off, and the peripheral device enters the idle mode and waits for the next timing time to arrive.
[0133] In this embodiment, the peripheral device can switch between the working mode and the idle mode only after the timing signal is successfully reset. If the reset fails, the peripheral device will not be able to enter the idle mode. After detecting a successful reset, the control of the system power switch is handed over to the system of the peripheral device, that is, the main system of the peripheral device decides whether to disconnect the system power. After detecting a reset failure, the system of the peripheral device will store the reset failure as an error message in a U disk or notify the user in other ways, and the system will reset the timing signal again at regular intervals.
[0134] The present invention takes into account two modes of device operation. On the one hand, the timing control clock circuit first allows the device to reliably connect to the power supply and enter the working mode in the idle mode. On the other hand, the timing control clock circuit can achieve the purpose of high efficiency and energy saving in any mode without additional power consumption. Assuming that the device is currently in an idle state, the device is just waiting for a trigger signal. At this time, the operating current of the entire device should be close to less than 1μA; when the timing signal is valid, the timing control clock circuit turns on the system power supply and puts the entire system into the working mode. At this time, the device performs the required work according to its system requirements and resets the timing control clock circuit; when the system work is completed, the device returns to the idle state and waits for the next timing time to arrive.
[0135] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0136] The prior art adopts the method of increasing the MCU micro-attending circuit to control the system power supply to achieve the purpose of energy saving of the equipment. However, in this way, the circuit itself will consume a certain amount of power and the reliability is low. More specifically: 1. The prior art adopts the MCU on-duty circuit to control the system energy saving. When the equipment is in idle mode, the power consumption is about 1mW. In the working mode, the MCU on-duty circuit adds additional power consumption; the present invention adopts the internal RTC timing clock control circuit of the equipment to cooperate with the equipment system control circuit to perform energy saving control, so that the power consumption of the equipment in idle mode is less than 12μW and the energy-saving control circuit in the working mode does not add additional power consumption; 2. The prior art adopts the MCU on-duty circuit to control the system energy saving. In the present invention, the MCU only controls the power supply but does not set the timing, which is still completed by the main system. When the timing time arrives, the MCU is awakened, and then the MCU controls to turn on the power switch to power the system. The present invention removes the intermediate transition of the MCU, and directly turns on the power switch to power the system when the timing time arrives, thereby reducing power consumption. The present invention can put the device in idle mode, the device current is less than 1μA, and the power consumption is less than 12μW. When the device is in working mode, the additional power consumption of the timing control clock circuit can be ignored. In addition, the present invention simplifies the electronic circuit and embedded software support, uses the timing signal to turn on the system power to power on the device, and improves reliability.
[0137] In the prior art, 3.3Ve is a button battery power source. When the timing time arrives, RTC_Signal is at a low level, and the button battery output power drives the photocoupler U1. At this time, if the external power supply is not connected to the device, the system cannot be powered on normally, and RTC_Signal cannot be reset. The low-level signal of RTC_Signal will continue, the button battery will be exhausted quickly, and the RTC will lose its function. The design relies on the device input stepped-down power supply 3.3Ve to output power to drive the photocoupler U1. At this time, if the external power supply is not connected to the device, 3.3Ve does not output power, so it will not consume power and can ensure the reliability of the device when it is connected to the power supply again. In addition, the present invention uses an external power supply instead of a button battery to drive the timing signal control subcircuit, thereby extending the life of the button battery.
[0138] The present invention adds RTC_Signal_Check reset signal detection to determine whether the RTC timing time setting and resetting are successful, thereby increasing the reliability of energy-saving control.
[0139] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A timing control clock circuit, characterized in that: include: Timing signal control subcircuit, equipment system subcircuit, system power supply subcircuit and peripheral equipment; among which: The timing signal control subcircuit is used to receive a timing signal to output a first control signal; The system power subcircuit supplies power to the peripheral device in response to the first control signal, so as to make the peripheral device enter a working mode and output a second control signal; The device system subcircuit responds to the second control signal, causing the system power subcircuit to continuously supply power to the peripheral device until the peripheral device completes its task and enters an idle mode; The timing signal control subcircuit stops outputting the first control signal in response to the received reset timing signal.
2. A timing control clock circuit as claimed in claim 1, characterized in that: Also includes: The internal clock subcircuit of the device is used to output a timing signal and reset a timing signal.
3. A timing control clock circuit as claimed in claim 1, characterized in that: The timing signal control subcircuit is also used to feed back the timing signal to the peripheral device.
4. A timing control clock circuit as claimed in claim 1, characterized in that: The system power subcircuit includes an external power supply, a switch module and a device power supply; Wherein, the output end of the external power supply is connected to the first end of the switch module; The second end of the switch module receives the first control signal and is connected to the device system sub-circuit; The third end of the switch module is connected to the device power supply; The device power supply is connected to the peripheral device.
5. A timing control clock circuit as claimed in claim 4, characterized in that: The switch module includes a first switch tube, a third resistor, a fourth resistor and a fifth resistor; Wherein, the gate of the first switch tube is connected to the second end of the fourth resistor; The source of the first switch tube is connected to the first end of the third resistor and the external power supply; The drain of the first switch tube is connected to the device power supply; The first end of the fifth resistor is connected to the first end of the fourth resistor and the second end of the third resistor; The second end of the fifth resistor receives the first control signal and is connected to the device system sub-circuit.
6. A timing control clock circuit as claimed in claim 4, characterized in that: Also includes: A reset detection subcircuit, a first step-down module, and a second step-down module; The reset detection subcircuit is connected to the external power supply through the first step-down module; The reset detection subcircuit is connected to the device power supply through the second step-down module; The reset detection subcircuit is used to detect whether the timing signal is reset successfully and output a corresponding detection signal.
7. A timing control clock circuit as claimed in claim 6, characterized in that: The reset detection subcircuit includes a first resistor, a second resistor and a photoelectric coupler; Wherein, the first end of the photoelectric coupler is connected to the external power supply through the first step-down module; The second end of the photoelectric coupler receives the timing signal through the first resistor; The third terminal of the photoelectric coupler is grounded; The fourth end of the photoelectric coupler is connected to the device power supply through the second resistor and the second step-down module, and outputs a detection signal.
8. A timing control clock circuit as claimed in claim 7, characterized in that: The timing signal control subcircuit includes a first transistor, a sixth resistor and a seventh resistor; Wherein, the base of the first transistor is connected to the external power supply through the sixth resistor and the first step-down module; The seventh resistor is connected between the base of the first transistor and the emitter of the first transistor; The emitter of the first transistor receives the timing signal; The collector of the first transistor outputs the first control signal.
9. A timing control clock circuit as claimed in claim 8, characterized in that: The timing signal control subcircuit also includes a diode; Wherein, the first end of the diode is grounded; The second end of the diode is connected to the emitter of the first transistor.
10. A timing control clock circuit as claimed in claim 1, characterized in that: The device system subcircuit includes a second triode, an eighth resistor and a ninth resistor; Wherein, the base of the second transistor receives the second control signal through the ninth resistor; The eighth resistor is connected between the base of the second triode and the emitter of the second triode; The emitter of the second triode is grounded; The collector of the second transistor is connected to the system power supply sub-circuit.
