Power supply monitoring circuit, method and equipment and storage medium
By designing a power supply monitoring circuit, real-time detection of the power supply voltage and controlling the low-power voltage regulator, the voltage fluctuation problem when switching the high-performance voltage regulator to the low-power voltage regulator is solved, and the provision of stable voltage and power consumption is achieved.
Patent Information
- Application Number
- CN202411729147.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art is prone to voltage fluctuations when switching high-performance voltage regulators to low-power voltage regulators, which affects the normal operation of the chip and the security and integrity of data storage.
Design a power monitoring circuit, including a voltage monitoring module, a low-power voltage regulator and a negative feedback control component, detects the power supply voltage in real time, and accurately controls the operation of the low-power voltage regulator during standby working voltage. Through control signals and voltage regulation signals, the working voltage of the low-power voltage regulator is adjusted to a preset value.
It realizes targeted control of the power output in various working states to ensure that the equipment obtains an adapted stable voltage, avoids the normal operation of the equipment due to voltage fluctuations, and enables a low-power voltage regulator in standby state to reduce power consumption and achieve energy saving and consumption reduction.
Smart Images

Figure CN119759158A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip technology, and in particular to a power supply monitoring circuit, method, device and storage medium. Background Art
[0002] With the development of science and technology, the stable output of power supply output voltage is becoming more and more important. In the prior art, when a high-performance voltage regulator is switched to a low-power voltage regulator, voltage fluctuations will generally occur, and the voltage fluctuations may affect the normal operation of the chip and the security and integrity of data storage. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a power monitoring circuit, method, device and storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problem, an embodiment of the present invention discloses a power supply monitoring circuit, the circuit comprising:
[0005] power supply;
[0006] A voltage monitoring module, the voltage monitoring module is connected to the power supply and the low-power voltage regulator, and is used to detect the power supply voltage of the power supply, send a control signal to the negative feedback control component to control the operation of the low-power voltage regulator when the power supply voltage is a standby working voltage, and detect whether the working voltage of the low-power voltage regulator reaches a preset voltage value, and send a voltage adjustment signal to the negative feedback control component if the working voltage of the low-power voltage regulator does not reach the preset voltage value;
[0007] The low-power voltage regulator is connected to the power supply and is used to adjust the supply voltage output by the power supply according to the control signal;
[0008] The negative feedback control component is connected to the low-power voltage regulator and is used to adjust the working voltage of the low-power voltage regulator to the preset voltage value according to the voltage adjustment signal.
[0009] Optionally, the circuit further comprises a NOT gate component, the input end of the NOT gate component is connected to the output end of the voltage monitoring module, and the output end of the NOT gate component is connected to the power supply output end;
[0010] The voltage monitoring module is used to send a high level signal to the NOT gate component when detecting that the supply voltage is a spike pulse signal;
[0011] The NOT gate component is used to output a low level signal to the power output terminal according to the high level signal, so as to filter out the spike pulse signal.
[0012] Optionally, the negative feedback control component is used to control the power supply to reset when the operating voltage of the low-power voltage regulator is still less than the preset voltage value after a preset time has passed.
[0013] Optionally, the voltage monitoring module is further configured to output a current regulating signal to the negative feedback control component when the operating voltage of the low-power voltage regulator reaches the preset voltage;
[0014] The negative feedback control component is further used to output a preset current signal to the low-power voltage regulator according to the current regulation signal, so as to reduce the load of the low-power voltage regulator.
[0015] Optionally, the negative feedback control component includes a control unit, the input end of the control unit is connected to the output end of the voltage monitoring module, and the output end of the control unit is connected to the input end of the low-power voltage regulator;
[0016] The control unit is used for sending a start-up instruction to the low-power voltage regulator according to the control signal, so as to control the operation of the low-power voltage regulator.
[0017] Optionally, the negative feedback control component further includes a load component and a load feedback component, the control end of the control unit is connected to the input end of the load component, the output end of the load component is connected to the input end of the load feedback component, and the output end of the load feedback component is connected to the input end of the low-power voltage regulator;
[0018] The load component is used to output a working current signal to the load feedback component according to the current regulation signal, and the load feedback component is used to output a preset current signal to the low-power voltage regulator according to the working current signal.
[0019] Optionally, the voltage monitoring module is further configured to reset the power supply when the power supply is not in a standby state and the supply voltage of the power supply is less than a preset threshold voltage.
[0020] The present invention also discloses a power supply monitoring method, which is applied to the power supply monitoring circuit as described above, and the method comprises:
[0021] Detect the power supply voltage;
[0022] When the power supply voltage is the standby operating voltage, a control signal is sent to the negative feedback control component to control the operation of the low-power voltage regulator, and detect whether the operating voltage of the low-power voltage regulator reaches a preset voltage value;
[0023] If the operating voltage of the low-power voltage regulator does not reach the preset voltage value, a voltage adjustment signal is sent to the negative feedback control component to adjust the operating voltage of the low-power voltage regulator to the preset voltage value.
[0024] Optionally, it also includes:
[0025] When the power supply voltage is monitored to be a spike pulse signal, a high level signal is sent to the NOT gate component, so that the NOT gate component outputs a low level signal to the power output terminal according to the high level signal to filter out the spike pulse signal.
[0026] Optionally, it also includes:
[0027] When the working voltage of the low-power voltage regulator is still lower than the preset voltage value after exceeding the preset time, the power supply is controlled to be reset.
[0028] The present invention also discloses an electrical device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the power supply monitoring method as described above when executed by the processor.
[0029] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power supply monitoring method described above are implemented.
[0030] The present invention discloses a power supply monitoring circuit, method, device and medium. The present invention can detect the power supply voltage of the power supply in real time through a voltage monitoring module, and accurately control the operation of a low-power voltage regulator when the power supply is in a standby working voltage. The power supply output can be specifically regulated according to different working states, so as to ensure that the device can obtain an adaptive stable voltage under various working conditions, and avoid the normal operation of the device being affected by voltage fluctuations; the low-power voltage regulator is enabled in the standby working voltage scenario, which is in line with the characteristic that the power demand of the device is reduced in this state, avoids unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieves the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the adjustment mechanism can be triggered in time to make adjustments, so as to prevent in advance the overload of the low-power voltage regulator that may be caused by voltage abnormality. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A structural block diagram of a power supply monitoring circuit provided by an embodiment of the present invention is shown;
[0032] Figure 2 A structural block diagram of another power supply monitoring circuit provided by an embodiment of the present invention is shown;
[0033] Figure 3 A flow chart of the steps of a power supply monitoring method provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0035] One of the core concepts of the embodiments of the present invention is that the present invention can detect the supply voltage of the power supply in real time through the voltage monitoring module, and accurately control the operation of the low-power voltage regulator when it is in the standby working voltage. It can perform targeted regulation on the power output according to different working states, ensuring that the equipment can obtain an adaptive stable voltage under various working conditions, avoiding the normal operation of the equipment affected by voltage fluctuations; enabling the low-power voltage regulator in the standby working voltage scenario is in line with the characteristic of the equipment's reduced power demand in this state, avoiding unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieving the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the regulation mechanism can be triggered in time for adjustment, and the overload of the low-power voltage regulator that may be caused by voltage abnormality can be prevented in advance.
[0036] Reference Figure 1 , shows a structural block diagram of a power supply monitoring circuit 10 , which may include a power supply 101 .
[0037] In the embodiment of the present invention, the power supply 101 is the source of power supply for the entire circuit. It provides the required power for subsequent modules, including a voltage monitoring module, a low-power voltage regulator, and other electrical equipment or circuit parts connected thereto. The power supply can be of various types, such as a DC power supply obtained by stepping down, rectifying, stabilizing, etc. the common mains electricity, or a battery (such as a lithium battery, a nickel-hydrogen battery, etc., used in portable electronic devices), etc., and the output power supply voltage has a certain initial amplitude and characteristics.
[0038] The voltage monitoring module 102 is connected to the power supply and the low-power voltage regulator, and is used to detect the power supply voltage of the power supply. When the power supply voltage is the standby working voltage, a control signal is sent to the negative feedback control component to control the operation of the low-power voltage regulator, and detect whether the working voltage of the low-power voltage regulator reaches a preset voltage value. If the working voltage of the low-power voltage regulator does not reach the preset voltage value, a voltage adjustment signal is sent to the negative feedback control component.
[0039] In an embodiment of the present invention, the voltage measuring module 102 can continuously detect the supply voltage of the power supply 101, and then compare it with the internal preset reference voltage. If it is a normal working voltage, in one example, the normal working voltage is 3V. If the supply voltage is 3V, the supply voltage is adjusted by a high-performance voltage regulator. If the supply voltage is a standby voltage, in one example, the standby voltage is 1.5V, a control signal can be sent to the negative feedback control component 104. The control signal may include a signal for turning on the low-power voltage regulator 103, and the high-performance voltage regulator is switched to a low-power voltage regulator to adjust the supply voltage output by the power supply.
[0040] Standby operating voltage refers to the operating voltage when the power supply is in standby state.
[0041] The low power voltage regulator 103 is connected to the power supply and is used to adjust the supply voltage output by the power supply according to the control signal.
[0042] In the embodiment of the present invention, the low-power voltage regulator 103 is mainly optimized for low-load scenarios. When the connected power-consuming device is in a low-power operating state (such as a standby mode or a sleep mode of a power supply) or is a low-power device itself (such as a small sensor, a microcontroller, etc.), the low-power voltage regulator can operate in an efficient manner on the basis of meeting its basic voltage regulation requirements. It can automatically adjust the working mode according to the characteristics of the low load, such as reducing the internal switching frequency (for a switching voltage regulator), reducing the working current of the control circuit, etc., to avoid the situation of a big horse pulling a small cart under low load, that is, to avoid unnecessary waste of electricity due to the use of a high-performance, high-power voltage regulator, so that the entire circuit system can achieve low-power operation in the low-load stage.
[0043] The negative feedback control component 104 is connected to the low-power voltage regulator and is used to adjust the working voltage of the low-power voltage regulator to a preset voltage value according to the voltage adjustment signal.
[0044] In the embodiment of the present invention, the negative feedback control component 104 is connected to the low-power voltage regulator 103, which plays a key role in accurately regulating the voltage in the entire power supply monitoring circuit and is an important link in ensuring that the output voltage of the low-power voltage regulator 103 is stable at a preset voltage value. By receiving the voltage regulation signal from the voltage monitoring module 102 and utilizing the negative feedback control principle to dynamically adjust the working state of the low-power voltage regulator 103, a closed-loop voltage regulation system is formed, so that the voltage can automatically stabilize near the desired value, thereby improving the stability and accuracy of the voltage.
[0045] In one example, the control signal can be represented by LDO_MOD, which usually stands for "Low Dropout Regulator", that is, a low-power regulator. "MOD" means "Mode", so "LDO_MOD" is an identifier used to indicate or control the working mode of the low-power regulator. For example, in some complex power management circuits, LDO may have a variety of different working modes, such as normal working mode (output standard set voltage to meet the regular power supply requirements of the connected device), low power mode (reduce its own power consumption, suitable for low-load scenarios such as device standby), bypass mode (may bypass some internal circuit modules for specific testing or troubleshooting, etc.), etc. The "LDO_MOD" signal or parameter setting can be used to select, switch or indicate which specific working mode the current LDO is in, so that the LDO can flexibly adjust its own operating mode according to different device operating states, power requirements, etc., to achieve efficient power management. In one example, LDO_1 can be used to indicate that the low-power regulator starts working and enters low-power mode.
[0046] In one example, the voltage regulation signal may be represented by LPLDO_SEL, which refers to "Low Power LowDropout Regulator", i.e., a low-voltage, low-power regulator. This type of regulator is commonly used in power management circuits. It can stably output the required voltage when the difference between the input voltage and the output voltage is relatively small, and its own power consumption is low. It is often used to power chips and modules that are sensitive to power consumption and require stable power supply, such as some low-power microcontrollers and sensors. "SEL" often means "Select", so "LPLDO_SEL" is a control signal for selecting a specific low-power regulator or an identifier related to the selection mechanism. For example, in a circuit system containing multiple low-power regulators with different parameters (such as different output voltage values, different current carrying capacities, etc.), the "LPLDO_SEL" signal is used to determine which specific regulator to enable to meet the power requirements of the current electrical equipment or circuit module.
[0047] The present invention discloses a power supply monitoring circuit. The present invention can detect the power supply voltage of the power supply in real time through a voltage monitoring module, and accurately control the operation of a low-power voltage regulator when the power supply is in a standby working voltage. The power supply output can be specifically regulated according to different working states, so as to ensure that the device can obtain an adaptive stable voltage under various working conditions, and avoid the normal operation of the device being affected by voltage fluctuations; the low-power voltage regulator is enabled in the standby working voltage scenario, which is in line with the characteristic that the power demand of the device is reduced in this state, avoids unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieves the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the regulation mechanism can be triggered in time to make adjustments, so as to prevent in advance the overload of the low-power voltage regulator that may be caused by voltage abnormality.
[0048] In one embodiment of the present invention, the circuit also includes a NOT gate component, the input end of the NOT gate component is connected to the output end of the voltage monitoring module, and the output end of the NOT gate component is connected to the power supply output end; the voltage monitoring module is used to send a high level signal to the NOT gate component when it detects that the power supply voltage is a spike pulse signal; the NOT gate component is used to output a low level signal to the power supply output end according to the high level signal to filter out the spike pulse signal.
[0049] In the embodiment of the present invention, Figure 2 , shows a block diagram of another power supply monitoring circuit provided by an embodiment of the present invention. The circuit may further include a NOT gate component 105. A NOT gate is a basic logic gate in a digital circuit. The logic rule it follows is very simple, that is, when the input is a high level (usually represented by logic "1", and the corresponding actual voltage value is determined according to the logic level standard of the specific circuit, such as the high level in the common TTL level is approximately 3.6V-5V), the output is a low level (logic "0", the corresponding actual voltage is close to 0V); conversely, when the input is a low level, the output is a high level. In this circuit, the NOT gate component plays a key role in signal processing and control. By cooperating with the voltage monitoring module, it can filter the peak pulse signal at the output end of the power supply to ensure the stability and safety of the power supply of the entire circuit.
[0050] The voltage monitoring module 102 has the function of real-time monitoring of the power supply voltage. During the entire circuit operation process, it always pays attention to the waveform changes of the power supply voltage. When a spike pulse signal is detected in the power supply voltage, a high-level signal will be sent to the NOT gate component. The spike pulse signal here is usually an abnormal signal in which the voltage amplitude suddenly increases in a short period of time and exceeds the normal power supply voltage range. It may be caused by electromagnetic interference in the power grid, transient interference caused by the switching action of other equipment in the circuit, etc. Once the voltage monitoring module identifies such a spike pulse signal, it will output a high-level signal to the input end of the NOT gate component according to the pre-set circuit logic.
[0051] After receiving the high-level signal from the voltage monitoring module, the NOT gate component 105 will output a low-level signal to the power output terminal according to its own NOT gate logic function. This process is to invert the input signal and convert the high level representing the detected spike pulse signal into a low level.
[0052] After the output end of the power supply 101 receives the low-level signal output by the NOT gate component, in the circuit design, this low-level signal will play a corresponding control role, so that the output end of the power supply can shield the peak pulse signal, thereby ensuring the stable and safe operation of the entire circuit system, maintaining the power supply voltage within a normal and stable range, and meeting the voltage requirements for normal operation of electrical equipment.
[0053] In one embodiment of the present invention, the negative feedback control component is used to control the power supply to reset when the operating voltage of the low-power voltage regulator is still less than a preset voltage value after a preset time has passed.
[0054] In an embodiment of the present invention, when the negative feedback control component detects that the operating voltage of the low-power voltage regulator is less than a preset voltage value and this state lasts for more than a preset time, it will send a corresponding reset signal to the power supply. The form and transmission method of the reset signal depend on the specific circuit design. It may be a specific digital level signal (such as sending a low-level pulse signal to the reset pin of the power supply, for some power supply circuits using low-level reset), or it may be sending a reset instruction to the control module inside the power supply through a specific communication protocol or control bus. After receiving the reset signal, the power supply will perform a reset operation, and its internal circuit state will be reinitialized, which is equivalent to a "restart". For example, various control registers inside the power supply will be restored to the initial value, the working state of key power devices such as the switch tube will be readjusted, and the output voltage will also be re-established and adjusted from the initial state, trying to restore to a normal power supply state.
[0055] In one embodiment of the present invention, the voltage monitoring module is also used to output a current regulation signal to the negative feedback control component when the operating voltage of the low-power voltage regulator reaches a preset voltage; the negative feedback control component is also used to output a preset current signal to the low-power voltage regulator according to the current regulation signal to reduce the load of the low-power voltage regulator.
[0056] In the embodiment of the present invention, when the output voltage of the power supply 1 indicates that the power supply is in the standby state, the voltage monitoring module 102 can detect whether the working voltage of the low-power voltage regulator 103 reaches the preset voltage. When it is detected that the working voltage of the low-power voltage regulator just reaches the preset voltage, it means that the current voltage is in the desired stable state, but at this time, the impact of the load on the circuit must also be considered, so the voltage monitoring module 102 will generate a corresponding current regulation signal based on the pre-set circuit logic and a comprehensive judgment of the operating status of the entire circuit.
[0057] After the negative feedback control component receives the current regulation signal from the voltage monitoring module, it will first analyze and process the signal. It contains corresponding signal decoding, calculation and other circuit modules. Then, based on the processed results, it generates a preset current signal according to the established control algorithm and circuit logic. This preset current signal is also designed to accurately control the operating current of the low-power voltage regulator and can be determined according to the current size.
[0058] After the negative feedback control component 104 outputs the preset current signal to the low-power voltage regulator, the low-power voltage regulator will adjust its internal working state according to the signal, thereby reducing the load. For different types of low-power voltage regulators, the specific methods for reducing the load are different.
[0059] Linear voltage regulator: For example, the linear voltage regulator controls the output voltage and current by adjusting the conduction degree of the adjustment tube. After receiving the preset current signal, the base (for triodes) or gate (for field effect tubes) current of the adjustment tube will be changed accordingly, thereby changing the on-resistance of the adjustment tube, so that the current (that is, the load current) passing through the adjustment tube is reduced, thereby reducing the load of the low-power voltage regulator. The advantage of doing this is that it can reduce the power consumption of the adjustment tube, avoid overheating of the adjustment tube due to long-term high-current operation, improve the working efficiency and stability of the linear voltage regulator, and also reduce the power supply pressure of the power supply, ensuring that the entire circuit operates stably at a lower load level.
[0060] Switching voltage regulator: In a switching voltage regulator, the output voltage and current are adjusted by controlling parameters such as the on-time, off-time and switching frequency of the switching tube. The preset current signal will act on the control circuit inside the switching voltage regulator (such as pulse width modulation controller, PWM controller, etc.) to change the working parameters of the switching tube, such as shortening the on-time of the switching tube or reducing the switching frequency, thereby reducing the current transmitted to the load end through energy storage elements such as inductors and capacitors, thereby reducing the load. This method helps to reduce the switching loss of the switching tube, the core loss of the inductor, etc., improve the energy efficiency of the switching voltage regulator, and can make the entire circuit system in a more optimized low-load working state while meeting the power supply requirements of electrical equipment, thereby extending the service life of each component and reducing the risk of circuit failure.
[0061] In one embodiment of the present invention, the negative feedback control component includes a control unit, the input end of the control unit is connected to the output end of the voltage monitoring module, and the output end of the control unit is connected to the input end of the low-power voltage regulator; the control unit is used to send a start-up instruction to the low-power voltage regulator according to a control signal to control the operation of the low-power voltage regulator.
[0062] In the embodiment of the present invention, Figure 2 , the negative feedback control component 104 may include a control unit 1041, the input end of the control unit 1041 is connected to the output end of the voltage monitoring module 102, and the output end of the control unit is connected to the input end of the low power consumption voltage regulator 103;
[0063] The voltage monitoring module 102 can generate a 2-bit position control signal according to the power supply voltage signal and the working voltage signal of the low-power voltage regulator 103, and then send the 2-bit position control signal to the control unit 1041. In one example, when the voltage monitoring module 102 knows that the power supply is in the standby state, it detects that the power supply voltage output by the power supply 101 is 3v and the working voltage of the low-power voltage regulator is 1.5v. At this time, a 2-bit position control signal VCC_STABL can be generated: LPLDO_VDD_STABL=1:1, where VCC_STABL=1, indicating that the power supply voltage VCC is stable at 3v; LPLDO_VDD_STAB L=1, indicating that the low-power voltage regulator stably outputs a 1.5v voltage; if it is detected that the supply voltage output by the power supply 101 is 3v and the operating voltage of the low-power voltage regulator is not 1.5v, a 2-bit position control signal VCC_STABL can be generated: LPLDO_VDD_STABL=1:0, where VCC_STABL=1, indicating that the supply voltage VCC is stable at 3v; LPLDO_VDD_STABL=0, indicating that the low-power voltage regulator does not stably output a 1.5v voltage, and when the 2-bit position control signal VCC_STABL: LPLDO_VDD_STABL=0:0, it indicates that there is no stable voltage at this time.
[0064] When the control unit 1041 obtains VCC_STABL:LPLDO_VDD_STABL=1:0, it can generate a voltage adjustment signal LPLDO_SEL to adjust the gear until the low-power regulator is adjusted to stably output a 1.5V voltage. If the combination signal VCC_STABL:LPLDO_VDD_STABL is 1:1, it can generate a control signal LDO_MOD to switch the high-performance voltage regulator to the low-power regulator.
[0065] In one embodiment of the present invention, the negative feedback control component also includes a load component and a load feedback component. The control end of the control unit is connected to the input end of the load component, the output end of the load component is connected to the input end of the load feedback component, and the output end of the load feedback component is connected to the input end of the low-power voltage regulator; the load component is used to output a working current signal to the load feedback component according to the current regulation signal, and the load feedback component is used to output a preset current signal to the low-power voltage regulator according to the working current signal.
[0066] In one embodiment of the present invention, Figure 2 The circuit may further include a high-performance voltage regulator 106. When the power supply is not in a standby state, the high-performance voltage regulator 106 can maintain a stable and accurate voltage output within a wider range of load current changes. Regardless of whether the connected electrical equipment is in a light load (such as a standby state, a low-power operating state, etc.) or a heavy load (a full-load operating state), the high-performance voltage regulator can automatically adjust its internal working state according to the load conditions to ensure that the output voltage is not affected by changes in the load current and is always maintained near the set standard voltage value, thereby meeting the needs of the equipment for stable power supply under different load conditions. When the power supply is in a standby state, it can be switched from the high-performance voltage regulator 106 to the low-power voltage regulator 103, so that when the connected electrical equipment is in a low-power operating state, it can operate in an efficient manner on the basis of meeting its basic voltage regulation needs.
[0067] In the embodiment of the present invention, the load component has a corresponding signal processing circuit inside. When receiving the current regulation signal, it will be processed according to the instruction information carried by the signal. For example, if it is an analog voltage signal, a voltage-current conversion operation will be performed through circuit elements such as an operational amplifier; if it is a digitally encoded signal, it will first be restored to a specific control instruction through a decoding circuit, and then the internal digital logic circuit and digital-to-analog conversion circuit will cooperate to generate the corresponding current control-related signal to prepare to output a suitable working current signal.
[0068] After receiving the working current signal from the load component, the load feedback component 1044 will perform a detailed analysis and processing on it. If the working current signal is an analog signal, it will pass through some signal conditioning circuits such as filtering circuits to remove interference noise, and amplification circuits to appropriately adjust the signal amplitude, etc., so that the signal is purer and meets the requirements of subsequent processing and transmission; if the working current signal is a digital signal, there will be a corresponding verification and analysis mechanism inside the load feedback component 1044 to ensure the accuracy and integrity of the signal, and at the same time, according to the predetermined digital logic and protocol, extract key parameter information such as current size and change rate.
[0069] Based on the information obtained after processing the working current signal, the load feedback component 1044 generates a preset current signal and outputs it to the low-power voltage regulator.
[0070] like Figure 2 The negative feedback control component 104 may also include a load component 1043 and a load feedback component 1044. The load component 1043 is used to output a working current signal to the load feedback component 1044 according to the current regulation signal. The load feedback component 1044 is used to output a preset current signal to the low-power voltage regulator according to the working current signal. In one example, the preset current signal is one thousandth of the working current signal.
[0071] In one embodiment of the present invention, the negative feedback control component may also include a digital electrical module 1042, which can receive the current regulation signal fed back from the control unit 1041, and provide the load feedback component with a key information digital signal (such as the expected load current adjustment amplitude) after processing and judgment, and then convert it into a suitable signal digital signal and feed it back to the load component 1043, instructing the load component 1043 to adjust the output working current signal, and then adjust the load condition of the low-power voltage regulator to achieve precise control of the load current.
[0072] In an embodiment of the present invention, the voltage monitoring module is further used to reset the power supply when the power supply is not in the standby state and the supply voltage of the power supply is less than a preset threshold voltage.
[0073] In the embodiment of the present invention, the non-standby state of the power supply means that the entire circuit system is in a normal working and operating stage, and each functional module is performing the corresponding task in accordance with the normal working mode. At this time, the power supply voltage is relatively stable and meets the expectations of the equipment requirements. The preset threshold voltage is a key value set in advance for measuring whether the power supply voltage is in a normal working state. It can be set according to user needs. When the voltage monitoring module 102 detects that the power supply is not in the standby state and the supply voltage is less than the preset threshold voltage, the power supply can be reset in time, and the normal power supply state of the power supply can be quickly restored to avoid damage to the running equipment due to too low voltage, thereby ensuring the stability and reliability of the entire circuit system.
[0074] The present invention discloses a power supply monitoring circuit. The present invention can detect the power supply voltage of the power supply in real time through a voltage monitoring module, and accurately control the operation of a low-power voltage regulator when the power supply is in a standby working voltage. The power supply output can be specifically regulated according to different working states, so as to ensure that the device can obtain an adaptive stable voltage under various working conditions, and avoid the normal operation of the device being affected by voltage fluctuations; the low-power voltage regulator is enabled in the standby working voltage scenario, which is in line with the characteristic that the power demand of the device is reduced in this state, avoids unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieves the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the regulation mechanism can be triggered in time to make adjustments, so as to prevent in advance the overload of the low-power voltage regulator that may be caused by voltage abnormality.
[0075] like Figure 3 , shows a flow chart of a power supply monitoring method provided by an embodiment of the present invention, the method may include the following steps:
[0076] Step 201, detecting the supply voltage of the power supply.
[0077] Step 202, when the power supply voltage is the standby working voltage, a control signal is sent to the negative feedback control component to control the low power voltage regulator to work, and detect whether the working voltage of the low power voltage regulator reaches a preset voltage value;
[0078] Step 203: If the operating voltage of the low power voltage regulator does not reach the preset voltage value, a voltage adjustment signal is sent to the negative feedback control component to adjust the operating voltage of the low power voltage regulator to the preset voltage value.
[0079] The present invention discloses a power supply monitoring method. The present invention can detect the power supply voltage of the power supply in real time through a voltage monitoring module, and accurately control the operation of a low-power voltage regulator when the power supply is in a standby working voltage. The power supply output can be specifically regulated according to different working states, so as to ensure that the device can obtain an adaptive stable voltage under various working conditions, and avoid the normal operation of the device being affected by voltage fluctuations; the low-power voltage regulator is enabled in the standby working voltage scenario, which is in line with the characteristic that the power demand of the device is reduced in this state, avoids unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieves the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the regulation mechanism can be triggered in time to make adjustments, so as to prevent in advance the overload of the low-power voltage regulator that may be caused by voltage abnormality.
[0080] In one embodiment of the present invention, it also includes: when the power supply voltage is monitored to be a spike pulse signal, a high level signal is sent to the NOT gate component, so that the NOT gate component outputs a low level signal to the power output terminal according to the high level signal to filter out the spike pulse signal.
[0081] In an embodiment of the present invention, the method further includes: when the operating voltage of the low-power voltage regulator is still less than the preset voltage value after exceeding the preset time, the power supply is controlled to reset.
[0082] The present invention discloses a power supply monitoring method. The present invention can detect the power supply voltage of the power supply in real time through a voltage monitoring module, and accurately control the operation of a low-power voltage regulator when the power supply is in a standby working voltage. The power supply output can be specifically regulated according to different working states, so as to ensure that the device can obtain an adaptive stable voltage under various working conditions, and avoid the normal operation of the device being affected by voltage fluctuations; the low-power voltage regulator is enabled in the standby working voltage scenario, which meets the characteristic of the device having a reduced power demand in this state, avoids unnecessary power consumption waste caused by the use of a high-power voltage regulator, and achieves the purpose of energy saving and consumption reduction; the working voltage of the low-power voltage regulator can be monitored, and once it is found that the working voltage of the low-power voltage regulator does not reach the preset value, the regulation mechanism can be triggered in time for adjustment, so as to prevent in advance the overload of the low-power voltage regulator that may be caused by voltage abnormality.
[0083] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0084] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0085] The embodiment of the present invention further provides an electrical device, including:
[0086] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned power supply monitoring method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0087] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned power supply monitoring method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0088] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0089] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0090] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0091] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0093] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0094] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0095] The power supply monitoring circuit, method, device and storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A power supply monitoring circuit, characterized in that: The circuit comprises: power supply; A voltage monitoring module, the voltage monitoring module is connected to the power supply and the low-power voltage regulator, and is used to detect the power supply voltage of the power supply, and when the power supply voltage is a standby working voltage, sends a control signal to the negative feedback control component to control the operation of the low-power voltage regulator, and detects whether the working voltage of the low-power voltage regulator reaches a preset voltage value, and if the working voltage of the low-power voltage regulator does not reach the preset voltage value, sends a voltage regulation signal to the negative feedback control component; The low-power voltage regulator is connected to the power supply and is used to adjust the supply voltage output by the power supply according to the control signal; The negative feedback control component is connected to the low-power voltage regulator and is used to adjust the working voltage of the low-power voltage regulator to the preset voltage value according to the voltage adjustment signal.
2. The circuit according to claim 1, characterized in that The circuit further comprises a NOT gate component, wherein the input end of the NOT gate component is connected to the output end of the voltage monitoring module, and the output end of the NOT gate component is connected to the power supply output end; The voltage monitoring module is used to send a high level signal to the NOT gate component when detecting that the supply voltage is a spike pulse signal; The NOT gate component is used to output a low level signal to the power output terminal according to the high level signal, so as to filter out the spike pulse signal.
3. The circuit according to claim 1, characterized in that The negative feedback control component is used to control the power supply to reset when the working voltage of the low-power voltage regulator is still lower than the preset voltage value after exceeding the preset time.
4. The circuit according to claim 1, characterized in that The voltage monitoring module is also used to output a current regulation signal to the negative feedback control component when the operating voltage of the low-power voltage regulator reaches the preset voltage; The negative feedback control component is further used to output a preset current signal to the low-power voltage regulator according to the current regulation signal, so as to reduce the load of the low-power voltage regulator.
5. The circuit according to claim 4, characterized in that The negative feedback control component comprises a control unit, the input end of the control unit is connected to the output end of the voltage monitoring module, and the output end of the control unit is connected to the input end of the low power consumption voltage regulator; The control unit is used for sending a start-up instruction to the low-power voltage regulator according to the control signal, so as to control the operation of the low-power voltage regulator.
6. The circuit according to claim 5, characterized in that The negative feedback control component further includes a load component and a load feedback component, the control end of the control unit is connected to the input end of the load component, the output end of the load component is connected to the input end of the load feedback component, and the output end of the load feedback component is connected to the input end of the low-power voltage regulator; The load component is used to output a working current signal to the load feedback component according to the current regulation signal, and the load feedback component is used to output a preset current signal to the low-power voltage regulator according to the working current signal.
7. The circuit according to claim 1, characterized in that The voltage monitoring module is also used to reset the power supply when the power supply is not in the standby state and the supply voltage of the power supply is less than a preset threshold voltage.
8. A power supply monitoring method, characterized in that: Applied to the power supply monitoring circuit according to any one of claims 1 to 7, the method comprising: Detect the power supply voltage; When the power supply voltage is the standby operating voltage, a control signal is sent to the negative feedback control component to control the operation of the low-power voltage regulator, and detect whether the operating voltage of the low-power voltage regulator reaches a preset voltage value; If the operating voltage of the low-power voltage regulator does not reach the preset voltage value, a voltage adjustment signal is sent to the negative feedback control component to adjust the operating voltage of the low-power voltage regulator to the preset voltage value.
9. The method according to claim 8, characterized in that Also includes: When the power supply voltage is monitored to be a spike pulse signal, a high level signal is sent to the NOT gate component, so that the NOT gate component outputs a low level signal to the power output terminal according to the high level signal to filter out the spike pulse signal.
10. The method according to claim 1, further comprising: When the working voltage of the low-power voltage regulator is still lower than the preset voltage value after exceeding the preset time, the power supply is controlled to be reset.
11. An electronic device, characterized in that: The electronic device comprises the power monitoring circuit as described in any one of claims 1-7.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power supply monitoring method according to any one of claims 7 to 10 are implemented.