CN112969264A - RGB (Red, Green and blue) three-color lamp control circuit and control method thereof - Google Patents

RGB (Red, Green and blue) three-color lamp control circuit and control method thereof Download PDF

Info

Publication number
CN112969264A
CN112969264A CN202110176838.6A CN202110176838A CN112969264A CN 112969264 A CN112969264 A CN 112969264A CN 202110176838 A CN202110176838 A CN 202110176838A CN 112969264 A CN112969264 A CN 112969264A
Authority
CN
China
Prior art keywords
color lamp
color
lamp
rgb
periodic signal
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.)
Pending
Application number
CN202110176838.6A
Other languages
Chinese (zh)
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.)
Shenzhen Meixi Micro Semiconductor Co ltd
Original Assignee
Shenzhen Meixi Micro Semiconductor Co ltd
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 Shenzhen Meixi Micro Semiconductor Co ltd filed Critical Shenzhen Meixi Micro Semiconductor Co ltd
Priority to CN202110176838.6A priority Critical patent/CN112969264A/en
Publication of CN112969264A publication Critical patent/CN112969264A/en
Pending legal-status Critical Current

Links

Images

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
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources

Abstract

The application relates to a RGB three-color lamp control circuit and a control method thereof, which comprises a power supply module, a control module and at least one group of RGB three-color lamp conducting modules, the power supply module is used for supplying power to the control module and the RGB three-color lamp conducting module, the RGB three-color lamp conducting module comprises a first color lamp, a second color lamp and a third color lamp which are sequentially connected in series, one end of the first color lamp, which is far away from the second color lamp, is connected with the power supply module, one end of the third color lamp, which is far away from the second color lamp, is grounded, the first driving terminal OUT1 of the control module is connected to the connection node of the first color lamp and the second color lamp, the second driving terminal OUT2 of the control module is connected to the connection node of the second color light and the third color light, the on/off states of the first color light, the second color light and the third color light are controlled by the levels of the first driving end OUT1 and the second driving end OUT2 of the control module. The application has the effect of reducing cost.

Description

RGB (Red, Green and blue) three-color lamp control circuit and control method thereof
Technical Field
The application relates to the technical field of RGB, in particular to a RGB three-color lamp control circuit and a control method thereof.
Background
The RGB color scheme is a color standard in the industry, and various colors are obtained by changing three color channels of red (R), green (G) and blue (B) and superimposing the three color channels on each other, where RGB represents colors of the three channels of red, green and blue, and the color standard almost includes all colors that can be perceived by human vision, and is one of the most widely used color systems. The RGB tristimulus lamp control IC generally needs to use 3IO pins on the IC to realize respective control, i.e. the three IO ports and the RGB tristimulus lamps are respectively connected to form a first color lamp loop, a second color lamp loop and a third color lamp loop. Although such a control scheme is simple, 3 IOs are necessarily required to realize the respective control of the RGB three-color lamps. In the case of a lack of IO ports and severe requirements for package size and package cost, the requirements may not be met.
Referring to fig. 1, the conventional main control chip generally has a 4-pin IC, a 6-pin IC, an 8-pin IC, and a 10-pin IC. The conventional RGB three-color lamp eight-pin main control chip 22 generally has at least a power VCC pin, a ground GND pin, a data input DI pin, and a data output DO pin. If 3IO pins are used for connecting the RGB three-color lamp respectively, at least 7 pins are needed, so that an 8-pin IC can be selected in reality, one pin is suspended, on one hand, the cost is increased, and meanwhile, the size of the package is increased. In addition, generally, a single six-pin main control chip is 0.04 yuan, and a single eight-pin main control chip is 0.05 yuan.
In view of the above-mentioned related art, the inventor believes that there is a disadvantage that the operating cost of the existing IC controlled RGB three-color lamp is large.
Disclosure of Invention
In order to reduce the working cost, the application provides an RGB three-color lamp control circuit and a control method thereof.
In a first aspect, the present application provides an RGB three-color lamp control circuit, which adopts the following technical scheme:
the utility model provides a RGB tricolor lamp control circuit, includes power module, control module and at least a set of RGB tricolor lamp and switches on the module, power module is used for switching on the module to control module and RGB tricolor lamp and supplies power, the RGB tricolor lamp switches on the module and includes first color lamp, second color lamp and the third color lamp of establishing ties in proper order, first color lamp, second color lamp and third color lamp constitute RGB tricolor lamp, the one end that second color lamp was kept away from to first color lamp is connected in power module, the one end ground connection that second color lamp was kept away from to the third color lamp, control module's first drive end OUT1 is connected in the connected node of first color lamp and second color lamp, control module's second drive end OUT2 is connected in the connected node of second color lamp and third color lamp, the bright or dark of first color lamp, second color lamp and third color lamp is controlled by the first drive end OUT1 of control module and the high-low drive end OUT2 of level of second OUT 2.
By adopting the technical scheme, when the control module is a six-pin main control chip, and the first driving end OUT1 and the second driving end OUT2 are led OUT from the six-pin control chip, in an actual situation, only one six-pin main control chip can control a group of RGB (red, green and blue) tricolor lamps to work, compared with the prior art, the mode that the eight-pin main control chip can only control the group of RGB tricolor lamps to work can be adopted, and the cost can be effectively saved. Meanwhile, the packaging size can be effectively reduced, and the space utilization rate of the product is improved.
Preferably, the control module includes a six-pin main control chip, the first driving end OUT1 of the six-pin main control chip is connected to the connection node of the first color lamp, the level output from the first driving end OUT1 is used for controlling the on/off of the first color lamp, the second driving end OUT2 of the six-pin main control chip is connected to the connection node of the second color lamp and the third color lamp, and the level output from the second driving end OUT2 is used for controlling the on/off of the second color lamp and the third color lamp.
By adopting the technical scheme, the cost can be effectively saved due to the arrangement of the six-pin main control chip, the packaging volume can be reduced, and whether the RGB three-color lamp works or not can be conveniently controlled according to actual needs. The contrast adopts the eight feet main control chip of equidimension, and the pin that faces eight feet main control chip arranges the comparatively intensive condition that can adopt the more loose six feet main control chip in pin interval, can the six feet main control chip of easy to assemble to can effectively improve product installation effectiveness.
Preferably, the control module includes eight feet main control chip, the first drive end OUT1 of eight feet main control chip connects in the connected node of the first color lamp that the module was switched on to first group RGB tricolor lamp and second color lamp, the second drive end OUT2 of eight feet main control chip connects in the connected node of the second color lamp that the module was switched on to first group RGB tricolor lamp and third color lamp, the third drive end OUT3 of eight feet main control chip connects in the connected node of the first color lamp that the module was switched on to second group RGB tricolor lamp and second color lamp, the fourth drive end OUT4 of eight feet main control chip connects in the connected node of the second color lamp that the module was switched on to second group RGB tricolor lamp and third color lamp.
Through adopting above-mentioned technical scheme, the existence of eight foot main control chip, two sets of RGB tristimulus lamps of control that can be very convenient start, among the contrast prior art, adopt two eight foot main control chip could control the mode that two sets of RGB tristimulus lamps start, can effectively reduce the encapsulation volume, also can effectively save the cost simultaneously. In addition, similarly, when the control module is a ten-pin main control chip, three groups of RGB three-color lamps can be controlled, and when the control module is a twelve-pin main control chip, four groups of RGB three-color lamps can be controlled. That is, the relationship between the number of the RGB three-color lamp sets and the number of the pins is: an =2n +4, (where An is the pin number, and n is the number of the RGB three-color lamp set), that is, when a set of RGB three-color lamps needs to be controlled, a six-pin main control chip is needed, and when two sets of RGB three-color lamps need to be controlled, An eight-pin main control chip is needed, and so on.
In a second aspect, the present application provides a RGB three-color lamp control method, which adopts the following technical scheme:
a RGB (Red, Green and blue) three-color lamp driving system comprises a first time sequence periodic signal, a second time sequence periodic signal and a third time sequence periodic signal which are cyclically started, wherein the first color lamp, the second color lamp and the third color lamp are sequentially controlled to be started according to the first time sequence periodic signal, the second time sequence periodic signal and the third time sequence periodic signal;
the first color light activation comprises:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level according to the first time sequence periodic signal, wherein at the moment, the first color lamp is on, and the second color lamp and the third color lamp are not on;
the second color light activation comprises:
acquiring a second time sequence periodic signal, and enabling the first driving end OUT1 to output a high level and the second driving end OUT2 to output a low level according to the second time sequence periodic signal, wherein at the moment, the second color lamp is on, and the first color lamp and the third color lamp are not on;
the third color light activation comprises:
and acquiring a third time sequence periodic signal, and enabling the second driving terminal OUT2 to output a high level according to the third time sequence periodic signal, wherein at the moment, the third color lamp is on, and the first color lamp and the second color lamp are not on.
By adopting the above technical scheme, according to the first time sequence periodic signal that acquires, second time sequence periodic signal and the mode that third time sequence periodic signal controls first colour lamp in proper order, second colour lamp and third colour lamp start in proper order, can make first colour lamp, second colour lamp and third colour lamp start alone, and when single colour lamp starts, all the other two colour lamps can not cause the interference to the colour lamp when starting, to this, can make first colour lamp, second colour lamp and the independent stable work of third colour.
Preferably, the frequencies of the first timing periodic signal, the second timing periodic signal and the third timing periodic signal are the same.
By adopting the technical scheme, the control module can be conveniently controlled by the setting with the same frequency, so that the control efficiency can be improved.
Preferably, a first time sequence periodic signal and a second time sequence periodic signal which are started circularly are obtained, the first color lamp and the third color lamp are controlled to be started simultaneously according to the obtained first time sequence periodic signal, and the second color lamp is controlled to be started according to the obtained second time sequence periodic signal;
the first color light and the third color light are started simultaneously, including:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level and the second driving end OUT2 to output a high level according to the first time sequence periodic signal, wherein at the moment, the first color lamp and the third color lamp are on, and the second color lamp is not on;
the second color light activation comprises:
the second timing periodic signal is obtained, and the first driving terminal OUT1 outputs a high level and the second driving terminal OUT2 outputs a low level according to the first timing period and the second timing periodic signal, at this time, the second color lamp is on, and the first color lamp and the third color lamp are not on.
By adopting the technical scheme, the driving time sequence is only divided into the first time sequence period and the second time sequence period so as to respectively drive the first color lamp and the third color lamp to be synchronously started and drive the second color lamp to be started, so that the working currents of the first color lamp, the second color lamp and the third color lamp can be improved, and further the brightness of the first color lamp, the second color lamp and the third color lamp can be improved.
Preferably, the frequencies of the first timing periodic signal and the second timing periodic signal are the same.
By adopting the technical scheme, the control module can be conveniently controlled by the setting with the same frequency, so that the control efficiency can be improved.
In summary, the present application includes at least one of the following beneficial technical effects:
1. in the traditional scheme, an RGB common anode parallel connection structure is adopted, RGB is driven by independent driving ports respectively, and three ports are needed. The RGB three-color lamp conducting module in the application adopts a series structure, the series nodes of the RGB three-color lamp conducting module are controlled, and the color lamps can be driven to work only by two ports actually;
2. the relation of the number of RGB three-color lamp group and pin number is: an =2n +4, (where An is the number of pins, and n is the number of RGB tricolor light sets), that is, when a group of RGB tricolor lights needs to be controlled, a six-pin main control chip is needed, when two groups of RGB tricolor lights need to be controlled, An eight-pin main control chip is needed, and so on, by this way, the relative control module can be conveniently selected according to the number of RGB tricolor light sets actually needed;
3. the mode that the first color lamp, the second color lamp and the third color lamp are sequentially controlled to be sequentially started according to the acquired first time sequence periodic signal, the acquired second time sequence periodic signal and the acquired third time sequence periodic signal can enable the first color lamp, the second color lamp and the third color lamp to be independently started, and when a single color lamp is started, the other two color lamps cannot cause interference to the color lamps during starting, so that the first color lamp, the second color lamp and the third color lamp can work stably and independently.
Drawings
FIG. 1 is a circuit control diagram of a RGB three-color lamp control circuit in the related art;
FIG. 2 is a circuit control diagram of an RGB three-color lamp control circuit in embodiment 1 of the present application;
fig. 3 is an equivalent circuit diagram of the operation of only the first color lamp in embodiment 1 of the present application;
fig. 4 is an equivalent circuit diagram of the operation of only the second color lamp in embodiment 1 of the present application;
fig. 5 is an equivalent circuit diagram of the operation of only the third color lamp in embodiment 1 of the present application;
fig. 6 is a waveform diagram of driving timing for driving the first color lamp, the second color lamp and the third color lamp in the embodiment 1 of the present application;
FIG. 7 is a logic control diagram for controlling the operation of the first color light, the second color light and the third color light in embodiment 1 of the present application;
fig. 8 is an equivalent circuit diagram of the first color lamp and the third color lamp working simultaneously in embodiment 1 of the present application;
fig. 9 is a logic control diagram for controlling the first color lamp and the third color lamp to operate simultaneously and controlling the second color lamp to operate separately in embodiment 1 of the present application;
fig. 10 is a waveform diagram of driving timing for controlling the first color lamp and the third color lamp to be simultaneously activated and for separately controlling the second color lamp to be activated in embodiment 1 of the present application;
fig. 11 is a circuit control diagram of the RGB three-color lamp control circuit controlling two RGB three-color lamp conducting modules in embodiment 2 of the present application;
FIG. 12 is a logic control diagram for controlling the operation of the first color light, the second color light and the third color light in embodiment 2 of the present application;
FIG. 13 is a logic control diagram for controlling the first color light and the third color light to operate simultaneously and controlling the second color light to operate independently in embodiment 2 of the present application;
fig. 14 is a schematic view of a method for driving a first color lamp, a second color lamp and a third color lamp in the embodiment 1 of the present application;
fig. 15 is a schematic diagram of a method for controlling the first color lamp and the third color lamp to operate simultaneously and controlling the second color lamp to operate independently in embodiment 1 of the present application.
Reference numerals: 1. a power supply module; 21. a six-pin master control chip; 22. an eight-pin master control chip; 3. the RGB three-color lamp conducts the module.
Detailed Description
The present application is described in further detail below with reference to figures 1-15.
The embodiment of the application discloses a RGB three-color lamp control circuit. Controlled by the adjustment of the duty cycle to change the color and brightness of the lamp.
Example 1
Referring to fig. 2, RGB tristimulus lamp control circuit includes power module 1, control module switches on module 3 with at least a set of RGB tristimulus lamp, power module 1 is used for switching on the power supply of module 3 to control module and RGB tristimulus lamp, RGB tristimulus lamp switches on module 3 and includes the first colour lamp of establishing ties in proper order, second colour lamp and third colour lamp, first colour lamp, second colour lamp and third colour lamp constitute the RGB tristimulus lamp, the one end that second colour lamp was kept away from to first colour lamp is connected in power module 1, the one end ground connection that second colour lamp was kept away from to the third colour lamp. The first driving end OUT1 of the control module is connected to the connection node between the first color lamp and the second color lamp, the second driving end OUT2 of the control module is connected to the connection node between the second color lamp and the third color lamp, and the on/off of the first color lamp, the second color lamp and the third color lamp is controlled by the level of the first driving end OUT1 and the second driving end OUT2 of the control module.
When the control module is the six-pin main control chip 21, the RGB three-color lamp conducting module 3 is set as a group, and in addition, the first color lamp, the second color lamp and the third color lamp are sequentially set as the R (red) lamp, the G (green) lamp and the B (blue) lamp, and the positions of the first color lamp, the second color lamp and the third color lamp can be exchanged according to actual requirements.
Referring to fig. 2, the hexapod main control chip 21 includes a power VCC pin, a ground GND pin, a data input DI pin, a data output DO pin, a first driving terminal OUT1 and a second driving terminal OUT2, the power VCC pin is connected to the power supply module 1, in this embodiment, the power supply module 1 is a 5V constant voltage source, the ground GND pin is grounded, the data input DI pin and the data output DO pin are arranged in a suspended manner, the first driving terminal OUT1 is connected to a connection node between the first color lamp and the second color lamp, and the second driving terminal OUT2 is connected to a connection node between the second color lamp and the third color lamp.
Referring to fig. 3, which is an equivalent circuit diagram of driving the first color lamp to work, when the first color lamp needs to be driven to be on, the first driving terminal OUT1 of the six-pin main control chip 21 outputs a low level, and at this time, the first color lamp is on, and the second color lamp and the third color lamp are not on.
Referring to fig. 4, which is an equivalent circuit diagram of driving the second color lamp to work, when the second color lamp needs to be driven to light, the first driving terminal OUT1 of the six-pin main control chip 21 outputs a high level, and the second driving terminal OUT2 outputs a low level, at this time, the second color lamp lights, and the first color lamp and the third color lamp do not light.
Referring to fig. 5, which is an equivalent circuit diagram of driving the third color lamp to work, when the third color lamp needs to be driven to be on, the second driving terminal OUT2 of the six-pin main control chip 21 outputs a high level, and at this time, the third color lamp is on, and the first color lamp and the second color lamp are not on.
Referring to fig. 6, when the first color lamp, the second color lamp, and the third color lamp are actually controlled to operate, the control time is divided into three equal parts, the first color lamp operates during the first equal time, the second color lamp operates during the second equal time, and the third color lamp operates during the third equal time. In different time quantum, drive first colour lamp, second colour lamp and third colour lamp work respectively promptly, to this, bright going out between first colour lamp, second colour lamp and the third colour lamp can not receive the interference to can stably guarantee bright going out of first colour lamp, second colour lamp and third colour lamp. In addition, in this embodiment, when the first color lamp, the second color lamp, or the third color lamp operates alone, the maximum average current value is Id/3.
Referring to fig. 7, 0 and 1 in the table represent the low level and the high level outputted by the first driving terminal OUT1 and the second driving terminal OUT2, respectively, the hook and the fork represent the operation and the non-operation, respectively, and the R lamp, the G lamp and the B lamp represent the first color lamp, the second color lamp and the third color lamp, respectively. The table can clearly describe the operating states of the R lamp, the G lamp and the B lamp when the first driving terminal OUT1 and the second driving terminal OUT2 output different high and low levels.
Referring to fig. 8 and 9, in order to improve the maximum average current value and improve the driving efficiency, in this embodiment, the first color lamp and the third color lamp may be synchronously activated, and when the first driving terminal OUT1 outputs a low level and the second driving terminal OUT2 outputs a high level, the first color lamp and the third color lamp are turned on, and the second color lamp is not turned on. When the first driving terminal OUT1 outputs a high level and the second driving terminal OUT2 outputs a low level, the first color light and the third color light are not turned on, and the second color light is turned on.
Referring to fig. 10, the first color lamp and the third color lamp are controlled to be simultaneously turned on, and the second color lamp is controlled to be independently turned on, there are two timing driving periods in total, and specifically, the control time may be divided into two equal parts, where the first color lamp and the third color lamp operate synchronously at the first equal time, and the second color lamp operates independently at the second equal time. Under two chronogenesis drive periods, first colour lamp and third colour lamp operating condition, the operating condition of second colour lamp all can not receive the interference promptly to can stably guarantee the bright of first colour lamp and third colour lamp, second colour lamp and go out. In addition, in this embodiment, when the first color lamp, the second color lamp, and the third color lamp are operated, the maximum average current value is Id/2. In this respect, the brightness of the colored lamp can be increased.
Example 2
Referring to fig. 11, when the control module is the eight-pin main control chip 22, two groups of RGB three-color lamp conducting modules 3 are provided.
The eight-pin main control chip 22 includes a power VCC pin, a ground GND pin, a data input DI pin, a data output DO pin, a first driving terminal OUT1, a second driving terminal OUT2, a third driving terminal OUT3 and a fourth driving terminal OUT 4. The power VCC pin is connected to the 5V constant current source, the grounding GND pin is grounded, and the data input DI pin and the data output DO pin are arranged in a suspended mode. The first driving end OUT1 of the eight-pin main control chip 22 is connected to the connection node of the first color lamp and the second color lamp of the first group RGB three-color lamp conduction module 3, the second driving end OUT2 of the eight-pin main control chip 22 is connected to the connection node of the second color lamp and the third color lamp of the first group RGB three-color lamp conduction module 3, the third driving end OUT3 of the eight-pin main control chip 22 is connected to the connection node of the first color lamp and the second color lamp of the second group RGB three-color lamp conduction module 3, and the fourth driving end OUT4 of the eight-pin main control chip 22 is connected to the connection node of the second color lamp and the third color lamp of the second group RGB three-color lamp conduction module 3.
The implementation principle of the embodiment 2 is as follows: referring to fig. 12, if the time trisection control is adopted, when the first driving terminal OUT1, the second driving terminal OUT2, the third driving terminal OUT3 and the fourth driving terminal OUT4 all output low levels, the first color lamp of each group is turned on; when the first driving terminal OUT1, the second driving terminal OUT2, the third driving terminal OUT3 and the fourth driving terminal OUT4 all output high levels, the third color light of each group is on; when the first driving terminal OUT1 and the third driving terminal OUT3 output a high level and the second driving terminal OUT2 and the fourth driving terminal OUT4 output a low level, the second color light of each group is turned on.
Referring to fig. 13, if the time halving control is adopted, when the first driving terminal OUT1 and the third driving terminal OUT3 both output a high level and the second driving terminal OUT2 and the fourth driving terminal OUT4 both output a low level, the second color light of each group is on; when the first driving terminal OUT1 and the third driving terminal OUT3 both output a low level and the second driving terminal OUT2 and the fourth driving terminal OUT4 both output a high level, the first color light and the third color light of each group are turned on. In addition, in an actual situation, the first color lamp, the second color lamp and the third color lamp can be started independently or synchronously, and accordingly, the lights of various colors can be manufactured by controlling the brightness of the first color lamp, the second color lamp and the third color lamp.
The embodiment of the application also discloses a control method of the RGB three-color lamp. Referring to fig. 14, a RGB three-color lamp control method includes:
acquiring a first time sequence periodic signal, a second time sequence periodic signal and a third time sequence periodic signal which are started circularly, and sequentially controlling a first color lamp, a second color lamp and a third color lamp to be started according to the acquired first time sequence periodic signal, the acquired second time sequence periodic signal and the acquired third time sequence periodic signal;
wherein, the first color light starts to include:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level according to the first time sequence periodic signal, wherein at the moment, the first color lamp is on, and the second color lamp and the third color lamp are not on;
the second color light activation comprises:
acquiring a second time sequence periodic signal, and enabling the first driving end OUT1 to output a high level and the second driving end OUT2 to output a low level according to the second time sequence periodic signal, wherein at the moment, the second color lamp is on, and the first color lamp and the third color lamp are not on;
the third color light activation comprises:
and acquiring a third time sequence periodic signal, and enabling the second driving terminal OUT2 to output a high level according to the third time sequence periodic signal, wherein at the moment, the third color lamp is on, and the first color lamp and the second color lamp are not on.
In this embodiment, the frequencies of the first timing periodic signal, the second timing periodic signal and the third timing periodic signal are the same.
Referring to fig. 15, a RGB three-color lamp control method further includes:
acquiring a first time sequence periodic signal and a second time sequence periodic signal which are started circularly, controlling a first color lamp and a third color lamp to be started simultaneously according to the acquired first time sequence periodic signal, and controlling a second color lamp to be started according to the acquired second time sequence periodic signal;
the first color light and the third color light are started simultaneously, including:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level and the second driving end OUT2 to output a high level according to the first time sequence periodic signal, wherein at the moment, the first color lamp and the third color lamp are on, and the second color lamp is not on;
the second color light activation comprises:
and acquiring a second time sequence periodic signal, and enabling the first driving end OUT1 to output a high level and the second driving end OUT2 to output a low level according to the second time sequence periodic signal, wherein at the moment, the second color lamp is on, and the first color lamp and the third color lamp are not on.
The first and second timing periodic signals have the same frequency.
The implementation principle of the RGB three-color lamp control method in the embodiment of the application is as follows: when the first color lamp, the second color lamp or the third color lamp need to be controlled to start independently and have no interference with each other, three timing periods are used for controlling, specifically, the first color lamp is started in the first timing period signal, the second color lamp is started in the second timing period signal, and the third color lamp is started in the third timing period signal. By this way, the first color lamp, the second color lamp or the third color lamp can be driven conveniently without interference.
When the first color lamp and the third color lamp need to be controlled synchronously and the second color lamp needs to be controlled independently, two timing periods are used for controlling, specifically, the first color lamp and the third color lamp are started in a first timing period signal, and the second color lamp is started in a second timing period signal.
The embodiment of the application also discloses a computer readable storage medium, which stores a computer program capable of being loaded by a processor and executing any one method.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (8)

1. The RGB three-color lamp control circuit is characterized by comprising a power supply module (1), a control module and at least one group of RGB three-color lamp conducting modules (3), wherein the power supply module (1) is used for supplying power to the control module and the RGB three-color lamp conducting modules (3), each RGB three-color lamp conducting module (3) comprises a first color lamp, a second color lamp and a third color lamp which are sequentially connected in series, each first color lamp, each second color lamp and each third color lamp form an RGB three-color lamp, one end, far away from the second color lamp, of each first color lamp is connected to the power supply module (1), one end, far away from the second color lamp, of each third color lamp is grounded, a first driving end OUT1 of the control module is connected to a connecting node of the first color lamp and the second color lamp, a second driving end OUT2 of the control module is connected to a connecting node of the second color lamp and the third color lamp, the on/off states of the first color light, the second color light and the third color light are controlled by the levels of the first driving end OUT1 and the second driving end OUT2 of the control module.
2. The RGB tristimulus control circuit of claim 1, wherein: the control module comprises a six-pin main control chip (21), wherein a first driving end OUT1 of the six-pin main control chip (21) is connected to a connection node of a first color lamp, the level output from the first driving end OUT1 is used for controlling the on and off of the first color lamp, a second driving end OUT2 of the six-pin main control chip (21) is connected to a connection node of a second color lamp and a third color lamp, and the level output from the second driving end OUT2 is used for controlling the on and off of the second color lamp and the third color lamp.
3. The RGB three-color lamp control circuit according to claim 1, wherein the control module includes an eight-pin main control chip (22), the first driving end OUT1 of the eight-pin main control chip (22) is connected to the connection node of the first color lamp and the second color lamp of the first group RGB three-color lamp conducting module (3), the second driving terminal OUT2 of the eight-pin main control chip (22) is connected to the connection node of the second color lamp and the third color lamp of the first group of RGB three-color lamp conducting module (3), the third driving terminal OUT3 of the eight-pin main control chip (22) is connected to the connection node of the first color lamp and the second color lamp of the second group RGB three-color lamp conducting module (3), and a fourth driving end OUT4 of the eight-pin main control chip (22) is connected to the connection nodes of the second color lamp and the third color lamp of the second group RGB three-color lamp conducting module (3).
4. An RGB three-color lamp control method applied to the RGB three-color lamp control circuit according to claims 1 to 3, comprising:
acquiring a first time sequence periodic signal, a second time sequence periodic signal and a third time sequence periodic signal which are started circularly, and sequentially controlling a first color lamp, a second color lamp and a third color lamp to be started according to the acquired first time sequence periodic signal, the acquired second time sequence periodic signal and the acquired third time sequence periodic signal;
the first color light activation comprises:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level according to the first time sequence periodic signal, wherein at the moment, the first color lamp is on, and the second color lamp and the third color lamp are not on;
the second color light activation comprises:
acquiring a second time sequence periodic signal, and enabling the first driving end OUT1 to output a high level and the second driving end OUT2 to output a low level according to the second time sequence periodic signal, wherein at the moment, the second color lamp is on, and the first color lamp and the third color lamp are not on;
the third color light activation comprises:
and acquiring a third time sequence periodic signal, and enabling the second driving terminal OUT2 to output a high level according to the third time sequence periodic signal, wherein at the moment, the third color lamp is on, and the first color lamp and the second color lamp are not on.
5. The RGB three-color lamp control method as claimed in claim 4, wherein the frequencies of the first, second and third timing periodic signals are the same.
6. An RGB three-color lamp control method applied to the RGB three-color lamp control circuit according to claims 1 to 3, comprising:
acquiring a first time sequence periodic signal and a second time sequence periodic signal which are started circularly, controlling a first color lamp and a third color lamp to be started simultaneously according to the acquired first time sequence periodic signal, and controlling a second color lamp to be started according to the acquired second time sequence periodic signal;
the first color light and the third color light are started simultaneously, including:
acquiring a first time sequence periodic signal, and enabling the first driving end OUT1 to output a low level and the second driving end OUT2 to output a high level according to the first time sequence periodic signal, wherein at the moment, the first color lamp and the third color lamp are on, and the second color lamp is not on;
the second color light activation comprises:
and acquiring a second time sequence periodic signal, and enabling the first driving end OUT1 to output a high level and the second driving end OUT2 to output a low level according to the second time sequence periodic signal, wherein at the moment, the second color lamp is on, and the first color lamp and the third color lamp are not on.
7. The RGB three-color lamp control method as claimed in claim 6, wherein the frequencies of the first and second timing periodic signals are the same.
8. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method of any one of claims 4 to 7.
CN202110176838.6A 2021-02-07 2021-02-07 RGB (Red, Green and blue) three-color lamp control circuit and control method thereof Pending CN112969264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110176838.6A CN112969264A (en) 2021-02-07 2021-02-07 RGB (Red, Green and blue) three-color lamp control circuit and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110176838.6A CN112969264A (en) 2021-02-07 2021-02-07 RGB (Red, Green and blue) three-color lamp control circuit and control method thereof

Publications (1)

Publication Number Publication Date
CN112969264A true CN112969264A (en) 2021-06-15

Family

ID=76284436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110176838.6A Pending CN112969264A (en) 2021-02-07 2021-02-07 RGB (Red, Green and blue) three-color lamp control circuit and control method thereof

Country Status (1)

Country Link
CN (1) CN112969264A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050225264A1 (en) * 2004-03-30 2005-10-13 Kemp William H LED lamp with color and brightness controller for use in wet, electrically hazardous bathing environments
CN203301820U (en) * 2013-06-07 2013-11-20 陕西亚成微电子股份有限公司 Linear high-voltage LED (Light Emitting Diode) drive circuit
CN204943066U (en) * 2015-08-24 2016-01-06 深圳正茂半导体有限公司 The color LED light lamp of a kind of tandem seven
CN105578663A (en) * 2016-03-01 2016-05-11 深圳市富满电子集团股份有限公司 LED display driving circuit
CN205610970U (en) * 2016-03-01 2016-09-28 深圳市富满电子集团股份有限公司 LED display drive circuit
CN106686832A (en) * 2017-02-24 2017-05-17 杰华特微电子(杭州)有限公司 Diode control circuit and switching power circuit
CN208210370U (en) * 2018-04-21 2018-12-07 深圳市全智芯科技有限公司 A kind of two I/O ports control the circuit of two-way bicolored light
CN110933806A (en) * 2019-12-20 2020-03-27 苏州市普望智工软件有限公司 One-wire three-color lamp and control method
CN210986506U (en) * 2019-08-26 2020-07-10 漳州立达信光电子科技有限公司 Color mixing L ED lighting system and driving circuit thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050225264A1 (en) * 2004-03-30 2005-10-13 Kemp William H LED lamp with color and brightness controller for use in wet, electrically hazardous bathing environments
CN203301820U (en) * 2013-06-07 2013-11-20 陕西亚成微电子股份有限公司 Linear high-voltage LED (Light Emitting Diode) drive circuit
CN204943066U (en) * 2015-08-24 2016-01-06 深圳正茂半导体有限公司 The color LED light lamp of a kind of tandem seven
CN105578663A (en) * 2016-03-01 2016-05-11 深圳市富满电子集团股份有限公司 LED display driving circuit
CN205610970U (en) * 2016-03-01 2016-09-28 深圳市富满电子集团股份有限公司 LED display drive circuit
CN106686832A (en) * 2017-02-24 2017-05-17 杰华特微电子(杭州)有限公司 Diode control circuit and switching power circuit
CN208210370U (en) * 2018-04-21 2018-12-07 深圳市全智芯科技有限公司 A kind of two I/O ports control the circuit of two-way bicolored light
CN210986506U (en) * 2019-08-26 2020-07-10 漳州立达信光电子科技有限公司 Color mixing L ED lighting system and driving circuit thereof
CN110933806A (en) * 2019-12-20 2020-03-27 苏州市普望智工软件有限公司 One-wire three-color lamp and control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XH14061507021: "急。。求助各位大神,2个IO口控制三个灯亮灭电路图", 《HTTPS://BBS.21IC.COM/ICVIEW-2543308-1-9.HTML》 *
嵌入式@HXYDJ: "单片机两个IO口控制三个LED灯", 《HTTPS://BLOG.CSDN.NET/QQ_20222919/ARTICLE/DETAILS/106384375》 *

Similar Documents

Publication Publication Date Title
CN102421230B (en) A kind of LED color adjustment driver
CN203896552U (en) Light-adjustable alternating current light-emitting diode device
CN101246669A (en) Scanning type LED display unit and method
CN112289253B (en) Drive circuit of LED unit, LED unit and display screen
CN201111585Y (en) LED decorating lamp strings
CN201307949Y (en) Single-wire serial transmission drive chip and application circuit
CN110868773A (en) Three-primary-color display unit, three-primary-color lamp bead and three-primary-color mixing method
CN112969264A (en) RGB (Red, Green and blue) three-color lamp control circuit and control method thereof
GB2499684A (en) PFM-based LED illuminator and light network
CN216752161U (en) Full-color LED driving device
CN202025755U (en) LED chip and display device both packaged by drive circuit in hybrid manner
CN202261959U (en) Color temperature adjusting driver of light-emitting diode (LED) lamp
CN112672473A (en) Multi-code mixed power line edge signal triggered colored lamp device
CN202749041U (en) LED (light-emitting diode) dot matrix flexible light strip
CN102737583B (en) LED (Light Emitting Diode) driving constant current channel output driver, cascading system and driving method of LED driving constant current channel output driver and cascading system
CN210958878U (en) LED light source alternating type light-emitting system controlled through PWM signal
CN207049808U (en) A kind of remote controlled lampion
CN201550335U (en) LED drive circuit and white balance system
CN101404843B (en) LED driving method
CN102297358A (en) Light-emitting diode chip in hybrid packaging with drive circuit and display device
CN101211055A (en) Backlight module group and its luminous diode driver circuit
CN212677414U (en) Ad-hoc network signal lamp
CN217936014U (en) Circuit structure of single-lamp LED used in RGB or WRGB lamp string
CN202261958U (en) LED lamp color adjustment driver
CN204204380U (en) A kind of multicolored LED antenna array control display system

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
CB02 Change of applicant information

Address after: 518000 East, floor 4, building 4, Shenzhen Software Park, No. 2, Gaoxin Zhonger Road, Maling community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: SHENZHEN MEIXI MICRO SEMICONDUCTOR CO.,LTD.

Address before: 14F, xinhaofang building, 10188 Shennan Avenue, Nantou street, Nanshan District, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN MEIXI MICRO SEMICONDUCTOR CO.,LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210615

RJ01 Rejection of invention patent application after publication