The present disclosure relates to a method of controlling a light-emitting diode (LED) light string, and more particularly to a method of controlling a LED light string based on an image capture.
The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
Since light-emitting diode (LED) has the advantages of high luminous efficiency, low power consumption, long life span, fast response, high reliability, etc., LEDs have been widely used in lighting fixtures or decorative lighting, such as Christmas tree lighting, lighting effects of sport shoes, etc. by connecting light bars or light strings in series, parallel, or series-parallel.
Take the festive light for example. Basically, a complete LED lamp includes an LED light string having a plurality of LEDs and a drive unit for driving the LEDs. The drive unit is electrically connected to the LED light string, and controls the LEDs by a pixel control manner or a synchronous manner by providing the required power and the control signal having light data to the LEDs, thereby implementing various lighting output effects and changes of the LED lamp.
According to the present technology, in order to drive the LEDs of the LED light string to diversify light emission, the LEDs have different address sequence data. The LEDs receive light signals including light data and address data. If the address sequence data of the LEDs are the same as the address data of the light signals, the LEDs emit light according to the light data of the light signals. If the address sequence data of the LEDs are not the same as the address data of the light signals, the LEDs ignore the light data of the light signals.
At present, most of the LED sequence methods of the LED light string are complicated and/or difficult. For example, before the LEDs are combined into an LED light string, it is necessary to burn different address sequence data for each LED. Afterward, the LEDs are sequentially arranged and combined into the LED light string according to the address sequence data. If the LEDs are not arranged in sequence according to the address sequence data, the diversified light emission of the LEDs cannot be correctly achieved.
Furthermore, how to enable operators to operate and control diverse lighting modes and effects of the LED light strings more intuitively and conveniently remains to be further developed.
Therefore, how to design a method of controlling the LED light string to solve the problems and technical bottlenecks in the existing technology has become a critical topic in this field.
An objective of the present disclosure is to provide a method of controlling a light-emitting diode (LED) light string to solve the problems and technical bottlenecks in the existing technology.
In order to achieve the above-mentioned objective, the present disclosure provides a method of controlling a LED light string. The LED light string includes a plurality of LED modules and a control unit. The method includes steps of: executing an automatic encoding procedure: providing an encoding signal by the control unit for the plurality of LED modules to determine the sequence on the LED light string to complete the automatic encoding; executing a device linking procedure: linking a mobile device to the control unit; executing an image positioning procedure: operating an image capture unit of the mobile device to capture images of locations of the LED modules; executing a light control procedure: operating the mobile device to provide a light control signal to the control unit so as to control specified lighting actions of the specified LED modules by the control unit according to the light control signal.
In one embodiment, in the image positioning procedure, a location information of the locations of the plurality of LED modules is generated according to the results of capturing images.
In one embodiment, the location information is a graphical information or a textual information.
In one embodiment, in the light control procedure, specified lighting actions of specified LED modules are controlled.
In one embodiment, the plurality of LED modules forms a series-connected LED light string, and the automatic encoding procedure is a series-connected automatic encoding procedure correspondingly.
In one embodiment, in the series-connected automatic encoding procedure, the sequence of the plurality of LED modules is determined according to different time difference values to achieve the automatic encoding.
In one embodiment, the method further includes steps of: initially controlling a working voltage of each of the LED modules to less than an identification voltage to build a start reference time; controlling the working voltage of each of the LED modules to gradually rise, and generating a plurality of time difference values from the start reference time when the working voltage rises to the identification voltage after the LED module operates.
In one embodiment, the time difference values are compared with a plurality of time difference ranges to determine the sequence of the LED modules.
In one embodiment, the plurality of LED modules forms a parallel-connected LED light string, and the automatic encoding procedure is a parallel-connected automatic encoding procedure correspondingly.
In one embodiment, in the parallel-connected automatic encoding procedure, the sequence of the plurality of LED modules is determined according to different voltages generated by the plurality of LED modules to achieve the automatic encoding.
In one embodiment, the method further includes steps of: connecting to the plurality of LED modules through a power wire having a plurality of wire resistances, and each LED module includes an impedance component providing an impedance characteristic; receiving a supply power by the plurality of LED modules; generating different voltages on the plurality of LED modules by the supply power passing through the plurality of wire resistances and the impedance components so that the plurality of LED modules are encoded.
Accordingly, the proposed method of controlling the LED light string can simplify circuit design, quickly complete the sequencing coding, and capture images of the LED light string, and thereby operating and controlling diversified lighting modes of the LED light string.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the present disclosure as claimed. Other advantages and features of the present disclosure will be apparent from the following description, drawings, and claims.
The present disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawing as follows:
Reference will now be made to the drawing figures to describe the present disclosure in detail. It will be understood that the drawing figures and exemplified embodiments of present disclosure are not limited to the details thereof.
Please refer to
Taking the example of
The method of controlling the LED light string includes steps of: first, executing an automatic encoding procedure (step S10), that is, the control unit 201 of the LED light string 2 provides an encoding signal for the LED modules 202 to determine their sequence on the LED light string to complete the automatic encoding.
Afterward, executing a device linking procedure (step S20), that is, the mobile device 10 is connected/linked to the control unit 201 of the LED light string 2. In one embodiment, the mobile device 10 may send a wireless signal, such as a Wi-Fi signal, a Bluetooth signal, or a ZigBee signal to connect with the control unit 201. In particular, the order of step S10 and step S20 mentioned above is not intended to limit the present disclosure, which means that the device linking procedure may be executed earlier than the automatic encoding procedure.
Afterward, executing an image positioning procedure (step S30), that is, an image capture unit 101 of the mobile device 10 is operated to capture images of locations of the LED modules 202. In the image positioning procedure, the positions of the LED modules 202 can be captured through the image capture unit 101, such as the lens on the mobile device 10, by taking photographs (dynamic) or taking photos (static) to implement capturing images of locations of the LED modules 202. Therefore, location information of the locations of the LED modules is generated according to the results of taking photographs or taking photos. In particular, the location information is a graphical information or a textual information. For example, the graphical location information is the relevant information after capturing the image of location of each LED module, which can include the relative position, size, shape, etc. in frames. The textual information is the location information of each LED module after capturing the image of location of each LED module, and its relative position, size, shape, etc. in frames are recorded in text. In particular, the textual information is not limited by its format and can be read and used by the developed application (app).
Please refer to
After the imaging is completed, a generated image activation signal includes effective and actual location information of the LED module after detected, compared and determined. This means that based on the captured image determination, information that does not belong to the LED module is excluded and filtered out so as to completely record the location information of all LED modules.
Similarly, for dynamic photographs, the user operates the image capture unit 101 of the mobile device 10 to acquire continuous frames of the LED modules of the LED light string 6 on the ornament 5. Therefore, it can also completely record the location information of all LED modules based on the detected, compared and determined continuous frames.
Therefore, no matter whether the LED modules 202 of the LED light string 20 are hung in regular or irregular locations on the ornament 5, the LED modules 202 can be dynamic imaging or static imaging to acquire the complete location information of the LED modules 202.
The two-wired lamp shown in
Please refer to
Specifically, take the series-connected LED light string shown in
Before the start reference time t0, since the switch is turned on, the DC driving voltage VDD instantaneously increases, and all LED modules become a high potential state. At the start reference time t0, the switch is turned off, and the DC driving voltage VDD instantaneously decreases. As shown in
At this condition, the switching switch is switched from a path composed of the series-connected diodes and the switch to a path composed of the resistor. At this time, the time is recorded as the start reference time t0, and the start reference time to is used as a reference time of calculating time difference values. When the voltages of the plurality of LED modules gradually increase to reach the identification voltage VIDEN, the plurality of time difference values of the LED modules can be acquired. Take the first LED module as an example, a first time difference is T1=t1−t0.
At this condition, the voltage waveforms of the positive voltage ends of all 50 LED modules relative to the negative voltage ends (hereinafter referred to as the relative voltage waveforms) are as shown in
Specifically, since the relative voltage waveforms are the voltage characteristics of individual LED modules, all (50 sets) of relative voltage waveforms may be used to effectively determine the sequence of the corresponding LED modules, the concept of start reference (base) time is introduced. That is, by calculating the time difference between the time of each relative voltage waveform and the start reference time, a plurality of different time difference values can be acquired. As shown in
In other words, the switch is first turned on, and the DC driving voltage VDD instantaneously increases, and afterward, the switch is turned off so that the DC driving voltage VDD instantaneously decreases and the relative voltage waveforms of the LED modules may overlap on the same line at the start reference time to. Therefore, the start reference time to is used as the reference time of calculating time difference values. Accordingly, the start reference time t0 can be defined and recorded, and time difference values T1-T50 of the corresponding LED modules can be acquired based on the start reference time to.
Furthermore, by building a lookup table in each of the LED modules, the identification and determination of sequencing the LED modules can be implemented. For example, the circuit designer may build the lookup table in advance according to the sequence of the LED modules according to the size (range) of the time difference values (ranges).
As the following table, an implement of the lookup table is exemplified. Take 50 LED modules (or take 100 LED modules L001 to L100 shown in
Therefore, after each LED module LED1-LEDN operates, all LED modules LED1-LEDN can be sequenced according to the acquired time difference values corresponding to the sequence in the built-in lookup table. For example, when the time difference value of 12.95 μs of the LED module is acquired, the LED module is determined to be the fourth LED module according to the built-in lookup table. Similarly, when the time difference value of 17.08 μs of the LED module is acquired, the LED module is determined to be the sixth LED module according to the built-in lookup table. The rest may be deduced by analogy. Therefore, the sequence of the LED modules can be determined according to the time difference values to achieve an automatic sequencing function.
Therefore, the automatic encoding for the series-connected LED light string can be implemented by using the plurality of time difference values. The automatic encoding can be performed based on the complete location information of the LED modules 202 captured by the image capture unit 101 to assign the sequence to each LED module 202.
The two-wired lamp shown in
Please refer to
Specifically, please refer to
After the time of power-on, the supply power Vdc supplies power to the LED modules 11, 12, . . . , 1N. Due to the voltage difference caused by the current flowing through the wire resistances RL1, RL2, . . . , RLN, the voltages generated on the LED modules 11, 12, . . . , 1N are different. In this embodiment, the voltage difference caused by the supply power Vdc of the constant-voltage source through the wire resistances RL1, RL2, . . . , RLN is the voltage drop. Please refer to
In one embodiment, it can be implemented by means of a built-in corresponding look-up table. For example, the circuit designer may build the look-up table in advance according to the supply power Vdc, the number of the LED modules 11, 12, . . . , 1N, the (estimated) wire resistances RL1, RL2, . . . , RLN, and the resistances R1, R2, . . . , RN for the different generated voltages V1, V2, . . . , VN, thereby sequencing the LED modules 11, 12, . . . , 1N.
The following is an implementation of the look-up table, in which 100 LED modules 11, 12, . . . , 1N are taken as an example for description.
For example, when the voltage (for example, the first voltage V1) acquired by a certain LED module (for example, the first LED module 11) is 5.00 volts, since the voltage is within the voltage range (5.10-4.90 volts) of the first sequence (#1), the LED module is sequenced as the first LED module 11. Similarly, when the voltage (for example, the second voltage V2) acquired by a certain LED module (for example, the second LED module 12) is 4.80 volts, since the voltage is within the voltage range (4.90-4.70 volts) of the second sequence (#2), the LED module is sequenced as the second LED module 12. Similarly, when the voltage (for example, the sixth voltage V6) acquired by a certain LED module (for example, the sixth LED module 16) is 4.20 volts, since the voltage is within the voltage range (4.26-4.14 volts) of the sixth sequence (#6), the LED module is sequenced as the sixth LED module 16.
Please refer to
After the time of power-on, the supply power Idc supplies power to the LED modules 11, 12, . . . , 1N. Due to the voltage difference caused by the current flowing through the wire resistances RL1, RL2, . . . , RLN, the voltages generated on the LED modules 11, 12, . . . , 1N are different. In this embodiment, the voltage difference caused by the power supply Idc of the constant-current source through the wire resistances RL1, RL2, . . . , RLN is the voltage rise. Please refer to
Please refer to
The major difference between the LED light string shown in
In one embodiment, two terminals of the power setting unit 200 are coupled to a positive terminal and a negative of the power wire 100 for adjusting the current of the input power source to a constant current or the voltage of the input power source to a constant voltage. The power setting unit 200 can be designed to be enabled under the sequence mode, and the power setting circuit 2 can be designed to be disabled under the work mode. Therefore, in the sequence mode, a closed loop is provided from a positive electrode of the input power source, the power wire 100, the power setting unit 200 to a negative electrode of the input power source since the power setting unit 200 is enabled (turned on). In the work mode, the power setting unit 200 is disabled so that the power setting unit 200 does not work to save the power consumption of the LED light string 100.
Please refer to
Similarly, when the (second time) power-on is finished, the first resistance R1 and the second resistance R2 are turned off and the impedance of the power setting unit 200 is further decreased so that the equivalent resistance values after the parallel connection will be the same. In other words, when both the first resistance R1 and the second resistance R2 are turned off, the impedance of the power setting unit 200 is smaller than the impedance when only the first resistance R1 is turned off so that the current flowing through may be the same. When the power is turned on again, the magnitude of the second voltage V3 corresponding to the third sequence (third cycle) of the pulse signal can be acquired. Accordingly, the sequence signal may be used as the basis of the sequence, and the impedance of the power setting unit 200 is adjusted (decreased) to maintain the same current so that the voltage difference between any two LED modules is maintained constant, thereby increasing the accuracy of identifying the detected voltage.
In comparison with the constant-voltage power supply shown in
Therefore, the automatic encoding for the parallel-series-connected LED light string shown in
Finally, executing a light control procedure (step S40), that is, the user can operate the mobile device 10 to provide a light control signal to the control unit 201 so as to control specified lighting actions of the specified LED modules by the control unit 201 according to the light control signal. In the light control procedure, specified lighting actions of specified LED modules are controlled.
Specifically, the user can determine the lighting effect according to the lighting effect that the LED module 202 of the LED light string 20 wants to produce, such as continuous lighting, color change, fast flashing, slow flashing, marquee, etc.), which can be controlled for the specified LED module 202. For example, the user can directly select the LED module 202 to be controlled on the touch screen in a graphical manner and specify its lighting effect. At the same time, another part of the LED module 202 can also be selected and its different lighting effects can be specified. Therefore, the LED light string 20 can be operated and controlled in various lighting modes.
Although the present disclosure has been described with reference to the preferred embodiment thereof, it will be understood that the present disclosure is not limited to the details thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the present disclosure as defined in the appended claims.