Apparatus, method and system for regulating constant voltage output of a power supply
The constant voltage output regulation system addresses unstable power supply issues by using a sampling and PID control mechanism to ensure precise control of power supply current, improving safety and reliability.
Patent Information
- Application Number
- JP2023528415
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-11-17
- Filing Date
- 2021-07-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-07-08
AI Technical Summary
Existing power supplies often experience unstable output, leading to safety issues such as short circuits, which can cause damage to equipment and pose risks to human life, particularly in applications like car charging equipment.
A constant voltage output regulation system and method using a sampling module, PID adjustment module, and control module to control the power supply current with high precision through closed-loop PID control adjustment, ensuring stable output voltage.
The system achieves high precision control of power supply output voltage, enhancing safety and reliability by preventing voltage fluctuations and reducing the risk of equipment damage.
Smart Images

Figure 0007559238000004 
Figure 0007559238000005 
Figure 0007559238000006
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed on November 17, 2020, bearing application number 202011286849.1 and entitled "Power supply constant voltage output adjustment device, method and system," the entire contents of which are incorporated herein in their entirety.
[0002] The present invention relates to the technical field of power electronics, and in particular to an apparatus, method and system for regulating a constant voltage output of a power supply. [Background technology]
[0003] In electric power and electronic devices, the power supply, as an energy supply device, is particularly important for its safety and reliability. In order to ensure the electrical safety of the power supply, a stable power supply is required, and a stable output of the power supply is realized. If the output of the power supply is unstable, it is easy to cause a short circuit or other situation, which creates a safety problem, and as a result, it may cause damage to equipment such as the power supply, causing huge economic losses and damage to human life. Summary of the Invention
[0004] One object of the present invention is to provide a constant voltage output adjustment device for a power supply capable of outputting a constant voltage from the power supply. Another object of the present invention is to provide a constant voltage output adjustment system for a power supply. A further object of the present invention is to provide a constant voltage output adjustment method for a power supply. A still further object of the present invention is to provide a computer device. A still further object of the present invention is to provide a readable medium.
[0005] In order to achieve the above object, one aspect of the present invention is a constant voltage output adjustment device for a power supply, comprising: The power supply generates an output voltage according to a power supply current, and the constant voltage output adjustment device includes a sampling module, a PID adjustment module, and a control module; The sampling module samples an output voltage of a power supply to obtain a sampled voltage; The PID control module obtains a switching frequency signal through PID control adjustment according to the sampled voltage and a preset control parameter, the PID control adjustment including a voltage loop control adjustment and a voltage difference change rate loop control adjustment; The control module discloses a constant voltage output regulator for a power supply that shapes a supply current based on the switching frequency signal.
[0006] The present invention further discloses a constant voltage output regulation system for a power supply, which includes a power supply and a constant voltage output regulation device for a power supply as described above.
[0007] The present invention provides a method for adjusting a constant voltage output of a power supply, comprising the steps of: Sampling an output voltage of the power supply to obtain a sampled voltage; Obtaining a switching frequency signal through PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment, according to the sampling voltage and a preset control parameter; forming a supply current based on the switching frequency signal; A method for regulating a constant voltage output of a power supply is further disclosed, comprising:
[0008] The present invention provides a charging control system including a memory, a processor, and a computer program stored in the memory and executable by the processor, The present invention further discloses a charging control system, in which the above-mentioned method is realized when the program is executed by the processor.
[0009] The present invention relates to a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, the computer device comprising: There is further disclosed a computing device in which the program, when executed by the processor, realises the method as above.
[0010] The present invention relates to a computer-readable medium on which a computer program is stored, Further disclosed is a computer readable medium, in which the program, when executed by a processor, realises such a method.
[0011] The present invention uses a sampling module to sample the output voltage of the power supply to obtain the sampled voltage, and a PID adjustment module performs PID control adjustment on the sampled voltage based on preset control parameters to obtain a switching frequency signal. Therefore, a power supply current can be formed based on the switching frequency signal newly generated after PID control adjustment, and the power supply forms an output voltage based on the power supply current. The present invention achieves the purpose of ensuring a constant voltage output of the power supply by sampling and adjusting the real-time output voltage of the power supply through PID control adjustment, including voltage loop control adjustment and voltage difference change rate loop control adjustment. As described above, the present invention achieves the high-precision control of the magnitude of the power supply current of the power supply through closed-loop PID control adjustment, thereby realizing the high-precision control of the output voltage of the power supply and improving the stability of the power supply.
[0012] In the following, in order to more clearly explain the technical solutions in the embodiments of the present invention or the prior art, drawings necessary for the description of the embodiments or the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings based on these drawings without exerting creative efforts. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 shows a structural diagram of a specific embodiment of a constant voltage output regulator for a power supply according to the present invention. [Diagram 2] FIG. 2 shows a structural diagram of a sampling module of a specific embodiment of the constant voltage output regulator of a power supply according to the present invention. [Diagram 3] FIG. 3 shows a structural diagram of a control module of a specific embodiment of the constant voltage output regulator of a power supply according to the present invention. [Figure 4] FIG. 4 shows a flow chart of a specific embodiment of the constant voltage output adjustment method for a power supply according to the present invention. [Diagram 5] FIG. 5 shows a flow chart of step S100 of a specific embodiment of the constant voltage output adjustment method for a power supply according to the present invention. [Figure 6] FIG. 6 shows a flow chart of S200 of a specific embodiment of the constant voltage output adjustment method for a power supply according to the present invention. [Figure 7] FIG. 7 shows a flow chart of S300 in one embodiment of the constant voltage output adjustment method for a power supply according to the present invention. [Figure 8] FIG. 8 shows a structural schematic diagram of a computer device suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention, and it is clear that the described embodiments are only some embodiments of the present invention, and do not include all the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without any creative efforts are all within the scope of protection of the present invention.
[0015] In the prior art, various power sources in power and electronic devices need to ensure the safety of their power supply capabilities and the reliability of their performance. For example, with the popularity of new energy vehicles, the electrical safety of new energy vehicles during charging has become an increasingly important issue. An automobile charging device requires a stable power supply 10. If the power supply 10 is unstable, especially when a short circuit or other situation occurs in the power supply 10, it may burn important components of the automobile during charging, causing huge economic losses and, in serious cases, even causing damage to human life, so that constant voltage control of the voltage of the power supply 10 is an issue that is close to being solved. Therefore, the present invention provides a constant voltage output adjustment method for a power supply that controls the magnitude of the power supply 10's supply current with high precision through closed-loop PID (proportional, integral and differential) control adjustment, thereby achieving high-precision control of the output voltage of the power supply 10 and improving the stability of the output voltage of the power supply 10, thereby ensuring the safety and reliability of power supply equipment such as a charging device.
[0016] According to one aspect of the present invention, the present embodiment discloses a constant voltage output regulation device for a power supply. As shown in Fig. 1, in the present embodiment, the power supply 10 forms an output voltage according to a power supply current. The constant voltage output regulation device includes a sampling module 11, a PID regulation module 12 and a control module 13.
[0017] Here, the sampling module 11 is used for sampling the output voltage of the power supply 10 to obtain a sampling voltage. The PID control module 12 is used for obtaining a switching frequency signal by PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment, according to the sampling voltage and a preset control parameter. The control module 13 is used for forming a power supply current according to the switching frequency signal.
[0018] In the present invention, the sampling module 11 samples the output voltage of the power supply 10 to obtain the sampled voltage, and the PID adjustment module 12 performs PID control adjustment on the sampled voltage based on the preset control parameters to obtain a switching frequency signal. Therefore, the power supply current can be formed based on the switching frequency signal newly generated after the PID control adjustment, and the power supply 10 can form an output voltage based on the power supply current. In the present invention, the output voltage of the power supply 10 is sampled, and the power supply current of the output voltage of the power supply 10 is adjusted by PID control adjustment, including voltage loop control adjustment and voltage difference change rate loop control adjustment, so that the purpose of ensuring a constant voltage output of the power supply 10 is achieved by collecting and adjusting the real-time output voltage of the power supply 10. As described above, the present invention uses the closed loop PID control adjustment to control the magnitude of the power supply current of the power supply 10 with high precision, and the high precision control of the output voltage of the power supply 10 is realized, thereby improving the stability of the power supply.
[0019] In a preferred embodiment, the sampling module is used to collect the output voltage of the power supply to obtain a sampling voltage. Here, the collection method includes at least one of voltage division collection, Hall effect collection, and voltage division chip collection. In practical application, the output voltage may be collected in other ways to obtain the sampling voltage, and the present invention is not limited thereto. In order to collect the output voltage of the power supply 10 in real time and reduce the complexity of signal processing, in a preferred embodiment, the sampling module 11 is used to divide the output voltage of the power supply 10 to obtain the sampling voltage. Specifically, by collecting the output voltage of the power supply 10 in a proportional manner through a voltage division method, the collected sampled voltage can represent the magnitude of the output voltage of the power supply 10, and in the subsequent processing process of the voltage or current signal, the sampled voltage is a part of the output voltage collected in a certain proportion, so that the large voltage of the output voltage is converted into a small voltage, the amount of post-processing signal is small, and the constant voltage regulation of the output voltage of the power supply 10 can be realized through a simple circuit, and the requirements for the circuit device are not high.
[0020] In a preferred embodiment, the sampling module 11 includes a first resistor group, a second resistor group, a capacitor C1, and an analog-to-digital converter ADC, and the first resistor group and the second resistor group include at least one resistor, and when the resistors are multiple, at least two resistors are connected in series in sequence, or at least two resistors are connected in parallel and then connected in series with another resistor.
[0021] Here, the first resistor group has a first terminal connected to a signal output terminal OUT1 that outputs the output voltage of the power supply 10, and a second terminal connected to a first terminal of the second resistor group, a first terminal of the capacitor C1, and the analog-to-digital converter ADC, respectively. The analog-to-digital converter ADC is used to output a sampling voltage. The second terminal of the second resistor group and the second terminal of the capacitor C1 are each grounded (GND).
[0022] As can be understood, the first resistor group and the second resistor group divide the output voltage of the power supply 10, and after the voltage drop of the first resistor group, an analog sampled voltage is obtained and transmitted to the analog-to-digital converter ADC. The analog-to-digital converter ADC converts the analog sampled voltage into a digital sampled voltage, and then transmits it to the PID control module 12 for PID control adjustment. Here, the voltage value of the sampled voltage obtained by voltage division can be obtained from the resistor values of the first resistor group and the second resistor group and the output voltage, and the resistor values of the first resistor group and the second resistor group can be flexibly set by those skilled in the art according to actual needs to achieve the purpose of adjusting the sampled voltage, and the present invention is not limited thereto.
[0023] In one specific example, as shown in FIG. 2, the sampling module 11 includes a first resistor group, a second resistor group, a capacitor C1, and an analog-to-digital converter ADC. Here, the first resistor group includes a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8. The second resistor group includes a ninth resistor R9. Here, the sixth resistor R6, the seventh resistor R7, and the eighth resistor R8 are connected in series in order and inserted into the sampling module 11. That is, the sixth resistor R6 has a first end connected to the signal output terminal OUT1 of the power source 10, and a second end connected to the first end of the seventh resistor R7. The second end of the seventh resistor R7 is connected to the first end of the eighth resistor R8, and the second end of the eighth resistor R8 is connected to the first end of the ninth resistor R9, the first end of the capacitor C1, and the analog-to-digital converter ADC, respectively. A second end of the ninth resistor R9 is grounded (GND). Here, the first resistor group is configured to have a plurality of resistors connected in series, and the resistance value of the first resistor group is increased to reduce the magnitude of the sampling voltage, making it easier to process, while the problem of a large volume caused by using one large resistor is avoided by using a plurality of resistors connected in series.
[0024] In a preferred embodiment, in order to realize a highly accurate PID control adjustment, the preset control parameters include a target voltage, and the PID adjustment module 12 includes a voltage loop controller for voltage loop control adjustment and a voltage difference change rate loop controller for voltage difference change rate loop control adjustment. Preferably, the PID adjustment module 12 is realized by a microcontroller (MCU).
[0025] Here, the voltage loop controller is used for obtaining an actual voltage difference according to the target voltage and the sampled voltage, and obtaining a control width of a voltage change rate according to the actual voltage difference.
[0026] The voltage difference change rate loop controller is used to obtain a target voltage change rate based on a control width of a voltage change rate, obtain an actual voltage change rate based on an actual voltage difference, and obtain a switching frequency signal based on the target voltage change rate and the actual voltage change rate.
[0027] In one alternative embodiment, a corresponding target voltage may be set for the sampling voltage, and the actual voltage difference is the difference between the target voltage and the sampling voltage collected in real time. In another embodiment, a corresponding target voltage may be set for the output voltage of the power supply 10 corresponding to the sampling voltage, and the actual voltage difference is the difference between the target voltage and the output voltage obtained by converting the sampling voltage. Here, the sampling voltage can be converted based on the relationship between the sampling voltage in the sampling circuit and the resistor values of the first resistor group and the second resistor group and the output voltage. In addition, the voltage difference obtained by the above two methods needs to set the PID control adjustment algorithm of the corresponding PID adjustment module 12, and adjust the input voltage difference to obtain the switching frequency signal. Those skilled in the art can make related settings according to actual needs, and the present invention will not be described here.
[0028] In order to improve the accuracy of the PID control adjustment, in this embodiment, the digital sampled voltage output by the analog-to-digital converter ADC is further subjected to voltage conversion to obtain the actual output voltage, and the PID adjustment module 12 further obtains a switching frequency signal through PID control adjustment according to the obtained output voltage and the preset control parameters.
[0029] The voltage loop controller is used to obtain an actual voltage difference according to the target voltage and the sampled voltage, and obtain a control width of a voltage change rate according to the actual voltage difference, that is, the voltage loop controller can realize voltage loop control adjustment. In one specific example, the voltage loop controller may calculate and obtain a control width of a voltage change rate according to the following PID control adjustment algorithm:
[0030]
number
[0031] Here, Q(t) is the control width of the voltage change rate at time t, and k p is the proportional term correction coefficient of the voltage loop controller, and k i is the integral term correction coefficient of the voltage loop controller, and k d is the derivative term correction coefficient of the voltage loop controller, and e c (t) is the difference between the predetermined target voltage Vdt and the actually detected output voltage Vt, i.e., e c (t) is (Vt-Vdt).
[0032]
number
[0033] Here, Pd(t) is the target voltage change rate at time t, Q(t) is the control width of the voltage change rate at time t, Q(t-1) is the control width of the voltage change rate at time t-1, and dt is the PID adjustment period.
[0034] The voltage difference change rate loop controller obtains a target voltage change rate according to a control width of a voltage change rate, obtains an actual voltage change rate according to an actual voltage difference, and obtains a switching frequency signal according to the target voltage change rate and the actual voltage change rate, that is, the voltage difference change rate loop controller can realize a voltage difference change rate loop control adjustment. In one specific example, the difference between the target voltage change rate and the actual voltage change rate is input to a voltage difference change rate loop controller, and the voltage difference change rate loop controller may calculate and obtain a switching frequency signal according to the following PID control adjustment algorithm:
[0035]
number
[0036] where P(t) is the switching frequency signal and k i-p is the proportional term correction coefficient of the voltage difference change rate loop controller, and k i-i is the integral term correction coefficient of the voltage difference change rate loop controller, and k i-d is the differential term correction coefficient of the voltage difference change rate loop controller, and e p (t) is the difference between a predetermined target voltage change rate and the actual voltage change rate. The actual voltage change rate is e c (t) / dt. Note that each of the coefficients in this embodiment can be selected by a person skilled in the art based on experience, and the present invention is not limited thereto.
[0037] In a preferred embodiment, the control module 13 includes a switching element Q. The control module 13 controls the switching element Q to turn on and off a path between the power supply terminal VDD and the power supply current output terminal OUT2 according to the switching frequency signal to generate a power supply current. As can be seen, by controlling the on and off of the switching element Q according to the switching frequency signal and controlling whether the current of the power supply terminal VDD is output, a power supply current is generated and the output voltage of the power supply 10 can be adjusted.
[0038] In a specific example, the control module 13 is realized by a specific circuit structure. Specifically, as shown in Fig. 3, the control module 13 includes a third resistor R3, a fourth resistor R4, and a switching element Q, and the third resistor R3 and the fourth resistor R4 can realize a current limiting function.
[0039] Here, a first terminal of the third resistor R3 receives the switching frequency signal, and a second terminal is connected to the control terminal G of the switching element Q. A first terminal D of the switching element Q is connected to a power supply terminal VDD, and a second terminal S is connected to the first terminal of the fourth resistor R4 and the power supply current output terminal OUT2, respectively. A second terminal of the fourth resistor R4 is grounded (GND).
[0040] In order to make it easy to understand, the operation principle of this specific example is described by taking the example that the first level is a high level, the second level is a low level, and the switching element Q is an NMOS. In this embodiment, the first level is a high level, the second level is a low level, and the switching element Q is an NMOS. In practical application, by flexibly setting the circuit structure for each module, the first level can be a low level, so that the second level is a high level, and the switching element Q can be selected as a PMOS or other switching element Q that can achieve the same function, and the present invention is not limited thereto. Therefore, other technical solutions having the same concept as the present invention should also be within the protection scope of the present invention.
[0041] When the switching frequency signal is at a high level, the switching element Q is turned on in response to the high level, the power supply terminal VDD and the power supply current output terminal OUT2 are turned on, and under the action of the power supply terminal VDD, the power supply current output terminal OUT2 outputs the power supply current to the power supply 10, so that the power supply 10 outputs a corresponding output voltage. When the switching frequency signal is at a low level, the switching element Q is turned off in response to the low level, the power supply terminal VDD and the power supply current output terminal OUT2 are turned off, and the power supply current output terminal OUT2 has no output. Therefore, in the present invention, the switching frequency signal is obtained according to the output voltage of the power supply 10 through PID control adjustment, and the input of the power supply current is controlled by the switching frequency signal, thereby achieving the purpose of regulating the output voltage of the power supply 10 and ensuring the constant voltage output of the power supply.
[0042] In a preferred embodiment, the control module 13 further includes a fifth resistor R5, where a first end of the fifth resistor R5 is connected to a second end of the third resistor R3 and a control end of the switching element Q, respectively, and a second end of the fifth resistor R5 is grounded (GND).
[0043] As can be seen, the control module 13 further includes a fifth resistor R5, which is a pull-down resistor that can withstand interference. That is, when interference exists in the switching frequency signal and voltage floating occurs, the fifth resistor R5 reduces the voltage value of the switching frequency signal that has interference in a certain sequence, so as to reduce the voltage value of the switching frequency signal to be as low as possible below the threshold voltage of the switching element Q, thereby preventing the switching element Q from being turned on erroneously, and enhancing the anti-interference strength of the control module 13.
[0044] It is to be noted that the switching element Q in this embodiment can employ transistors including N-type transistors and P-type transistors, and it is clear to those skilled in the art that the high and low levels of various signals can only be realized by matching them to the transistor types. It is to be understood by those skilled in the art that the corresponding on-off function can be realized by employing N-type or P-type transistors and setting the level of the transistor gate (control end), since a P-type transistor needs to be matched to a low level signal to be turned on, and a N-type transistor needs to be matched to a high level signal to be turned on, thereby achieving the data reading purpose of the present invention. The first end of the transistor according to the embodiment of the present invention can be the source, and the second end can be the drain, or vice versa, and the present invention is not limited thereto, and a reasonable selection can be made according to the type of transistor.
[0045] In addition, the transistor according to the embodiment of the present invention may be a field effect transistor, and here, it may be an enhancement type field effect transistor or a depletion type field effect transistor, but the present invention is not limited thereto.
[0046] Based on the same principle, this embodiment further discloses a constant voltage output regulation system for a power supply. In this embodiment, the system includes the power supply 10 and a constant voltage output regulation device for the power supply 10 as described in this embodiment.
[0047] The principle by which this system solves problems is similar to that of the above-mentioned device, so the implementation of this system can refer to the implementation of the device, and the description will be omitted here.
[0048] Based on the same principle, this embodiment further discloses a method for regulating a constant voltage output of a power supply. As shown in Figure 4, in this embodiment, the method includes:
[0049] S100: The output voltage of the power supply 10 is sampled to obtain a sampled voltage.
[0050] S200: According to the sampling voltage and the preset control parameters, a switching frequency signal is obtained by PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment.
[0051] S300: Form a power supply current based on the switching frequency signal.
[0052] In a preferred embodiment, as shown in FIG. 5, sampling the output voltage of the power supply 10 to obtain a sampled voltage in S100 includes:
[0053] S110: Collect the output voltage of the power supply 10 to obtain a sampling voltage, where the collecting manner includes at least one of voltage division collecting, Hall effect collecting, and voltage division chip collecting.
[0054] In a preferred embodiment, as shown in FIG. 6 , the preset control parameters include a target voltage, and in S200, obtaining a switching frequency signal through PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment, based on the sampled voltage and the preset control parameters, specifically includes:
[0055] S210: Obtain an actual voltage difference based on the target voltage and the sampled voltage, and obtain a control width of a voltage change rate based on the actual voltage difference.
[0056] S220: Obtain a target voltage change rate based on a control width of the voltage change rate, obtain an actual voltage change rate based on an actual voltage difference, and obtain a switching frequency signal based on the target voltage change rate and the actual voltage change rate.
[0057] In a preferred embodiment, as shown in FIG. 7, forming a power supply current based on the switching frequency signal in S300 includes:
[0058] S310: Control the switching element Q to turn on and off a path between a power supply terminal VDD and a power supply current output terminal OUT2 based on the switching frequency signal, thereby forming a power supply current.
[0059] The principle by which this method solves the problem is similar to that of the above-mentioned device, so the implementation of this method can refer to the implementation of the device, and the description will be omitted here.
[0060] The system, device, module or unit described in the above embodiment may be specifically realized by a computer chip or entity, or may be specifically realized by a product having a certain function. The present invention further discloses a charging control system including a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the program is executed by the processor, the method described in the embodiment is realized. A typical implementation device is a computer device, and specifically, the computer device may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.
[0061] In one exemplary embodiment, a computing device tangibly includes a memory, a processor, and a computer program stored in the memory and executable by the processor, the program implementing the method as described above when executed by the processor.
[0062] Reference is now made to FIG. 8, which shows a structural schematic diagram of a computing device 600 suitable for implementing embodiments of the present application.
[0063] 8, the computer device 600 includes a central processing unit (CPU) 601, which can execute various appropriate operations and processes based on a program stored in a read only memory (ROM) 602 or a program loaded from a storage unit 608 into a random access memory (RAM) 603. The RAM 603 further stores various programs and data necessary for the operation of the system 600. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0064] To the I / O interface 605, an input unit 606 including a keyboard, a mouse, etc., an output unit 607 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, a storage unit 608 including a hard disk, etc., and a communication unit 609 including, for example, a network interface card such as a LAN card, a modem, etc. are connected. The communication unit 609 executes communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as necessary. A removable medium 611 such as, for example, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted in the drive 610 as necessary so that a read computer program is installed, for example, in the storage unit 608 as necessary.
[0065] In particular, according to an embodiment of the present invention, the processes described with reference to the flowcharts above are implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product including a computer program tangibly stored on a machine readable medium, the computer program including program code for performing the methods illustrated in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication unit 609 and / or installed from a removable medium 611.
[0066] Computer readable media includes non-volatile and volatile, portable and non-portable media, and information storage may be realized by any method or technology. Information may be computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, cartridge type magnetic tape, magnetic tape magnetic disk storage or other magnetic storage, or any other non-transmission medium that may be used to store information accessible by a computing device. As defined herein, computer readable media does not include transitory computer readable media, such as modulated data signals and carriers.
[0067] For convenience of description, when describing the above apparatus, the apparatus will be described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be realized by the same or multiple software and / or hardware.
[0068] The present invention has been described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each flow and / or each block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, are realized by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to create a machine, such that the instructions executed by the processor of the computer or other programmable data processing device create an apparatus for implementing the functions specified in one or more flows and / or one or more blocks in the flowcharts and / or block diagrams.
[0069] These computer program instructions may be stored in a computer-readable memory that can instruct a computer or other programmable data processing device to operate in a particular manner, thereby creating an article of manufacture including a command apparatus that implements the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams according to the instructions stored in the computer-readable memory.
[0070] These computer program instructions may be loaded into a computer or other programmable data processing device and a series of operations and steps executed on the computer or other programmable device to generate a computer-implemented process, such that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.
[0071] Additionally, the terms "comprises," "including," or any other variation thereof, are intended to cover a non-exclusive "comprises," such that a process, method, article, or device comprising a set of elements includes not only those elements, but also other elements not expressly listed or inherent to such process, method, article, or device. In the absence of further limitations, an element qualified with the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or device that comprises the element.
[0072] It will be apparent to those skilled in the art that the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. The present application may also take the form of a computer program product embodied in one or more computer usable storage media (including, but not limited to, magnetic disk memories, CD-ROMs, optical memories, etc.) having computer usable program code thereon.
[0073] The present application may be described in the general context of computer-executable instructions being executed by a computer, such as program modules. Typically, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage.
[0074] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments may be referred to each other, and each embodiment is described focusing on the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so they will be briefly described, and the relevant parts may be referred to the description of some of the method embodiments.
[0075] The above is merely an embodiment of the present application, and is not intended to limit the present application. Those skilled in the art may make various modifications and changes to the present application. Any modifications, equivalent replacements, improvements, etc. made within the technical spirit and principles of the present application should be included within the scope of the claims of the present application.
Claims
1. A constant voltage output regulator for a power supply, comprising: The power supply generates an output voltage according to a power supply current, and the constant voltage output adjustment device includes a sampling module, a PID adjustment module, and a control module; The sampling module samples an output voltage of a power supply to obtain a sampled voltage; The PID control module obtains a switching frequency signal through PID control adjustment according to the sampled voltage and a preset control parameter, the PID control adjustment including a voltage loop control adjustment and a voltage difference change rate loop control adjustment; The control module forms a supply current based on the switching frequency signal; The preset control parameters include a target voltage, and the PID control module includes a voltage loop controller for controlling and adjusting a voltage loop, and a voltage difference change rate loop controller for controlling and adjusting a voltage difference change rate loop; The voltage loop controller obtains an actual voltage difference based on the target voltage and the sampled voltage, and obtains a control width of a voltage change rate based on the actual voltage difference; The voltage difference change rate loop controller obtains a target voltage change rate based on a control width of a voltage change rate, obtains an actual voltage change rate based on an actual voltage difference, and obtains a switching frequency signal based on the target voltage change rate and the actual voltage change rate.
2. 2. The constant voltage output regulator of claim 1, wherein the sampling module obtains a sampled voltage by sampling an output voltage of the power supply.
3. 3. The constant voltage output regulator of claim 2, wherein the sampling method includes at least one of sampling by voltage division, sampling by Hall effect, and sampling by voltage division chip.
4. The sampling module includes a first resistor group, a second resistor group, a capacitor, and an analog-to-digital converter, and the first resistor group and the second resistor group each include at least one resistor, and when the resistor is a plurality of resistors, at least two resistors are connected in series in sequence, or at least two resistors are connected in parallel and then connected in series to another resistor; a first end of the first resistor group is connected to a signal output end that outputs the output voltage of a power supply, and a second end of the first resistor group is connected to a first end of the second resistor group, a first end of the capacitor, and the analog-to-digital converter, The analog-to-digital converter outputs a sampled voltage; 3. The constant voltage output adjusting device of claim 2, wherein the second end of the second resistor group and the second end of the capacitor are grounded.
5. the control module includes a switching element; 2. The constant voltage output adjusting device of claim 1, wherein the control module controls the switching element to turn on and off a path between the power supply end and the power supply current output end according to the switching frequency signal, thereby forming the power supply current.
6. the control module includes a third resistor, a fourth resistor, and a switching element; the third resistor has a first end receiving the switching frequency signal and a second end connected to a control end of the switching element; The switching element has a first end connected to a power supply end and a second end connected to the first end of the fourth resistor and the power supply current output end, 6. The constant voltage output adjusting device of claim 5, wherein the second end of the fourth resistor is grounded.
7. the control module further includes a fifth resistor; 7. The constant voltage output adjusting device of claim 6, wherein a first end of the fifth resistor is connected to a second end of the third resistor and a control end of the switching element, and a second end of the fifth resistor is grounded.
8. A constant voltage output regulation system for a power supply, comprising: A power supply constant voltage output adjustment system comprising: a power supply; and the power supply constant voltage output adjustment device according to any one of claims 1 to 7.
9. A method for adjusting a constant voltage output of a power supply, comprising: Sampling an output voltage of the power supply to obtain a sampled voltage; Obtaining a switching frequency signal through PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment, according to the sampled voltage and a preset control parameter; forming a supply current based on the switching frequency signal; Including, The preset control parameters include a target voltage; Obtaining a switching frequency signal through PID control adjustment, including a voltage loop control adjustment and a voltage difference change rate loop control adjustment, according to the sampled voltage and a preset control parameter; obtaining an actual voltage difference based on the target voltage and the sampled voltage, and obtaining a control width of a voltage change rate based on the actual voltage difference; obtaining a target voltage change rate based on a control width of a voltage change rate, obtaining an actual voltage change rate based on an actual voltage difference, and obtaining a switching frequency signal based on the target voltage change rate and the actual voltage change rate; 11. A method for regulating a constant voltage output of a power supply, comprising:
10. Sampling the output voltage of the power supply to obtain a sampled voltage is 10. The method for regulating a constant voltage output of a power supply as claimed in claim 9, further comprising: acquiring an output voltage of the power supply to obtain a sampling voltage.
11. 11. The method of claim 10, wherein the sampling method comprises at least one of sampling by voltage division, sampling by Hall effect, and sampling by voltage division chip.
12. forming a supply current based on the switching frequency signal 10. The method for regulating a constant voltage output of a power supply as claimed in claim 9, further comprising: controlling a switching element according to the switching frequency signal to turn on and off a path between a power supply end and a power supply current output end to form a power supply current.
13. A charging control system including a memory, a processor, and a computer program stored in the memory and executable by the processor, A charging control system, characterized in that, when the program is executed by the processor, the method according to any one of claims 9 to 12 is realized.
14. A computing device including a memory, a processor, and a computer program stored in the memory and executable by the processor, A computer apparatus, characterized in that, when said program is executed by said processor, the method according to any one of claims 9 to 12 is realized.
15. A computer-readable medium having a computer program stored thereon, A computer readable medium, characterized in that when said program is executed by a processor, the method according to any one of claims 9 to 12 is realized.
Citation Information
Patent Citations
Switching power supply digital PFM control mode implementation method
CN104467470A
Stroboscopic flash device
JP2005183038A
Power conversion device
JP2015095935A
Device and method for voltage conversion
JP2016140168A
Digital control power circuit, control circuit for the same, control method, and electronic apparatus using the same
JP2017005774A
