Wide voltage range DC voltage control method, DC power supply and storage medium

By dividing the output voltage range of the DC power supply into multiple voltage segments and setting a correction coefficient, combining a general-purpose master chip and a low-speed ADC sampling chip, the problem of difficulty in taking into account the wide range output and high voltage stabilization accuracy of DC power supply is solved, and efficient wide voltage range and high voltage stabilization accuracy of DC voltage output is achieved.

CN119765241AActive Publication Date: 2025-04-04SHENZHEN ECOWATT POWER
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411909386.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-04
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

It is difficult for DC power supplies to take into account the problems of wide range output and high voltage stabilization accuracy.

Method used

By generating multiple voltage segments of the output voltage range of the DC power supply, and setting corresponding correction coefficients for the lower limit area of ​​each voltage segment and the upper limit area of ​​its subsequent voltage segment, a universal master control chip and a low-speed ADC sampling chip are used, combined with a high-frequency control strategy and a low-frequency refresh strategy to achieve a DC voltage output with a wide voltage range and high voltage stabilization accuracy.

Benefits of technology

It realizes that the DC voltage output with a wide voltage range and high voltage stabilization accuracy is achieved through the lower cost general-purpose master chip and the low-speed ADC sampling chip without using the high sampling accuracy master chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119765241A_ABST
    Figure CN119765241A_ABST
Patent Text Reader

Abstract

The invention provides a wide voltage range DC voltage control method, a DC power supply and a storage medium. The method comprises the following steps: (a) generating N voltage sections according to an output voltage range of the DC power supply; (b) controlling a direct current power supply to sequentially output voltages corresponding to the end points of the N voltage sections, sampling the output voltage of the direct current power supply and outputting a voltage sampling instruction to an ADC sampling chip; (c) generating a correction coefficient according to the output voltage sampled at each DC voltage output point and the feedback voltage of the ADC sampling chip at the same moment, generating a correction record according to the correction coefficient, and storing the correction record in a memory, the voltages of the lower limit region of the previous voltage section and the upper limit region of the next voltage section have the same correction coefficient. According to the invention, direct-current voltage output with a wide voltage range and high voltage stabilization precision can be realized only by using the general main control chip and the low-speed ADC sampling chip which are relatively low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of direct current power supplies, and more specifically to a direct current voltage control method with a wide voltage range, a direct current power supply and a storage medium. Background Art

[0002] With the rapid development of power electronics technology, especially the vigorous development of the new energy industry, DC power supplies are being used in more and more occasions. In addition to traditional industries such as instruments / meters and power supply equipment, new energy batteries, electric vehicles and other emerging fields are also increasingly demanding DC power supplies. In these emerging fields, wide-range output DC voltage and high voltage regulation accuracy are two performance characteristics that DC power supplies must possess.

[0003] In order to meet the above performance requirements, DC power supplies generally adopt digital high-frequency control strategies in output control. The control frequency of the control chip is very high, and the control board is required to have detection functions with fast sampling speed and high sampling accuracy. For example, the ADC sampling function of the control chip is generally used, and then combined with the DC voltage detection circuit to realize a digital high-frequency control solution.

[0004] However, the selection of control chips requires comprehensive consideration of many factors. Special control chips with ADC sampling functions that have fast sampling speed and high precision are not only expensive, but also have relatively few other resources, and are not suitable as the main control chip of the DC source. Therefore, most of the existing digitally controlled DC power supplies choose general-purpose control chips with relatively rich peripheral resources. Their built-in ADC sampling speed is very fast, but the claimed sampling bit number is generally 10-12 bits (the actual sampling bit number is around 9-10 bits, that is, the sampling accuracy is around 0.5-0.1%). Considering the deviation of the detection circuit (the improvement of the accuracy of the sampling resistor on the detection circuit has limited impact on the entire detection circuit) and the impact of the wide range of output voltage, it is difficult to ensure that the high-precision performance requirements are achieved within the full output range.

[0005] To solve the accuracy problem, the most commonly used method is manual calibration. There are two ways to implement manual calibration, on-site calibration and factory calibration. The former has high accuracy and the latter is easy to use. With the on-site calibration method, manual calibration is required every time a voltage level output is used. The software generates a sampled correction coefficient based on the output DC voltage data measured on site, and this coefficient is used in the digital control of the output voltage. This calibration method has great limitations. First, it requires manual operation by the user, which is inconvenient to use and has a bad experience. Secondly, when adjusting the output DC voltage (especially when adjusting over a large range), manual calibration must be performed again. Otherwise, the output DC voltage error may be too large due to inappropriate correction coefficients, affecting on-site use and even generating false alarms, causing the system to shut down the DC output. With the factory calibration method, when the DC power supply is tested at the factory, the center point output voltage of the DC power supply is set, and a manual calibration is performed at this output voltage. The software generates a sampled correction coefficient based on the output DC voltage data measured during the factory test, and this coefficient is used in the digital control of the output voltage. Since the correction is only performed when the center point voltage is output, during the use of the DC power supply, if the output voltage is near the center point, its output voltage accuracy is very high. When it is set to high and low voltage output far away from the center point, its output DC voltage accuracy is relatively poor. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide a wide voltage range DC voltage control method, a DC power supply and a storage medium in view of the problem that the above-mentioned DC power supply is difficult to take into account both wide range output and high voltage regulation accuracy.

[0007] The technical solution of the present invention to solve the above technical problems is to provide a wide voltage range DC voltage control method, which is applied to a DC power supply, wherein the DC power supply comprises a main control chip and an ADC sampling chip, each of which has a voltage sampling function, and the sampling accuracy of the ADC sampling chip is greater than the sampling accuracy of the main control chip; the method comprises the following steps executed by the main control chip:

[0008] (a) generating N voltage segments according to the output voltage range of the DC power supply, wherein each of the voltage segments includes an upper limit region and a lower limit region, wherein N is an integer greater than or equal to 2, and the upper limit region and the lower limit region have the same voltage value range;

[0009] (b) controlling the DC power supply to sequentially output a minimum output voltage, voltages corresponding to adjacent points of the N voltage segments, and a maximum output voltage, while sampling the output voltage of the DC power supply and outputting a voltage sampling instruction to the ADC sampling chip;

[0010] (c) generating a correction coefficient according to the output voltage sampled at each DC voltage output point and the feedback voltage of the ADC sampling chip at the same time, and generating a correction record according to the correction coefficient and saving it in a memory, and in the correction record, the correction coefficients of the lower limit area of ​​the previous voltage segment and the upper limit area of ​​the next voltage segment in adjacent voltage segments are both the correction coefficients of adjacent points in the adjacent voltage segments.

[0011] As a further improvement of the present invention, steps (a) to (c) are performed before the DC power supply leaves the factory.

[0012] As a further improvement of the present invention, the method further includes the following steps performed by the main control chip during the DC power supply voltage transformation and output process:

[0013] (d) obtaining a voltage segment corresponding to the voltage currently required to be output, and obtaining a correction coefficient corresponding to an upper limit region and a correction coefficient corresponding to a lower limit region of the voltage segment;

[0014] (e) interpolating the correction coefficient corresponding to the current output voltage according to the correction coefficient corresponding to the upper limit area and the correction coefficient corresponding to the lower limit area;

[0015] (f) adjusting the output voltage of the DC power supply according to the correction coefficient generated by interpolation.

[0016] As a further improvement of the present invention, steps (d) to (e) are executed regularly according to a high-frequency control strategy.

[0017] As a further improvement of the present invention, the method further includes the following steps performed by the main control chip during the constant voltage output process of the DC power supply:

[0018] (g) sampling the output voltage of the DC power supply and outputting a voltage sampling instruction to the ADC sampling chip;

[0019] (h) generating a real-time correction coefficient according to the output voltage obtained by sampling and the feedback voltage of the ADC sampling chip;

[0020] (i) adjusting the output voltage of the DC power supply according to the real-time correction coefficient.

[0021] As a further improvement of the present invention, the steps (g) to (i) are performed regularly according to the low-frequency refresh strategy, and the step (i) includes:

[0022] (i1) obtaining a voltage segment corresponding to the current output voltage, and obtaining a correction coefficient corresponding to an upper limit region and a correction coefficient corresponding to a lower limit region of the voltage segment;

[0023] (i2) generating a correction coefficient corresponding to the current output voltage by interpolating the correction coefficient corresponding to the upper limit region and the correction coefficient corresponding to the lower limit region;

[0024] (i3) When the difference between the real-time correction coefficient and the correction coefficient generated by interpolation does not exceed a preset range, the real-time correction coefficient is used to adjust the output voltage of the DC power supply; when the difference between the real-time correction coefficient and the correction coefficient generated by interpolation exceeds a preset range, the correction coefficient generated by interpolation is used to adjust the output voltage of the DC power supply.

[0025] As a further improvement of the present invention, the correction coefficient is formed by the quotient of the voltage sampled by the main control chip and the feedback voltage of the ADC sampling chip.

[0026] As a further improvement of the present invention, the sampling bit number of the ADC sampling chip is between 16 and 24 bits.

[0027] The present invention also provides a DC power supply, comprising a main control chip, an ADC sampling chip and a memory, wherein the memory stores a computer program executable by the main control chip, and when the main control chip executes the computer program, the steps of the wide voltage range DC voltage control method as described above are implemented.

[0028] 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 steps of the wide voltage range DC voltage control method as described above are implemented.

[0029] The present invention has the following beneficial effects: by generating a plurality of voltage segments from the output voltage range of a DC power supply, and setting corresponding correction coefficients for the lower limit area of ​​each voltage segment and the upper limit area of ​​its subsequent voltage segment, only a low-cost general main control chip and a low-speed ADC sampling chip are needed, and a DC voltage output with a wide voltage range and high voltage regulation accuracy can be achieved through a high-frequency control strategy combined with a low-frequency refresh strategy. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of a method for controlling a DC voltage in a wide voltage range provided by an embodiment of the present invention.

[0031] Figure 2 It is a schematic diagram of the process of the wide voltage range DC voltage control method provided by an embodiment of the present invention during voltage transformation output.

[0032] Figure 3 It is a schematic diagram of the process of the wide voltage range DC voltage control method provided by an embodiment of the present invention during constant voltage output.

[0033] Figure 4 yes Figure 3Schematic diagram of the process of adjusting the output voltage of a DC power supply according to a real-time correction coefficient. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0035] like Figure 1 As shown, it is a flow chart of a wide voltage range DC voltage control method provided by an embodiment of the present invention, which can be applied to a DC power supply, and enables the DC power supply to achieve a wide voltage range and high voltage regulation accuracy DC voltage output. The above-mentioned DC power supply can be a power supply used in electric vehicles and other equipment, and the DC power supply includes a main control chip and an ADC sampling chip, the main control chip and the ADC sampling chip respectively have a voltage sampling function and are respectively electrically connected to the output end of the DC power supply (respectively through a peripheral circuit), and the sampling accuracy of the ADC sampling chip is greater than the sampling accuracy of the main control chip.

[0036] Specifically, the above-mentioned main control chip can adopt a general-purpose control chip, and the sampling bit number of its built-in ADC sampling module is 10-12 bits, and the control frequency is 3000Hz to 10000Hz. The sampling speed of the ADC sampling chip is relatively low (between a few Hz and several hundred Hz), and the sampling accuracy is high (the sampling bit number is between 16-24). For example, the main control chip can adopt a general-purpose control chip with a control frequency of 5000Hz and a sampling accuracy of 0.5%, the sampling frequency of the ADC sampling chip is 10Hz, and the sampling accuracy is above 0.025%, and the main control chip and the ADC sampling chip communicate through the I2C bus, and the timing communication frequency between the main control chip and the ADC sampling chip is 1Hz.

[0037] In the above DC power supply, the ADC sampling chip does not need to design software separately, and only needs to work according to the instructions received from the main control chip, that is, after receiving the voltage sampling instruction of the main control chip, the DC voltage sampling is performed and the sampled voltage is fed back to the main control chip. Accordingly, the wide voltage range DC voltage control method of this embodiment can be integrated into the main control chip of the DC power supply, and includes the following steps:

[0038] Step S11: Generate N voltage segments according to the output voltage range of the DC power supply, and each voltage segment includes an upper limit region and a lower limit region, N is an integer greater than or equal to 2, and the voltage value ranges included in the upper limit region and the lower limit region are the same.

[0039] For example, when the output voltage range of the DC power supply is 24-1200V, this step can divide it into six voltage sections, namely 24-200V, 200-400V, 400-600V, 600-800V, 800-1000V and 1000-1200V. In the 24-200V voltage section, 24-112V is the upper limit section and 112-200 is the lower limit section (112V may be included in one of the upper limit section or the lower limit section). In the 200-400V voltage section, 200-300V is the upper limit section and 300-400 is the lower limit section (300V may be included in one of the upper limit section or the lower limit section), and so on.

[0040] Step S12: Control the DC power supply to sequentially output the minimum output voltage, the voltages corresponding to the adjacent points of the N voltage segments, and the maximum output voltage (i.e., the voltages corresponding to the endpoints of each voltage segment), and at the same time sample the output voltage of the DC power supply and output a voltage sampling instruction to the ADC sampling chip.

[0041] In this step, the main control chip generates a voltage instruction, controls the semiconductor switches in the DC power supply, etc. so that the output voltage is the terminal voltage of each voltage segment in turn, and samples the voltage at the output end through its own ADC sampling module and ADC sampling chip respectively, that is, the main control chip can obtain accurate sampling data by sending sampling instructions to the ADC sampling chip at regular intervals. For example, when the output voltage range of the DC power supply is 24-1200V, and is divided into six voltage segments in step S11, in this step, the main control chip controls the output voltage of the DC power supply to 24V, 200V, 400V, 600V, 800V, 1000V, and 1200V in turn, and every time the output voltage of the DC power supply reaches a stable state, the main control chip and the ADC sampling chip simultaneously sample the voltage at the output end.

[0042] Step S13: Generate a correction coefficient based on the output voltage sampled at each DC voltage output point and the feedback voltage of the ADC sampling chip at the same time, and generate a correction record based on the correction coefficient and save it in the memory, and in the correction record, the voltage of the lower limit area of ​​the previous voltage segment and the upper limit area of ​​the next voltage segment have the same correction coefficient, that is, the correction coefficients of the lower limit area of ​​the previous voltage segment and the upper limit area of ​​the next voltage segment in the adjacent voltage segment are both correction coefficients of adjacent voltage points in the adjacent voltage segment, and the above correction record includes N+1 correction coefficients. The above correction record can be stored in the memory of the control circuit board of the DC power supply (the main control chip and the ADC sampling chip are both integrated on the control circuit board), or stored in the storage module integrated with the main control chip. In addition, during the operation of the DC power supply, the main control chip can read the correction record and adjust the output voltage of the DC power supply according to the correction record, thereby improving the accuracy of the output voltage of the DC power supply under different amplitude conditions.

[0043] For example, when the output voltage range of the DC power supply is 24-1200V and is divided into six voltage sections in step S11, for the voltage sampled when the output voltage of the DC power supply is 24V and the voltage fed back by the ADC, the main control chip divides the two voltages to obtain a correction coefficient corresponding to 24-112V; for the voltage sampled when the output voltage of the DC power supply is 200V and the voltage fed back by the ADC, the main control chip divides the two voltages to obtain a correction coefficient corresponding to 112-200V. By analogy, the main control chip can generate a correction record including seven correction coefficients.

[0044] In practical applications, when generating a correction coefficient for a certain output voltage, the main control chip and the AD sampling chip can respectively perform multiple samplings, and take the average value of the multiple samplings to generate the corresponding correction coefficient, thereby improving the accuracy of the correction coefficient.

[0045] The above-mentioned wide voltage range DC voltage control method divides the DC power supply into multiple voltage segments according to the output voltage range, and sets corresponding correction coefficients for the lower limit area of ​​each voltage segment and the upper limit area of ​​its subsequent voltage segment. It does not need to use a high-sampling precision main control chip. Only a general-purpose control chip combined with a relatively low-cost, low-speed, high-precision ADC sampling chip is required. A wide voltage range and high-voltage regulation precision DC voltage output can be achieved through a high-frequency control strategy combined with a low-frequency refresh strategy.

[0046] In one embodiment of the present invention, the above steps S11 to S13 are performed before the DC power supply leaves the factory, that is, the above calibration record is generated by the manufacturer of the DC power supply through specific software. In actual application, the user can also use the above method to regenerate the calibration record.

[0047] like Figure 2 As shown, in one embodiment of the present invention, the wide voltage range DC voltage control method further includes the following steps executed by the main control chip during the DC power supply voltage conversion output process (i.e., the DC power supply is applied to the voltage conversion output):

[0048] Step S21: Obtain the voltage segment corresponding to the voltage currently required to be output (specifically generated according to the use requirements of the DC power supply), and obtain the correction coefficient corresponding to the upper limit area and the correction coefficient corresponding to the lower limit area of ​​the voltage segment. Specifically, the main control chip can directly read the correction record and retrieve the two correction coefficients through the voltage value.

[0049] Step S22: generating a correction coefficient corresponding to the voltage currently required to be output according to the correction coefficient corresponding to the upper limit area and the correction coefficient corresponding to the lower limit area by interpolation.

[0050] Specifically, a correction coefficient corresponding to the voltage currently required to be output can be generated by linear interpolation. For example, when the output voltage range of the DC power supply is 24-1200V and is divided into six voltage sections in step S11, in this step, if the voltage currently required to be output is 280V, and the correction coefficient corresponding to the upper limit section of 200-400V is 0.9 and the correction coefficient corresponding to the lower limit section is 1.1, then the correction coefficient corresponding to the 280V output voltage is 0.9+(1.1-0.9)×(280-200) / (400-200)=0.98.

[0051] Step S23: adjusting the output voltage of the DC power supply according to the correction coefficient generated by interpolation.

[0052] When adjusting the output voltage of the DC power supply according to the correction coefficient, conventional techniques in the art may be used, which will not be described in detail here. Moreover, those skilled in the art can understand that when the voltage currently required to be output happens to be the voltage at the end point of a certain segment, the correction coefficient corresponding to the voltage at the end point can be directly used.

[0053] In particular, the steps S21 to S23 are executed regularly according to the high-frequency control strategy, that is, the main control chip adjusts the correction coefficient once for each control interrupt. For example, when the clock frequency of the main control chip is 3000-10000 Hz, the main control chip executes it every 100-333 microseconds.

[0054] When the output voltage range of the DC power supply is 24-1200V, when only the output voltage center point 600V is used for correction, the DC output is 599.9V when the setting is 600V, and its control error is 0.1V, and the control accuracy is 0.017%; after rising to 1200V, the DC voltage output is 1200.6V, and its control error is 0.6V, and the control accuracy is 0.05%; after falling to 24V, the DC low voltage output is measured to be 22.8V, and its control error is 1.2V, and the control accuracy drops to 5%. When the output voltage range of the DC power supply is 24-1200V and divided into six voltage sections, and seven correction coefficients are generated, the control error and control accuracy of each voltage point are shown in Table 1 below, and the control accuracy is greatly improved.

[0055] Voltage Setting Control error Control accuracy 24 0.1 0.417% 50 0.3 0.600% 100 0.2 0.200% 150 0.2 0.130% 190 0.3 0.158% 200 0.2 0.100% 250 0.3 0.120% 300 0.3 0.100% 350 0.2 0.057% 390 0.3 0.077% 400 0.1 0.025% 450 0.0 0.000% 500 0.0 0.000% 550 0.1 0.018% 590 0.0 0.000% 600 0.0 0.000% 650 0.2 0.031% 700 0.1 0.014% 750 0.0 0.000% 790 0.1 0.013% 800 0.0 0.000% 850 0.2 0.024% 900 0.1 0.011% 950 0.0 0.000% 990 0.1 0.010% 1000 0.0 0.000% 1050 0.2 0.019% 1100 0.1 0.009% 1150 0.0 0.000% 1200 0.1 0.008%

[0056] Table 1. Output accuracy data at different output voltages

[0057] Since the change of the output voltage of the DC power supply is often continuous, relative to setting a correction coefficient for each voltage segment within the voltage output range of the DC power supply, in the above-mentioned wide voltage range DC voltage control method, by setting the same correction coefficient for the lower limit area of ​​each voltage segment and the upper limit area of ​​its subsequent voltage segment, the continuity of the output voltage within the voltage segment range can be guaranteed, and the output voltage jump caused by the jump of the correction coefficient can be avoided.

[0058] like Figure 3 As shown, the wide voltage range DC voltage control method also includes the following steps performed by the main control chip according to the low-frequency refresh strategy (i.e., according to the maximum sampling frequency of the ADC sampling chip) during the DC power supply constant voltage output process (i.e., the DC power supply is applied to the constant voltage output):

[0059] Step S31: sampling the output voltage of the DC power supply and outputting a voltage sampling instruction to the ADC sampling chip, that is, the main control chip and the ADC sampling chip sample the output voltage of the DC power supply in real time.

[0060] Step S32: Generate a real-time correction coefficient according to the sampled output voltage and the feedback voltage of the ADC sampling chip. The real-time correction coefficient may be the quotient of the sampling voltage of the main control chip and the feedback voltage of the ADC sampling chip.

[0061] Step S33: adjusting the output voltage of the DC power supply according to the real-time correction coefficient.

[0062] That is to say, when the DC power supply outputs a constant voltage, the main control chip adjusts the output voltage of the DC power supply according to the correction coefficient obtained by real-time sampling.

[0063] like Figure 4 As shown, in order to avoid the output voltage abnormality of the DC voltage due to the error of the real-time correction coefficient during constant voltage output, in the above step S33, the output voltage of the DC power supply is adjusted according to the real-time correction coefficient, including:

[0064] Step S331: Obtain the voltage segment corresponding to the current output voltage, and obtain the correction coefficient corresponding to the upper limit region and the correction coefficient corresponding to the lower limit region of the voltage segment. This step may refer to the above step S21 for details.

[0065] Step S332: interpolating the correction coefficient corresponding to the upper limit region and the correction coefficient corresponding to the lower limit region to generate the correction coefficient corresponding to the current output voltage. For details of this step, please refer to the above step S22.

[0066] Step S333: Determine whether the difference between the real-time correction coefficient generated in step S332 and the correction coefficient generated by interpolation exceeds a preset range (the preset range can be set according to the use occasion of the DC power supply, etc., and the higher the accuracy requirement, the smaller the value of the preset range). If the difference between the real-time correction coefficient and the correction coefficient generated by interpolation exceeds the preset range, execute step S335, otherwise execute step S334.

[0067] Step S334: the main control chip uses the real-time correction coefficient generated in step S32 to adjust the output voltage of the DC power supply.

[0068] Step S335: The main control chip uses the correction coefficient generated by interpolation in step S332 to adjust the output voltage of the DC power supply.

[0069] The present invention also provides a DC power supply, comprising a main control chip, an ADC sampling chip and a memory, wherein the memory stores a computer program executable by the main control chip, and when the main control chip executes the computer program, the steps of the wide voltage range DC voltage control method as described above are implemented.

[0070] The DC power supply in this embodiment is the same as the above Figure 1-4 The wide voltage range DC voltage control method in the corresponding embodiment belongs to the same concept, and its specific implementation process is detailed in the corresponding method embodiment, and the technical features in the method embodiment are applicable in this DC power supply embodiment, which will not be repeated here.

[0071] 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 steps of the wide voltage range DC voltage control method as described above are implemented.

[0072] The computer-readable storage medium in this embodiment is the same as the above Figure 1-4 The wide voltage range DC voltage control method in the corresponding embodiment belongs to the same concept, and its specific implementation process is detailed in the corresponding method embodiment, and the technical features in the method embodiment are applicable in the storage medium embodiment, which will not be repeated here.

[0073] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0074] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed. The functional units and modules in the embodiments can be integrated into a processor, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0075] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0076] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0077] In the embodiments provided in the present application, it should be understood that the disclosed wide voltage range DC voltage control method and DC power supply can be implemented in other ways. For example, the DC power supply embodiments described above are merely illustrative.

[0078] In addition, each functional unit in each embodiment of the present application may be integrated into one processor, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0079] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or interface switching device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0080] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A DC voltage control method with a wide voltage range, applied to a DC power supply, characterized in that: The DC power supply comprises a main control chip and an ADC sampling chip, each having a voltage sampling function, and the sampling accuracy of the ADC sampling chip is greater than the sampling accuracy of the main control chip; the method comprises the following steps performed by the main control chip: (a) generating N voltage segments according to the output voltage range of the DC power supply, wherein each of the voltage segments includes an upper limit region and a lower limit region, wherein N is an integer greater than or equal to 2, and the upper limit region and the lower limit region have the same voltage value range; (b) controlling the DC power supply to sequentially output a minimum output voltage, voltages corresponding to adjacent points of the N voltage segments, and a maximum output voltage, while sampling the output voltage of the DC power supply and outputting a voltage sampling instruction to the ADC sampling chip; (c) generating a correction coefficient according to the output voltage sampled at each DC voltage output point and the feedback voltage of the ADC sampling chip at the same time, and generating a correction record according to the correction coefficient and saving it in a memory, and in the correction record, the correction coefficients of the lower limit area of ​​the previous voltage segment and the upper limit area of ​​the next voltage segment in adjacent voltage segments are both the correction coefficients of adjacent points in the adjacent voltage segments.

2. The wide voltage range DC voltage control method according to claim 1, characterized in that: The steps (a) to (c) are performed before the DC power supply leaves the factory.

3. The wide voltage range DC voltage control method according to claim 1, characterized in that: The method further includes the following steps performed by the main control chip during the DC power supply voltage conversion output process: (d) obtaining a voltage segment corresponding to the voltage currently required to be output, and obtaining a correction coefficient corresponding to an upper limit region and a correction coefficient corresponding to a lower limit region of the voltage segment; (e) generating a correction coefficient corresponding to the voltage currently required to be output by interpolating the correction coefficient corresponding to the upper limit area and the correction coefficient corresponding to the lower limit area; (f) adjusting the output voltage of the DC power supply according to the correction coefficient generated by interpolation.

4. The wide voltage range DC voltage control method according to claim 3, characterized in that: The steps (d) to (e) are executed once for each control interrupt of the main control chip.

5. The wide voltage range DC voltage control method according to claim 1, characterized in that: The method further includes the following steps performed by the main control chip during the DC power supply constant voltage output process: (g) sampling the output voltage of the DC power supply and outputting a voltage sampling instruction to the ADC sampling chip; (h) generating a real-time correction coefficient according to the output voltage obtained by sampling and the feedback voltage of the ADC sampling chip; (i) adjusting the output voltage of the DC power supply according to the real-time correction coefficient.

6. The wide voltage range DC voltage control method according to claim 5, characterized in that: The steps (g) to (i) are performed at a timing according to the sampling frequency of the ADC sampling chip, and the step (i) includes: (i1) obtaining a voltage segment corresponding to the current output voltage, and obtaining a correction coefficient corresponding to an upper limit region and a correction coefficient corresponding to a lower limit region of the voltage segment; (i2) generating a correction coefficient corresponding to the current output voltage by interpolating the correction coefficient corresponding to the upper limit region and the correction coefficient corresponding to the lower limit region; (i3) When the difference between the real-time correction coefficient and the correction coefficient generated by interpolation does not exceed a preset range, the real-time correction coefficient is used to adjust the output voltage of the DC power supply; when the difference between the real-time correction coefficient and the correction coefficient generated by interpolation exceeds a preset range, the correction coefficient generated by interpolation is used to adjust the output voltage of the DC power supply.

7. The wide voltage range DC voltage control method according to any one of claims 1 to 6, characterized in that: The correction coefficient is formed by the quotient of the voltage sampled by the main control chip and the feedback voltage of the ADC sampling chip.

8. The wide voltage range DC voltage control method according to any one of claims 1 to 6, characterized in that: The sampling bit number of the ADC sampling chip is between 16 and 24 bits.

9. A DC power supply, characterized in that: It comprises a main control chip, an ADC sampling chip and a memory, wherein the memory stores a computer program executable by the main control chip, and when the main control chip executes the computer program, the steps of the wide voltage range DC voltage control method as claimed in any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the wide voltage range DC voltage control method as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Multi-dimensional nine-area optimal control strategy analysis method based on power distribution network system

    CN109119993A

  • Voltage segmentation correction device

    CN212008892U

  • Direct-current high-voltage front-end segmented isolation sampling circuit

    CN214503740U

  • Apparatus for and method of controlling power supply system

    US20140184178A1