Disclosure of Invention
In view of this, an embodiment of the present invention provides a short-circuit protection method and apparatus for a voltage regulator circuit, which can perform short-circuit protection on different voltage regulator circuits or different types of voltage regulator circuits in a targeted manner, improve response speed and reliability, and reduce complexity of the device.
Based on the above object, an aspect of the embodiments of the present invention provides a short-circuit protection method for a voltage regulator circuit, including the following steps:
generating and outputting an input voltage status signal indicative of a status of the input voltage using an input voltage status validation circuit;
generating and outputting an output voltage status signal indicative of an output voltage status using an output voltage status validation circuit;
the operation signal control circuit is used to control the voltage regulation circuit to stop operation in response to the input voltage status signal indicating that the input voltage is normal and the output voltage status signal indicating that the output voltage is abnormal.
In some embodiments, an input voltage status confirmation circuit is connected in parallel between the output and input of the voltage regulation circuit, generating and outputting an input voltage status signal using a voltage divider and a comparator.
In some embodiments, the input voltage status confirmation circuit includes a first comparator, a first resistor and a second resistor, the first resistor and the second resistor form a voltage divider to divide the voltage from the input terminal and input the divided voltage to the non-inverting input terminal of the first comparator, and the voltage at the output terminal is directly input to the inverting input terminal of the first comparator.
In some embodiments, the first comparator outputs a high level when the input voltage is normal and outputs a low level when the input voltage is abnormal.
In some embodiments, an output voltage status confirmation circuit is connected in parallel between the output and input of the voltage regulation circuit, generating and outputting an output voltage status signal using a voltage divider and a comparator.
In some embodiments, the input voltage state confirmation circuit includes a second comparator, a third resistor and a fourth resistor, the third resistor and the fourth resistor form a voltage divider to divide the voltage from the input terminal and input the divided voltage to the inverting input terminal of the second comparator, and the voltage at the output terminal is directly input to the non-inverting input terminal of the second comparator.
In some embodiments, the second comparator outputs a low level when the output voltage is normal and outputs a high level when the output voltage is abnormal.
In some embodiments, the operation signal control circuit is connected to the input voltage state confirmation circuit, the output voltage state confirmation circuit, and the voltage regulation circuit, and generates the operation enable signal from the input voltage state signal and the output voltage state signal by using the and gate and the field effect transistor to control the operation state of the voltage regulation circuit.
In some embodiments, the input voltage status signal and the output voltage status signal are respectively input to two input ends of an and gate, an output end of the and gate is connected to a gate of a field effect transistor, a drain of the field effect transistor is grounded, and a source and a base of the field effect transistor are connected to an operation enabling end of the voltage regulating circuit; and the field effect transistor is conducted when the high level is input into the AND gate so as to lead the work enabling end to be directly grounded.
In another aspect of the embodiments of the present invention, there is also provided a short-circuit protection device for a voltage regulator circuit, including:
an input voltage state confirmation circuit connected to the voltage regulation circuit for generating and outputting an input voltage state signal indicating a state of the input voltage;
an output voltage state confirmation circuit connected to the voltage regulation circuit for generating and outputting an output voltage state signal indicating the state of the output voltage;
and the working signal control circuit is connected to the input voltage state confirmation circuit, the output voltage state confirmation circuit and the voltage regulation circuit and is used for controlling the working state of the voltage regulation circuit according to the input voltage state signal and the output voltage state signal so that the voltage regulation circuit stops working when the input voltage is normal and the output voltage is abnormal.
The invention has the following beneficial technical effects: according to the short-circuit protection method and device of the voltage regulating circuit, an input voltage state signal used for indicating the state of an input voltage is generated and output by using an input voltage state confirmation circuit; generating and outputting an output voltage status signal indicative of an output voltage status using an output voltage status validation circuit; the technical scheme that the input voltage state signal indicates that the input voltage is normal and the output voltage state signal indicates that the output voltage is abnormal is responded, and the working signal control circuit is used for controlling the voltage regulating circuit to stop working can be used for carrying out short-circuit protection on different voltage regulating circuits or different types of voltage regulating circuits in a targeted manner, so that the reaction speed and the reliability are improved, and the equipment complexity is reduced.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it is understood that "first" and "second" are only used for convenience of expression and should not be construed as limitations to the embodiments of the present invention, and the descriptions thereof in the following embodiments are omitted.
In view of the above-mentioned objects, a first aspect of embodiments of the present invention proposes an embodiment of a method capable of performing short-circuit protection specifically for different voltage regulating circuits or different types of voltage regulating circuits. Fig. 1 is a schematic flow chart of an embodiment of a short-circuit protection method for a voltage regulator circuit according to the present invention.
The short-circuit protection method of the voltage regulating circuit comprises the following steps:
a step S101 of generating and outputting an input voltage state signal indicating an input voltage state by using an input voltage state confirmation circuit;
step S103, generating and outputting an output voltage state signal for indicating the state of the output voltage by using an output voltage state confirmation circuit;
and step S105, in response to the input voltage state signal indicating that the input voltage is normal and the output voltage state signal indicating that the output voltage is abnormal, controlling the voltage regulating circuit to stop working by using the working signal control circuit.
The detailed steps can be seen in fig. 2. The embodiment of the invention acquires the states of the input voltage and the output voltage and executes short-circuit protection when the input voltage is normal and the output voltage is abnormal. Normal and abnormal here means whether the acquired voltage is within a predetermined range: within a predetermined range, it is normal, otherwise it is abnormal. The embodiment of the invention only executes short-circuit protection when the input voltage is normal so as to consider the spike and burr effect of the signal. Generally, the input voltage is normal when a short circuit occurs and abnormal when a spike glitch occurs, so monitoring the input voltage can distinguish two situations causing the output voltage to be abnormal and is beneficial to targeted processing.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some embodiments, an input voltage status confirmation circuit is connected in parallel between the output and input of the voltage regulation circuit, generating and outputting an input voltage status signal using a voltage divider and a comparator.
In some embodiments, the input voltage status confirmation circuit includes a first comparator, a first resistor and a second resistor, the first resistor and the second resistor form a voltage divider to divide the voltage from the input terminal and input the divided voltage to the non-inverting input terminal of the first comparator, and the voltage at the output terminal is directly input to the inverting input terminal of the first comparator.
In some embodiments, the first comparator outputs a high level when the input voltage is normal and outputs a low level when the input voltage is abnormal.
In some embodiments, an output voltage status confirmation circuit is connected in parallel between the output and input of the voltage regulation circuit, generating and outputting an output voltage status signal using a voltage divider and a comparator.
In some embodiments, the input voltage state confirmation circuit includes a second comparator, a third resistor and a fourth resistor, the third resistor and the fourth resistor form a voltage divider to divide the voltage from the input terminal and input the divided voltage to the inverting input terminal of the second comparator, and the voltage at the output terminal is directly input to the non-inverting input terminal of the second comparator.
In some embodiments, the second comparator outputs a low level when the output voltage is normal and outputs a high level when the output voltage is abnormal.
In some embodiments, the operation signal control circuit is connected to the input voltage state confirmation circuit, the output voltage state confirmation circuit, and the voltage regulation circuit, and generates the operation enable signal from the input voltage state signal and the output voltage state signal by using the and gate and the field effect transistor to control the operation state of the voltage regulation circuit.
In some embodiments, the input voltage status signal and the output voltage status signal are respectively input to two input ends of an and gate, an output end of the and gate is connected to a gate of a field effect transistor, a drain of the field effect transistor is grounded, and a source and a base of the field effect transistor are connected to an operation enabling end of the voltage regulating circuit; and the field effect transistor is conducted when the high level is input into the AND gate so as to lead the work enabling end to be directly grounded.
The method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention. The above method steps may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps.
As shown in fig. 3, the input voltage status confirmation circuit is composed of a comparator M1 and resistors R1 and R2, the input voltage Vin is divided by the resistors R1 and R2 and then serves as the positive terminal of the comparator M1, the output voltage Vout serves as the negative terminal of the M1, when the divided voltage is greater than Vout, it is ensured that Vin is in the normal range, the M1 outputs a high voltage, otherwise, a low voltage is output. Similarly, the output voltage status confirmation circuit — is composed of a comparator M2 and resistors R3 and R4, the input voltage Vin is divided by the resistors R3 and R4 to serve as the negative terminal of the comparator M2, the output voltage Vout is served as the positive terminal of the comparator M2, when the divided voltage is less than Vout, it is ensured that Vout is in an abnormal range, M2 outputs a high voltage, otherwise, a low voltage is output. The working signal control circuit consists of an AND gate U1 and an N-Mosfet Q1, when the comparators M1 and M2 both output high voltage, the AND gate U1 outputs the high voltage to control the N-Mosfet Q1 to be conducted, the working signal Enable is enabled to be short-circuited with the ground, and the voltage reduction regulating circuit stops working.
The various illustrative steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
As can be seen from the foregoing embodiments, the short-circuit protection method for a voltage regulator circuit according to an embodiment of the present invention generates and outputs an input voltage status signal indicating a status of an input voltage by using an input voltage status confirmation circuit; generating and outputting an output voltage status signal indicative of an output voltage status using an output voltage status validation circuit; the technical scheme that the input voltage state signal indicates that the input voltage is normal and the output voltage state signal indicates that the output voltage is abnormal is responded, and the working signal control circuit is used for controlling the voltage regulating circuit to stop working can be used for carrying out short-circuit protection on different voltage regulating circuits or different types of voltage regulating circuits in a targeted manner, so that the reaction speed and the reliability are improved, and the equipment complexity is reduced.
It should be particularly noted that, the steps in the embodiments of the short-circuit protection method for a voltage regulating circuit described above can be mutually intersected, replaced, added, and deleted, so that the short-circuit protection method for a voltage regulating circuit converted by these reasonable permutations and combinations also falls within the scope of the present invention, and should not limit the scope of the present invention to the described embodiments.
In view of the above-mentioned objects, a second aspect of the embodiments of the present invention provides an embodiment of an apparatus capable of performing short-circuit protection for different voltage regulating circuits or different types of voltage regulating circuits in a targeted manner. The device comprises:
an input voltage state confirmation circuit connected to the voltage regulation circuit for generating and outputting an input voltage state signal indicating a state of the input voltage;
an output voltage state confirmation circuit connected to the voltage regulation circuit for generating and outputting an output voltage state signal indicating the state of the output voltage;
and the working signal control circuit is connected to the input voltage state confirmation circuit, the output voltage state confirmation circuit and the voltage regulation circuit and is used for controlling the working state of the voltage regulation circuit according to the input voltage state signal and the output voltage state signal so that the voltage regulation circuit stops working when the input voltage is normal and the output voltage is abnormal.
The devices and apparatuses disclosed in the embodiments of the present invention may be various electronic terminal apparatuses, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal apparatus, such as a server, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of device and apparatus. The client disclosed in the embodiment of the present invention may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.
As can be seen from the foregoing embodiments, the short-circuit protection device of the voltage regulating circuit according to the embodiments of the present invention generates and outputs an input voltage state signal indicating a state of an input voltage by using an input voltage state confirmation circuit; generating and outputting an output voltage status signal indicative of an output voltage status using an output voltage status validation circuit; the technical scheme that the input voltage state signal indicates that the input voltage is normal and the output voltage state signal indicates that the output voltage is abnormal is responded, and the working signal control circuit is used for controlling the voltage regulating circuit to stop working can be used for carrying out short-circuit protection on different voltage regulating circuits or different types of voltage regulating circuits in a targeted manner, so that the reaction speed and the reliability are improved, and the equipment complexity is reduced.
It should be particularly noted that, the above-mentioned embodiment of the short-circuit protection device of the voltage regulating circuit adopts the embodiment of the short-circuit protection method of the voltage regulating circuit to specifically describe the working process of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the short-circuit protection method of the voltage regulating circuit. Of course, since the steps in the embodiment of the short-circuit protection method for the voltage regulating circuit can be mutually intersected, replaced, added, and deleted, the short-circuit protection device for the voltage regulating circuit, which is transformed by these reasonable permutations and combinations, shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the embodiment.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The sequence numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.