[go: up one dir, main page]

CN107155239A - A kind of method and apparatus for adjusting solar street light lighting power - Google Patents

A kind of method and apparatus for adjusting solar street light lighting power Download PDF

Info

Publication number
CN107155239A
CN107155239A CN201710538739.1A CN201710538739A CN107155239A CN 107155239 A CN107155239 A CN 107155239A CN 201710538739 A CN201710538739 A CN 201710538739A CN 107155239 A CN107155239 A CN 107155239A
Authority
CN
China
Prior art keywords
voltage value
working mode
led
preset
lighting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710538739.1A
Other languages
Chinese (zh)
Other versions
CN107155239B (en
Inventor
申宇
徐匡
徐匡一
谢文静
张森
苏顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Stroke Technology Co ltd
Original Assignee
Southwest University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest University filed Critical Southwest University
Priority to CN201710538739.1A priority Critical patent/CN107155239B/en
Publication of CN107155239A publication Critical patent/CN107155239A/en
Application granted granted Critical
Publication of CN107155239B publication Critical patent/CN107155239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/72Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps in street lighting

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明实施例公开了一种调整太阳能路灯照明功率的方法与装置,通过获取光伏组件的电压值,判断该电压值是否低于预设的LED开启电压值。当该电压值低于预设的LED开启电压值,则说明光伏组件已经完成向蓄电池充电的工作,此时,则可以按照预设功率开启LED灯。当到达预设时间后,也即此时蓄电池电压趋于稳定,此时可以获取蓄电池的电压值,依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。可见,依据蓄电池的电压值,智能化的控制蓄电池向LED灯的供电功率,可以实现自适应的调整LED灯照明功率,大幅度的延长照明系统在阴雨雾霾等恶劣天气下的工作时间。

The embodiment of the invention discloses a method and a device for adjusting the lighting power of a solar street lamp. By acquiring the voltage value of a photovoltaic module, it is judged whether the voltage value is lower than a preset LED turn-on voltage value. When the voltage value is lower than the preset LED turn-on voltage value, it means that the photovoltaic module has completed the work of charging the battery, and at this time, the LED light can be turned on according to the preset power. When the preset time is reached, that is, the battery voltage tends to be stable at this time, the voltage value of the battery can be obtained at this time, and the working mode of the LED light can be adjusted according to the voltage value and the pre-stored working mode list; The working mode includes the lighting duration of the LED lamp and the corresponding lighting power. It can be seen that according to the voltage value of the battery, the intelligent control of the power supply of the battery to the LED lamp can realize adaptive adjustment of the lighting power of the LED lamp, and greatly extend the working time of the lighting system in bad weather such as rainy fog and haze.

Description

一种调整太阳能路灯照明功率的方法与装置A method and device for adjusting the lighting power of solar street lamps

技术领域technical field

本发明涉及太阳能技术领域,特别是涉及一种调整太阳能路灯照明功率的方法与装置。The invention relates to the technical field of solar energy, in particular to a method and a device for adjusting the lighting power of a solar street lamp.

背景技术Background technique

能源是现代社会存在和发展的基石。随着全球经济社会的不断发展,能源消费也相应的持续增长。随着时间的推移,化石能源的稀缺性越来越突显,且这种稀缺性也逐渐在能源商品的价格上反应出来。在化石能源供应日趋紧张的背景下,大规模的开发和利用可再生能源已成为未来各国能源战略中的重要组成部分。Energy is the cornerstone of the existence and development of modern society. With the continuous development of the global economy and society, energy consumption also continues to grow accordingly. As time goes by, the scarcity of fossil energy becomes more and more prominent, and this scarcity is gradually reflected in the price of energy commodities. In the context of the increasingly tense supply of fossil energy, the large-scale development and utilization of renewable energy has become an important part of the energy strategy of various countries in the future.

太阳能是取之不尽,用之不竭,清洁无污染并可再生的绿色环保能源。利用太阳能发电,无可比拟的清洁性、高度的安全性、能源的相对广泛性和充足性、长寿命以及免维护性等其他常规能源所不具备的优点,光伏能源被认为是二十一世纪最重要的新能源。光伏LED照明系统具有独立的光伏组件、蓄电池和LED灯,该系统被广泛应用于无供电设施的郊区、农村公路等。Solar energy is an inexhaustible, clean, pollution-free and renewable green energy source. The use of solar power, unparalleled cleanliness, high security, relative breadth and sufficiency of energy, long life, and maintenance-free and other advantages that other conventional energy sources do not have, photovoltaic energy is considered to be the 21st century The most important new energy. Photovoltaic LED lighting system has independent photovoltaic modules, batteries and LED lights. This system is widely used in suburbs and rural roads without power supply facilities.

传统方式中,太阳能路灯往往按照既定的模式工作,无法根据蓄电池的实际蓄电量,智能化的调节向LED灯的供电功率。特别是当出现连续的阴雨雾霾等恶劣天气时,光伏组价无法正常发电,如果不及时调整LED灯的照明功率,LED灯将在较短天数内耗尽蓄电池的电量,造成全路段停电。In the traditional way, solar street lights often work according to the established mode, and it is impossible to intelligently adjust the power supply to LED lights according to the actual storage capacity of the battery. Especially in bad weather such as continuous rain, smog, etc., the photovoltaic array cannot generate electricity normally. If the lighting power of the LED lights is not adjusted in time, the LED lights will run out of battery power within a short period of time, causing power outages throughout the road.

可见,如何智能化的调整太阳能路灯照明功率,是本领域技术人员亟待解决的问题。It can be seen that how to intelligently adjust the lighting power of solar street lamps is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

本发明实施例的目的是提供一种调整太阳能路灯照明功率的方法与装置,可以智能化的调整太阳能路灯照明功率。The purpose of the embodiments of the present invention is to provide a method and device for adjusting the lighting power of a solar street lamp, which can intelligently adjust the lighting power of a solar street lamp.

为解决上述技术问题,本发明实施例提供一种调整太阳能路灯照明功率的方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a method for adjusting the lighting power of solar street lamps, including:

获取光伏组件的电压值;Obtain the voltage value of the photovoltaic module;

判断所述电压值是否低于预设的LED开启电压值;judging whether the voltage value is lower than a preset LED turn-on voltage value;

若是,则按照预设功率开启LED灯,当到达预设时间后,获取蓄电池的电压值;If so, turn on the LED light according to the preset power, and obtain the voltage value of the battery when the preset time is reached;

依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。Adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list; the working mode includes the lighting duration and corresponding lighting power of the LED lamp.

可选的,所述依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式包括:Optionally, the adjusting the working mode of the LED lamp according to the voltage value and the pre-stored working mode list includes:

确定出所述电压值所属的阈值范围;所述阈值范围依据初始电压值划分;determining the threshold range to which the voltage value belongs; the threshold range is divided according to the initial voltage value;

依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;Calculate the label value corresponding to the threshold range according to the calculation rule corresponding to the threshold range;

从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。Find the working mode corresponding to the label value from the pre-stored working mode list, and use the working mode as the working mode of the LED lamp; and store the voltage value as the initial voltage value in the EPROM.

可选的,还包括:Optionally, also include:

判断所述工作模式的标号值是否大于预设阈值;judging whether the label value of the working mode is greater than a preset threshold;

若是,则判断所述LED灯的编号值是否满足预设条件;If so, it is judged whether the number value of the LED light satisfies the preset condition;

当不满足所述预设条件时,则控制所述蓄电池停止向所述LED灯供电。When the preset condition is not satisfied, the storage battery is controlled to stop supplying power to the LED lamp.

可选的,还包括:Optionally, also include:

检测光伏组件的电压值;Detect the voltage value of the photovoltaic module;

当所述电压值大于预设的LED关闭电压值,则控制所述蓄电池停止向所述LED灯供电。When the voltage value is greater than the preset LED off voltage value, the battery is controlled to stop supplying power to the LED lamp.

可选的,还包括:Optionally, also include:

接收上位机发送的LED开启电压值和LED关闭电压值。Receive the LED turn-on voltage value and LED turn-off voltage value sent by the host computer.

本发明实施例还提供了一种调整太阳能路灯照明功率的装置,包括获取单元、判断单元、开启单元和调整单元,The embodiment of the present invention also provides a device for adjusting the lighting power of solar street lamps, including an acquisition unit, a judgment unit, an opening unit and an adjustment unit,

所述获取单元,用于获取光伏组件的电压值;The obtaining unit is used to obtain the voltage value of the photovoltaic module;

所述判断单元,用于判断所述电压值是否低于预设的LED开启电压值;The judging unit is used to judge whether the voltage value is lower than a preset LED turn-on voltage value;

若是,则触发所述开启单元,所述开启单元,用于按照预设功率开启LED灯,当到达预设时间后,所述获取单元还用于获取蓄电池的电压值;If so, trigger the opening unit, the opening unit is used to turn on the LED light according to the preset power, and when the preset time is reached, the acquisition unit is also used to acquire the voltage value of the storage battery;

所述调整单元,用于依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。The adjusting unit is configured to adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list; the working mode includes the lighting duration of the LED lamp and the corresponding lighting power.

可选的,所述调整单元包括确定子单元、计算子单元和查找子单元,Optionally, the adjustment unit includes a determination subunit, a calculation subunit and a search subunit,

所述确定子单元,用于确定出所述电压值所属的阈值范围;所述阈值范围依据初始电压值划分;The determining subunit is configured to determine the threshold range to which the voltage value belongs; the threshold range is divided according to the initial voltage value;

所述计算子单元,用于依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;The calculation subunit is used to calculate the label value corresponding to the threshold range according to the calculation rule corresponding to the threshold range;

所述查找子单元,用于从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。The searching subunit is used to search the working mode corresponding to the label value from the pre-stored working mode list, and use the working mode as the working mode of the LED lamp; and use the voltage value as the initial Voltage value, stored in EPROM.

可选的,还包括控制单元,Optionally, also includes control unit,

所述判断单元还用于判断所述工作模式的标号值是否大于预设阈值,若是,则所述判断单元还用于判断所述LED灯的编号值是否满足预设条件;The judging unit is also used to judge whether the label value of the working mode is greater than a preset threshold, and if so, the judging unit is also used to judge whether the serial number of the LED lamp satisfies a preset condition;

当不满足所述预设条件时,则触发所述控制单元,所述控制单元,用于控制所述蓄电池停止向所述LED灯供电。When the preset condition is not satisfied, the control unit is triggered, and the control unit is used to control the storage battery to stop supplying power to the LED lamp.

可选的,还包括检测单元,Optionally, a detection unit is also included,

所述检测单元,用于检测光伏组件的电压值;当所述电压值大于预设的LED关闭电压值,则触发所述控制单元,所述控制单元还用于控制所述蓄电池停止向所述LED灯供电。The detection unit is used to detect the voltage value of the photovoltaic module; when the voltage value is greater than the preset LED off voltage value, the control unit is triggered, and the control unit is also used to control the storage battery to stop charging to the LED lights powered.

可选的,还包括接收单元,Optionally, a receiving unit is also included,

所述接收单元,用于接收上位机发送的LED开启电压值和LED关闭电压值。The receiving unit is used for receiving the LED turn-on voltage value and the LED turn-off voltage value sent by the host computer.

由上述技术方案可以看出,通过获取光伏组件的电压值,判断该电压值是否低于预设的LED开启电压值。当该电压值低于预设的LED开启电压值,则说明光伏组件已经完成向蓄电池充电的工作,此时,则可以按照预设功率开启LED灯。当到达预设时间后,也即此时蓄电池电压趋于稳定,此时可以获取蓄电池的电压值,依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。可见,依据蓄电池的电压值,智能化的控制蓄电池向LED灯的供电功率,可以实现自适应的调整LED灯照明功率,大幅度的延长照明系统在阴雨雾霾等恶劣天气下的工作时间。It can be seen from the above technical solution that by obtaining the voltage value of the photovoltaic module, it is judged whether the voltage value is lower than the preset LED turn-on voltage value. When the voltage value is lower than the preset LED turn-on voltage value, it means that the photovoltaic module has completed the work of charging the battery, and at this time, the LED light can be turned on according to the preset power. When the preset time is reached, that is, the battery voltage tends to be stable at this time, the voltage value of the battery can be obtained at this time, and the working mode of the LED light can be adjusted according to the voltage value and the pre-stored working mode list; The working mode includes the lighting duration and corresponding lighting power of the LED lamp. It can be seen that according to the voltage value of the battery, the intelligent control of the power supply of the battery to the LED lamp can realize adaptive adjustment of the lighting power of the LED lamp, and greatly extend the working time of the lighting system in bad weather such as rainy fog and haze.

附图说明Description of drawings

为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.

图1为本发明实施例提供的一种太阳能路灯的硬件结构示意图;Fig. 1 is a schematic diagram of the hardware structure of a solar street lamp provided by an embodiment of the present invention;

图2为本发明实施例提供的一种调整太阳能路灯照明功率的方法的流程图;Fig. 2 is a flow chart of a method for adjusting the lighting power of a solar street lamp provided by an embodiment of the present invention;

图3为本发明实施例提供的一种工作模式下LED灯在一个照明周期内的照明时长和照明功率的分布示意图;3 is a schematic diagram of the distribution of lighting duration and lighting power of an LED lamp in a lighting cycle in a working mode provided by an embodiment of the present invention;

图4a本发明实施例提供的一种照明充足时一条道路上LED灯的照明分布情况示意图;Fig. 4a is a schematic diagram of the lighting distribution of LED lights on a road when the lighting is sufficient provided by the embodiment of the present invention;

图4b本发明实施例提供的一种节能模式下奇数日期时一条道路上LED灯的照明分布情况示意图;Fig. 4b is a schematic diagram of the lighting distribution of LED lights on a road on an odd-numbered day in an energy-saving mode provided by an embodiment of the present invention;

图4c本发明实施例提供的一种节能模式下偶数日期时一条道路上LED灯的照明分布情况示意图;Fig. 4c is a schematic diagram of the lighting distribution of LED lights on a road on an even-numbered day in an energy-saving mode provided by an embodiment of the present invention;

图5为本发明实施例提供的调整太阳能路灯照明功率的装置的结构示意图。Fig. 5 is a schematic structural diagram of a device for adjusting the lighting power of a solar street lamp provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

在化石能源供应日趋紧张的背景下,大规模的开发和利用可再生能源已成为未来各国能源战略中的重要组成部分。以太阳能为例,太阳能路灯的应用越来越普遍。传统方式中,太阳能路灯往往按照设定的工作频率和工作时间进行照明工作,无法根据实际情况调整蓄电池向LED灯的供电功率。In the context of the increasingly tense supply of fossil energy, the large-scale development and utilization of renewable energy has become an important part of the energy strategy of various countries in the future. Taking solar energy as an example, the application of solar street lights is becoming more and more common. In the traditional way, solar street lights often perform lighting work according to the set working frequency and working hours, and it is impossible to adjust the power supply of the battery to the LED lights according to the actual situation.

为此,本发明实施例提供了一种调整太阳能路灯照明功率的方法与装置,通过检测光伏组件的电压值,可以智能化的控制LED灯的打开和关闭,并且依据蓄电池的电压值,合理的设置LED灯的照明时间和照明功率。例如,连续阴雨天气下,光伏组件的发电量减少甚至为零,从而导致蓄电池充电量降低,蓄电池向LED灯供电时不断的消耗电量,从而使得蓄电池的电压值会不断地降低,如果按照仍按照传统方式中设定的功率向LED灯供电,那蓄电池电量很容易在较短时间内被耗尽。在本发明实施例中,通过根据蓄电池的电压值,合理的调整LED灯的照明时间,以及蓄电池向LED灯的供电功率,可以大幅度延长阴雨天气下太阳能路灯的照明天数,也可以降低蓄电池的损耗,延长蓄电池的使用寿命。To this end, the embodiment of the present invention provides a method and device for adjusting the lighting power of solar street lamps. By detecting the voltage value of the photovoltaic module, the LED lamp can be intelligently controlled to turn on and off, and according to the voltage value of the battery, reasonable Set the lighting time and lighting power of the LED lights. For example, in continuous rainy weather, the power generation of photovoltaic modules is reduced or even zero, which leads to a decrease in battery charge, and the battery consumes power continuously when supplying power to LED lights, so that the voltage value of the battery will continue to decrease. The power set in the traditional way supplies power to the LED lights, and the battery power is easily exhausted in a relatively short period of time. In the embodiment of the present invention, by reasonably adjusting the lighting time of the LED lamp and the power supply power of the battery to the LED lamp according to the voltage value of the battery, the lighting days of the solar street lamp in rainy weather can be greatly extended, and the lighting time of the battery can also be reduced. wear and prolong battery life.

本发明实施例的技术方案,可以依据于图1所示的太阳能路灯系统的硬件结构实现。图1中是一路太阳能路灯的硬件结构示意图,太能能路灯包含有光伏组件、控制器、蓄电池和LED灯,其中,LED灯可以由多个发光二极管组成,控制器中包含有MCU以及恒流模块,通过MCU对光伏组件和蓄电池的电压值进行分析,合理选择LED灯的照明时间和照明功率,具体的,可以通过MCU向恒流模块发送PWM电流调节指令的方式,由恒流模块调整蓄电池向LED灯的供电电流,从而实现LED灯照明功率的改变。The technical solutions of the embodiments of the present invention can be realized based on the hardware structure of the solar street lamp system shown in FIG. 1 . Figure 1 is a schematic diagram of the hardware structure of a solar street light. The solar street light includes photovoltaic modules, controllers, batteries and LED lights. Among them, the LED light can be composed of multiple light-emitting diodes, and the controller includes MCU and constant current. The module analyzes the voltage values of photovoltaic modules and batteries through the MCU, and reasonably selects the lighting time and lighting power of the LED lights. Specifically, the constant current module can adjust the battery by sending PWM current adjustment instructions to the constant current module through the MCU. The power supply current to the LED lamp, so as to realize the change of the lighting power of the LED lamp.

接下来,详细介绍本发明实施例所提供的一种调整太阳能路灯照明功率的方法。图2为本发明实施例提供的一种调整太阳能路灯照明功率的方法的流程图,该方法包括:Next, a method for adjusting the lighting power of a solar street lamp provided by an embodiment of the present invention is described in detail. Fig. 2 is a flow chart of a method for adjusting the lighting power of a solar street lamp provided by an embodiment of the present invention, the method comprising:

S201:获取光伏组件的电压值。S201: Obtain the voltage value of the photovoltaic module.

光伏组件用于获取太阳能从而对蓄电池充电,当天色变暗后,光伏组件获取的太阳能降低,相应的其电压值会下降。在本发明实施例中,可以依据光伏组件的电压值,作为是否开启LED灯的依据。Photovoltaic modules are used to obtain solar energy to charge the battery. When the sky becomes dark, the solar energy obtained by photovoltaic modules decreases, and the corresponding voltage value will drop. In the embodiment of the present invention, the voltage value of the photovoltaic module can be used as the basis for whether to turn on the LED light.

在本发明实施例中,控制器中的MCU可以通过A/D采样获取到光伏组件的电压值。In the embodiment of the present invention, the MCU in the controller can obtain the voltage value of the photovoltaic module through A/D sampling.

S202:判断所述电压值是否低于预设的LED开启电压值。S202: Determine whether the voltage value is lower than a preset LED turn-on voltage value.

LED开启电压值可以是开启LED灯的临界值,在本发明实施例中可以在MCU中预先设置好LED开启电压值。其中,该LED开启电压值的具体取值可以根据实际情况进行设定。The LED turn-on voltage value may be a critical value for turning on the LED light, and in the embodiment of the present invention, the LED turn-on voltage value may be preset in the MCU. Wherein, the specific value of the LED turn-on voltage value can be set according to the actual situation.

当光伏组件的电压值低于该LED开启电压值时,则说明此时天色已经变暗,需要执行开启LED灯的操作,即进入S203。When the voltage value of the photovoltaic module is lower than the LED turn-on voltage value, it means that the sky has become dark at this time, and the operation of turning on the LED light needs to be performed, that is, enter S203.

S203:按照预设功率开启LED灯,当到达预设时间后,获取蓄电池的电压值。S203: Turn on the LED light according to the preset power, and acquire the voltage value of the storage battery when the preset time is reached.

开启LED灯也即使得蓄电池开始向LED灯供电。预设功率可以是蓄电池向LED灯供电的初始功率,在MCU中可以预先设置好预设功率的数值。在供电初期,蓄电池电压值不稳定,为了避免虚高的蓄电池电压,可以待蓄电池电压趋于稳定后,再获取蓄电池的电压值。Turning on the LED light also means that the battery starts to supply power to the LED light. The preset power may be the initial power for the battery to supply power to the LED lamp, and the value of the preset power may be preset in the MCU. In the initial stage of power supply, the voltage value of the battery is unstable. In order to avoid falsely high battery voltage, the voltage value of the battery can be obtained after the battery voltage becomes stable.

预设时间可以是从开启LED灯到采集蓄电池电压值的等待时间,该预设时间的长短可以根据蓄电池的性能确定,例如,可以将预设时间设置为10分钟。从开启LED灯时开始计时,当到达该预设时间后,通过A/D采样获取到蓄电池的电压值。The preset time may be the waiting time from turning on the LED light to collecting the voltage value of the storage battery. The length of the preset time may be determined according to the performance of the storage battery. For example, the preset time may be set to 10 minutes. The timing starts when the LED light is turned on, and when the preset time is reached, the voltage value of the battery is obtained through A/D sampling.

S204:依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式。S204: Adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list.

结合太阳能路灯的性能、天气因素等,可以预先设置好太阳能路灯的几种工作模式,每种工作模式包含有LED灯对应的照明时间和照明功率。这几种工作模式具有相同的照明周期,对于照明周期的时段划分可以不尽相同,这几种工作模式在一个照明周期内消耗的总功率可以呈递减的形式。Combined with the performance of solar street lights, weather factors, etc., several working modes of solar street lights can be preset. Each working mode includes the corresponding lighting time and lighting power of LED lights. These several working modes have the same lighting cycle, and the time divisions of the lighting cycle may be different, and the total power consumed by these several working modes in one lighting cycle may be in a decreasing form.

在具体实现中,可以对预先存储的工作模式进行标号,每种工作模式有其对应的一个标号值。例如,设置10种工作模式,可以依次将标号值设置为1-10。In a specific implementation, the pre-stored working modes can be labeled, and each working mode has a corresponding label value. For example, to set 10 working modes, the label values can be set to 1-10 in sequence.

如表1所示,为设置的10种不同的工作模式(N=10):As shown in Table 1, 10 different working modes are set (N=10):

N=10 S=5 NS=7N = 10 S = 5 N S = 7

表1Table 1

表1中,m表示工作模式的标号值,P0表示预设功率,Pi m表示照明分段功率,τi m表示照明分段时长,τi m的单位为小时,其中i=1、2、3、4或5,NS表示进入节能模式的门限值。一个照明周期内的照明总时长为一个照明周期内消耗的总功率为表1中一个照明周期划分为了5个时段,所以S=5。In Table 1, m represents the label value of the working mode, P 0 represents the preset power, P i m represents the lighting segment power, τ i m represents the lighting segment duration, and the unit of τ i m is hour, where i=1, 2, 3, 4 or 5, N S represents the threshold value for entering the energy-saving mode. The total lighting duration in one lighting cycle is The total power consumed in one lighting cycle is One lighting cycle in Table 1 is divided into 5 periods, so S=5.

依据于几种工作模式消耗的总功率可以呈递减的形式,依次对这几种工作模式标号时,标号值越大,其对应的总功率消耗越小。在MCU中可以预先将最小标号值对应的工作模式设置为LED灯的默认工作模式。Based on the fact that the total power consumed by several working modes can be in a decreasing form, when these working modes are labeled sequentially, the larger the label value, the smaller the corresponding total power consumption. In the MCU, the working mode corresponding to the minimum label value can be set in advance as the default working mode of the LED light.

在本发明实施例中,可以依据于蓄电池的电压值,调整LED灯的工作模式。具体的,可以先确定出所述电压值所属的阈值范围,再依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。In the embodiment of the present invention, the working mode of the LED lamp can be adjusted according to the voltage value of the storage battery. Specifically, the threshold range to which the voltage value belongs can be determined first, and then the label value corresponding to the threshold range can be calculated according to the calculation rules corresponding to the threshold range; The working mode corresponding to the label value is used as the working mode of the LED lamp; and the voltage value is stored in the EPROM as the initial voltage value.

其中,阈值范围可以依据初始电压值划分。初始电压值可以是前一天获取的蓄电池的电压值,在初始状态时即不存在前一天的蓄电池的电压值时,可以将初始电压值默认为零。Wherein, the threshold range can be divided according to the initial voltage value. The initial voltage value may be the voltage value of the storage battery obtained the previous day, and in the initial state, that is, when there is no voltage value of the storage battery of the previous day, the initial voltage value may be set to zero by default.

需要说明的是,在获取蓄电池的电压值时,为了提高获取电压值的准确性,应在开启LED灯且电压值趋于稳定后再获取蓄电池的电压值。It should be noted that when obtaining the voltage value of the battery, in order to improve the accuracy of obtaining the voltage value, the voltage value of the battery should be obtained after the LED light is turned on and the voltage value tends to be stable.

例如,获取蓄电池的电压值Vb,k,并根据该电压值与前一日蓄电池电压值Vb,k-1比较。For example, the voltage value V b,k of the battery is acquired, and the voltage value is compared with the battery voltage value V b,k-1 of the previous day.

若Vb,k>Vb,k-1,则说明当日发电量大于前一晚照明耗电量;If V b,k >V b,k-1 , it means that the power generation of the day is greater than the lighting power consumption of the previous night;

若Vb,k<Vb,k-1,则说明当日发电量少于前一晚照明耗电量;If V b,k <V b,k-1 , it means that the power generation of the day is less than the lighting power consumption of the previous night;

若Vb,k≥Vmax-n×1.4V,则说明蓄电池已充满;If V b,k ≥V max -n×1.4V, it means the battery is fully charged;

若Vb,k≤Vmin+n×0.7V,则说明蓄电池电能不足。If V b,k ≤V min +n×0.7V, it means that the electric energy of the storage battery is insufficient.

因此,可以按照以下计算规则,计算出所述阈值范围对应的标号值mkTherefore, the label value m k corresponding to the threshold range can be calculated according to the following calculation rules.

若Vb,k-1≤Vb,k≤Vb,k-1+0.3V,则照明工作模式不变,即mk=mk-1If V b,k-1 ≤V b,k ≤V b,k-1 +0.3V, the lighting working mode remains unchanged, that is, m k =m k-1 ;

若Vmax-n×1.4V>Vb,k>Vb,k-1+0.3V且mk-1>1,则说明蓄电池电能增加,照明功率可有所提高,即mk=mk-1-1;If V max -n×1.4V>V b,k >V b,k-1 +0.3V and m k-1 >1, it means that the battery power increases and the lighting power can be increased, that is, m k =m k -1 -1;

若Vb,k≥Vmax-n×1.4V,则说明蓄电池充满,照明功率可设为最大,即mk=1;If V b,k ≥V max -n×1.4V, it means that the battery is fully charged, and the lighting power can be set to the maximum, that is, m k =1;

若Vmin+n×0.7V<Vb,k<Vb,k-1,则说明蓄电池电能减少,照明功率应减少,即mk=mk-1+1;If V min +n×0.7V<V b,k <V b,k-1 , it means that the electric energy of the storage battery is reduced, and the lighting power should be reduced, that is, m k =m k-1 +1;

若Vb,k≤Vmin+n×0.7V,则说明蓄电池电能剩余不多,照明功率应降低到最小,即mk=N。If V b,k ≤V min +n×0.7V, it means that there is not much electric energy remaining in the storage battery, and the lighting power should be reduced to the minimum, that is, m k =N.

其中,mk-1表示在选取当日工作模式的前一日LED灯所属的工作模式,在初始状态时,默认mk-1=1。N表示工作模式的最大标号值,例如,设置有10种工作模式,标号值依次为1-10,则N=10。Wherein, m k-1 represents the working mode to which the LED light belongs the day before the working mode of the day is selected, and in the initial state, m k-1 =1 by default. N represents the maximum label value of the working mode, for example, if there are 10 working modes, and the label values are 1-10 in turn, then N=10.

以表1中的其中一种工作模式为例,例如太阳能路灯的工作模式为第二种即mk=2,LED灯按照该工作模式的照明时长与照明功率的分布示意图如图3所示。Taking one of the working modes in Table 1 as an example, for example, the working mode of the solar street light is the second one, that is, m k =2, and the distribution diagram of the lighting duration and lighting power of the LED lamp according to this working mode is shown in FIG. 3 .

从图3可以看出,在t0时刻光伏组件的电压值小于LED开启电压值,此时,MCU可以控制蓄电池向LED灯供电,当到达预设时间10分钟后,蓄电池电压趋于稳定,MCU可以获取到蓄电池的电压值,依据该电压值可以确定出LED灯的工作模式,MCU可以控制LED灯按照表1中mk=2对应的照明时间和照明功率工作,在进入时段1时,开始计时,并且MCU可以向恒流模块发送对应的PWM电流调节指令,改变蓄电池向LED灯的供电电流,使得LED的照明功率达到2/3P0,当到达1小时后,则进入时段2,重新开始计时,并且MCU可以向恒流模块发送对应的PWM电流调节指令,改变蓄电池向LED灯的供电电流,使得LED的照明功率达到P0,当到达4小时后,则进入时段3,按照该种方式依次类推,使得LED灯可以按照第二种工作模式完成一个照明周期内的照明。It can be seen from Figure 3 that the voltage value of the photovoltaic module is lower than the LED turn-on voltage value at time t 0. At this time, the MCU can control the battery to supply power to the LED lamp. When the preset time reaches 10 minutes, the battery voltage tends to be stable, and the MCU The voltage value of the battery can be obtained, and the working mode of the LED lamp can be determined according to the voltage value. The MCU can control the LED lamp to work according to the lighting time and lighting power corresponding to m k = 2 in Table 1. When entering period 1, start Timing, and the MCU can send the corresponding PWM current adjustment command to the constant current module to change the power supply current of the battery to the LED light, so that the lighting power of the LED reaches 2/3P 0 , and when it reaches 1 hour, enter period 2 and start again Timing, and the MCU can send the corresponding PWM current adjustment command to the constant current module to change the power supply current of the battery to the LED lamp, so that the lighting power of the LED reaches P 0 , and when it reaches 4 hours, it enters period 3, according to this method And so on, so that the LED lamp can complete the lighting in one lighting cycle according to the second working mode.

由上述技术方案可以看出,通过获取光伏组件的电压值,判断该电压值是否低于预设的LED开启电压值。当该电压值低于预设的LED开启电压值,则说明光伏组件已经完成向蓄电池充电的工作,此时,则可以按照预设功率开启LED灯。当到达预设时间后,也即此时蓄电池电压趋于稳定,此时可以获取蓄电池的电压值,依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。可见,依据蓄电池的电压值,智能化的控制蓄电池向LED灯的供电功率,可以实现自适应的调整LED灯照明功率,大幅度的延长照明系统在阴雨雾霾等恶劣天气下的工作时间。It can be seen from the above technical solution that by obtaining the voltage value of the photovoltaic module, it is judged whether the voltage value is lower than the preset LED turn-on voltage value. When the voltage value is lower than the preset LED turn-on voltage value, it means that the photovoltaic module has completed the work of charging the battery, and at this time, the LED light can be turned on according to the preset power. When the preset time is reached, that is, the battery voltage tends to be stable at this time, the voltage value of the battery can be obtained at this time, and the working mode of the LED light can be adjusted according to the voltage value and the pre-stored working mode list; The working mode includes the lighting duration and corresponding lighting power of the LED lamp. It can be seen that according to the voltage value of the battery, the intelligent control of the power supply of the battery to the LED lamp can realize adaptive adjustment of the lighting power of the LED lamp, and greatly extend the working time of the lighting system in bad weather such as rainy fog and haze.

针对于阴雨或雾霾天气,为了进一步降低蓄电池的耗电量,延长太阳能路灯的照明天数,可以对太阳能路灯采取节能模式。For rainy or smoggy weather, in order to further reduce the power consumption of the battery and prolong the lighting days of the solar street light, the energy-saving mode of the solar street light can be adopted.

由上述介绍可知,太阳能路灯的每种工作模式都有其对应的标号值,标号值越大,说明蓄电池的电量越小。在具体实现中,可以以标号值为依据,决定是否进入节能模式。From the above introduction, we can see that each working mode of solar street light has its corresponding label value, and the larger the label value, the smaller the power of the battery. In a specific implementation, it may be determined whether to enter the energy-saving mode based on the value of the label.

具体的,可以通过判断太阳能路灯工作模式的标号值是否大于预设阈值。Specifically, it may be determined whether the label value of the working mode of the solar street lamp is greater than a preset threshold.

预设阈值可以是太阳能路灯进入节能模式的门限值。当工作模式的标号值大于该预设阈值,则可以说明此时蓄电池的容量已经较低,为了延长LED灯的照明天数,此时,可以将太阳能路灯设置为节能模式。The preset threshold may be the threshold for the solar street lamp to enter the energy-saving mode. When the label value of the working mode is greater than the preset threshold, it can indicate that the capacity of the battery is already low at this time. In order to prolong the lighting days of the LED lamp, at this time, the solar street lamp can be set to the energy-saving mode.

以一条道路上包括的太阳能路灯为例,当每个太阳能路灯进入节能模式时,即需要将该条道路上的太阳能路灯进行交替照明。例如,可以将一条道路上的太阳能路灯分为两类,第一天时属于第一类的太阳能路灯可以按照选定的工作模式进行照明,属于第二类的太阳能路灯则直接关闭,在第二天时属于第二类的太阳能路灯可以按照选定的工作模式进行照明,属于第一类的太阳能路灯则直接关闭,通过交替照明的方式,可以有效延长太阳能路灯的照明天数。Taking the solar street lamps included on a road as an example, when each solar street lamp enters an energy-saving mode, it is necessary to alternately illuminate the solar street lamps on the road. For example, solar street lights on a road can be divided into two categories. On the first day, the solar street lights belonging to the first category can be illuminated according to the selected working mode, and the solar street lights belonging to the second category are directly turned off. The solar street lights belonging to the second category can be illuminated according to the selected working mode, and the solar street lights belonging to the first category are directly turned off. Through the alternate lighting method, the lighting days of the solar street lights can be effectively extended.

以一个太阳能路灯为例,其在某一天内是进行正常照明还是直接关闭,可以对其进行判断,具体的,可以通过判断所述LED灯的编号值是否满足预设条件;当不满足所述预设条件时,则控制所述蓄电池停止向所述LED灯供电。Taking a solar street light as an example, it can be judged whether it is performing normal lighting or is directly turned off in a certain day. Specifically, it can be judged by judging whether the number value of the LED light satisfies the preset condition; When a preset condition is met, the storage battery is controlled to stop supplying power to the LED lamp.

在具体实现中,可以按照太阳能路灯的安装位置,顺次设置编号,例如,一条道路上设置有14个太阳能路灯,可以将其编号为1-14。In a specific implementation, the numbers can be set in sequence according to the installation positions of the solar street lamps. For example, if there are 14 solar street lamps installed on a road, they can be numbered as 1-14.

每个太阳能路灯虽然相互独立,但是其内部的时钟信息较为统一,每个太阳能路灯可以利用时钟芯片,获取到当前的时间,包括年、月、日、时、分等时间信息。Although each solar street light is independent of each other, its internal clock information is relatively unified. Each solar street light can use the clock chip to obtain the current time, including year, month, day, hour, minute and other time information.

预设条件可以是以LED灯的编号值与当天的日期值设定,例如,预设条件可以是判断编号值和日期值对同一个数值取余运算后是否相等。The preset condition can be set by the number value of the LED lamp and the date value of the day, for example, the preset condition can be to determine whether the number value and the date value are equal after taking the remainder of the same value.

当Rem(X,D)=Rem(R,D)时,该LED灯按照选定的工作模式工作。When Rem(X,D)=Rem(R,D), the LED lamp works according to the selected working mode.

其中,X表示LED灯的编号值,R表示当日的日期,例如,利用时钟芯片获取的时间为“6月1日”,则R=1。Rem(X,D)表示X对D取余运算,Rem(R,D)表示R对D取余运算,D为调度系数,D越大,节省的电能越多,但是照明效果也越差,因此,D通常取值为2或3。Wherein, X represents the number value of the LED light, R represents the date of the day, for example, the time obtained by using the clock chip is "June 1", then R=1. Rem(X,D) represents the remainder operation of X to D, Rem(R,D) represents the remainder operation of R to D, D is the scheduling coefficient, the larger D is, the more power is saved, but the lighting effect is also worse. Therefore, D usually takes a value of 2 or 3.

当Rem(X,D)≠Rem(R,D)时,则将LED灯关闭。When Rem(X,D)≠Rem(R,D), turn off the LED light.

例如,图4a所示为一条道路上太阳能路灯未进入节能模式时的照明情况,每个太阳能路灯按照选定的工作模式提供照明。当这些太阳能路灯进入节能模式后,以D=2为例,对于R为奇数日期时,相应的编号值为奇数的太阳能路灯按照选定的工作模式照明,而编号值为偶数的太阳能路灯会处于关闭状态(熄灯),其照明情况如图4b所示;同理,对于R为偶数日期时,相应的编号值为偶数的太阳能路灯按照选定的工作模式照明,而编号值为奇数的太阳能路灯会处于关闭状态,其照明情况如图4c所示。For example, Fig. 4a shows the lighting situation when the solar street lamps on a road are not in the energy-saving mode, and each solar street lamp provides lighting according to the selected working mode. When these solar street lamps enter the energy-saving mode, taking D=2 as an example, when R is an odd date, the corresponding solar street lamps with odd number values will be illuminated according to the selected working mode, while the solar street lamps with even number values will be in In the off state (lights off), the lighting situation is shown in Figure 4b; similarly, when R is an even date, the solar street lights with corresponding number values are illuminated according to the selected working mode, and the solar street lights with odd number values will be in the off state, and its lighting situation is shown in Figure 4c.

不同的季节,太阳升起和下落的时间往往不同,例如,夏季时太阳升起的时间较早,下落的时间较晚,相应的,太阳能路灯的照明时间可以适当的缩短。由上述介绍可知,太阳能路灯可以按照选定的工作模式工作,在该工作模式下,已经设置好了照明的时间长短。但是对于夏季这种日照时间较长的季节,可能会出现LED灯的照明时间还未结束,此时太阳光线的强度已经可以满足用户的需求,也即不需要再使用LED灯进行照明,在照明时间未结束时可以提前关闭LED灯。光伏组件的电压值与太阳光线的强度具有关联关系,因此,针对该种情况,可以依据光伏组件的电压值对LED灯是够继续照明进行判断。In different seasons, the sun rises and sets at different times. For example, in summer, the sun rises earlier and sets later. Correspondingly, the lighting time of solar street lights can be appropriately shortened. From the above introduction, it can be seen that the solar street light can work according to the selected working mode, and in this working mode, the lighting time has been set. However, for summer seasons with long sunshine hours, the lighting time of LED lights may not be over yet. At this time, the intensity of sunlight can meet the needs of users, that is, it is not necessary to use LED lights for lighting. When the time is not over, the LED light can be turned off in advance. The voltage value of the photovoltaic module has a correlation with the intensity of the sun's rays. Therefore, in this case, it can be judged whether the LED lamp can continue to illuminate according to the voltage value of the photovoltaic module.

具体的,可以通过检测光伏组件的电压值;当所述电压值大于预设的LED关闭电压值,则控制所述蓄电池停止向所述LED灯供电。Specifically, the voltage value of the photovoltaic module can be detected; when the voltage value is greater than the preset LED off voltage value, the battery is controlled to stop supplying power to the LED lamp.

LED关闭电压值可以用于表示关闭LED灯的临界值。The LED turn-off voltage value can be used to represent the critical value for turning off the LED light.

当光伏组件的电压值大于LED关闭电压值,则说明此时太阳光线已经足够强,已经不再需要LED灯提供照明。When the voltage value of the photovoltaic module is greater than the LED off voltage value, it means that the sunlight is strong enough at this time, and the LED lamp is no longer needed for lighting.

在具体实现中,MCU可以向恒流模块发送相应的PWM电流调节指令,从而使得蓄电池与LED灯断开,即停止向LED灯供电,实现LED灯的关闭。In a specific implementation, the MCU can send a corresponding PWM current adjustment command to the constant current module, so that the battery is disconnected from the LED light, that is, the power supply to the LED light is stopped, and the LED light is turned off.

通过依据光伏组件的电压值,对LED灯的照明时间进行调整,可以充分的考虑到太阳光照的实际情况,有效控制LED灯的照明时间,避免了LED灯进行无用的照明,并且可以有效的降低蓄电池的消耗,使得太阳能路灯的照明更加智能化、合理化。By adjusting the lighting time of the LED light according to the voltage value of the photovoltaic module, the actual situation of sunlight can be fully considered, the lighting time of the LED light can be effectively controlled, the useless lighting of the LED light can be avoided, and it can effectively reduce the The consumption of batteries makes the lighting of solar street lights more intelligent and rational.

由上述介绍可知,LED开启电压值和LED关闭电压值是进行LED灯开启和关闭的重要参考数据,根据太阳能路灯的系统性能,可以对这两个数值的具体取值进行调整。It can be seen from the above introduction that the LED turn-on voltage value and LED turn-off voltage value are important reference data for turning on and off the LED light. According to the system performance of the solar street light, the specific values of these two values can be adjusted.

在具体实现中,MCU可以通过RS232接口与上位机连接,其中,上位机可以是一台计算机。用户可以在上位机的相应界面上输入LED开启电压值和LED关闭电压值的具体数值,MCU依据RS232接口可以获取到这两个数值的大小,实现对这两个预设数值大小的调整。In a specific implementation, the MCU may be connected to a host computer through an RS232 interface, wherein the host computer may be a computer. The user can input the specific values of the LED turn-on voltage value and the LED turn-off voltage value on the corresponding interface of the host computer, and the MCU can obtain the size of these two values according to the RS232 interface, and realize the adjustment of the two preset values.

图5为本发明实施例提供的一种调整太阳能路灯照明功率的装置的结构示意图,包括获取单元51、判断单元52、开启单元53和调整单元54,Fig. 5 is a schematic structural diagram of a device for adjusting the lighting power of solar street lamps provided by an embodiment of the present invention, including an acquisition unit 51, a judgment unit 52, an opening unit 53 and an adjustment unit 54,

所述获取单元51,用于获取光伏组件的电压值。The acquiring unit 51 is configured to acquire the voltage value of the photovoltaic module.

所述判断单元52,用于判断所述电压值是否低于预设的LED开启电压值。The judging unit 52 is configured to judge whether the voltage value is lower than a preset LED turn-on voltage value.

若是,则触发所述开启单元53,所述开启单元53,用于按照预设功率开启LED灯,当到达预设时间后,所述获取单元还用于获取蓄电池的电压值。If so, trigger the opening unit 53, the opening unit 53 is used to turn on the LED light according to the preset power, and when the preset time is reached, the acquisition unit is also used to acquire the voltage value of the storage battery.

所述调整单元54,用于依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。The adjusting unit 54 is configured to adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list; the working mode includes the lighting duration of the LED lamp and the corresponding lighting power.

可选的,所述调整单元包括确定子单元、计算子单元和查找子单元,Optionally, the adjustment unit includes a determination subunit, a calculation subunit and a search subunit,

所述确定子单元,用于确定出所述电压值所属的阈值范围;所述阈值范围依据初始电压值划分;The determining subunit is configured to determine the threshold range to which the voltage value belongs; the threshold range is divided according to the initial voltage value;

所述计算子单元,用于依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;The calculation subunit is used to calculate the label value corresponding to the threshold range according to the calculation rule corresponding to the threshold range;

所述查找子单元,用于从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。The searching subunit is used to search the working mode corresponding to the label value from the pre-stored working mode list, and use the working mode as the working mode of the LED lamp; and use the voltage value as the initial Voltage value, stored in EPROM.

可选的,还包括控制单元,Optionally, also includes control unit,

所述判断单元还用于判断所述工作模式的标号值是否大于预设阈值,若是,则所述判断单元还用于判断所述LED灯的编号值是否满足预设条件;The judging unit is also used to judge whether the label value of the working mode is greater than a preset threshold, and if so, the judging unit is also used to judge whether the serial number of the LED lamp satisfies a preset condition;

当不满足所述预设条件时,则触发所述控制单元,所述控制单元,用于控制所述蓄电池停止向所述LED灯供电。When the preset condition is not satisfied, the control unit is triggered, and the control unit is used to control the storage battery to stop supplying power to the LED lamp.

可选的,还包括检测单元,Optionally, a detection unit is also included,

所述检测单元,用于检测光伏组件的电压值;当所述电压值大于预设的LED关闭电压值,则触发所述控制单元,所述控制单元还用于控制所述蓄电池停止向所述LED灯供电。The detection unit is used to detect the voltage value of the photovoltaic module; when the voltage value is greater than the preset LED off voltage value, the control unit is triggered, and the control unit is also used to control the storage battery to stop charging to the LED lights powered.

可选的,还包括接收单元,Optionally, a receiving unit is also included,

所述接收单元,用于接收上位机发送的LED开启电压值和LED关闭电压值。The receiving unit is used for receiving the LED turn-on voltage value and the LED turn-off voltage value sent by the host computer.

图N所对应实施例中特征的说明可以参见图N-1所对应实施例的相关说明,这里不再一一赘述。For the description of the features in the embodiment corresponding to Figure N, refer to the relevant description of the embodiment corresponding to Figure N-1, and details will not be repeated here.

由上述技术方案可以看出,通过获取光伏组件的电压值,判断该电压值是否低于预设的LED开启电压值。当该电压值低于预设的LED开启电压值,则说明光伏组件已经完成向蓄电池充电的工作,此时,则可以按照预设功率开启LED灯。当到达预设时间后,也即此时蓄电池电压趋于稳定,此时可以获取蓄电池的电压值,依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。可见,依据蓄电池的电压值,智能化的控制蓄电池向LED灯的供电功率,可以实现自适应的调整LED灯照明功率,大幅度的延长照明系统在阴雨雾霾等恶劣天气下的工作时间。It can be seen from the above technical solution that by obtaining the voltage value of the photovoltaic module, it is judged whether the voltage value is lower than the preset LED turn-on voltage value. When the voltage value is lower than the preset LED turn-on voltage value, it means that the photovoltaic module has completed the work of charging the battery, and at this time, the LED light can be turned on according to the preset power. When the preset time is reached, that is, the battery voltage tends to be stable at this time, the voltage value of the battery can be obtained at this time, and the working mode of the LED light can be adjusted according to the voltage value and the pre-stored working mode list; The working mode includes the lighting duration and corresponding lighting power of the LED lamp. It can be seen that according to the voltage value of the battery, the intelligent control of the power supply of the battery to the LED lamp can realize adaptive adjustment of the lighting power of the LED lamp, and greatly extend the working time of the lighting system in bad weather such as rainy fog and haze.

以上对本发明实施例所提供的一种调整太阳能路灯照明功率的方法与装置进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method and device for adjusting the lighting power of solar street lamps provided by the embodiments of the present invention are described above in detail. Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

Claims (10)

1.一种调整太阳能路灯照明功率的方法,其特征在于,包括:1. A method for adjusting the lighting power of solar street lamps, comprising: 获取光伏组件的电压值;Obtain the voltage value of the photovoltaic module; 判断所述电压值是否低于预设的LED开启电压值;judging whether the voltage value is lower than a preset LED turn-on voltage value; 若是,则按照预设功率开启LED灯,当到达预设时间后,获取蓄电池的电压值;If so, turn on the LED light according to the preset power, and obtain the voltage value of the battery when the preset time is reached; 依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。Adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list; the working mode includes the lighting duration and corresponding lighting power of the LED lamp. 2.根据权利要求1所述的方法,其特征在于,所述依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式包括:2. The method according to claim 1, wherein the adjusting the working mode of the LED lamp according to the voltage value and the pre-stored working mode list comprises: 确定出所述电压值所属的阈值范围;所述阈值范围依据初始电压值划分;determining the threshold range to which the voltage value belongs; the threshold range is divided according to the initial voltage value; 依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;Calculate the label value corresponding to the threshold range according to the calculation rule corresponding to the threshold range; 从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。Find the working mode corresponding to the label value from the pre-stored working mode list, and use the working mode as the working mode of the LED lamp; and store the voltage value as the initial voltage value in the EPROM. 3.根据权利要求2所述的方法,其特征在于,还包括:3. The method according to claim 2, further comprising: 判断所述工作模式的标号值是否大于预设阈值;judging whether the label value of the working mode is greater than a preset threshold; 若是,则判断所述LED灯的编号值是否满足预设条件;If so, it is judged whether the number value of the LED light satisfies the preset condition; 当不满足所述预设条件时,则控制所述蓄电池停止向所述LED灯供电。When the preset condition is not satisfied, the storage battery is controlled to stop supplying power to the LED lamp. 4.根据权利要求3所述的方法,其特征在于,还包括:4. The method according to claim 3, further comprising: 检测光伏组件的电压值;Detect the voltage value of the photovoltaic module; 当所述电压值大于预设的LED关闭电压值,则控制所述蓄电池停止向所述LED灯供电。When the voltage value is greater than the preset LED off voltage value, the battery is controlled to stop supplying power to the LED lamp. 5.根据权利要求4所述的方法,其特征在于,还包括:5. The method according to claim 4, further comprising: 接收上位机发送的LED开启电压值和LED关闭电压值。Receive the LED turn-on voltage value and LED turn-off voltage value sent by the host computer. 6.一种调整太阳能路灯照明功率的装置,其特征在于,包括获取单元、判断单元、开启单元和调整单元,6. A device for adjusting the lighting power of solar street lamps, characterized in that it includes an acquisition unit, a judgment unit, an opening unit and an adjustment unit, 所述获取单元,用于获取光伏组件的电压值;The obtaining unit is used to obtain the voltage value of the photovoltaic module; 所述判断单元,用于判断所述电压值是否低于预设的LED开启电压值;The judging unit is used to judge whether the voltage value is lower than a preset LED turn-on voltage value; 若是,则触发所述开启单元,所述开启单元,用于按照预设功率开启LED灯,当到达预设时间后,所述获取单元还用于获取蓄电池的电压值;If so, trigger the opening unit, the opening unit is used to turn on the LED light according to the preset power, and when the preset time is reached, the acquisition unit is also used to acquire the voltage value of the storage battery; 所述调整单元,用于依据所述电压值和预先存储的工作模式列表,调整所述LED灯的工作模式;所述工作模式包括所述LED灯的照明时长以及对应的照明功率。The adjusting unit is configured to adjust the working mode of the LED lamp according to the voltage value and the pre-stored working mode list; the working mode includes the lighting duration of the LED lamp and the corresponding lighting power. 7.根据权利要求6所述的装置,其特征在于,所述调整单元包括确定子单元、计算子单元和查找子单元,7. The device according to claim 6, wherein the adjustment unit comprises a determination subunit, a calculation subunit and a search subunit, 所述确定子单元,用于确定出所述电压值所属的阈值范围;所述阈值范围依据初始电压值划分;The determining subunit is configured to determine the threshold range to which the voltage value belongs; the threshold range is divided according to the initial voltage value; 所述计算子单元,用于依据所述阈值范围对应的计算规则,计算出所述阈值范围对应的标号值;The calculation subunit is used to calculate the label value corresponding to the threshold range according to the calculation rule corresponding to the threshold range; 所述查找子单元,用于从预先存储的工作模式列表中,查找与所述标号值对应的工作模式,将所述工作模式作为所述LED灯的工作模式;并将所述电压值作为初始电压值,存储于EPROM。The searching subunit is used to search the working mode corresponding to the label value from the pre-stored working mode list, and use the working mode as the working mode of the LED lamp; and use the voltage value as the initial Voltage value, stored in EPROM. 8.根据权利要求7所述的装置,其特征在于,还包括控制单元,8. The device according to claim 7, further comprising a control unit, 所述判断单元还用于判断所述工作模式的标号值是否大于预设阈值,若是,则所述判断单元还用于判断所述LED灯的编号值是否满足预设条件;The judging unit is also used to judge whether the label value of the working mode is greater than a preset threshold, and if so, the judging unit is also used to judge whether the serial number of the LED lamp satisfies a preset condition; 当不满足所述预设条件时,则触发所述控制单元,所述控制单元,用于控制所述蓄电池停止向所述LED灯供电。When the preset condition is not satisfied, the control unit is triggered, and the control unit is used to control the storage battery to stop supplying power to the LED lamp. 9.根据权利要求8所述的装置,其特征在于,还包括检测单元,9. The device according to claim 8, further comprising a detection unit, 所述检测单元,用于检测光伏组件的电压值;当所述电压值大于预设的LED关闭电压值,则触发所述控制单元,所述控制单元还用于控制所述蓄电池停止向所述LED灯供电。The detection unit is used to detect the voltage value of the photovoltaic module; when the voltage value is greater than the preset LED off voltage value, the control unit is triggered, and the control unit is also used to control the storage battery to stop charging to the LED lights powered. 10.根据权利要求9所述的装置,其特征在于,还包括接收单元,10. The device according to claim 9, further comprising a receiving unit, 所述接收单元,用于接收上位机发送的LED开启电压值和LED关闭电压值。The receiving unit is used for receiving the LED turn-on voltage value and the LED turn-off voltage value sent by the host computer.
CN201710538739.1A 2017-07-04 2017-07-04 A method and device for adjusting the lighting power of a solar street lamp Active CN107155239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710538739.1A CN107155239B (en) 2017-07-04 2017-07-04 A method and device for adjusting the lighting power of a solar street lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710538739.1A CN107155239B (en) 2017-07-04 2017-07-04 A method and device for adjusting the lighting power of a solar street lamp

Publications (2)

Publication Number Publication Date
CN107155239A true CN107155239A (en) 2017-09-12
CN107155239B CN107155239B (en) 2019-07-19

Family

ID=59796577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710538739.1A Active CN107155239B (en) 2017-07-04 2017-07-04 A method and device for adjusting the lighting power of a solar street lamp

Country Status (1)

Country Link
CN (1) CN107155239B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601175A (en) * 2018-04-25 2018-09-28 北京凌阳伟业科技有限公司 A kind of brightness control method and system of street lamp
CN108966411A (en) * 2018-05-28 2018-12-07 郑州森源新能源科技有限公司 Wind and light complementary road lamp lighting power regulating system
CN110536524A (en) * 2019-08-15 2019-12-03 深圳市亿兆互联技术有限公司 Solar street light monitoring method based on lora
CN113659653A (en) * 2021-07-22 2021-11-16 中山铨欣智能照明有限公司 A solar lighting management method, module and lighting system and method
CN119485862A (en) * 2025-01-16 2025-02-18 佛山市南海森湖光电科技有限公司 A method for adaptively adjusting the illumination intensity of solar street lights

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547282A (en) * 2003-12-12 2004-11-17 王斯成 Control method, controller and system for preventing accumulator from overdischarge
CN2852496Y (en) * 2005-05-27 2006-12-27 合肥工业大学 Solar energy road lamp controller
CN201182028Y (en) * 2008-04-17 2009-01-14 保定市阳光盛原科技有限公司 Solar intelligent LED street lamp controller
CN102137536A (en) * 2011-03-28 2011-07-27 天津英诺华微电子技术有限公司 Adaptive control method for brightness of street lamp using solar energy for power supply
KR20160079496A (en) * 2014-12-26 2016-07-06 주식회사 디엔씨아이 Illumination lamp system and power distributer having ac/dc convertor module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547282A (en) * 2003-12-12 2004-11-17 王斯成 Control method, controller and system for preventing accumulator from overdischarge
CN2852496Y (en) * 2005-05-27 2006-12-27 合肥工业大学 Solar energy road lamp controller
CN201182028Y (en) * 2008-04-17 2009-01-14 保定市阳光盛原科技有限公司 Solar intelligent LED street lamp controller
CN102137536A (en) * 2011-03-28 2011-07-27 天津英诺华微电子技术有限公司 Adaptive control method for brightness of street lamp using solar energy for power supply
KR20160079496A (en) * 2014-12-26 2016-07-06 주식회사 디엔씨아이 Illumination lamp system and power distributer having ac/dc convertor module

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601175A (en) * 2018-04-25 2018-09-28 北京凌阳伟业科技有限公司 A kind of brightness control method and system of street lamp
CN108966411A (en) * 2018-05-28 2018-12-07 郑州森源新能源科技有限公司 Wind and light complementary road lamp lighting power regulating system
CN110536524A (en) * 2019-08-15 2019-12-03 深圳市亿兆互联技术有限公司 Solar street light monitoring method based on lora
CN113659653A (en) * 2021-07-22 2021-11-16 中山铨欣智能照明有限公司 A solar lighting management method, module and lighting system and method
CN119485862A (en) * 2025-01-16 2025-02-18 佛山市南海森湖光电科技有限公司 A method for adaptively adjusting the illumination intensity of solar street lights
CN119485862B (en) * 2025-01-16 2025-05-09 佛山市南海森湖光电科技有限公司 A method for adaptively adjusting the illumination intensity of solar street lights

Also Published As

Publication number Publication date
CN107155239B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN107155239B (en) A method and device for adjusting the lighting power of a solar street lamp
CN106413194B (en) A kind of illumination control method and system control method of more optical mode Solar lamps
CN103889122B (en) A kind of control system of solar street light
CN202634836U (en) Intelligent perception road LED (light-emitting diode) lighting controller
CN101511145A (en) Intelligent operation method of high-power LED lighting lamp
CN102595716A (en) Solar light-emitting diode (LED) street lamp monitoring system
CN104135800A (en) Solar LED street lamp control system and method based on photovoltaic power generation
CN200953674Y (en) Electric-supply and solar energy battery double loop street light power supplying device
CN201297559Y (en) Solar energy controller
CN107477506B (en) Energy-saving street lamp head powered by solar energy, weak light and commercial power in hybrid mode
CN109511196A (en) A kind of intelligence adjusts the method and street lamp of LED solar street light brightness
CN101936496A (en) Solar LED street lamp and intelligent control method thereof
CN102083260A (en) Light emitting diode LED street lamp control method
CN106594661B (en) A kind of LED multi-lamp lighting control device powered by battery
CN204986823U (en) High effective solar street light
CN204887541U (en) A Single-chip Microcomputer-Based Solar Street Lighting Control System
CN203219571U (en) A solar-powered LED light control device
CN202634766U (en) PV and wind energy complementary generation energy-saving lamp
CN201787473U (en) Solar light emitting diode street lamp
CN201363655Y (en) Solar LED road lamp
CN103152918A (en) Light-emitting diode (LED) street lamp system based on scene direct current micro-grid
CN209262876U (en) A high-power lighting device
CN103024963A (en) Charge and discharge control system of LED (Light Emitting Diode) solar streetlamp
CN210725435U (en) PID solar street lamp controller based on incremental algorithm
CN202206184U (en) Power switch control device for intelligent solar advertising board

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220127

Address after: 401120 No. 5, floor 3, building 1, No. 19, fufu Avenue, Yubei District, Chongqing

Patentee after: Chongqing stroke Technology Co.,Ltd.

Address before: 400715 No. 2, natural road, Beibei District, Chongqing

Patentee before: SOUTHWEST University