Dimming method for controller to automatically match driver and energy-saving lamp

By establishing a dimming data table in the controller of the smart street light and performing curve fitting, the problem of large gap between dimming percentage and power percentage in the prior art is solved, and the energy saving situation is directly estimated through dimming brightness, which improves the energy saving effect.

CN120050818APending Publication Date: 2025-05-27SHANGHAI QIANLONG ENERGY-SAVING TECH CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311595696.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Among existing smart street lights, the dimming percentage is far from the same power percentage, which makes it impossible to directly estimate the energy saving situation by setting the dimming brightness. There are large errors when configuring the dimming plan for the lamp.

Method used

By defining the range of dimming lights corresponding to the lighting intensity of the lamp, a dimming data table is established in the controller, the dimming value and the corresponding power value are recorded, and the dimming accuracy value is accumulated or reduced in a preset proportion based on the dimming intermediate value, the maximum and minimum dimming value and power value are obtained, and the curve fitting is performed to obtain the dimming fitting curve.

Benefits of technology

It realizes the direct calculation of energy saving through dimming brightness, reduces the error in dimming planning configuration, and improves the energy saving effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050818A_ABST
    Figure CN120050818A_ABST
Patent Text Reader

Abstract

The invention provides a dimming method for a controller to automatically match a driver and an energy-saving lamp, and the method specifically comprises the following steps: S1, building a dimming data table in the controller, and recording a dimming value and a corresponding power value; s2, the controller inputs the selected dimming intermediate value into a driver to obtain an intermediate power value; s3, accumulating dimming precision values on the basis of the dimming intermediate value until the maximum power value and the maximum dimming value are obtained; s4, the dimming precision value is gradually reduced on the basis of the dimming intermediate value until the minimum power value and the minimum dimming value are obtained; s5, performing curve fitting on the dimming data table after the steps S2-S4 to obtain a dimming fitting curve; and S6, inputting a new dimming value, and obtaining a corresponding power value according to the dimming data table or the dimming fitting curve. Compared with the prior art, according to the dimming method, the dimming value is equivalent to the power value of the corresponding lamp, and the conversion problem of dimming and energy-saving power is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a dimming method for automatically matching a controller with a driver and an energy-saving lamp, belonging to the technical field of lighting. Background Art

[0002] In existing intelligent street lamp industry projects, the demand for dimming is more for energy conservation. Users generally hope to change the corresponding power by adjusting the light brightness, so as to achieve the effect of energy conservation. However, in traditional dimming curves, the difference between the dimming percentage and the equivalent power percentage is relatively large. Therefore, it is impossible to directly calculate the energy conservation situation by setting the dimming brightness, and there are large errors in configuring the dimming plan of the lamp.

[0003] In view of this, it is necessary to improve the existing dimming method to solve the above problems. Summary of the Invention

[0004] The purpose of the present invention is to provide a dimming method for automatically matching a controller with a driver, which can directly calculate the energy conservation situation through the dimming brightness.

[0005] To achieve the above invention purpose, the present invention provides a dimming method for automatically matching a controller with a driver for an energy-saving lamp, mainly including the following steps:

[0006] S1. Define a dimming lighting range corresponding to the light intensity of the lamp for the driver. After the controller inputs any dimming value within the dimming lighting range into the driver, the controller can monitor and obtain the corresponding power value output by the driver, and establish a dimming data table in the controller to record the dimming value and the corresponding power value;

[0007] S2. Select a dimming intermediate value within the dimming lighting range. The controller inputs the selected dimming intermediate value into the driver to monitor and record the dimming intermediate value and the corresponding intermediate power value;

[0008] S3. Take the dimming intermediate value as the initial basic dimming value and the intermediate power value as the initial basic power value. Accumulate the dimming precision value at a preset ratio on the basis of the basic dimming value to obtain an accumulated dimming value. Input the accumulated dimming value into the driver to obtain the corresponding accumulated power value, and record the accumulated dimming value and the accumulated power value into the dimming data table; judge whether the current accumulated power value is the maximum power value. If so, record the current accumulated power value as the maximum power value. If not, update the current accumulated dimming value and the accumulated power value to the basic dimming value and the basic power value, and loop to execute step S3;

[0009] S4. Take the dimming intermediate value as the initial basic dimming value and the intermediate power value as the initial basic power value. Subtract the dimming precision value from the basic dimming value at a preset ratio to obtain the subtracted dimming value. Input the subtracted dimming value into the driver to obtain the corresponding subtracted power value, and record the subtracted dimming value and the subtracted power value in the dimming data table. Determine whether the current subtracted power value is the minimum power value. If it is, record the current subtracted power value as the minimum power value. If not, update the current subtracted dimming value and subtracted power value to the basic dimming value and basic power value, and loop to execute step S4;

[0010] S5. Curve fit the dimming data table after steps S2 - S4 to obtain the dimming fit curve;

[0011] S6. When a new dimming value is input, the controller can obtain the corresponding power value according to the dimming data table or the dimming fit curve.

[0012] As a further improvement of the present invention, step S3 specifically includes the following steps:

[0013] S31. Define the dimming intermediate value as the first dimming value and the intermediate power value as the first power value. Add the first dimming value and the dimming precision value to obtain the second dimming value;

[0014] S32. The controller inputs the second dimming value into the driver, monitors and obtains the second power value;

[0015] S33. Compare the second power value with the first power value. If the second power value is greater than the first power value, update the second dimming value and the second power value to the new first dimming value and the new first power value;

[0016] S34. Add the new first dimming value and the dimming precision value to obtain the new second dimming value, and loop back to step S32 until the new first power value is greater than or equal to the new second power value. Then record the current first power value as the maximum power value and the corresponding first dimming value as the maximum dimming value.

[0017] As a further improvement of the present invention, step S4 specifically includes the following steps:

[0018] S41. Define the dimming intermediate value as the first dimming value and the intermediate power value as the first power value. Subtract the dimming precision value from the first dimming value to obtain the third dimming value;

[0019] S42. The controller inputs the third dimming value into the driver, monitors and obtains the third power value;

[0020] S43. Compare the third power value with the first power value. If the third power value is less than the first power value, update the third dimming value and the third power value to the new first dimming value and the new first power value.

[0021] S44. Subtract the new first dimming value from the dimming precision value to obtain the new third dimming value, and loop back to step S42 until the new first power value is less than or equal to the new third power value. Then record the current first power value as the minimum power value and the corresponding first dimming value as the minimum dimming value.

[0022] As a further improvement of the present invention, in step S44, when the new first power value is 0, record the minimum power value as 0 and the corresponding first dimming value as the minimum dimming value.

[0023] As a further improvement of the present invention, a reading time is preset in the controller. In step S2, the controller inputs the dimming intermediate value into the driver, and after the reading time, the controller can read and record the intermediate power value obtained by monitoring.

[0024] As a further improvement of the present invention, in steps S3 and S4, after increasing / decreasing the dimming precision value each time, the controller can read and record the monitored power value after the reading time.

[0025] As a further improvement of the present invention, step S6 specifically includes: when a new dimming value is input, if the new dimming value is recorded in the dimming data table, the controller can obtain the corresponding power value through the look-up table method; if the new dimming value is not recorded in the dimming data table, the controller can obtain the corresponding power value through the dimming fitting curve.

[0026] As a further improvement of the present invention, when there is an error between the power value obtained through the dimming fitting curve and the actual power value, the current dimming value can be input into the driver to obtain the actual power value, and record and overwrite the corresponding power value on the dimming fitting curve.

[0027] As a further improvement of the present invention, the dimming lighting range is 1 - 10V.

[0028] The present invention also provides an energy-saving lamp, which can correspond the dimming value with the power value to formulate an energy-saving plan.

[0029] The present invention provides an energy-saving lamp, which applies the aforementioned dimming method. The energy-saving lamp includes a controller and a driver connected to the controller. The driver has a dimming lighting range corresponding to the illumination intensity of the energy-saving lamp. The controller includes:

[0030] An operating module that can select any dimming value within the dimming light range;

[0031] An interface module for receiving the dimming value selected by the operating module and inputting it into the driver, and the driver outputs a power value corresponding to the dimming value;

[0032] A power monitoring module for monitoring and obtaining the power value output by the driver;

[0033] A storage module with a dimming data table for recording the dimming value selected by the operating module and the power value obtained by the power monitoring module;

[0034] Among them, the storage module further includes a fitting module that can perform curve fitting based on the dimming data table to obtain a dimming fitting curve; so that when the operating module selects a new dimming value, the corresponding power value can be obtained according to the dimming data table or the dimming fitting curve.

[0035] As a further improvement of the present invention, a basic dimming value and a dimming accuracy value are preset in the operating module. When the operating module starts running and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module, and the storage module, the operating module can accumulate the dimming accuracy value on the basic dimming value to obtain an accumulated dimming value and an accumulated power value corresponding to the accumulated dimming value. And when the accumulated power value is greater than the basic power value, the controller updates the accumulated dimming value and the accumulated power value to a new basic dimming value and a new basic power value, and accumulates cyclically.

[0036] As a further improvement of the present invention, a basic dimming value and a dimming accuracy value are preset in the operating module. When the operating module starts running and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module, and the storage module, the operating module can subtract the dimming accuracy value from the basic dimming value to obtain a subtracted dimming value and a subtracted power value corresponding to the subtracted dimming value. And when the subtracted power value is less than the basic power value, the controller updates the subtracted dimming value and the subtracted power value to a new basic dimming value and a new basic power value, and subtracts cyclically.

[0037] The beneficial effects of the present invention are as follows: The dimming method of the controller of the present invention automatically matching the driver accumulates / subtracts the dimming precision value at a preset ratio based on the dimming intermediate value to obtain the maximum dimming value and the corresponding maximum power value, as well as the minimum dimming value and the corresponding minimum power value. Thus, the dimming values and the corresponding power values obtained after each increase / decrease of the dimming precision value can be entered into the dimming data table, and the dimming fitting curve can be obtained by curve fitting of the dimming data table. Therefore, the user can directly obtain the corresponding power value according to the dimming data table or the dimming fitting curve after inputting a new dimming value, so as to estimate the energy-saving situation. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a flowchart of the dimming method of the controller of the present invention automatically matching the driver based on power feedback.

[0039] Figure 2 is Figure 1 a flowchart for obtaining the maximum power value and the corresponding maximum dimming value in

[0040] Figure 3 is Figure 1 a flowchart for obtaining the minimum power value and the corresponding minimum dimming value in

[0041] Figure 4 is the internal structure diagram of an energy-saving lamp conforming to the preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0042] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] Please refer to Figures 1 to 3 as shown, the present invention discloses a dimming method for a controller automatically matching a driver, which is applicable to energy-saving lamps, and can directly obtain the power corresponding to a set dimming brightness, and then estimate the current energy-saving situation, and arrange an energy-saving plan accordingly.

[0044] The present invention is particularly applicable to smart street lamps. In existing smart street lamps, users particularly focus on the actual power during the use of the lamps to meet the energy-saving requirements. Since the lamps themselves are equipped with a power monitoring module, the present invention relies on this power monitoring module to automatically match different lamps, and thus solve the increasing energy-saving requirements of users in existing smart street lamp industry projects. However, it should be noted that smart street lamps are only one field applicable to the present invention, and the present invention should not be one-sidedly considered to be only used for smart street lamps. The dimming method of the controller of the present invention automatically matching the driver mainly includes the following steps:

[0045] S1. Define the dimming lighting range of the driver corresponding to the illumination intensity of the lamp. After the controller inputs any dimming value within the dimming lighting range into the driver, the controller can monitor and obtain the corresponding power value output by the driver, and establish a dimming data table in the controller to record the dimming value and the corresponding power value.

[0046] S2. Select a dimming intermediate value within the dimming lighting range. The controller inputs the selected dimming intermediate value into the driver, monitors and records the dimming intermediate value and the corresponding intermediate power value.

[0047] S3. Take the dimming intermediate value as the initial basic dimming value and the intermediate power value as the initial basic power value. Accumulate the dimming precision value on the basic dimming value at a preset ratio to obtain the accumulated dimming value. Input the accumulated dimming value into the driver to obtain the corresponding accumulated power value, and record the accumulated dimming value and the accumulated power value into the dimming data table. Determine whether the current accumulated power value is the maximum power value. If so, record the current accumulated power value as the maximum power value. If not, update the current accumulated dimming value and the accumulated power value to the basic dimming value and the basic power value, and loop to execute step S3.

[0048] S4. Take the dimming intermediate value as the initial basic dimming value and the intermediate power value as the initial basic power value. Subtract the dimming precision value on the basic dimming value at a preset ratio to obtain the subtracted dimming value. Input the subtracted dimming value into the driver to obtain the corresponding subtracted power value, and record the subtracted dimming value and the subtracted power value into the dimming data table. Determine whether the current subtracted power value is the minimum power value. If so, record the current subtracted power value as the minimum power value. If not, update the current subtracted dimming value and the subtracted power value to the basic dimming value and the basic power value, and loop to execute step S4.

[0049] S5. Perform curve fitting on the dimming data table after steps S2 - S4 to obtain the dimming fitting curve.

[0050] S6. When a new dimming value is input, the controller can obtain the corresponding power value according to the dimming data table or the dimming fitting curve.

[0051] That is to say, by accumulating / subtracting the dimming precision value on the basis of the dimming intermediate value to obtain the maximum dimming value / maximum power value and the minimum dimming value / minimum power value, thereby recording the dimming value and the corresponding power value after each increase / decrease of the dimming precision value into the dimming data table, and obtaining the dimming fitting curve according to the curve fitting of the dimming data table, so that the user can directly obtain the corresponding power value when inputting a new dimming value to calculate the energy-saving situation.

[0052] Specifically, in S1, it should be noted first that changing the illumination intensity of the lamp by adjusting the voltage is a conventional technical means. Therefore, the voltage range applicable to the lamp can be regarded as the illumination intensity range of the lamp, that is, the dimming lighting range of the driver in the lamp. Correspondingly, after the controller of the present invention inputs any dimming value within the dimming lighting range into the driver, the driver can output a voltage power value, and the controller has a monitoring function and can monitor and feedback the power value output by the driver. Based on this, the present invention establishes a dimming data table in the controller to record the dimming value and the corresponding power value, where the power value is the value obtained by the controller through monitoring the driver and feedback.

[0053] In S2, a middle value is taken within the dimming lighting range as the starting value of the dimming method of the present invention. In this embodiment, the dimming range is 1 - 10V. For ease of understanding, the dimming middle value can be selected as 5V. Of course, in actual use, the selection of the dimming middle value is not limited, as long as it is within the dimming lighting range. The controller inputs the selected dimming middle value into the driver and monitors the corresponding middle power value. To ensure the accuracy of the obtained power value, in this embodiment, after the controller inputs the dimming middle value into the driver, it takes a reading time preset in the real-time controller before the controller reads and records the monitored middle power value. At this time, the dimming middle value and the corresponding middle power value are both recorded in the dimming data table. In this way, the obtained middle power value can be made more stable, and the reading time can be set according to the actual situation. Generally speaking, it is preferably 3S.

[0054] In S3 and S4, the dimming accuracy value is increased at a predetermined ratio based on the dimming middle value until the maximum power value and the corresponding maximum dimming value are obtained; the dimming accuracy value is subtracted at a preset ratio based on the dimming middle value until the minimum power value and the corresponding minimum dimming value are obtained. That is to say, taking the dimming middle value selected in S2 as the starting value, and performing addition or subtraction to ensure the accuracy of the obtained maximum power value and the corresponding maximum dimming value, minimum power value and the corresponding minimum dimming value. Preferably, the ratio is preset as 1% to gradually approach the maximum dimming value or the minimum dimming value and avoid large deviations in the obtained maximum power value or minimum power value. Of course, in other embodiments, the selection of the preset ratio can also be adjusted according to the actual situation, and this is not limited.

[0055] Specifically, in S3, the dimming intermediate value is used as the initial basic dimming value, and the intermediate power value is used as the initial basic power value. The dimming accuracy value is accumulated on the basis of the basic dimming value at a preset ratio to obtain the accumulated dimming value. The accumulated dimming value is input into the driver to obtain the corresponding accumulated power value, and the accumulated dimming value and the accumulated power value are entered into the dimming data table. It is judged whether the current accumulated power value is the maximum power value. If so, the current accumulated power value is recorded as the maximum power value. If not, the current accumulated dimming value and the accumulated power value are updated to the basic dimming value and the basic power value, and step S3 is looped. That is to say, the maximum dimming value and the corresponding maximum power value are determined through a judgment process.

[0056] For easy understanding, S3 includes the following steps:

[0057] S31. Define the dimming intermediate value as the first dimming value and the intermediate power value as the first power value, and add the first dimming value and the dimming accuracy value to obtain the second dimming value; at this time, the first dimming value is the basic dimming value, and the second dimming value is the accumulated dimming value;

[0058] S32. The controller inputs the second dimming value into the driver, monitors and obtains the second power value; at this time, the second power value is the accumulated power value;

[0059] S33. Compare the second power value with the first power value. If the second power value is greater than the first power value, update the second dimming value and the second power value to the new first dimming value and the new first power value;

[0060] S34. Add the new first dimming value and the dimming accuracy value to obtain the new second dimming value, and loop back to step S32 until the new first power value is greater than or equal to the new second power value, then record the current first power value as the maximum power value, and the corresponding first dimming value as the maximum dimming value.

[0061] In S4, the dimming intermediate value is used as the initial basic dimming value, and the intermediate power value is used as the initial basic power value. The dimming accuracy value is subtracted on the basis of the basic dimming value at a preset ratio to obtain the subtracted dimming value. The subtracted dimming value is input into the driver to obtain the corresponding subtracted power value, and the subtracted dimming value and the subtracted power value are entered into the dimming data table. It is judged whether the current subtracted power value is the minimum power value. If so, the current subtracted power value is recorded as the minimum power value. If not, the current subtracted dimming value and the subtracted power value are updated to the basic dimming value and the basic power value, and step S4 is looped. That is to say, the minimum dimming value and the corresponding minimum power value are determined through a judgment process.

[0062] For easy understanding, S4 includes the following steps:

[0063] S41. Define the dimming intermediate value as the first dimming value and the intermediate power value as the first power value. Subtract the dimming precision value from the first dimming value to obtain a third dimming value. At this time, the first dimming value is the basic dimming value, and the third dimming value is the subtracted dimming value.

[0064] S42. The controller inputs the third dimming value into the driver, monitors and obtains a third power value. At this time, the third power value is the subtracted power value.

[0065] S43. Compare the third power value with the first power value. If the third power value is less than the first power value, update the third dimming value and the third power value to new first dimming value and new first power value.

[0066] S44. Subtract the dimming precision value from the new first dimming value to obtain a new third dimming value, and loop back to step S42 until the new first power value is less than or equal to the new third power value. Then record the current first power value as the minimum power value and the corresponding first dimming value as the minimum dimming value. Preferably, when obtaining the minimum power value, it should be ensured that the lamp is not in the off state, that is, the power value is not 0. When the new first power value is 0, record the minimum power value as 0 and the corresponding first dimming value as the minimum dimming value.

[0067] Of course, it should be noted that in steps S3 and S4, the second dimming value or the third dimming value obtained by each accumulation or subtraction and the corresponding second power value or third power value will be recorded in the dimming data table to enrich the data in the table. To ensure the accuracy of the data, after each increase / decrease of the dimming precision value, the controller will read and record the monitored power value after a preset reading time.

[0068] In S5, perform curve fitting on the dimming data table after steps S2 - S4 to obtain a dimming fitting curve. When a new dimming value is input, according to the dimming data table or the dimming fitting curve, the corresponding power value can be obtained. At this time, the corresponding power value can be obtained by inputting the dimming value in the controller through the background, and an energy-saving plan can be compiled based on this.

[0069] In S6, when a new dimming value is input, the controller can obtain the corresponding power value according to the dimming data table or the dimming fitting curve.

[0070] Specifically, when a new dimming value is input, if the new dimming value is recorded in the dimming data table, the controller obtains the corresponding power value through the look-up table method; if the new dimming value is not recorded in the dimming data table, the controller obtains the corresponding power value through the dimming fitting curve. In other words, when the input new dimming value is recorded in the dimming data table, the obtained power values are all actual power values; when the input new dimming value is not recorded in the dimming data table, the obtained power values are curve-fitted from the actual power values, with some errors.

[0071] When there is an error between the corresponding power value obtained from the dimming fitting curve and the actual power value, the dimming value can be input into the driver to obtain the corresponding actual power value, which is recorded and used to overwrite the power value obtained after curve fitting, thereby correcting and updating the original dimming curve.

[0072] The dimming method of the controller automatically matching the driver in the present invention can be adapted to various types of drivers without the need for adjustment according to different drivers, and has practicability.

[0073] Please combine Figure 4 As shown, the present invention also provides an energy-saving lamp. Relying on the power monitoring module built into the lamp itself, it applies the aforementioned dimming method of the controller automatically matching the driver to automatically match various different models of lamps, and effectively arranges the energy-saving plan of the energy-saving lamp to improve the energy-saving effect. The energy-saving lamp of the present invention can be a smart street lamp to meet the increasingly strong energy-saving needs in the field of smart street lamps.

[0074] The energy-saving lamp includes a controller and a driver connected to the controller. The driver has a dimming lighting range corresponding to the illumination intensity of the energy-saving lamp. The controller includes an operation module, an interface module, a power monitoring module, and a storage module. Among them, the operation module can select any dimming value within the dimming lighting range; the interface module is used to receive the dimming value selected by the operation module and input it into the driver, and the driver outputs the power value corresponding to the dimming value; the power monitoring module is used to monitor and obtain the power value output by the driver; the storage module is provided with a dimming data table for recording the dimming value selected by the operation module and the power value obtained by the power monitoring module. Among them, the storage module further includes a fitting module, and the fitting module can perform curve fitting according to the dimming data table to obtain a dimming fitting curve; so that when the operation module selects a new dimming value, the corresponding power value can be obtained according to the dimming data table or the dimming fitting curve.

[0075] The energy-saving lamp is connected to a background. When a dimming value is set in the background, the corresponding power value can be obtained through the dimming data table or the dimming fitting curve in the controller to arrange the energy-saving plan. For example, when the output power is small, less electricity is consumed, that is, more energy-saving. And when the required illumination brightness is met, it is the urgent need of users to select a smaller output power as much as possible. And the above content can only be realized when the data in the dimming data table is sufficient.

[0076] In order to enrich the data in the dimming data table, in the present invention, a basic dimming value and a dimming precision value are preset in the operation module. When the operation module starts to run and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module and the storage module, the operation module can accumulate the dimming precision value on the basic dimming value to obtain the accumulated dimming value and the accumulated power value corresponding to the accumulated dimming value. And when the accumulated power value is greater than the basic power value, the controller updates the accumulated dimming value and the accumulated power value to the new basic dimming value and the new basic power value, and accumulates cyclically. In this way, as many data as possible between the basic dimming value and the maximum dimming value are obtained.

[0077] Relatively, a basic dimming value and a dimming precision value are preset in the operation module. When the operation module starts to run and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module and the storage module, the operation module can subtract the dimming precision value on the basic dimming value to obtain the subtracted dimming value and the subtracted power value corresponding to the subtracted dimming value. And when the subtracted power value is less than the basic power value, the controller updates the subtracted dimming value and the subtracted power value to the new basic dimming value and the new basic power value, and subtracts cyclically. In this way, as many values as possible are obtained to the greatest extent to expand the dimming data table.

[0078] In summary, the dimming method of the controller automatically matching the driver and the energy-saving lamp of the present invention obtains the maximum dimming value and the corresponding maximum power value and the minimum dimming value and the corresponding minimum power value by accumulating / subtracting the dimming precision value at a preset ratio on the basis of the dimming intermediate value. Thus, after the dimming value and the corresponding power value obtained after each increase / decrease of the dimming precision value are entered into the dimming data table, the dimming fitting curve is obtained by curve fitting according to the dimming data table, so that the user can directly obtain the corresponding power value after inputting a new dimming value to calculate the energy-saving situation.

[0079] The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A dimming method for automatically matching a controller with a driver for energy-saving lamps. It is characterized in that The main steps include: S1. Define that the driver has a dimming lighting range corresponding to the light intensity of the lamp. After the controller inputs any dimming value within the dimming lighting range into the driver, the controller can monitor and obtain the corresponding power value output by the driver, and establish a dimming data table in the controller to record the dimming value and the corresponding power value; S2, selecting a dimming intermediate value within the dimming lighting range, the controller inputting the selected dimming intermediate value into the driver, monitoring and recording the dimming intermediate value and the corresponding intermediate power value; S3, taking the dimming middle value as the initial basic dimming value, the middle power value as the initial basic power value, accumulating the dimming accuracy value on the basic dimming value at a preset ratio to obtain an accumulated dimming value, inputting the accumulated dimming value into the driver to obtain a corresponding accumulated power value, and entering the accumulated dimming value and the accumulated power value into the dimming data table; determining whether the current accumulated power value is the maximum power value, if so, recording the current accumulated power value as the maximum power value, if not, updating the current accumulated dimming value and accumulated power value to the basic dimming value and basic power value, and looping through step S3; S4, taking the dimming middle value as the initial basic dimming value, and the middle power value as the initial basic power value, subtracting the dimming precision value from the basic dimming value at a preset ratio to obtain a cumulative dimming value, inputting the cumulative dimming value into the driver to obtain a corresponding cumulative power value, and entering the cumulative dimming value and the cumulative power value into the dimming data table; judging whether the current cumulative power value is the minimum power value, if so, recording the current cumulative power value as the minimum power value, if not, updating the current cumulative dimming value and the cumulative power value to the basic dimming value and the basic power value, and executing step S4 in a loop; S5, performing curve fitting on the dimming data table after steps S2-S4 to obtain a dimming fitting curve; S6. When a new dimming value is input, the controller can obtain a corresponding power value according to the dimming data table or the dimming fitting curve.

2. The dimming method according to claim 1, It is characterized in that Step S3 specifically includes the following steps: S31, defining the dimming intermediate value as a first dimming value, the intermediate power value as a first power value, and adding the first dimming value to the dimming precision value to obtain a second dimming value; S32, the controller inputs the second dimming value into the driver, monitors and obtains a second power value; S33, comparing the second power value with the first power value, and if the second power value is greater than the first power value, updating the second dimming value and the second power value to a new first dimming value and a new first power value; S34, summing the new first dimming value and the dimming accuracy value to obtain a new second dimming value, and looping into step S32 until the new first power value is greater than or equal to the new second power value, then recording the current first power value as the maximum power value, and the corresponding first dimming value as the maximum dimming value.

3. The dimming method according to claim 1, It is characterized in that Step S4 specifically includes the following steps: S41, defining the dimming intermediate value as a first dimming value, the intermediate power value as a first power value, and subtracting the first dimming value from the dimming precision value to obtain a third dimming value; S42, the controller inputs the third dimming value into the driver, monitors and obtains a third power value; S43, comparing the third power value with the first power value, and if the third power value is less than the first power value, updating the third dimming value and the third power value to a new first dimming value and a new first power value; S44. Subtract the new first dimming value from the dimming accuracy value to obtain a new third dimming value, and loop into step S42 until the new first power value is less than or equal to the new third power value, then record the current first power value as the minimum power value, and the corresponding first dimming value as the minimum dimming value.

4. The dimming method according to claim 3, Features: In step S44, when the new first power value is 0, the minimum power value is recorded as 0, and the corresponding first dimming value is the minimum dimming value.

5. The dimming method according to claim 1, Features: The controller is preset with a reading time. In step S2, the controller inputs the dimming intermediate value into the driver. After the reading time has passed, the controller can read and record the monitored intermediate power value.

6. The dimming method according to claim 5, Features: In step S3 and step S4, each time the dimming accuracy value is increased / decreased, the controller can read and record the monitored power value after the reading time has passed.

7. The dimming method according to claim 1, It is characterized in that Step S6 specifically includes: when a new dimming value is input, if the new dimming value is recorded in the dimming data table, the controller can obtain the corresponding power value through the table lookup method; if the new dimming value is not recorded in the dimming data table, the controller can obtain the corresponding power value through the dimming fitting curve.

8. The dimming method according to claim 7, Features: When there is an error between the power value obtained by the dimming fitting curve and the actual power value, the current dimming value can be input into the driver to obtain the actual power value, and the corresponding power value on the dimming fitting curve is recorded and overwritten.

9. The dimming method according to claim 1, Features: The dimming lighting range is 1-10V.

10. An energy-saving lamp, It is characterized in that The dimming method according to any one of claims 1 to 9 is applied, wherein the energy-saving lamp comprises a controller and a driver connected to the controller, the driver has a dimming lighting range corresponding to the light intensity of the energy-saving lamp, and the controller comprises: An operation module, wherein the operation module can select any dimming value within the dimming lighting range; An interface module, used for receiving the dimming value selected by the operation module and inputting it to the driver, so that the driver outputs a power value corresponding to the dimming value; A power monitoring module, used to monitor and obtain the power value output by the driver; A storage module, wherein a dimming data table is provided in the storage module for recording the dimming value selected by the operation module and the power value obtained by the power monitoring module; Among them, the storage module also includes a fitting module, which can perform curve fitting according to the dimming data table to obtain a dimming fitting curve; when the operating module selects a new dimming value, the corresponding power value can be obtained according to the dimming data table or the dimming fitting curve.

11. The energy-saving lamp according to claim 10, Features: The operation module is preset with a basic dimming value and a dimming accuracy value. When the operation module starts to run and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module and the storage module, the operation module can accumulate the dimming accuracy value on the basic dimming value to obtain the accumulated dimming value and the accumulated power value corresponding to the accumulated dimming value, and when the accumulated power value is greater than the basic power value, the controller updates the accumulated dimming value and the accumulated power value to a new basic dimming value and a new basic power value, and accumulates them in a cycle.

12. The energy-saving lamp according to claim 10, Features: The operation module is preset with a basic dimming value and a dimming accuracy value. When the operation module starts to run and records the basic power value corresponding to the basic dimming value through the interface module, the power monitoring module and the storage module, the operation module can subtract the dimming accuracy value from the basic dimming value to obtain a cumulatively subtracted dimming value and a cumulatively subtracted power value corresponding to the cumulatively subtracted dimming value. When the cumulatively subtracted power value is less than the basic power value, the controller updates the cumulatively subtracted dimming value and the cumulatively subtracted power value to a new basic dimming value and a new basic power value, and cyclically subtracts.

Citation Information

Cited By

  • Street lamp dimming method and system

    CN121194361A

  • A street light dimming method and system

    CN121194361B