Software-defined digital LED driving power supply
Technical Field
The invention relates to the field of LED driving power supplies, in particular to a software-defined digital LED driving power supply.
Background
Due to the high efficiency and environmental protection of LED illumination, the mature integral technology and the continuous improvement of cost performance, the LED illumination system is widely applied to the outdoor illumination fields of roads, bridges, tunnels, squares and the like; the LED can not directly use alternating current as the traditional outdoor lighting source, and a special LED driving power supply is required to be used for converting the commercial power into AC/DC, and the corresponding LED driving power supply is matched according to parameters such as voltage, current, power and lamp lumen of an LED lamp load. With the continuous rising of the demand of the technology of the Internet of things on LED illumination, a large number of 0-10v/PWM dimming LED driving power supplies which can be controlled by an intelligent single lamp controller of the Internet of things appear on the market; due to the fact that 0-10v/PWM dimming LED driving power supply matched with various voltages, currents and powers is needed in the market, LED driving products with various specifications and different power supply parameters in the market are too many in product specifications and types, and the problems that the customized matching production period is long, the cost is high, a large amount of inventory is overstocked, the capital turnover cost is high and the like are caused. This requires that the LED driving power supply can have a wider output voltage, current and power range within a reasonable cost range (power range), and can flexibly set parameters according to the actual use requirements of the customer LED lighting fixture and the customer, and adjust the "spot product" that can be delivered in time. The current market commonly adopts a 'potentiometer' adjustment method, and the main defects are that each power supply needs to be electrified, carries an actual load and is connected with an instrument for adjustment, and the setting operation of each power supply needs to be close to one minute on average; the operation is complicated, the efficiency is low, the deviation is large, the accuracy is low, the time consumption is long, the requirement of batch rapid configuration and rapid delivery can not be met; and secondly, the adjusting range is limited, and the LED lamp is easy to flicker under the unstable working condition when the adjusting range is exceeded. In addition, the market also has an LED driving power supply with a multi-section dimming function, the compatibility is poor, and if the dimming mode needs to be changed, the LED driving power supply needs to be reworked by warping glue in a factory; meanwhile, the existing data interface adopts infrared rays and wireless interface communication, so that the cost of the LED driving power supply is increased; many customers are reserved dimming interfaces, make things convenient for future thing networking to upgrade, for example: the time sequence dimming function is firstly used to achieve the effects of energy saving and emission reduction, when a single lamp controller is used in the future, the analog voltage dimming function is used, the current market power supply cannot meet the requirements, the dimming type of the power supply can be redefined through the audio configuration interface, and the problem of a client is solved within 3S.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a software-defined digital LED driving power supply.
The technical scheme adopted by the invention is as follows:
a software defined digital LED driver power supply, comprising: the device comprises a lightning protection anti-surge protection module, an EMI module, an AC/DC rectification module, a filtering module, an APFC power compensation module, a DC/DC constant-current isolating switch module, an MCU control module, a low-voltage direct-current power supply module, a dimming communication interface, an audio communication interface and a DC output interface;
the commercial power is connected to the signal input end of the lightning protection and surge protection module, the EMI module, the AC/DC rectification module, the filtering module, the APFC power compensation module, the DC/DC constant-current isolating switch module and the MCU control module are sequentially connected, the signal output end of the MCU control module is in control connection with the DC/DC constant-current isolating switch module, and the signal output end of the DC/DC constant-current isolating switch module is connected with the DC output interface;
the signal output end of the filtering module is further connected with the low-voltage direct-current power supply module, the signal output end of the low-voltage direct-current power supply module is connected with the MCU control module, the MCU control module is bidirectionally connected with the dimming communication interface and the audio communication interface, and the audio communication interface is used for defining the type of the LED driving power supply.
Further, the software-defined digital LED driving power supply is characterized in that a main control chip of the MCU control module is SC92F7420M08U, VCC, GND and UART interfaces of the main control chip are connected to an audio communication interface, and the audio communication interface is used to connect a handheld device or PC configuration software for setting the driving power supply power.
Further, the software-defined digital LED driving power supply is characterized in that a PWM output terminal of a main control chip of the MCU control module is in control connection with a signal input terminal of the DC/DC constant-current isolating switch module, so as to control a constant-current output value and adjust an output power of the LED driving power supply.
Further, the software-defined digital LED driving power supply is characterized in that a current/voltage sampling module is connected between a signal output end of the DC/DC constant-current isolating switch module and a signal input end of the MCU control module, and is configured to collect a current value and a voltage value of a load circuit.
Further, the software-defined digital LED driving power supply is characterized in that the output voltage width of the DC output interface is 28-56V, and the output voltage of the DC output interface is determined by the number of LED lamp beads connected to a lamp of a load circuit connected thereto. After the power of the LED driving power supply is defined through handheld equipment or PC configuration software, the LED driving power supply automatically matches the output power of the power supply through voltage and current collection of the output end.
Further, the software-defined digital LED driving power supply is characterized in that the type of the LED driving power supply which can be defined by the audio communication interface is a conventional power output power supply, an analog dimming power supply, a PWM dimming power supply, a time-sequence dimming power supply, a 485 dimming power supply or a DALI dimming power supply, and the analog dimming power supply has a specification of 0-10V,0-5V,5-0V, or 10-0V. The MCU control module receives analog voltage/PWM/485/DALI dimming signals through a dimming input line, converts the signals into corresponding dimming values in a user-defined mode and outputs the corresponding dimming values to the DC/DC isolation constant current (or constant power) switch control module, and stepless linear change of output current and power in the originally set maximum current/maximum power and minimum current/minimum power range is realized.
Further, the software-defined digital LED driving power supply is characterized in that the audio communication interface can be further configured to define a power supply time, a timing task, a minimum dimming limit, and a time-based edge control task.
The invention has the advantages that:
the invention has strong compatibility and simple configuration, can quickly define the electric type, the power supply time, the time sequence task, the minimum dimming limit value and the time-based edge control task by software through special handheld equipment or PC software, can communicate and supply power for all configuration information by an audio interface line of the handheld equipment or PC configuration software, can define the power supply by the software within a few seconds, and is greatly convenient for a user to use the power supply according to the actual requirement.
Drawings
FIG. 1 is a schematic block diagram of an embodiment of the present invention.
Fig. 2 is a flow chart of customizing an LED driving power supply according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a circuit for supplying power to a load in an embodiment of the present invention.
Fig. 4 is a schematic diagram of a circuit for supplying power to the MCU control module according to an embodiment of the present invention.
In the figure: the device comprises a lightning protection surge protection module 1, an EMI module 2, an AC/DC rectification module 3, a filtering module 4, an APFC power compensation module 5, a DC/DC constant-current isolating switch module 6, an MCU control module 7, a low-voltage DC power supply module 8, a dimming communication interface 9, an audio communication interface 10, a DC output interface 11 and a current/voltage sampling module 12.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example 1.
As shown in fig. 1, 2, 3 and 4, a software-defined digital LED driving power supply includes: the device comprises a lightning protection anti-surge protection module 1, an EMI module 2, an AC/DC rectification module 3, a filtering module 4, an APFC power compensation module 5, a DC/DC constant-current isolating switch module 6, an MCU control module 7, a low-voltage DC power supply module 8, a dimming communication interface 9, an audio communication interface 10 and a DC output interface 11;
the commercial power is connected to a signal input end of the lightning protection and surge protection module 1, the EMI module 2, the AC/DC rectification module 3, the filtering module 4, the APFC power compensation module 5, the DC/DC constant-current isolating switch module 6 and the MCU control module 7 are sequentially connected, a signal output end of the MCU control module 7 is in control connection with the DC/DC constant-current isolating switch module 6, and a signal output end of the DC/DC constant-current isolating switch module 6 is connected with the DC output interface 11; and a current/voltage sampling module 12 is connected between the signal output end of the DC/DC constant-current isolating switch module 6 and the signal input end of the MCU control module 7 and is used for collecting the current value and the voltage value of the load circuit.
The signal output end of the filtering module 4 is also connected with the low-voltage direct current power supply module 8, the signal output end of the low-voltage direct current power supply module 8 is connected with the MCU control module 7, and the MCU control module 7 is bidirectionally connected with the dimming communication interface 9 and the audio communication interface 10.
The audio communication interface 10 is used to define the type of the LED driving power supply, and the LED driving power supply that the audio communication interface 10 can define is a conventional power output power supply, an analog dimming power supply (0-10V,0-5V,5-0V,10-0V), a PWM dimming power supply, a time-sequence dimming power supply, a 485 dimming power supply, or a DALI dimming power supply. Audio communication interface 10 may also be used to define power supply times, timing tasks, minimum dimming limits, time-based edge control tasks.
The main control chip of the MCU control module 7 is SC92F7420M08U, VCC, GND and UART interfaces of the main control chip are connected to the audio communication interface 10, and the audio communication interface 10 is used to connect a handheld device or PC configuration software for setting the power of the driving power supply. The PWM output end of the main control chip of the MCU control module 7 is in control connection with the signal input end of the DC/DC constant current isolating switch module 6 and is used for controlling a constant current output value and adjusting the output power of the LED driving power supply.
The output voltage width of the DC output interface 11 is 28-56V, and the output voltage of the DC output interface 11 is determined by the number of LED lamp beads connected to the lamp of the load circuit.
In this embodiment, the utility power is sequentially transmitted to the APFC power compensation module 5 and the low-voltage DC power supply module 8 through the lightning protection surge protection module 1, the EMI module 2, the AC/DC rectification module 3, and the filter module 4, respectively, the APFC power compensation module 5 is then transmitted to the DC/DC constant-current isolation switch module 6, the DC/DC constant-current isolation switch module 6 supplies power to the external load LED lighting lamp set, and the low-voltage DC power supply module 8 supplies power to the MCU control module 7.
In this embodiment, after the power of the LED driving power supply is defined by the handheld device or the PC configuration software, the output power of the power supply is automatically matched by collecting the voltage and the current at the output terminal of the LED driving power supply.
In this embodiment, the MCU control module 7 receives the analog voltage/PWM/485/DALI dimming signals through the dimming input line, converts the signals into corresponding dimming values in a user-defined manner, and outputs the dimming values to the DC/DC constant current isolator module 6, so as to achieve stepless linear changes of output current and power within the originally set maximum current/maximum power and minimum current/minimum power ranges, and the DC/DC constant current isolator module 6 has a wide voltage output characteristic; the MCU control module 7 can automatically calculate the output rated current according to the voltage of the LED lamp in the output range of the software-defined digital LED driving power supply, and realize the self-adaptive matching of the LED lamp according to the setting requirement of a customer on the output power of the power supply.
In this embodiment, the method for implementing the constant power of the adaptive lamp includes:
set up the power of software definition power through audio communication interface 10, MCU control module 7 will change the parameter storage, through the PID algorithm during the circular telegram, through the duty cycle that changes PWM, slowly increase the output current of power, make the output voltage who gathers back and electric current product developments set up power for. The output voltage of the lamp is determined by the number of LED lamp beads which are connected in series with the lamp, the lamp is connected with a power supply, the power supply outputs small current firstly, the lamp voltage is determined through an acquisition module, the current which needs to be output can be obtained at the same time, the output current is used as the target quantity of PID, a PID algorithm is operated, and the function of the constant-power self-adaptive lamp can be achieved.
In this embodiment, the power dimming type software defines:
the MCU control module 7 of the software-defined digital LED driving power supply provides a group of protocols inside, the type of the power supply can be configured through the audio communication interface 10, and the MCU control module 7 executes corresponding programs according to the configured type.
In this embodiment, the same parameters are copied in batch quickly:
the traditional power supply is calibrated by electrifying the power supply, adjusting the sliding resistor by a screwdriver and calibrating power according to an ammeter at an output end, and the traditional power supply is troublesome, slow in speed and large in workload. In addition, if a control strategy is required to be changed, the procedure needs to be re-burned by the tilting glue, which is troublesome, the invention can carry out power supply and communication through the audio interface, one-key software definition is adopted, and all things are done in 3 seconds.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.