Inductive current correction method and apparatus, and device, product and medium
By correcting the coefficient in real time during the power frequency cycle of the electronic equipment, the problem of poor practicality of the inductor current correction method is solved, higher correction accuracy and equipment stability are achieved, and it is suitable for various load conditions.
Patent Information
- Application Number
- PCT/CN2024/144237
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-18
- Filing Date
- 2024-12-31
- Publication Date
- 2025-09-25
AI Technical Summary
Existing methods for correcting the working inductor current of electronic devices have poor practicality, and offline correction cannot address the problem of poor stability caused by current parameter drift during device operation.
The working inductor current is calibrated by determining the correction coefficient in real time based on the output current and output voltage within the power frequency cycle of the electronic device and adjusting the amplification factor of the working input current.
The accuracy of inductor current correction and the operational stability of electronic equipment are improved, the requirements for load types are reduced, and the invention is applicable to various load conditions.
Smart Images

Figure CN2024144237_25092025_PF_FP_ABST
Abstract
Description
Inductor current correction method, device, equipment, product and medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202410305558.4 and application date of March 18, 2024, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a method, device, equipment, product and medium for correcting inductive current. Background Art
[0004] The accuracy of inductor current feedback information has a significant impact on the control performance of electronic equipment, including speed and stability.
[0005] The inductor current amplification factor is an important factor that causes errors in the inductor current feedback signal, so it is necessary to correct the inductor current amplification factor.
[0006] Existing methods for correcting the inductor current amplification factor all rely on offline calibration. Offline calibration can only be completed before electronic products leave the factory. After offline calibration, the operating inductor current correction factor will drift as the electronic device operates for an extended period of time. However, the relevant control logic parameters remain at factory settings, resulting in decreased operational stability over time.
[0007] In summary, it can be seen that the existing methods for calibrating the working inductor current of electronic devices have poor practicality. Summary of the Invention
[0008] Embodiments of the present application provide a method, apparatus, device, product, and medium for correcting an inductor current, to address the technical problem of poor practicality of a method for correcting an operating inductor current of an electronic device.
[0009] In a first aspect, an embodiment of the present application provides a method for correcting an inductor current, comprising:
[0010] Based on the output current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first output power of the electronic device in the power frequency cycle is determined, the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; based on the test input current and the output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first input power of the electronic device in the power frequency cycle is determined; wherein the output current, the test input current and the output voltage are obtained based on the correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices; based on the ratio of the first output power to the first input power, the correction coefficient of the electronic device in the power frequency cycle is determined; based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current of the electronic device is calibrated.
[0011] In one embodiment, calibrating the working inductor current of the electronic device based on the amplification factor includes: obtaining the working output current of the electronic device during operation; and correcting the working inductor current based on the ratio of the working output current to the amplification factor.
[0012] In one embodiment, after determining the correction coefficient of the electronic device within the power frequency cycle based on the ratio of the first output power to the first input power, the method further includes: issuing a maintenance warning notification when the correction coefficient exceeds a preset range of the correction coefficient.
[0013] In one embodiment, determining the first output power of the electronic device within the power frequency cycle based on the output current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle includes: determining the second output power of the electronic device within each switching cycle based on the output current and the output voltage within each switching cycle; and determining the first output power of the electronic device based on the sum of all the second output powers within the power frequency cycle.
[0014] In one embodiment, determining the first input power of the electronic device in the power frequency cycle based on the test input current and the output voltage of the electronic device in multiple switching cycles in the power frequency cycle includes: determining the second input power of the electronic device in each switching cycle based on the test input current and the output voltage in each switching cycle; and determining the first input power of the electronic device based on the sum of all the second input powers in the power frequency cycle.
[0015] In one embodiment, determining the second input power of the electronic device in each switching cycle based on the test input current and the output voltage in each switching cycle includes: determining the input active power of the electronic device in each switching cycle based on the product of the active current of the test input current in each switching cycle and the output voltage, the input active power being the second input power.
[0016] In a second aspect, an embodiment of the present application provides an inductor current correction device, comprising: an output active power determination module, configured to determine a first output power of the electronic device within a power frequency cycle based on an output current and an output voltage of the electronic device within multiple switching cycles within the power frequency cycle, wherein the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is a switching cycle of a transistor switch of the electronic device; an input active power determination module, configured to determine a first input power of the electronic device within the power frequency cycle based on a test input current and the output voltage of the electronic device within multiple switching cycles within the power frequency cycle; wherein the output current, the test input current, and the output voltage are obtained based on a correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices; a correction coefficient determination module, configured to determine a correction coefficient of the electronic device within the power frequency cycle based on a ratio of the first output power to the first input power; and a correction module, configured to adjust the amplification factor of the working input current of the electronic device in real time based on the correction coefficient, and calibrate the working inductor current of the electronic device based on the amplification factor.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the method for correcting the inductor current described in the first aspect is implemented.
[0018] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the inductor current correction method described in the first aspect.
[0019] In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for correcting the inductor current described in the first aspect is implemented.
[0020] The present application provides a method, apparatus, device, product, and medium for correcting inductive current. The method determines a first output power of the electronic device within a power frequency cycle based on the output current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle, where the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is a switching cycle of a transistor switch of the electronic device. The method also determines a first input power of the electronic device within the power frequency cycle based on a test input current and the output voltage of the electronic device within multiple switching cycles within the power frequency cycle. The output current, the test input current, and the output voltage are obtained based on a correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices. A correction coefficient of the electronic device within the power frequency cycle is determined based on a ratio of the first output power to the first input power. Based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and the working inductive current of the electronic device is calibrated based on the amplification factor. This application determines the correction coefficient based on all output currents, test input currents and output voltages within the power frequency cycle, and then corrects the working inductor current, thereby improving the accuracy of the correction of the working inductor current, improving the practicality of the correction of the working inductor current of the electronic equipment, and thus improving the stability of the operation of the electronic equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] FIG1 is a schematic flow chart of a method for correcting inductor current provided in an embodiment of the present application;
[0023] FIG2 is a schematic diagram of a correction circuit of a conventional electronic device;
[0024] FIG3 is a schematic diagram showing the principle of a conventional inductor current correction method provided by an embodiment of the present application;
[0025] FIG4 is a schematic diagram of a correction circuit of an electronic device provided in an embodiment of the present application;
[0026] FIG5 is a schematic diagram showing the principle of a method for correcting inductor current provided in an embodiment of the present application;
[0027] FIG6 is a schematic structural diagram of an inductor current correction device provided in an embodiment of the present application;
[0028] FIG7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0030] The existing test input current calibration method of electronic equipment is to use offline calibration: as shown in Figure 3, that is, add a pure resistive full load to the output end of the electronic equipment. By default, the impedance is much smaller than the capacitive reactance, and the capacitive current can be ignored. The output current I o To calibrate the test input current, use the formula k = I o / I i Correct the working inductor current. As shown in Figure 2, the specific steps for correcting the working inductor current include:
[0031] (1) Connect the output circuit of the electronic device to full resistance load, and the tester uses an ammeter to measure the output current I o .
[0032] (2) Measure the test input current I of the electronic device i .
[0033] (3) Using the formula k = I o / I i The correction coefficient k of the electronic device is calculated and stored. The output current measured during subsequent operation of the electronic device must be multiplied by the coefficient k to obtain the working inductor current.
[0034] This calibration process can usually only be completed before an electronic device leaves the factory. After calibration, if the parameters of the electronic device's current sampling circuit drift over time, such as if the current amplification factor increases or decreases, the above solution will not be able to adjust k in a timely manner. In electronic device control, k determines the open-loop gain of the current loop. If k changes, the stability and speed of the electronic device may also be affected, affecting its safe operation.
[0035] The parameters of the devices on the sampling channel of electronic equipment, including but not limited to Hall, resistors, op amps, analog-to-digital converters (AD), etc., may change with time, temperature, humidity and other factors. For example, when an electronic device leaves the factory, the correction coefficient of the test input current sampling is k i1When the resistance value of the sampling channel of the electronic device decays for some reason, the actual amplification factor of the sampling channel decays, which in turn causes the correction coefficient k of the working inductor current of the electronic device to decrease. i ≠k i1 At this point, if the electronic device continues to follow the factory settings, i1 Applying logical control will lead to reduced control accuracy of electronic equipment and malfunction of electronic equipment.
[0036] At the same time, as electronic equipment ages, the correction coefficient of its operating inductor current begins to drift. However, the relevant control logic parameters (including the correction coefficients at the time of manufacture) remain at the factory settings. This results in the equipment's operational stability deteriorating over time. Upon discovering this issue, maintenance personnel typically return the device to the manufacturer to update the inductor current correction coefficient or replace related components to reset the correction coefficient. Therefore, traditional methods for correcting the operating inductor current of electronic equipment have resulted in poor practicality.
[0037] As shown in Figure 2, the correction circuit of the existing electronic equipment needs to be connected to a pure resistive full load at the output end of the electronic equipment. The output current after the pure resistive full load must be much larger than the capacitive current. Otherwise, the error of the calculated correction coefficient will be large. As shown in Figures 2 and 3, when the capacitive current I c =3A, output current I o =100A, at this time the test input current The correction factor is 1, and the output current of 100A is used instead of the test current of 100.045A, with an error of 0.045%. c =3A, output current I o =10A, at this time the test input current Using the 10A output current instead of the 10.44A test input current results in a 4.5% error. c =3A, resistive load current I or =20A, capacitive load current I oc =10A, output current At this time, the test input current Using a test input current of 22.36A instead of 23.85A gives an error of 6.7%.
[0038] The above-mentioned method for correcting the working inductor current of the electronic device requires that a pure resistive full load (load) be connected to the output end of the electronic device. After the pure resistive full load test, the input current must be much larger than the capacitive current, otherwise the error will be large.
[0039] FIG1 is a flow chart of a method for correcting an inductor current according to an embodiment of the present application. Referring to FIG1 , an embodiment of the present application provides a method for correcting an inductor current, including steps S100 to S400, each of which is as follows:
[0040] S100: Determine a first output power of the electronic device in a power frequency cycle based on an output current and an output voltage of the electronic device in a plurality of switching cycles in the power frequency cycle.
[0041] The power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device.
[0042] The electronic device of the embodiment of the present application includes an inverter, a converter, an analog-to-digital converter (AD), a controller, etc.
[0043] Transistors in electronic devices include insulated gate bipolar transistors (IGBTs), which switch on and off multiple times within a single power frequency cycle. IGBTs enable high-frequency switching in electronic circuits, controlling the flow of current and voltage changes, thereby converting DC power into AC power. By controlling the on and off states of the IGBTs, the output voltage of electronic devices can be adjusted and its waveform controlled.
[0044] The inductor current correction method provided in the embodiment of the present application can be performed before the electronic device leaves the factory and during operation. As shown in Figure 4, the correction coefficient of the electronic device is updated regularly. When the correction coefficient of the electronic device needs to be tested or corrected, the current of the electronic device input circuit is measured for each switching cycle within a power frequency cycle to obtain the test input current. The current of the electronic device output circuit is measured to obtain the output current. The output voltage of the electronic device circuit is measured. In the process of measuring the correction coefficient of the electronic device, the present application does not need to connect a purely resistive full load to the output end of the electronic device.
[0045] Based on the output current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first output power of the electronic device in the power frequency cycle is determined. Specifically, based on the output current and output voltage in each switching cycle, the second output power of the electronic device in each switching cycle is determined; based on the sum of all second output powers in the power frequency cycle, the first output power of the electronic device is determined.
[0046] The output current and test input current of the electronic device are both AC currents. Specifically, a second output power for each switching cycle is obtained based on the output current and output voltage within a switching cycle. The active current and output voltage of the output current within a switching cycle are obtained, and the output active power of the output current and output voltage within a switching cycle is obtained based on the product of the active current and output voltage within a switching cycle. The output active power is used as the second output power.
[0047] The calculation formula for the first output power is:
[0048] Among them, P o is the first output power, I o (i) is the active current of the output current in the i-th switching cycle, U o (i) is the output voltage of the i-th switching cycle, U o (i)*I o (i) is the second output power of the i-th switching cycle, and n is the number of switching cycles in one power frequency cycle.
[0049] For example, within a power frequency cycle, the IGBT operates 10 times, resulting in a total of 10 switching cycles. For each switching cycle, the output current and output voltage at the output terminal of the electronic device are obtained. Based on the active current and output voltage of the output current within a switching cycle, the second output power for each switching cycle is obtained. The calculated second output powers for the 10 switching cycles are summed to obtain the first output power of the electronic device within that power frequency cycle.
[0050] S200: Determine a first input power of the electronic device in the power frequency cycle based on a test input current and an output voltage of the electronic device in a plurality of switching cycles in the power frequency cycle.
[0051] The output current, test input current and output voltage are obtained based on a correction circuit of the electronic device, and the components in the correction circuit are non-energy-consuming components.
[0052] As shown in Figure 4, the correction circuit of the electronic device of the present application does not need to be connected to a pure resistive full load at the output end. In the correction circuit of the present application, all devices are non-energy consuming devices.
[0053] Based on the test input current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first input power of the electronic device in the power frequency cycle is determined. Specifically, based on the test input current and output voltage in each switching cycle, the second input power of the electronic device in each switching cycle is determined; based on the sum of all second input powers in the power frequency cycle, the first input power of the electronic device is determined.
[0054] Based on the test input current and output voltage in each switching cycle, the second input power of the electronic device in each switching cycle is determined. Specifically, based on the product of the active current of the test input current in each switching cycle and the output voltage, the input active power of the electronic device in each switching cycle is determined, and the input active power is the second input power.
[0055] Specifically, the active current and output voltage of the test input current are obtained. According to the product of the active current and output voltage of the test input current in one switching cycle, the input active power of the test input current and output voltage in one switching cycle is obtained, and the input active power is used as the second input power.
[0056] The calculation formula for the first input power is:
[0057] Among them, P io is the first input power, I inductor (i) is the active current of the test input current in the i-th switching cycle, U o (i) is the output voltage of the i-th switching cycle, U o (i)*I inductor (i) is the second input power of the i-th switching cycle, and n is the number of switching cycles in one power frequency cycle.
[0058] For example, within one power frequency cycle, the IGBT operates 10 times, resulting in 10 switching cycles. For each switching cycle, the test input current and output voltage at the input terminal of the electronic device are obtained. Based on the active current and output voltage of the test input current within a switching cycle, the second input power for each switching cycle is calculated. The calculated second input powers for the 10 switching cycles are summed to obtain the first input power of the electronic device within that power frequency cycle.
[0059] As shown in FIG5 , ideally, the correction factor is equal to 1, and the active current of the test input current is equal to the active current of the output current.
[0060] S300: Determine a correction coefficient of the electronic device within a power frequency period based on a ratio of the first output power to the first input power.
[0061] According to the principle of conservation of energy, the calculation formula of the correction coefficient is:
[0062] Among them, P io is the first input power, I inductor (i) is the active current of the test input current in the i-th switching cycle, U o (i) is the output voltage of the i-th switching cycle, U o (i)*I inductor(i) is the second input power of the i-th switching cycle, n is the number of switching cycles in one power frequency cycle, k is the correction coefficient, P o is the first output power, I o (i) is the active power of the output current in the i-th switching cycle, U o (i)*I o (i) is the second output power of the i-th switching cycle.
[0063] S400: Based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current of the electronic device is calibrated.
[0064] The amplification factor of the working input current is adjusted to a correction factor in real time. According to the amplification factor, the working inductor current of the electronic device during operation is corrected to ensure stable operation of the electronic device.
[0065] The present invention provides an inductor current correction method. The method determines a first output power of the electronic device within a power frequency cycle based on the output current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle, wherein the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; determines a first input power of the electronic device within the power frequency cycle based on the test input current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle; wherein the output current, test input current, and output voltage are obtained based on a correction circuit of the electronic device, and the components in the correction circuit are non-energy-consuming components; determines a correction coefficient of the electronic device within the power frequency cycle based on the ratio of the first output power to the first input power; adjusts the amplification factor of the working input current of the electronic device in real time based on the correction coefficient, and calibrates the working inductor current of the electronic device based on the amplification factor. The present invention determines the correction coefficient of the electronic device based on all output currents, test input currents, and output voltages within the power frequency cycle, thereby achieving real-time updating of the correction coefficient. The working inductor current is corrected in real time based on the correction coefficient, thereby improving the accuracy of determining the working inductor current of the electronic device. The embodiment of the present application determines a correction coefficient based on all output currents, test input currents and output voltages within the power frequency cycle, and then corrects the working inductor current, thereby improving the accuracy of the correction of the working inductor current, improving the practicality of the correction of the working inductor current of the electronic device, and thus improving the stability of the operation of the electronic device.
[0066] The correction method for the inductor current provided in the embodiment of the present application can monitor and update the correction coefficient of the electronic device in real time. At the same time, the correction method for the inductor current provided in the embodiment of the present application has high sampling precision and accuracy, and can better ensure the stable operation of the equipment. The correction method for the inductor current provided in the embodiment of the present application can be applied to an uninterruptible power supply (UPS) electronic device running on the grid. The correction method for the inductor current provided in the embodiment of the present application expands the application occasions of the inductor current correction. As long as the load has an active component, whether it is inductive, capacitive or resistor-capacitor-inductor (RCD) load, it can be used for correction, which reduces the requirements of the electronic device for the load.
[0067] Based on the above embodiment, the working inductor current of the electronic device is calibrated based on the amplification factor, including steps S410 to S420. The details of each step are as follows:
[0068] S410: Obtaining an operating output current of the electronic device during operation.
[0069] S420: Correcting the working inductor current based on the ratio of the working output current to the amplification factor.
[0070] The operating inductor current is the current flowing into the inductor of an electronic device during operation. After measuring the correction factor for the electronic device, the operating output current of the output circuit of the electronic device during operation is obtained. The operating output current is divided by the amplification factor to obtain the corresponding operating inductor current.
[0071] The embodiment of the present application corrects the working inductor current of the electronic device according to the correction coefficient, which is conducive to improving the accuracy of determining the working inductor current.
[0072] Based on the above embodiment, after determining the correction coefficient of the electronic device within the power frequency cycle based on the ratio of the first output power to the first input power, the method further includes step S500, which is specifically:
[0073] S500: When the correction coefficient exceeds a preset range of the correction coefficient, a maintenance warning notification is issued.
[0074] During the calibration coefficient test of electronic devices, if the resistance attenuation on the sampling channel is too large, the deviation of the calibration coefficient of the measured inductor current of the electronic device will be too large, which may cause a local failure of the electronic device system or even an expansion of the failure. The calibration coefficient of the electronic device is preset in advance. The preset range includes the subthreshold trigger value (threthold_down) and the above-threshold trigger value (threthold_up). The calibration coefficient of the electronic device is regularly monitored. When the measured calibration coefficient value is not within the preset range for stable operation of the electronic device, a maintenance warning notification is issued to notify the customer in advance of the repair and remind maintenance personnel to carry out maintenance to prevent the failure of the electronic device from expanding.
[0075] The embodiment of the present application detects the correction coefficient of the electronic device in real time through a preset range so as to promptly repair the fault of the electronic device, which is beneficial to improving the accuracy of the correction of the working inductor current of the electronic device.
[0076] The following describes an inductor current correction device provided in an embodiment of the present application. The inductor current correction device described below and the inductor current correction method described above can be used in conjunction with each other. Referring to FIG6 , FIG6 is a schematic diagram of the structure of the inductor current correction device provided in an embodiment of the present application. An inductor current correction device includes:
[0077] an output active power determination module 601, configured to determine a first output power of the electronic device within a power frequency cycle based on the output current and output voltage of the electronic device within a plurality of switching cycles within the power frequency cycle, where the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is a switching cycle of a transistor switch of the electronic device;
[0078] An input active power determination module 602 is configured to determine a first input power of the electronic device during a power frequency cycle based on a test input current and output voltage of the electronic device during multiple switching cycles during the power frequency cycle; wherein the output current, the test input current, and the output voltage are obtained based on a correction circuit of the electronic device, and the components in the correction circuit are non-energy-consuming components;
[0079] A correction coefficient determination module 603 is configured to determine a correction coefficient of the electronic device within a power frequency period based on a ratio of the first output power to the first input power;
[0080] The correction module 604 is configured to adjust the amplification factor of the working input current of the electronic device in real time based on the correction coefficient, and calibrate the working inductor current of the electronic device based on the amplification factor.
[0081] The inductor current correction device provided in an embodiment of the present application determines a first output power of the electronic device within a power frequency cycle based on the output current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle, wherein the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; determines a first input power of the electronic device within the power frequency cycle based on the test input current and output voltage of the electronic device within multiple switching cycles within the power frequency cycle; wherein the output current, test input current, and output voltage are obtained based on a correction circuit of the electronic device, and the components in the correction circuit are non-energy-consuming components; determines a correction coefficient of the electronic device within the power frequency cycle based on the ratio of the first output power to the first input power; adjusts the amplification factor of the working input current of the electronic device in real time based on the correction coefficient, and calibrates the working inductor current of the electronic device based on the amplification factor. The embodiment of the present application determines the correction coefficient of the electronic device based on all output currents, test input currents, and output voltages within the power frequency cycle, thereby achieving real-time updating of the correction coefficient. The working inductor current is corrected in real time based on the correction coefficient, thereby improving the accuracy of determining the working inductor current of the electronic device. The embodiment of the present application determines a correction coefficient based on all output currents, test input currents and output voltages within the power frequency cycle, and then corrects the working inductor current, thereby improving the accuracy of the correction of the working inductor current, improving the practicality of the correction of the working inductor current of the electronic device, and thus improving the stability of the operation of the electronic device.
[0082] In one embodiment, the correction module 604 is configured to: obtain the operating output current of the electronic device during operation; and correct the operating inductor current based on the ratio of the operating output current to the amplification factor.
[0083] In one embodiment, the correction coefficient determination module 604 is further configured to issue a maintenance warning notification when the correction coefficient exceeds a preset range of the correction coefficient.
[0084] In one embodiment, the output active power determination module 601 is used to: determine the second output power of the electronic device in each switching cycle based on the output current and output voltage in each switching cycle; and determine the first output power of the electronic device based on the sum of all second output powers in the power frequency cycle.
[0085] In one embodiment, the input active power determination module 602 is used to: determine the second input power of the electronic device in each switching cycle based on the test input current and output voltage in each switching cycle; and determine the first input power of the electronic device based on the sum of all second input powers in the power frequency cycle.
[0086] In one embodiment, the input active power determination module 602 is used to determine the input active power of the electronic device in each switching cycle based on the product of the active current of the test input current and the output voltage in each switching cycle, where the input active power is the second input power.
[0087] FIG7 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG7 , the electronic device may include: a processor 710, a communication interface 720, a memory 730, and a communication bus 740. The processor 710, the communication interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 may call a computer program in the memory 730 to execute a method for correcting the inductor current, for example, including:
[0088] Based on the output current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first output power of the electronic device in the power frequency cycle is determined, the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; based on the test input current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first input power of the electronic device in the power frequency cycle is determined; wherein, the output current, the test input current and the output voltage are obtained based on the correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices; based on the ratio of the first output power to the first input power, the correction coefficient of the electronic device in the power frequency cycle is determined; based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current of the electronic device is calibrated.
[0089] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0090] On the other hand, embodiments of the present application further provide a computer program product, which includes a computer program. The computer program may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the working inductor current correction method provided in each of the above embodiments, for example, including:
[0091] Based on the output current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first output power of the electronic device in the power frequency cycle is determined, the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; based on the test input current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first input power of the electronic device in the power frequency cycle is determined; wherein, the output current, the test input current and the output voltage are obtained based on the correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices; based on the ratio of the first output power to the first input power, the correction coefficient of the electronic device in the power frequency cycle is determined; based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current of the electronic device is calibrated.
[0092] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, wherein the computer program is configured to cause a processor to execute the working inductor current correction method provided in each of the above embodiments, for example, including:
[0093] Based on the output current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first output power of the electronic device in the power frequency cycle is determined, the power frequency cycle is determined based on the frequency of the output current, and the switching cycle is the switching cycle of the transistor switch of the electronic device; based on the test input current and output voltage of the electronic device in multiple switching cycles in the power frequency cycle, the first input power of the electronic device in the power frequency cycle is determined; wherein, the output current, the test input current and the output voltage are obtained based on the correction circuit of the electronic device, and the devices in the correction circuit are non-energy-consuming devices; based on the ratio of the first output power to the first input power, the correction coefficient of the electronic device in the power frequency cycle is determined; based on the correction coefficient, the amplification factor of the working input current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current of the electronic device is calibrated.
[0094] The non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid-state drives (SSDs)), etc.
[0095] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0096] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0097] Finally, it should be noted that the above embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.
Claims
1. A method for correcting an inductor current, comprising: determining a first output power of the electronic device within a power frequency cycle based on an output current and an output voltage of the electronic device within a plurality of switching cycles within the power frequency cycle, wherein the power frequency cycle is determined based on a frequency of the output current, and the switching cycle is a switching cycle of a transistor switch of the electronic device; determining a first input power of the electronic device in the power frequency cycle based on a test input current and the output voltage of the electronic device in a plurality of the switching cycles in the power frequency cycle; wherein the output current, the test input current, and the output voltage are obtained based on a correction circuit of the electronic device, and a device in the correction circuit is a non-energy-consuming device; determining a correction coefficient of the electronic device within the power frequency cycle based on a ratio of the first output power to the first input power; Based on the correction coefficient, the amplification factor of the working inductor current of the electronic device is adjusted in real time, and based on the amplification factor, the working inductor current is calibrated.
2. The method for correcting inductor current according to claim 1, wherein: The step of calibrating the operating inductor current based on the amplification factor includes: Obtaining an operating output current of the electronic device during operation; The operating inductor current is corrected based on a ratio of the operating output current to the amplification factor.
3. The method for correcting inductor current according to claim 1 or 2, wherein: After determining the correction coefficient of the electronic device within the power frequency period based on the ratio of the first output power to the first input power, the method further includes: When the correction coefficient exceeds the preset range of the correction coefficient, a maintenance warning notice is issued.
4. The method for correcting inductor current according to any one of claims 1 to 3, wherein: The determining, based on the output current and output voltage of the electronic device in a plurality of switching cycles in the power frequency cycle, a first output power of the electronic device in the power frequency cycle includes: determining a second output power of the electronic device in each switching cycle based on the output current and the output voltage in each switching cycle; The first output power of the electronic device is determined based on the sum of all the second output powers within the power frequency period.
5. The method for correcting inductor current according to any one of claims 1 to 4, wherein: The determining, based on the test input current and the output voltage of the electronic device in a plurality of the switching cycles in the power frequency cycle, a first input power of the electronic device in the power frequency cycle includes: determining a second input power of the electronic device in each switching cycle based on the test input current and the output voltage in each switching cycle; The first input power of the electronic device is determined based on the sum of all the second input powers within the power frequency period.
6. The method for correcting inductor current according to claim 5, wherein: The determining, based on the test input current and the output voltage in each switching cycle, the second input power of the electronic device in each switching cycle includes: Based on the product of the active current of the test input current and the output voltage in each switching cycle, the input active power of the electronic device in each switching cycle is determined, and the input active power is the second input power.
7. An inductor current correction device, wherein: include: an output active power determination module configured to determine a first output power of the electronic device within a power frequency cycle based on an output current and an output voltage of the electronic device within a plurality of switching cycles within the power frequency cycle, wherein the power frequency cycle is determined based on a frequency of the output current, and the switching cycle is a switching cycle of a transistor switch of the electronic device; an input active power determination module, configured to determine a first input power of the electronic device within the power frequency cycle based on a test input current and the output voltage of the electronic device within a plurality of the switching cycles within the power frequency cycle; wherein the output current, the test input current, and the output voltage are obtained based on a correction circuit of the electronic device, and components in the correction circuit are non-energy-consuming components; a correction coefficient determination module, configured to determine a correction coefficient of the electronic device within the power frequency cycle based on a ratio of the first output power to the first input power; The correction module is configured to adjust the amplification factor of the working input current of the electronic device in real time based on the correction coefficient, and calibrate the working inductor current of the electronic device based on the amplification factor.
8. The inductor current correction device according to claim 7, wherein: The correction module is configured as follows: Obtaining an operating output current of the electronic device during operation; The operating inductor current is corrected based on a ratio of the operating output current to the amplification factor.
9. The inductor current correction device according to claim 7 or 8, wherein: The correction coefficient determination module is further configured to: When the correction coefficient exceeds the preset range of the correction coefficient, a maintenance warning notice is issued.
10. The inductor current correction device according to any one of claims 7 to 9, wherein: The output active power determination module is configured as follows: determining a second output power of the electronic device in each switching cycle based on the output current and the output voltage in each switching cycle; The first output power of the electronic device is determined based on the sum of all the second output powers within the power frequency period.
11. The inductor current correction device according to any one of claims 7 to 10, wherein: The input active power determination module is configured as follows: determining a second input power of the electronic device in each switching cycle based on the test input current and the output voltage in each switching cycle; The first input power of the electronic device is determined based on the sum of all the second input powers within the power frequency period.
12. The inductor current correction device according to claim 11, wherein: The input active power determination module is configured as follows: Based on the product of the active current of the test input current and the output voltage in each switching cycle, the input active power of the electronic device in each switching cycle is determined, and the input active power is the second input power.
13. An electronic device comprising a processor and a memory storing a computer program, wherein: When the processor executes the computer program, the inductor current correction method according to any one of claims 1 to 6 is implemented.
14. A computer program product comprising a computer program, wherein When the computer program is executed by a processor, the method for correcting the inductor current according to any one of claims 1 to 6 is implemented.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method for correcting the inductor current according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
PFC zero crossing point direct current bias optimization control method, device, equipment and medium
CN111835192A
Power correction circuit anomaly detection method, system and circuit
CN111983302A
TypeC equipment power correction method and device, equipment and storage medium
CN113257170A
Correction method and device based on power factor correction circuit, equipment and medium
CN116995912A
Switching time algorithm of power factor correction circuit, control method and power supply circuit
CN117375398A