A method for controlling a driving power supply

By establishing an electric energy measurement model in the main control chip, sampling input or output signals, and calculating electric energy parameters, the problem of complexity and high cost in monitoring electric energy parameters of LED drive power supplies in the existing technology is solved, and an electric energy meter with a simple structure and low cost is realized. Monitoring, suitable for a variety of drive power specifications.

CN117881036BActive Publication Date: 2024-08-23BOKE DRIVERS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311870593.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-08-23
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

When existing LED drive power supplies monitor the power parameters at the input and output ends, they need to add complex isolation modules and high-cost energy measurement ICs, resulting in a complex structure and inconvenience to retrofit. Especially in existing isolated drive power supplies, the cost High and difficult to apply.

Method used

By establishing an electric energy measurement model in the main control chip, sampling input or output signals, calculating electric energy parameters based on the electric energy measurement model, and storing the model in the main control chip, the circuit structure is simplified and the cost is reduced.

Benefits of technology

It realizes simple transformation on the basis of the existing drive power supply circuit, low-cost monitoring of electric energy parameters, and is suitable for drive power supplies of various specifications. The structure is simple, easy to transform, and saves costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117881036B
    Figure CN117881036B
Patent Text Reader

Abstract

The present invention discloses a control method for a driving power supply, comprising a main control chip and a sampling module and a driving module electrically connected to the main control chip respectively, wherein the sampling module samples an input signal of an input end and feeds the input signal back to the main control chip, and the main control chip controls the driving module to output an output signal, comprising the following steps: Step 1, establishing an electric energy metering model, wherein the electric energy metering model can calculate corresponding electric energy parameters according to the input signal or the output signal; Step 2, storing the electric energy metering model in the main control chip; Step 3, the sampling module samples the input signal, or the main control chip samples the output signal; Step 4, the main control chip combines the input signal or the output signal with the electric energy metering model to obtain corresponding electric energy parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of driving power supply, and in particular to a control method of driving power supply. Background Art

[0002] The functions of LED driver power supplies currently on the market are relatively simple, and are generally only used to drive LED loads. If you want to monitor the current, voltage, power, active energy, and reactive energy of the input and output terminals, you need to connect an energy metering IC or set an energy metering module in the driver power supply. However, the energy metering IC is relatively expensive and large in size, making it difficult to apply to most driver power supplies. In addition, for isolated power supplies, a relatively complex isolation module is provided between the primary and secondary of the transformer, the main control chip is provided on the secondary side, and the dimming circuit of the rear stage is electrically connected to the main control chip. In the prior art, the energy metering module and the main control chip are both provided on the primary side, and the subsequent dimming circuit needs to add a lot of isolation devices, and the circuit structure is complex. Therefore, for the isolated driver power supply that has been maturely applied, if you want to collect the energy parameters of the input and output terminals in the driver power supply circuit, if the above-mentioned solutions are adopted, it is necessary to make major adjustments to the circuit of the existing driver power supply circuit, which is not convenient for modification, has a complex structure, and is costly. Summary of the invention

[0003] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art and to provide a control method for a driving power supply which has a simple structure, low cost and is easy to be modified on the basis of the original driving power supply circuit to realize electric energy metering.

[0004] According to the control method of the driving power supply of the embodiment of the present invention, the driving power supply includes a main control chip and a sampling module and a driving module electrically connected to the main control chip respectively, the sampling module samples the input signal of the input end and feeds the input signal back to the main control chip, and the main control chip controls the driving module to output an output signal, characterized in that it includes the steps of:

[0005] Step 1: Establish an electric energy metering model, wherein the electric energy metering model can calculate corresponding electric energy parameters according to the input signal or the output signal;

[0006] Step 2, storing the electric energy metering model in the main control chip;

[0007] Step 3, the sampling module samples the input signal, or the main control chip samples the output signal;

[0008] Step 4: the main control chip combines the input signal or the output signal with the electric energy metering model to obtain corresponding electric energy parameters.

[0009] According to some embodiments of the present invention, step 2 includes the following specific steps:

[0010] Step 2.1, storing the electric energy metering model in a host computer;

[0011] Step 2.2: The host computer communicates with the main control chip to download the electric energy metering model to the main control chip.

[0012] According to some embodiments of the present invention, the electric energy metering model includes a first model, and the step of establishing the first model includes:

[0013] Step 1.1, controlling the programmable variable frequency power supply through a controller to input multiple input signals to the input end of the driving power supply;

[0014] Step 1.2, analyzing the plurality of input signals by a power analyzer to obtain corresponding plurality of first analysis parameters, and feeding back the plurality of first analysis parameters to a controller;

[0015] Step 1.3: The controller establishes a first model according to the plurality of input signals and the corresponding plurality of sets of the first analysis parameters to calculate the electric energy parameters currently input by the driving power supply.

[0016] According to some embodiments of the present invention, the electric energy metering model includes a second model, and the step of establishing the second model includes:

[0017] Step 1.4, the controller controls the output ratio of the driving power supply to output a plurality of output signals;

[0018] Step 1.5, the power analyzer analyzes the current input signal corresponding to the output signal to obtain multiple sets of second analysis parameters, and feeds back the multiple sets of second analysis parameters to the controller;

[0019] Step 1.6: The controller establishes a second model based on the multiple output signals and the corresponding multiple groups of the second analysis parameters to calculate the electric energy parameters currently input by the driving power supply.

[0020] According to some embodiments of the present invention, the first analysis parameters and the second analysis parameters include input voltage, input current, power factor and active power, respectively; the first model includes a current-voltage-power factor model and a current-voltage-active power model established based on multiple groups of the first analysis parameters; and the second model includes a current-voltage-power factor model and a current-voltage-active power model established based on multiple groups of the second analysis parameters.

[0021] According to some embodiments of the present invention, the calculation steps of the first model and the second model respectively include:

[0022] Obtaining the current power factor cosφ and active power according to the current voltage-power factor model and the current voltage-active power model respectively;

[0023] Calculate the apparent power based on cosφ and active power = active power / cosφ;

[0024] Calculate reactive power = apparent power * s inφ, apparent energy = apparent power * t, active energy = active power * t, reactive energy = reactive power * t, where t is time.

[0025] According to some embodiments of the present invention, the first model is a database including multiple input signals and multiple groups of first analysis parameters corresponding one-to-one to the input signals, and the second model is a database including multiple output signals and multiple groups of second analysis parameters corresponding one-to-one to the output signals.

[0026] According to some embodiments of the present invention, the controller includes a CPU, which is electrically connected to the programmable variable frequency power supply to control the programmable variable frequency power supply to input multiple input signals to the driving power supply, the power analyzer is electrically connected to the input end of the driving power supply and the CPU, respectively, to analyze the input signals and feed back corresponding analysis parameters to the CPU, the CPU is electrically connected to the driving power supply to control the output ratio of the driving power supply, and the CPU is electrically connected to the LED load to collect the output signal.

[0027] According to some embodiments of the present invention, a serial port circuit is further included, and the CPU communicates with an external host computer through the serial port circuit to store the electric energy metering model in the host computer.

[0028] According to some embodiments of the present invention, an isolation module is further included, the sampling module is electrically connected to one end of the isolation module, and the other end of the isolation module is electrically connected to the main control chip.

[0029] The control method of the driving power supply according to the embodiment of the present invention has at least the following beneficial effects: an electric energy metering model is established in advance outside the driving power supply, and the electric energy metering model can calculate the corresponding electric energy parameters according to the input signal or the output signal, and then the electric energy metering model is stored in the main control chip, and the main control chip obtains the corresponding electric energy parameters by combining the sampled input signal or the output signal with the electric energy metering model; for the existing mature driving power supply circuit, there is no need to make major adjustments to the existing driving power supply circuit, and the main control chip is still set on the secondary side. It is only necessary to set a sampling module on the basis of the existing driving power supply to sample the input signal, and then load the established electric energy metering model into the main control chip. The structure is simple and easy to modify, and the electric energy metering model can be applicable to driving power supply circuits of various specifications, with good versatility and cost saving.

[0030] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings;

[0032] Figure 1 It is a flow chart of a control method of a driving power supply;

[0033] Figure 2 is a flow chart of a first embodiment of a method for controlling a driving power supply;

[0034] Figure 3 is a flow chart of a second embodiment of a method for controlling a driving power supply;

[0035] Figure 4 It is a circuit structure block diagram for establishing an electric energy metering model;

[0036] Figure 5 This is the circuit structure block diagram of the driving power supply. DETAILED DESCRIPTION

[0037] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.

[0038] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0039] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0040] Reference Figures 1 to 5 The present invention provides a control method for a driving power supply, wherein the driving power supply comprises a main control chip and a sampling module and a driving module electrically connected to the main control chip respectively, wherein the sampling module samples an input signal of an input end of the driving power supply and feeds the input signal back to the main control chip, and the main control chip controls an output signal of the driving module, comprising the steps of:

[0041] Step 1: Establish an electric energy metering model, which can calculate corresponding electric energy parameters according to input signals or output signals;

[0042] Step 2, storing the electric energy metering model in the main control chip;

[0043] Step 3, the sampling module samples the input signal, or the main control chip samples the output signal;

[0044] Step 4: The main control chip combines the input signal or the output signal with the electric energy metering model to obtain corresponding electric energy parameters.

[0045] like Figure 1 , further, step 2 includes the following specific steps:

[0046] Step 2.1, storing the electric energy metering model in the host computer, which includes an intelligent host, a CPU host, and a computer;

[0047] Step 2.2: The host computer communicates with the main control chip to download the electric energy metering model to the main control chip.

[0048] The principle of establishing the electric energy metering model is: first obtain the data of all test points within the full working range of the existing driving power supply, and then establish a complete data model through these data (such as power factor, input voltage, input current and other parameters), which can also be called establishing a database containing the data of all test points within the full working range.

[0049] like Figure 2 In the first embodiment, a first model is established through a correspondence between an input signal and an analysis parameter of a power analyzer, and the steps of establishing the first model include:

[0050] Step 1.1, controlling the programmable variable frequency power supply through the controller to input multiple input signals to the input end of the driving power supply;

[0051] Step 1.2, analyzing multiple input signals by a power analyzer to obtain corresponding multiple groups of first analysis parameters, and feeding back the multiple groups of first analysis parameters to the controller;

[0052] Step 1.3: The controller establishes a first model according to multiple input signals and corresponding multiple groups of first analysis parameters to obtain the electric energy parameters currently input by the driving power supply.

[0053] like Figure 3 In the second embodiment, when the driving power supply has a power factor correction function, since the PF value will have a sudden change in the low load range, the parameter changes of the PF value sudden change part cannot be filtered out by analyzing the input signal from the test data model. Therefore, when the load is low, we use the corresponding relationship between the output signal and the input signal to establish a second model to avoid the PF value sudden change problem. The steps of establishing the second model include:

[0054] Step 1.4, the controller controls the output ratio of the driving power supply to output a plurality of output signals;

[0055] Step 1.5, the power analyzer analyzes the current input signal corresponding to the output signal to obtain multiple sets of second analysis parameters, and feeds back the multiple sets of second analysis parameters to the controller;

[0056] Step 1.6: The controller establishes a second model according to the multiple output signals and the corresponding multiple groups of second analysis parameters to obtain the electric energy parameters currently input by the driving power supply.

[0057] In some embodiments, the first analysis parameter and the second analysis parameter include input voltage, input current, power factor and active power respectively, the first model includes a current voltage-power factor model and a current voltage-active power model established according to multiple sets of first analysis parameters, and the second model includes a current voltage-power factor model and a current voltage-active power model established according to multiple sets of second analysis parameters. The calculation steps of the first model and the second model include:

[0058] Step S1, obtaining the current power factor cosφ and active power according to the current voltage-power factor model and the current voltage-active power model respectively;

[0059] Step S2, according to the power factor cosφ and the active power, calculate reactive power = apparent power * sinφ, apparent energy = apparent power * t, active energy = active power * t, reactive energy = reactive power * t, where t is time, so as to obtain comprehensive electric energy parameters.

[0060] like Figure 4 As shown, the controller for establishing the electric energy metering model includes a CPU, the CPU is electrically connected to the programmable variable frequency power supply through an interface circuit (the interface circuit includes a TTL interface circuit, a USB interface circuit, an RS485 interface circuit, an RS232 interface circuit, etc.) to control the programmable variable frequency power supply to input multiple input signals to the driving power supply, the power analyzer is electrically connected to the input end of the driving power supply and the CPU respectively to analyze the input signal and feed back the corresponding analysis parameters to the CPU, the CPU is electrically connected to the driving power supply to control the output ratio of the driving power supply, the CPU is electrically connected to the LED load to collect the output signal, and the CPU communicates with the external host computer through the serial port circuit to store the electric energy metering model in the host computer. When the driving power supply needs electric energy metering, it is only necessary to communicate with the host computer to download the electric energy metering model (equivalent to a database containing electric energy parameters of the full working range) to the main control chip. When the driving power supply is working, the sampling module feeds back the sampled input signal to the main control chip or the main control chip combines the detected output signal, and the electric energy metering model is called to obtain the corresponding electric energy parameters.

[0061] like Figure 5 As shown, the driving power supply includes a rectifier module, an isolation module, and a step-down isolation module. The input end of the sampling module is electrically connected to the rectifier module to sample the input signal, the output end of the sampling module is electrically connected to one end of the isolation module, and the other end of the isolation module is electrically connected to the main control chip. The input signal sampled by the sampling module is transmitted to the main control chip through isolation. The rectifier module is electrically connected to the step-down isolation module, and the step-down isolation module is electrically connected to the driving module. By establishing an electric energy metering model outside the driving power supply in advance, and then storing the electric energy metering model in the main control chip, the main control chip combines the input signal or output signal obtained by sampling with the electric energy metering model to obtain the corresponding electric energy parameters; for the existing mature driving power supply circuit, there is no need to make major adjustments to the existing driving power supply circuit, the main control chip is still set on the secondary side, and it is only necessary to set a sampling module on the basis of the existing driving power supply to sample the input signal, and then load the established electric energy metering model into the main control chip. The structure is simple and easy to modify, and the electric energy metering model can be applied to driving power supply circuits of various specifications, with good versatility and cost saving.

[0062] It is easy for those skilled in the art to understand that the above preferred embodiments can be freely combined and superimposed without conflict.

[0063] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or directly or indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. A method for controlling a driving power supply, wherein the driving power supply comprises a main control chip and a sampling module and a driving module electrically connected to the main control chip respectively, wherein the sampling module samples an input signal of an input end of the driving power supply and feeds the input signal back to the main control chip, and the main control chip controls an output signal of the driving module, It is characterized in that Includes steps: Step 1: Establish an electric energy metering model, wherein the electric energy metering model can calculate corresponding electric energy parameters according to the input signal or the output signal; Step 2, storing the electric energy metering model in the main control chip; Step 3, the sampling module samples the input signal, or the main control chip samples the output signal; Step 4, the main control chip combines the input signal or the output signal with the electric energy metering model to obtain corresponding electric energy parameters; The electric energy metering model includes a first model, and the steps of establishing the first model include: step 1.1, controlling the programmable variable frequency power supply to input multiple input signals to the input end of the driving power supply through a controller; Step 1.2, analyzing the plurality of input signals by a power analyzer to obtain corresponding plurality of first analysis parameters, and feeding back the plurality of first analysis parameters to a controller; Step 1.3, the controller establishes a first model according to the plurality of input signals and the corresponding plurality of sets of the first analysis parameters to obtain the electric energy parameters currently input by the driving power supply; The electric energy metering model includes a second model, and the steps of establishing the second model include: step 1.4, the controller controls the output ratio of the driving power supply to output a plurality of output signals; Step 1.5, the power analyzer analyzes the current input signal corresponding to the output signal to obtain multiple sets of second analysis parameters, and feeds back the multiple sets of second analysis parameters to the controller; Step 1.6, the controller establishes a second model according to the plurality of output signals and the corresponding plurality of sets of the second analysis parameters to obtain the electric energy parameters currently input by the driving power supply; The first analysis parameter and the second analysis parameter include input voltage, input current, power factor and active power respectively; the first model includes a current voltage-power factor model and a current voltage-active power model established according to multiple groups of the first analysis parameters; the second model includes a current voltage-power factor model and a current voltage-active power model established according to multiple groups of the second analysis parameters; The calculation steps of the first model and the second model respectively include: According to the current voltage-power factor model and the current voltage-active power model, the current power factor cosφ and active power are obtained respectively, where φ is the phase difference between the voltage and the current; Calculate the apparent power based on cosφ and active power = active power / cosφ; Calculate reactive power = apparent power * sinφ, apparent energy = apparent power * t, active energy = active power * t, reactive energy = reactive power * t, where t is time.

2. The control method of the driving power supply according to claim 1, It is characterized in that Step 2 includes the following specific steps: Step 2.1, storing the electric energy metering model in a host computer; Step 2.2: The host computer communicates with the main control chip to download the electric energy metering model to the main control chip.

3. The control method of the driving power supply according to claim 1, Features: The first model is a database including multiple input signals and multiple sets of the first analysis parameters corresponding one-to-one to the input signals, and the second model is a database including multiple output signals and multiple sets of the second analysis parameters corresponding one-to-one to the output signals.

4. The method for controlling a driving power supply according to claim 1, Features: The controller includes a CPU, and the CPU is electrically connected to the programmable variable frequency power supply to control the programmable variable frequency power supply to input multiple input signals to the driving power supply. The power analyzer is electrically connected to the input end of the driving power supply and the CPU respectively to analyze the input signals and feed back corresponding analysis parameters to the CPU. The CPU is electrically connected to the driving power supply to control the output ratio of the driving power supply, and the CPU is electrically connected to the LED load to collect the output signal.

5. The control method of the driving power supply according to claim 4, Features: It also includes a serial port circuit, through which the CPU communicates with an external host computer to store the electric energy metering model in the host computer.

6. The method for controlling a driving power supply according to claim 1, Features: It also includes an isolation module, the sampling module is electrically connected to one end of the isolation module, and the other end of the isolation module is electrically connected to the main control chip.