RGB atmosphere light control circuit, control method and RGB atmosphere light set

By designing the RGB ambient light control circuit, using the controller and two-stage driving circuit, the efficient driving of the RGB ambient light in different environments is solved, and the problems of insufficient brightness and poor adaptability are solved, ensuring that the lighting effect is clearly visible and energy efficiency is improved.

CN119342643BActive Publication Date: 2025-03-21TINYCHIP MICROELECTRONICS (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411907995.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-21
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

The existing RGB ambient lights are insufficient brightness in strong light environments and have poor adaptability, making it difficult to provide the required brightness effect in different environments.

Method used

An RGB ambient lamp control circuit is designed, including a controller, a first driving circuit and a second driving circuit. By flexibly switching or co-operating the use of these two driving circuits, efficient driving in different brightness scenarios is achieved according to the target current requirements of each color channel of the RGB lamp bead.

Benefits of technology

Provide the required brightness effect in different environments to ensure that the lighting effect of RGB lamp beads is always clear and visible, solving the problems of insufficient brightness and poor adaptability, and at the same time, the energy utilization efficiency is improved through precise current management, achieving a balance between performance and energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342643B_ABST
    Figure CN119342643B_ABST
Patent Text Reader

Abstract

The present application provides an RGB atmosphere light control circuit, a control method and an RGB atmosphere light group, which belong to the field of lighting control technology. The RGB atmosphere light control circuit includes a controller, a first drive circuit and a second drive circuit. The input ends of the first drive circuit and the second drive circuit are electrically connected to the output end of the controller respectively, and the output ends of the first drive circuit and the second drive circuit are electrically connected to the first ends of multiple color channels of the RGB lamp beads respectively. The maximum output current of the first drive circuit is a first preset current, and the maximum output current of the second drive circuit is a second preset current. The control circuit can flexibly switch or use the first drive circuit and the second drive circuit in coordination according to the target current demand of each color channel of the RGB lamp beads, so as to achieve efficient driving of the RGB lamp beads in different brightness scenes, and effectively solve the problems of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lighting control technology, and in particular to an RGB atmosphere light control circuit, a control method and an RGB atmosphere light group. Background Art

[0002] RGB ambient lights can present ever-changing color effects by flexibly adjusting the intensity of the three primary colors of red, green and blue, thereby creating a specific atmosphere. It can not only bring unique visual enjoyment to users, but also soothe emotions and enhance the quality of space to a certain extent. In recent years, RGB ambient lights have been widely used in many fields such as automotive interiors and home environments, becoming an important element to enhance scene design.

[0003] However, in the prior art, the brightness of the lamp beads of the RGB atmosphere lamp is usually controlled within 10 lumens. At night or in a dimly lit environment, this brightness level can achieve a gorgeous light and shadow effect, meeting basic decorative needs and creating an atmosphere. However, during the day or in a brightly lit environment, the strong ambient light will drown out the weak light emitted by the lamp beads of the RGB atmosphere lamp, making the beautifully designed lighting effect difficult to detect.

[0004] Therefore, in strong light environments, the insufficient brightness and poor adaptability of RGB atmosphere lights have become problems that need to be solved urgently. Summary of the invention

[0005] The present application provides an RGB atmosphere light control circuit, a control method and an RGB atmosphere light group to solve the problems of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art.

[0006] In a first aspect, the present application provides an RGB atmosphere lamp control circuit, wherein each RGB lamp bead of the RGB atmosphere lamp includes a plurality of color channels, and the control circuit includes a controller, a first drive circuit, and a second drive circuit;

[0007] The input end of the first driving circuit is electrically connected to the output end of the controller, and the output end of the first driving circuit is electrically connected to the first ends of the multiple color channels of the RGB lamp beads respectively; the first driving circuit is used to provide a first current for the color channel, the first current is less than or equal to a first preset current, and the first preset current is the maximum output current of the first driving circuit; the second ends of the multiple color channels are all connected to the power supply voltage;

[0008] The input end of the second driving circuit is electrically connected to the output end of the controller, and the output end of the second driving circuit is electrically connected to the first ends of the plurality of color channels respectively; the second driving circuit is used to provide a second current for the color channel, the second current is less than or equal to a second preset current, the second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit;

[0009] Among them, for any color channel among the multiple color channels, when the target current required by the color channel is less than or equal to the first preset current, the controller controls the first drive circuit to provide the target current for the color channel; when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, the controller controls the second drive circuit to provide the target current for the color channel, or the controller controls the first drive circuit and the second drive circuit to jointly provide the target current for the color channel; when the target current is greater than the second preset current, the controller controls the first drive circuit and the second drive circuit to jointly provide the target current for the color channel.

[0010] In one possible design, the first driving circuit includes a first PWM driver, a plurality of first constant current sources and a plurality of first switches;

[0011] The plurality of first constant current sources, the plurality of first switches and the plurality of color channels correspond one to one;

[0012] The input end of the first PWM driver is electrically connected to the output end of the controller, the output end of the first PWM driver is electrically connected to the input ends of the multiple first constant current sources respectively, the output end of each of the first constant current sources is electrically connected to the first end of the first switch corresponding to it, the second end of the first switch is electrically connected to the first end of the color channel corresponding to it, and the control end of the first switch is electrically connected to the output end of the controller.

[0013] In one possible design, the second driving circuit includes a second PWM driver, a plurality of second constant current sources and a plurality of second switches;

[0014] The second PWM driver has the same phase and frequency as the first PWM driver;

[0015] The plurality of second constant current sources, the plurality of second switches and the plurality of color channels correspond one to one;

[0016] The input end of the second PWM driver is electrically connected to the output end of the controller, the output end of the second PWM driver is electrically connected to the input ends of the multiple second constant current sources respectively, the output end of each second constant current source is electrically connected to the first end of the second switch corresponding to it, the second end of the second switch is electrically connected to the first end of the color channel corresponding to it, and the control end of the second switch is electrically connected to the output end of the controller.

[0017] In a possible design, the control circuit further includes a plurality of selection circuits, and the plurality of selection circuits correspond one-to-one to the plurality of color channels;

[0018] The input end of the selection circuit is electrically connected to the output end of the controller, the first output end of the selection circuit is electrically connected to the control end of the first switch corresponding to it, and the second output end of the selection circuit is electrically connected to the control end of the second switch corresponding to it;

[0019] Wherein, for any color channel, the controller controls the first driving circuit and / or the second driving circuit to provide the target current for the color channel through the selection circuit corresponding to the color channel.

[0020] In a possible design, the first constant current source is a multi-speed constant current source, and the first preset current is the maximum output current of the first constant current source;

[0021] The second constant current source is a single constant current source or a multi-level constant current source, and the second preset current is the maximum output current of the second constant current source.

[0022] In one possible design, the control circuit further includes a temperature sensor;

[0023] The output end of the temperature sensor is electrically connected to the input end of the controller. The temperature sensor is used to detect an actual temperature value inside the first driving circuit and send the actual temperature value to the controller.

[0024] In a second aspect, the present application provides an RGB atmosphere lamp control method, the control method comprising:

[0025] Get the target color and target brightness of the RGB lamp beads;

[0026] According to the target color and the target brightness of the RGB lamp bead, determine the color data and brightness data corresponding to the multiple color channels of the RGB lamp bead respectively;

[0027] For each of the color channels, determining a target current required by the color channel according to the color data and brightness data of the color channel;

[0028] When the target current is less than or equal to a first preset current, controlling the first driving circuit corresponding to the color channel to provide the target current for the color channel; wherein the first preset current is the maximum output current of the first driving circuit;

[0029] When the target current is greater than the first preset current and the target current is less than or equal to a second preset current, the second driving circuit corresponding to the color channel is controlled to provide the target current for the color channel, or the first driving circuit and the second driving circuit are controlled to jointly provide the target current for the color channel; wherein the second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit;

[0030] When the target current is greater than the second preset current, the first driving circuit and the second driving circuit are controlled to jointly provide the target current for the color channel.

[0031] In a possible design, when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, controlling the second driving circuit corresponding to the color channel to provide the target current for the color channel, or controlling the first driving circuit and the second driving circuit to jointly provide the target current for the color channel includes:

[0032] Acquiring an actual temperature value inside the first driving circuit;

[0033] When the actual temperature value is greater than or equal to the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, controlling the second driving circuit to provide the target current for the color channel;

[0034] When the actual temperature value is less than the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the first drive circuit and the second drive circuit are controlled to jointly provide the target current for the color channel.

[0035] In a possible design, the controlling the first driving circuit and the second driving circuit to jointly provide the target current for the color channel includes:

[0036] Determine that the sum of the first preset current and the second preset current is a third preset current;

[0037] Determining a duty cycle of the first drive circuit and the second drive circuit according to a ratio of the target current to the third preset current;

[0038] Based on the duty cycle, the first driving circuit and the second driving circuit are controlled to drive the color channel.

[0039] In a third aspect, the present application provides a chip comprising the RGB atmosphere light control circuit described in the first aspect above.

[0040] In a fourth aspect, the present application provides an RGB atmosphere light group, comprising a plurality of RGB lamp beads and a plurality of RGB atmosphere light control circuits as described in the first aspect above, wherein the plurality of RGB lamp beads and the plurality of RGB atmosphere light control circuits correspond one to one.

[0041] In a fifth aspect, the present application provides a vehicle, comprising the RGB ambient light group described in the fourth aspect above.

[0042] The embodiment of the present application provides an RGB atmosphere lamp control circuit, a control method and an RGB atmosphere lamp group. The RGB atmosphere lamp control circuit includes a controller, a first drive circuit and a second drive circuit. The input ends of the first drive circuit and the second drive circuit are respectively electrically connected to the output end of the controller, and the output ends of the first drive circuit and the second drive circuit are respectively electrically connected to the first ends of multiple color channels of the RGB lamp beads. The maximum output current of the first drive circuit is the first preset current, and the maximum output current of the second drive circuit is the second preset current. The control circuit can flexibly switch or use the first drive circuit and the second drive circuit in coordination according to the target current requirements of each color channel of the RGB lamp beads to achieve efficient driving in different brightness scenes. When the target current required by the color channel is small, the first drive circuit provides a stable low current output for the color channel to meet the decoration requirements at night or in a dark light environment and reduce power consumption; when the target current required by the color channel is large, the second drive circuit works alone, or the first drive circuit and the second drive circuit work in coordination to provide a higher current output for the color channel, thereby ensuring that the brightness of the RGB lamp beads is sufficient to cope with the interference of external light in the daytime or in a strong light environment, so that the lighting effect of the RGB lamp beads is always clearly visible. This application solves the problems of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art through the design of hierarchical drive and dynamic control. It can not only provide the required brightness effect in different environments, but also improve the energy utilization efficiency of the control circuit through precise current management, achieve a balance between performance and energy consumption, and meet the application needs of multiple scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A circuit principle block diagram of an RGB atmosphere light control circuit provided in an embodiment of the present application;

[0044] Figure 2A circuit principle block diagram of another RGB atmosphere light control circuit provided in an embodiment of the present application;

[0045] Figure 3 A circuit principle block diagram of a controller, a selection circuit, a first switch and a second switch provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a flow chart of an RGB atmosphere light control method provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of the structure of an RGB atmosphere light control device provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover non-exclusive inclusions.

[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0052] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists, A and B can exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0053] In addition, the terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.

[0054] In the description of the present application, unless otherwise specified, "plurality" and "at least two" mean more than two (including two). Similarly, "plurality groups" and "at least two groups" mean more than two groups (including two).

[0055] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense. For example, "connected" or "connection" can refer to not only physical connection, but also electrical connection or signal connection. For example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, or it can be the internal connection of two elements; signal connection can refer to signal connection through a circuit or through a media medium, such as radio waves. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0056] In order to make those skilled in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings. It should be noted that different technical features in the present application can be combined with each other without conflict.

[0057] First, the terms involved in one or more embodiments of this specification are explained.

[0058] The RGB atmosphere light group includes at least one RGB lamp bead. The RGB lamp bead includes three color channels: red light channel, green light channel and blue light channel. The three color channels of the RGB lamp bead are used to emit red, green and blue primary colors respectively. By combining the three primary colors of red, green and blue with different brightness, a variety of color effects can be achieved. The RGB atmosphere light group can be applied to multiple scenes such as car interiors, home environments, commercial buildings, etc. For example, the RGB atmosphere light group can be used to decorate car dashboards, doors, seats and other areas to create a comfortable or technological environment for drivers and passengers. For another example, the RGB atmosphere light group can be used in living rooms, bedrooms, kitchens, bathrooms and other spaces to enhance the sense of space design and provide decorative lighting.

[0059] The following is an introduction to the implementation background of the technical solution provided in the embodiments of the present application.

[0060] The light emission control of RGB lamp beads is the key to achieving a variety of lighting effects. By adjusting the brightness of the three color channels of the RGB lamp beads, the desired color can be mixed. The brightness control of RGB lamp beads is usually based on pulse width modulation (PWM) technology, which controls the brightness by adjusting the current value of each color channel, thereby affecting the final luminous color.

[0061] In the related art, the brightness of RGB lamp beads is usually controlled within 10 lumens, which is enough to meet the lighting needs at night or in a dimly lit environment and present a gorgeous effect. However, in the daytime or in a brightly lit environment, the brightness of 10 lumens is insufficient and cannot effectively display various cool effects. Therefore, the existing RGB lamp beads have insufficient brightness, which limits their application in the daytime or in a brightly lit environment and have poor adaptability.

[0062] Based on the problems existing in the related art, the present application provides an RGB atmosphere lamp control circuit, which includes a controller, a first drive circuit and a second drive circuit. The input ends of the first drive circuit and the second drive circuit are respectively electrically connected to the output end of the controller, and the output ends of the first drive circuit and the second drive circuit are respectively electrically connected to the first ends of multiple color channels of the RGB lamp beads. The maximum output current of the first drive circuit is the first preset current, and the maximum output current of the second drive circuit is the second preset current. The control circuit can flexibly switch or use the first drive circuit and the second drive circuit in coordination according to the target current requirements of each color channel of the RGB lamp beads to achieve efficient driving in different brightness scenes. When the target current required by the color channel is small, the first drive circuit provides a stable low current output for the color channel to meet the decoration requirements at night or in a dark environment and reduce power consumption; when the target current required by the color channel is large, the second drive circuit works alone, or the first drive circuit and the second drive circuit work in coordination to provide a higher current output for the color channel, thereby ensuring that the brightness of the RGB lamp beads is sufficient to cope with the interference of external light in the daytime or in a strong light environment, so that the lighting effect of the RGB lamp beads is always clearly visible. This application solves the problems of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art through the design of hierarchical drive and dynamic control. It can not only provide the required brightness effect in different environments, but also improve the energy utilization efficiency of the control circuit through precise current management, achieve a balance between performance and energy consumption, and meet the application needs of multiple scenarios.

[0063] Next, some specific embodiments and drawings are used to describe in detail how the present application solves the problem of insufficient brightness and poor adaptability of the above-mentioned RGB atmosphere light.

[0064] Figure 1This is a circuit principle block diagram of an RGB atmosphere light control circuit provided in an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides an RGB atmosphere light control circuit, which includes a controller 10, a first drive circuit 20 and a second drive circuit 30.

[0065] Among them, the RGB atmosphere light group includes multiple RGB lamp beads, and each RGB lamp bead in the multiple RGB lamp beads corresponds to an RGB atmosphere light control circuit.

[0066] It should be noted that the RGB atmosphere light control circuit is used to provide current to the corresponding RGB lamp beads to drive the RGB lamp beads corresponding to the RGB atmosphere light control circuit to emit light.

[0067] In a possible implementation, the RGB lamp beads include three color channels, which are a red light channel, a green light channel, and a blue light channel.

[0068] The connection method of the three color channels of the RGB lamp beads is the existing connection method, and will not be repeated in this embodiment.

[0069] In another possible implementation, the RGB lamp beads may also include four color channels, or a greater number of color channels.

[0070] The connection method of the four color channels of the RGB lamp beads is the existing connection method, and will not be repeated in this embodiment.

[0071] In this embodiment, taking an RGB lamp bead including three color channels as an example, the specific structure of the RGB atmosphere light control circuit corresponding to the RGB lamp bead is explained.

[0072] Among them, the controller is used to obtain the target color and target brightness of the RGB lamp beads, and determine the target current required for each color channel of the RGB lamp beads based on the target color and target brightness of the RGB lamp beads, and control the first drive circuit 20 and / or the second drive circuit 30 to provide each color channel with the target current required for each color channel.

[0073] It should be noted that the controller may be a microcontroller (MCU), a field-programmable gate array (FPGA), or a microprocessor (ARM), etc., which is not specifically limited in this embodiment. For example, the controller is a microcontroller.

[0074] The input end of the first driving circuit 20 is electrically connected to the output end of the controller 10 , and the output end of the first driving circuit 20 is electrically connected to the first ends of the multiple color channels of the RGB lamp beads 40 .

[0075] The second ends of the plurality of color channels are all connected to the power supply voltage to ensure that the color channels can operate normally.

[0076] It should be noted that the color channel is a light emitting diode, the cathode of the light emitting diode is the first end of the color channel, and the anode of the light emitting diode is the second end of the color channel.

[0077] The first driving circuit 20 is used to provide a first current for the color channel, and the first current is less than or equal to a first preset current.

[0078] It should be noted that the first preset current is the maximum output current of the first driving circuit 20 .

[0079] An input end of the second driving circuit 30 is electrically connected to an output end of the controller 10 , and an output end of the second driving circuit 30 is electrically connected to first ends of a plurality of color channels, respectively.

[0080] The second driving circuit 30 is used to provide a second current for the color channel, the second current is less than or equal to a second preset current, and the second preset current is greater than the first preset current.

[0081] It should be noted that the second preset current is the maximum output current of the second driving circuit 30 .

[0082] Among them, for any color channel among multiple color channels, when the target current required by the color channel is less than or equal to the first preset current, the controller 10 controls the first drive circuit 20 to provide the target current for the color channel; when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, the controller 10 controls the second drive circuit 30 to provide the target current for the color channel, or the controller 10 controls the first drive circuit 20 and the second drive circuit 30 to jointly provide the target current for the color channel; when the target current is greater than the second preset current, the controller 10 controls the first drive circuit 20 and the second drive circuit 30 to jointly provide the target current for the color channel.

[0083] It should be noted that, for each of the three color channels of the RGB lamp bead, the target current required by the color channel can be provided by the first driving circuit 20 and / or the second driving circuit 30. In a low brightness demand environment (such as at night or in a dim light environment), the first driving circuit 20 can provide a target current less than the first preset current for the color channel to meet the low current demand; while in a high brightness demand environment (such as during the day or in a strong light environment), the first driving circuit 20 and the second driving circuit 30 can work together, or the second driving circuit 30 can work alone to provide a target current greater than the first preset current for the color channel, thereby meeting the high brightness demand, so that the lighting effect of the RGB lamp bead is still clearly visible during the day or in a strong light environment.

[0084] The RGB atmosphere lamp control circuit provided in the embodiment of the present application includes a controller, a first drive circuit and a second drive circuit. The input ends of the first drive circuit and the second drive circuit are electrically connected to the output ends of the controller respectively, and the output ends of the first drive circuit and the second drive circuit are electrically connected to the first ends of multiple color channels of the RGB lamp beads respectively. The maximum output current of the first drive circuit is the first preset current, and the maximum output current of the second drive circuit is the second preset current. The control circuit can flexibly switch or use the first drive circuit and the second drive circuit in coordination according to the target current requirements of each color channel of the RGB lamp beads to achieve efficient driving in different brightness scenes. When the target current required by the color channel is small, the first drive circuit provides a stable low current output for the color channel to meet the decoration requirements at night or in a dark environment and reduce power consumption; when the target current required by the color channel is large, the second drive circuit works alone, or the first drive circuit and the second drive circuit work in coordination to provide a higher current output for the color channel, thereby ensuring that the brightness of the RGB lamp beads is sufficient to cope with the interference of external light in the daytime or in a strong light environment, so that the lighting effect of the RGB lamp beads is always clearly visible. This application solves the problems of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art through the design of hierarchical drive and dynamic control. It can not only provide the required brightness effect in different environments, but also improve the energy utilization efficiency of the control circuit through precise current management, achieve a balance between performance and energy consumption, and meet the application needs of multiple scenarios.

[0085] Figure 2 This is a circuit principle block diagram of another RGB atmosphere light control circuit provided in an embodiment of the present application. Figure 2 As shown, in a possible embodiment, the first driving circuit 20 includes a first PWM driver 201 , a plurality of first constant current sources 202 and a plurality of first switches 203 .

[0086] The plurality of first constant current sources 202 , the plurality of first switches 203 , and the plurality of color channels correspond one to one.

[0087] The input end of the first PWM driver 201 is electrically connected to the output end of the controller 10, the output end of the first PWM driver 201 is electrically connected to the input ends of multiple first constant current sources 202 respectively, the output end of each first constant current source 202 is electrically connected to the first end of the first switch 203 corresponding to it, the second end of the first switch 203 is electrically connected to the first end of the corresponding color channel, and the control end of the first switch 203 is electrically connected to the output end of the controller 10.

[0088] The first PWM driver 201 is used to control the output current of the first constant current source 202 according to the PWM signal output by the controller 10 .

[0089] It should be noted that after the controller 10 determines the target current required for each color channel of the RGB lamp bead, for any color channel, if the target current required for the color channel is less than the first preset current, the controller 10 generates a target PWM signal according to the target current corresponding to the color channel, and sends the target PWM signal to the first PWM driver 201. After receiving the target PWM signal, the first PWM driver 201 adjusts the output according to the target PWM signal, thereby controlling the first constant current source 202 corresponding to the color channel to output the target current required for the color channel.

[0090] Each first constant current source 202 provides current for its corresponding color channel. The first constant current source 202 is a multi-level constant current source, and the first preset current is the maximum output current of the first constant current source 202 .

[0091] It should be noted that the first constant current source 202 has a plurality of preset current levels, each current level representing a different output current. The structure of the first constant current source 202 is the same as that of the existing multi-level constant current source, which will not be described in detail in this embodiment.

[0092] In this embodiment, the current level of the first constant current source 202 corresponding to each color channel may be selected according to the target current of each color channel, thereby achieving fine adjustment of the brightness of the color channel.

[0093] Each first switch 203 is used to control whether the corresponding first constant current source 202 provides current for the corresponding color channel.

[0094] It should be noted that the first switch 203 may be a field effect transistor (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET for short).

[0095] Specifically, the first switch 203 may be an NMOS transistor or a PMOS transistor, which is not specifically limited in this embodiment.

[0096] For example, the first switch 203 is an NMOS transistor. In the case where the first switch 203 is an NMOS transistor, the gate of the first switch 203 is electrically connected to the output end of the controller 10, the drain of the first switch 203 is connected to the output end of the first constant current source 202 corresponding to it, and the source of the first switch 203 is connected to the cathode of the corresponding color channel. In the case where the gate of the first switch 203 receives a high-level signal output by the controller 10, the first switch 203 is turned on; in the case where the gate of the first switch 203 receives a low-level signal output by the controller 10, the first switch 203 is turned off.

[0097] In this embodiment, for any color channel, when the controller 10 controls the first drive circuit 20 to provide the required target current for the color channel alone, or when the controller 10 controls the first drive circuit 20 and the second drive circuit 30 to jointly provide the required target current for the color channel, the controller 10 controls the first switch 203 corresponding to the color channel to be turned on, and the first PWM driver 201 in the first drive circuit 20 controls the first constant current source 202 corresponding to the color channel to provide all or part of the target current for the color channel. When the controller 10 controls the second drive circuit 30 to provide the required target current for the color channel alone, the first switch 203 corresponding to the color channel is turned off, and the first constant current source 202 corresponding to the color channel does not provide current to the color channel.

[0098] like Figure 2 As shown, in a possible embodiment, the second driving circuit 30 includes a second PWM driver 301 , a plurality of second constant current sources 302 , and a plurality of second switches 303 .

[0099] The second PWM driver 301 and the first PWM driver 201 have the same phase and frequency.

[0100] The plurality of second constant current sources 302 , the plurality of second switches 303 , and the plurality of color channels correspond one to one.

[0101] The input end of the second PWM driver 301 is electrically connected to the output end of the controller 10, the output end of the second PWM driver 301 is electrically connected to the input ends of multiple second constant current sources 302 respectively, the output end of each second constant current source 302 is electrically connected to the first end of the second switch 303 corresponding to it, the second end of the second switch 303 is electrically connected to the first end of the corresponding color channel, and the control end of the second switch 303 is electrically connected to the output end of the controller 10.

[0102] The second PWM driver 301 is used to control the output current of the second constant current source 302 according to the PWM signal output by the controller 10 .

[0103] The working principle of the second PWM driver 301 is similar to that of the first PWM driver 201 in the above embodiment, and will not be described in detail in this embodiment.

[0104] It should be noted that by keeping the phase and frequency of the second PWM driver 301 and the first PWM driver 201 the same, it can be ensured that when the first drive circuit 20 and the second drive circuit 30 jointly provide the target current for the color channel, the first drive circuit 20 and the second drive circuit 30 work synchronously, and the output currents of the first drive circuit 20 and the second drive circuit 30 are coordinated and consistent, avoiding electrical interference or mutual influence, and effectively improving the stability and reliability of the RGB atmosphere light control circuit.

[0105] Each second constant current source 302 provides current for its corresponding color channel, and the second preset current is the maximum output current of the second constant current source 302 .

[0106] It should be noted that the second constant current source 302 may be a single constant current source or a multi-level constant current source, which is not specifically limited in this embodiment.

[0107] A single constant current source has only one current gear, that is, when the duty cycle remains unchanged, the output current of the single constant current source remains constant, while a multi-gear constant current source can output different currents by selecting different current gears.

[0108] Each second switch 303 is used to control whether the corresponding second constant current source 302 provides current for the corresponding color channel.

[0109] It should be noted that the second switch 303 may be an NMOS transistor or a PMOS transistor, which is not specifically limited in this embodiment.

[0110] For example, the second switch 303 is an NMOS transistor. In the case where the second switch 303 is an NMOS transistor, the gate of the second switch 303 is electrically connected to the output end of the controller 10, the drain of the second switch 303 is connected to the output end of the second constant current source 302 corresponding to it, and the source of the second switch 303 is connected to the cathode of the corresponding color channel. In the case where the gate of the second switch 303 receives a high-level signal output by the controller 10, the second switch 303 is turned on; in the case where the gate of the second switch 303 receives a low-level signal output by the controller 10, the second switch 303 is turned off.

[0111] In this embodiment, for any color channel, when the controller 10 controls the second drive circuit 30 to provide the required target current for the color channel alone, or when the controller 10 controls the first drive circuit 20 and the second drive circuit 30 to jointly provide the required target current for the color channel, the controller 10 controls the second switch 303 corresponding to the color channel to be turned on, and the second PWM driver 301 in the second drive circuit 30 controls the second constant current source 302 corresponding to the color channel to provide all or part of the target current for the color channel. When the controller 10 controls the first drive circuit 20 to provide the required target current for the color channel alone, the second switch 303 corresponding to the color channel is turned off, and the second constant current source 302 corresponding to the color channel does not provide current to the color channel.

[0112] Figure 3 The circuit principle block diagram of a controller, a selection circuit, a first switch and a second switch provided in an embodiment of the present application. Figure 3 As shown, in a possible embodiment, the control circuit further includes a plurality of selection circuits 50, and the plurality of selection circuits 50 correspond one to one to the plurality of color channels.

[0113] The input end of the selection circuit 50 is electrically connected to the output end of the controller 10 , the first output end of the selection circuit 50 is electrically connected to the control end of the corresponding first switch 203 , and the second output end of the selection circuit 50 is electrically connected to the control end of the corresponding second switch 303 .

[0114] For any color channel, the controller 10 controls the first driving circuit and / or the second driving circuit to provide a target current for the color channel through the selection circuit 50 corresponding to the color channel.

[0115] It should be noted that the multiple selection circuits 50 correspond one-to-one to the multiple color channels, and the multiple first switches 203, the multiple second switches 303 and the multiple color channels also correspond one-to-one. Therefore, the multiple selection circuits 50, the multiple first switches 203, the multiple second switches 303 and the multiple color channels correspond one-to-one.

[0116] The controller 10 can determine the target current required for each color channel of the RGB lamp beads according to the target color and target brightness of the RGB lamp beads; and determine the switch state data corresponding to each color channel according to the magnitude relationship between the target current and the first preset current and the second preset current. The switch state data includes the state of the first switch 203 and the state of the second switch 303.

[0117] It should be noted that the method for the controller 10 to determine the switch state data corresponding to each color channel according to the magnitude relationship between the target current and the first preset current and the second preset current has been described in the above embodiment, and will not be repeated in this embodiment.

[0118] For any color channel of the RGB lamp bead, after the controller 10 determines the switch status data corresponding to the color channel, the RGB lamp bead writes the switch status data corresponding to the color channel into the register inside the controller 10, and the register is used to provide the switch status data corresponding to the color channel to the selection circuit 50 corresponding to the color channel.

[0119] The selection circuit 50 is a four-input and two-output channel selector. The four input terminals of the selection circuit 50 are respectively connected to the four output terminals of the register, one output terminal of the selection circuit 50 is connected to the control terminal of the first switch 203 corresponding to the selection circuit 50, and the other output terminal of the selection circuit 50 is connected to the control terminal of the second switch 303 corresponding to the selection circuit 50.

[0120] It should be noted that the four output ends of the register are used to indicate four different switch state data. The first output end of the register indicates that the first switch 203 and the second switch 303 are both turned off; the second output end of the register indicates that the first switch 203 is turned off and the second switch 303 is turned on; the third output end of the register indicates that the first switch 203 is turned on and the second switch 303 is turned off; the fourth output end of the register indicates that the first switch 203 and the second switch 303 are both turned on.

[0121] The first input terminal of the selection circuit 50 is electrically connected to the first output terminal of the register, the second input terminal of the selection circuit 50 is electrically connected to the second output terminal of the register, the third input terminal of the selection circuit 50 is electrically connected to the third output terminal of the register, and the fourth input terminal of the selection circuit 50 is electrically connected to the fourth output terminal of the register. When any input terminal of the selection circuit 50 receives a high-level signal output by the register, the selection circuit 50 controls the state of the first switch 203 and the second switch 303 corresponding to the selection circuit 50 based on the indication of the output terminal of the register corresponding to the input terminal.

[0122] For example, when the third input terminal of the selection circuit 50 receives a high level signal output by the third output terminal of the register, the selection circuit 50 controls the corresponding first switch 203 to be turned on, and controls the corresponding second switch 303 to be turned off.

[0123] For another example, when the fourth input terminal of the selection circuit 50 receives a high level signal output by the fourth output terminal of the register, the selection circuit 50 controls the corresponding first switch 203 and second switch 303 to be turned on.

[0124] In this embodiment, for any color channel of the RGB lamp bead, the state of the first switch 203 and the second switch 303 corresponding to the color channel is controlled by the selection circuit 50 corresponding to the color channel, thereby controlling the first drive circuit and / or the second drive circuit to provide the target current for the color channel. If the first switch 203 and the second switch 303 are directly controlled by the controller 10, current leakage may occur due to signal asynchrony. By introducing the selection circuit 50, the synchronous conduction of the first switch 203 and the second switch 303 can be more accurately controlled, thereby eliminating the leakage phenomenon and improving the stability and reliability of the RGB atmosphere lamp control circuit.

[0125] In a possible embodiment, the control circuit further includes a temperature sensor. The output end of the temperature sensor is electrically connected to the input end of the controller, and the temperature sensor is used to detect the actual temperature value inside the first drive circuit and send the actual temperature value to the controller.

[0126] It should be noted that the controller, the first drive circuit, the second PWM driver and multiple second switches in the second drive circuit, and multiple selection circuits in the RGB atmosphere light control circuit provided in this embodiment are all integrated on a drive chip, and the multiple second constant current sources in the second drive circuit are all located outside the drive chip.

[0127] On the driver chip, a plurality of first constant current sources included in the first driver circuit are centrally arranged, and a temperature sensor is arranged on the driver chip, and the temperature sensor is arranged close to the plurality of first constant current sources, so that the temperature sensor detects the actual temperature values ​​around the plurality of first constant current sources. That is, the actual temperature values ​​around the plurality of first constant current sources are the actual temperature values ​​inside the first driver circuit.

[0128] In this embodiment, a temperature sensor is set to detect the actual temperature value inside the first driving circuit in real time, and the detected actual temperature value is sent to the controller, so that when the actual temperature value is greater than or equal to the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the controller controls the second driving circuit to provide the target current for the color channel alone, thereby avoiding damage or malfunction of the RGB atmosphere lamp control circuit caused by excessive temperature of the driving chip, thereby effectively improving the reliability and safety of the RGB atmosphere lamp control circuit.

[0129] Figure 4 A flowchart of a RGB atmosphere light control method provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, this embodiment further provides an RGB atmosphere light control method. The RGB atmosphere light control method utilizes the above-mentioned RGB atmosphere light control circuit, and the RGB atmosphere light control method includes S401 to S406, which are described in detail below.

[0130] It should be noted that the executor of the RGB atmosphere light control method is the controller in the above-mentioned RGB atmosphere light control circuit.

[0131] S401, the controller obtains the target color and target brightness of the RGB lamp beads.

[0132] When the RGB atmosphere light control circuit provided in the embodiment of the present application is used to control the RGB atmosphere light of a vehicle, the RGB atmosphere light control circuit also includes a LIN transceiver, one end of the LIN transceiver is electrically connected to the controller through a LIN bus, and the other end of the LIN transceiver is electrically connected to the output end of the vehicle's electronic control unit (ECU).

[0133] ECU is the electronic control system of the vehicle, responsible for managing and controlling various electronic systems and functions in the vehicle. ECU can respond to the user's target control input of the RGB ambient light, determine the target color and target brightness of the RGB lamp beads included in the RGB ambient light, and send the target color and target brightness of the RGB lamp beads to the controller via the LIN bus. Correspondingly, the controller receives the target color and target brightness of the RGB lamp beads sent by ECU.

[0134] It should be noted that the method in which the ECU determines the target color of the RGB lamp beads included in the RGB atmosphere light in response to the user's target control input to the RGB atmosphere light is an existing method and will not be described in detail in this embodiment.

[0135] S402. The controller determines the color data and brightness data corresponding to the multiple color channels of the RGB lamp beads according to the target color and target brightness of the RGB lamp beads.

[0136] It should be noted that when the target color of the RGB lamp bead is known, the controller can calculate the color data corresponding to the three color channels of the RGB lamp bead according to the existing algorithm; when the target brightness of the RGB lamp bead is known, the controller can also calculate the brightness data corresponding to the three color channels of the RGB lamp bead according to the existing algorithm.

[0137] S403 . For each color channel, the controller determines a target current required by the color channel according to the color data and brightness data of the color channel.

[0138] It should be noted that the method in which the controller determines the target current required for the color channel according to the color data and brightness data of the color channel is an existing method, which will not be described in detail in this embodiment.

[0139] For example, a mapping table is stored inside the controller, which is used to indicate the correspondence between different color data, different brightness data and different target currents. After the controller determines the color data and brightness data of the color channel, the controller can search in the mapping table to determine the target current corresponding to the color data and brightness data of the color channel.

[0140] After the controller determines the target current required for the color channel, the controller determines the magnitude relationship between the target current, the first preset current and the second preset current. When the target current is less than or equal to the first preset current, the controller executes the method steps shown in S404; when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, the controller executes the method steps shown in S405; when the target current is greater than the second preset current, the controller executes the method steps shown in S406.

[0141] S404: When the target current is less than or equal to the first preset current, the controller controls the first driving circuit corresponding to the color channel to provide the target current for the color channel.

[0142] The first preset current is the maximum output current of the first driving circuit.

[0143] It should be noted that when the target current is less than or equal to the first preset current, it means that the target current required by the color channel can be provided only by the first driving circuit. Therefore, the controller provides the target current for the color channel only through the first driving circuit corresponding to the color channel.

[0144] Specifically, the controller controls the first switch corresponding to the color channel to turn on and controls the second switch corresponding to the color channel to turn off through the selection circuit. At this time, the first PWM driver in the first drive circuit controls the first constant current source corresponding to the color channel to output the target current based on the PWM signal output by the controller.

[0145] It should be noted that when the first constant current source corresponding to the color channel provides the target current for the color channel, the gear of the first constant current source can be selected according to the target current of the color channel; the maximum output current corresponding to the gear of the selected first constant current source is greater than the target current of the color channel.

[0146] S405. When the target current is greater than the first preset current and less than or equal to the second preset current, the controller controls the second driving circuit corresponding to the color channel to provide the target current for the color channel, or the controller controls the first driving circuit and the second driving circuit to jointly provide the target current for the color channel.

[0147] The second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit.

[0148] It should be noted that, when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, it means that the target current required for the color channel cannot be provided by the first drive circuit alone, but the target current required for the color channel can be provided by the second drive circuit alone; therefore, the controller provides the target current for the color channel only through the second drive circuit corresponding to the color channel, or the controller provides the target current for the color channel through the first drive circuit and the second drive circuit corresponding to the color channel at the same time.

[0149] S406: When the target current is greater than the second preset current, the controller controls the first driving circuit and the second driving circuit to jointly provide the target current for the color channel.

[0150] It should be noted that when the target current is greater than the second preset current, it means that neither the first drive circuit nor the second drive circuit can provide the target current required by the color channel alone. Therefore, the controller controls the first drive circuit and the second drive circuit corresponding to the color channel to work simultaneously to provide the target current for the color channel.

[0151] In the embodiment of the present application, the controller can flexibly switch or use the first driving circuit and the second driving circuit in coordination according to the target current requirement of each color channel of the RGB lamp bead to achieve efficient driving in different brightness scenes. When the target current required by the color channel is small, the first driving circuit provides a stable low-current output for the color channel to meet the decoration requirements at night or in a dark environment and reduce power consumption; when the target current required by the color channel is large, the second driving circuit works alone, or the first driving circuit and the second driving circuit work together to provide a higher current output for the color channel, thereby ensuring that the brightness of the RGB lamp bead is sufficient to cope with the interference of external light during the day or in a strong light environment, so that the lighting effect of the RGB lamp bead is always clearly visible. This application solves the problem of insufficient brightness and poor adaptability of RGB atmosphere lights in the prior art through the design of hierarchical drive and dynamic control. It can not only provide the required brightness effect in different environments, but also improve the energy utilization efficiency of the control circuit through precise current management, achieve a balance between performance and energy consumption, and meet the application requirements of multiple scenarios.

[0152] In a possible embodiment, the method steps shown in S405 may be implemented through S4051 to S4053, which are described in detail below.

[0153] S4051. The controller obtains an actual temperature value inside the first driving circuit.

[0154] It should be noted that the controller obtains the actual temperature value inside the first drive circuit through the temperature sensor. The method for the controller to obtain the actual temperature value inside the first drive circuit through the temperature sensor has been described in detail in the above embodiment, and will not be repeated in this embodiment.

[0155] S4052: When the actual temperature value is greater than or equal to the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the controller controls the second driving circuit to provide the target current for the color channel.

[0156] The preset temperature value may be set by engineers according to actual conditions, and this embodiment does not specifically limit this.

[0157] For example, the preset temperature value is 40°C.

[0158] It should be noted that when the actual temperature value inside the first driving circuit is greater than or equal to the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the controller controls the first driving circuit corresponding to the color channel to stop working, and only provides the target current to the color channel through the second driving circuit corresponding to the color channel, thereby avoiding instability or overheating of the first driving circuit caused by high temperature.

[0159] In this embodiment, the controller controls the second driving circuit corresponding to the color channel to work independently, thereby ensuring that the color channel has sufficient brightness, optimizing heat dissipation management, reducing internal heat generation of the driving chip, lowering the operating temperature of the driving chip, and avoiding the performance and safety of the RGB atmosphere light control circuit being affected by excessive temperature.

[0160] S4053: When the actual temperature value is less than the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the controller controls the first drive circuit and the second drive circuit to jointly provide the target current for the color channel.

[0161] In this embodiment, when the actual temperature value inside the first driving circuit is less than the preset temperature value, the first driving circuit corresponding to the color channel can work more effectively and is not easy to overheat. Therefore, the controller controls the first driving circuit and the second driving circuit corresponding to the color channel to work together to provide a larger current to meet the high brightness requirement of the color channel. This collaborative work can not only ensure the stable supply of the target current, but also avoid the overload of a single driving circuit, thereby ensuring the efficiency and stability of the RGB atmosphere light control circuit.

[0162] In a possible embodiment, the method steps of controlling the first driving circuit and the second driving circuit to jointly provide the target current for the color channel may be implemented by S501 to S503, and S501 to S503 are described in detail below.

[0163] S501: A controller determines that the sum of a first preset current and a second preset current is a third preset current.

[0164] It should be noted that the third preset current is the maximum current that the RGB atmosphere light control circuit can provide for its corresponding color channel.

[0165] S502: The controller determines the duty ratio of the first drive circuit and the second drive circuit according to the ratio of the target current to the third preset current.

[0166] It should be noted that the duty cycle of the first driving circuit is the same as the duty cycle of the second driving circuit. The duty cycle of the first driving circuit and the duty cycle of the second driving circuit are both the ratio of the target current to the third preset current.

[0167] For example, the target current is 20 mA, and the third preset current is 60 mA, then the duty cycle of the first driving circuit and the duty cycle of the second driving circuit are both 1 / 3.

[0168] In this embodiment, the duty cycle of the first driving circuit and the duty cycle of the second driving circuit are the same, so that the target current provided for the color channel is evenly distributed between the first driving circuit and the second driving circuit, which helps to stabilize the operation of the RGB atmosphere light control circuit and avoids performance problems caused by uneven current; at the same time, the current control strategy of the RGB atmosphere light control circuit can also be simplified, so that the control efficiency of the RGB atmosphere light control circuit is higher and the response speed is faster.

[0169] S503: The controller controls the first driving circuit and the second driving circuit to drive the color channel based on the duty cycle.

[0170] It should be noted that after the controller determines the duty cycle of the first drive circuit and the second drive circuit, the controller generates a PWM signal based on the duty cycle of the first drive circuit and the second drive circuit, and sends the PWM signal to the first PWM driver and the second PWM driver respectively. The first PWM driver and the second PWM driver respectively control the first constant current source and the second constant current source corresponding to the color channel to output corresponding currents.

[0171] In the embodiment of the present application, when the controller controls the first drive circuit and the second drive circuit to jointly provide the target current for any color channel, the synchronization duty cycle of the first drive circuit and the second drive circuit is determined by calculating the ratio of the target current to the third preset current, and the working state of the first drive circuit and the second drive circuit is accurately controlled according to the duty cycle, so as to ensure that the color channel obtains the required target current. Through this precise current distribution, the problem of current unevenness or overload can be avoided, and the energy efficiency and stability of the RGB atmosphere lamp control circuit can be improved.

[0172] In addition, an embodiment of the present application also provides a chip that integrates the RGB atmosphere light control circuit provided by any of the above embodiments.

[0173] An embodiment of the present application also provides an RGB atmosphere light group, including: multiple RGB lamp beads and multiple RGB atmosphere light control circuits provided by the aforementioned embodiments; the multiple RGB lamp beads and the multiple RGB atmosphere light control circuits correspond one to one.

[0174] An embodiment of the present application also provides a vehicle, including: the RGB ambient light group provided in the aforementioned embodiment.

[0175] Figure 5 This is a schematic diagram of the structure of an RGB atmosphere light control device provided in an embodiment of the present application. Figure 5 As shown, the RGB atmosphere light control device 500 provided in this embodiment can exist independently and be used to implement the operations corresponding to the controller in the above method embodiment.

[0176] The RGB atmosphere light control device 500 may include: a transceiver module 501 and a processing module 502. The processing module 502 is used for data processing, and the transceiver module 501 may implement corresponding communication functions. The transceiver module 501 may also be called a communication interface or a communication unit.

[0177] Optionally, the RGB atmosphere light control device 500 may also include a storage unit, which can be used to store instructions and / or data. The processing module 502 can read the instructions and / or data in the storage unit so that the RGB atmosphere light control device 500 implements the steps implemented by the controller in the aforementioned method embodiment.

[0178] The transceiver module 501 is used to execute the reception-related operations of the controller in the foregoing method embodiment, and the processing module 502 is used to execute the processing-related operations of the controller in the foregoing method embodiment.

[0179] Optionally, the transceiver module 501 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiment. The receiving module is used to perform the receiving operation in the above method embodiment.

[0180] It should be noted that the RGB atmosphere light control device 500 may include a sending module but not a receiving module. Alternatively, the RGB atmosphere light control device 500 may include a receiving module but not a sending module. Specifically, it depends on whether the above solution executed by the RGB atmosphere light control device 500 includes a sending action and a receiving action.

[0181] As an example, the RGB atmosphere light control device 500 is used to execute the above Figure 4 Actions performed by the controller in the illustrated embodiment.

[0182] The RGB atmosphere light control device 500 may include: a transceiver module 501 and a processing module 502 .

[0183] The transceiver module 501 is used to obtain the target color and target brightness of the lamp beads.

[0184] The processing module 502 is used to determine the color data and brightness data corresponding to the multiple color channels of the lamp bead according to the target color and target brightness of the lamp bead.

[0185] The processing module 502 is further configured to determine, for each color channel, a target current required by the color channel according to the color data and brightness data of the color channel.

[0186] The processing module 502 is further used to control the first driving circuit corresponding to the color channel to provide the target current for the color channel when the target current is less than or equal to the first preset current; wherein the first preset current is the maximum output current of the first driving circuit.

[0187] The processing module 502 is also used to control the second driving circuit corresponding to the color channel to provide the target current for the color channel when the target current is greater than the first preset current and the target current is less than or equal to the second preset current, or to control the first driving circuit and the second driving circuit to jointly provide the target current for the color channel; wherein the second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit.

[0188] The processing module 502 is further configured to control the first driving circuit and the second driving circuit to jointly provide the target current for the color channel when the target current is greater than the second preset current.

[0189] It should be understood that the execution of the above corresponding processes by each module has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0190] The processing module 502 in the above embodiment can be implemented by at least one processor or processor-related circuit. The transceiver module 501 can be implemented by a transceiver or a transceiver-related circuit. The transceiver module 501 can also be called a communication unit or a communication interface. The storage unit can be implemented by at least one memory.

[0191] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 600 provided in this embodiment includes: a memory 601 and a processor 602 .

[0192] The memory 601 may be an independent physical unit, and may be connected to the processor 602 via a bus 603. The memory 601 and the processor 602 may also be integrated together and implemented by hardware. The memory 601 is used to store program instructions, and the processor 602 calls the program instructions to execute the operations executed by the controller in any of the above method embodiments.

[0193] Optionally, when part or all of the methods of the above embodiments are implemented by software, the electronic device 600 may also include only a processor 602. The memory 601 for storing programs is located outside the electronic device 600, and the processor 602 is connected to the memory through circuits / wires to read and execute the programs stored in the memory. The processor 602 may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor 602 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0194] The memory 601 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory may also include a combination of the above types of memory.

[0195] Exemplarily, the present application provides a chip, comprising: an interface circuit and a logic circuit, wherein the interface circuit is used to receive signals from other chips outside the chip and transmit them to the logic circuit, or to send signals from the logic circuit to other chips outside the chip, and the logic circuit is used to execute the operations performed by the controller in the above method embodiment.

[0196] Illustratively, the present application provides a computer-readable storage medium on which computer program instructions are stored. The computer program instructions are executed by a processor of an electronic device so that the electronic device executes the operations performed by the controller in the above method embodiment.

[0197] Illustratively, the present application provides a computer program product. When the computer program product is executed on an electronic device, the electronic device executes the operations executed by the controller in the above method embodiment.

[0198] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An RGB atmosphere light control circuit, the RGB atmosphere light control circuit corresponds to an RGB lamp bead in an RGB atmosphere light group, the RGB lamp bead includes multiple color channels respectively, characterized in that: The control circuit includes a controller, a first drive circuit and a second drive circuit; The input end of the first driving circuit is electrically connected to the output end of the controller, and the output end of the first driving circuit is electrically connected to the first ends of the multiple color channels of the RGB lamp beads respectively; the first driving circuit is used to provide a first current for the color channel, the first current is less than or equal to a first preset current, and the first preset current is the maximum output current of the first driving circuit; The second ends of the multiple color channels are all connected to the power supply voltage; The input end of the second driving circuit is electrically connected to the output end of the controller, and the output end of the second driving circuit is electrically connected to the first ends of the plurality of color channels respectively; The second driving circuit is used to provide a second current for the color channel, the second current is less than or equal to a second preset current, the second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit; Wherein, for any color channel among the multiple color channels, when the target current required by the color channel is less than or equal to the first preset current, the controller controls the first driving circuit to provide the target current for the color channel; When the target current is greater than the first preset current and less than or equal to the second preset current, the controller controls the second drive circuit to provide the target current to the color channel, or the controller controls the first drive circuit and the second drive circuit to jointly provide the target current to the color channel; when the target current is greater than the second preset current, the controller controls the first drive circuit and the second drive circuit to jointly provide the target current to the color channel.

2. The control circuit according to claim 1, characterized in that: The first driving circuit includes a first PWM driver, a plurality of first constant current sources and a plurality of first switches; The plurality of first constant current sources, the plurality of first switches and the plurality of color channels correspond one to one; The input end of the first PWM driver is electrically connected to the output end of the controller, the output end of the first PWM driver is electrically connected to the input ends of the multiple first constant current sources respectively, the output end of each of the first constant current sources is electrically connected to the first end of the first switch corresponding to it, the second end of the first switch is electrically connected to the first end of the color channel corresponding to it, and the control end of the first switch is electrically connected to the output end of the controller.

3. The control circuit according to claim 2, characterized in that: The second driving circuit includes a second PWM driver, a plurality of second constant current sources and a plurality of second switches; The second PWM driver has the same phase and frequency as the first PWM driver; The plurality of second constant current sources, the plurality of second switches and the plurality of color channels correspond one to one; The input end of the second PWM driver is electrically connected to the output end of the controller, the output end of the second PWM driver is electrically connected to the input ends of the multiple second constant current sources respectively, the output end of each second constant current source is electrically connected to the first end of the second switch corresponding to it, the second end of the second switch is electrically connected to the first end of the color channel corresponding to it, and the control end of the second switch is electrically connected to the output end of the controller.

4. The control circuit according to claim 3, characterized in that: The control circuit further comprises a plurality of selection circuits, wherein the plurality of selection circuits correspond to the plurality of color channels one by one; The input end of the selection circuit is electrically connected to the output end of the controller, the first output end of the selection circuit is electrically connected to the control end of the first switch corresponding to it, and the second output end of the selection circuit is electrically connected to the control end of the second switch corresponding to it; Wherein, for any color channel, the controller controls the first driving circuit and / or the second driving circuit to provide the target current for the color channel through the selection circuit corresponding to the color channel.

5. The control circuit according to claim 3, characterized in that: The first constant current source is a multi-speed constant current source, and the first preset current is the maximum output current of the first constant current source; The second constant current source is a single constant current source or a multi-level constant current source, and the second preset current is the maximum output current of the second constant current source.

6. The control circuit according to claim 1, characterized in that: The control circuit also includes a temperature sensor; The output end of the temperature sensor is electrically connected to the input end of the controller. The temperature sensor is used to detect an actual temperature value inside the first driving circuit and send the actual temperature value to the controller.

7. A method for controlling an RGB atmosphere lamp, using the RGB atmosphere lamp control circuit according to any one of claims 1 to 6, characterized in that: The method comprises: Get the target color and target brightness of the RGB lamp beads; According to the target color and the target brightness of the RGB lamp bead, determine the color data and brightness data corresponding to the multiple color channels of the RGB lamp bead respectively; For each of the color channels, determining a target current required by the color channel according to the color data and brightness data of the color channel; When the target current is less than or equal to a first preset current, controlling the first driving circuit corresponding to the color channel to provide the target current for the color channel; wherein the first preset current is the maximum output current of the first driving circuit; When the target current is greater than the first preset current and the target current is less than or equal to a second preset current, the second driving circuit corresponding to the color channel is controlled to provide the target current for the color channel, or the first driving circuit and the second driving circuit are controlled to jointly provide the target current for the color channel; wherein the second preset current is greater than the first preset current, and the second preset current is the maximum output current of the second driving circuit; When the target current is greater than the second preset current, the first driving circuit and the second driving circuit are controlled to jointly provide the target current for the color channel.

8. The method according to claim 7, characterized in that When the target current is greater than the first preset current and the target current is less than or equal to the second preset current, controlling the second driving circuit corresponding to the color channel to provide the target current for the color channel, or controlling the first driving circuit and the second driving circuit to jointly provide the target current for the color channel, includes: Acquiring an actual temperature value inside the first driving circuit; When the actual temperature value is greater than or equal to the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, controlling the second driving circuit to provide the target current for the color channel; When the actual temperature value is less than the preset temperature value, the target current is greater than the first preset current, and the target current is less than or equal to the second preset current, the first drive circuit and the second drive circuit are controlled to jointly provide the target current for the color channel.

9. The method according to claim 8, characterized in that The controlling the first driving circuit and the second driving circuit to jointly provide the target current for the color channel includes: Determine that the sum of the first preset current and the second preset current is a third preset current; Determining a duty cycle of the first drive circuit and the second drive circuit according to a ratio of the target current to the third preset current; Based on the duty cycle, the first driving circuit and the second driving circuit are controlled to drive the color channel.

10. An RGB atmosphere light set, characterized in that: It includes a plurality of RGB lamp beads and a plurality of RGB atmosphere lamp control circuits, wherein the plurality of RGB lamp beads and the plurality of RGB atmosphere lamp control circuits correspond to each other one by one; The RGB atmosphere light control circuit comprises the RGB atmosphere light control circuit according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Atmosphere lamp control method and device, storage medium and electrical equipment

    CN117560817A

  • Atmosphere lamp strip tail brightness improving circuit and method

    CN118368770A