Illumination system and control method

By adopting a master-slave transcoder architecture in parallel in the lighting system, the problems of slow signal transmission speed and series failure in the prior art are solved, and fast signal transmission and fast designation of specific lamp panels are achieved.

CN119893807APending Publication Date: 2025-04-25BRIGHTEK OPTOELECTRONIC (JIANGSU) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510222825.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In existing lighting systems, the signal transmission speed between the main controller and the lamp board is slow, and the transcoder connected in series is prone to failure, resulting in the failure of the entire lamp board group and the rapid designation of a specific lamp board cannot be achieved.

Method used

Using a master-slave transcoder architecture in parallel, the master controller is connected to multiple parallel slave transcoders through the master transcoder, and each slave transcoder is connected to a set of lamp beads to achieve rapid signal transmission and back-passing, and avoid the risk of series failure.

Benefits of technology

The transmission and return speed of lamp bead signals is improved, the risk of series failure is avoided, and the rapid designation and control of specific lamp panels is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893807A_ABST
    Figure CN119893807A_ABST
Patent Text Reader

Abstract

The invention provides an illumination system and a control method, and relates to the field of illumination. The lighting system comprises a main controller and a main transcoder connected with the main controller, the main controller is used for outputting a first signal, and the main transcoder is used for converting the first signal into a second signal; the master transcoder is connected with a plurality of slave transcoders which are connected in parallel, each slave transcoder is connected with a group of lamp beads, and the slave transcoders are used for converting the second signals into third signals and sending the third signals to the connected lamp beads; the slave transcoder is also used for receiving a fourth signal returned by the connected lamp bead, converting the fourth signal into a fifth signal and sending the fifth signal to the master transcoder; and the main transcoder is also used for converting the fifth signal into a sixth signal and sending the sixth signal to the main controller. According to the invention, by providing a parallel master-slave transcoder architecture, the signal control and return speed of the lamp beads can be improved, and the risk of series failure is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lighting, and in particular to a lighting system and a control method. Background Art

[0002] At present, in the automotive application scenario of ambient lighting, a main controller (MCU) is usually required to transmit control signals to multiple light boards. Figure 1 As shown, the main controller takes three groups of interfaces connected to three groups of light boards as an example. Each group of light boards may include one or more light boards, and each light board may include one or more lamp beads.

[0003] In the case of long distance, the main controller and the light board usually need to use the CAN (Controller Area Network) bus for signal transmission. Therefore, multiple transcoders need to be added between the main controller and the light board to convert the signal sent by the main controller to the lamp beads into CAN signals, and then convert the CAN signals back to the signal format of the lamp beads.

[0004] However, the transcoders in the current lighting system are all connected in series. Either the failure of one transcoder will cause the subsequent light panels to fail and go out; or after the transcoder sends a signal, all the lamp beads connected in series will light up, and it will take a long time to transmit the signal to the designated light panel, or it will be impossible to quickly specify a specific light panel.

[0005] In this regard, there is an urgent need to propose a new lighting system and control method to improve the signal transmission and return speed of the lamp beads and avoid the risk of series failure. Summary of the invention

[0006] The embodiments of the present application provide a lighting system and a control method. By providing a master-slave transcoder architecture in parallel, it is possible to improve the signal control and return speed of lamp beads and avoid the risk of series failure.

[0007] In a first aspect, an embodiment of the present application provides a lighting system, the lighting system comprising:

[0008] A main controller and a main transcoder connected to the main controller, wherein the main controller is used to output a first signal, and the main transcoder is used to convert the first signal into a second signal;

[0009] The master transcoder is connected to a plurality of slave transcoders connected in parallel, each of the slave transcoders is connected to a group of lamp beads, and the slave transcoders are used to convert the second signal into the third signal and send it to the connected lamp beads;

[0010] The slave transcoder is also used to receive a fourth signal returned by the connected lamp bead, convert the fourth signal into a fifth signal and send it to the master transcoder;

[0011] The main transcoder is further configured to convert the fifth signal into the sixth signal and send the sixth signal to the main controller.

[0012] An embodiment of the present application provides a lighting system, which modifies the connection architecture between the master transcoder and the slave transcoder in the lighting system into a parallel architecture, so that the main controller can be connected to multiple slave transcoders through the master transcoder, thereby facilitating the control of a larger number of light boards, and the failure of any light board will not affect the normal operation of other light boards.

[0013] In combination with the first aspect, in a possible implementation manner of the first aspect, the second signal and the fifth signal are differential signals, the master transcoder and the slave transcoder are connected via two signal lines, and the two signal lines are used to transmit the differential signals.

[0014] In combination with the first aspect, in a possible implementation manner of the first aspect, the first signal and the third signal are SPI format, UART format or I2C format signals.

[0015] In combination with the first aspect, in a possible implementation of the first aspect, each of the slave transcoders is connected to the first lamp bead in a group of series-connected lamp beads in two-wire or single-wire manner, and the slave transcoder is used to send the third signal that is the same as the first signal after decoding to the first connected lamp bead.

[0016] In combination with the first aspect, in a possible implementation of the first aspect, each of the slave transcoders is connected to the last lamp bead in a group of lamp beads connected in series with a single wire, and the slave transcoder is used to receive the fourth signal returned by the last lamp bead.

[0017] In combination with the first aspect, in a possible implementation manner of the first aspect, two adjacent lamp beads are connected via a double-wire connection or a single-wire connection.

[0018] In combination with the first aspect, in a possible implementation manner of the first aspect, both the master transcoder and the slave transcoder are burned with a unique address code.

[0019] In a second aspect, an embodiment of the present application further provides a control method, the method comprising:

[0020] The main controller issues a first feedback instruction, and the lamp bead switches to the feedback mode;

[0021] The master controller sends a second feedback instruction, and the slave transcoder switches to the feedback mode, sends a clock signal to the first connected lamp bead, and receives a feedback signal returned by the last connected lamp bead;

[0022] The slave transcoder decodes and stores the clock signal and the return signal;

[0023] The master controller issues a third feedback instruction, and the slave transcoder returns the feedback signal to the master controller through the master transcoder.

[0024] In combination with the second aspect, in a possible implementation manner of the second aspect, the slave transcoder returns the return signal to the master controller through the master transcoder, including:

[0025] The slave transcoder decodes the clock signal and the return signal, converts them into a differential signal, and sends the differential signal to the master transcoder;

[0026] The main transcoder decodes and converts the differential signal back into the return signal and stores it;

[0027] The main controller sends a new clock signal to the main transcoder;

[0028] The primary transcoder returns the feedback signal to the primary controller based on the new clock signal.

[0029] In combination with the second aspect, in a possible implementation manner of the second aspect, the first return instruction and / or the second return instruction includes one or more address codes of the slave transcoder.

[0030] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein when the processor executes the computer program, the method is implemented as in the second aspect or any possible implementation of the second aspect.

[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes a method as described in the second aspect or any possible implementation of the second aspect.

[0032] In a fifth aspect, an embodiment of the present application further provides a computer program product, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the method is implemented as in the second aspect or any possible implementation of the second aspect.

[0033] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the architecture of a current lighting system;

[0035] Figure 2 yes Figure 1 The schematic diagram of the current lighting system shown;

[0036] Figure 3 is a schematic diagram of the architecture of a parallel lighting system provided in an embodiment of the present application;

[0037] Figure 4A It is a signal conversion diagram of the main transcoder;

[0038] Figure 4B This is a schematic diagram of signal conversion from a transcoder;

[0039] Figure 4C yes Figure 3 A schematic diagram of the internal structure of the transcoder provided;

[0040] Figure 5A and Figure 5B yes Figure 3 A schematic diagram of signal conversion between the provided transcoders;

[0041] Figure 6 is a schematic diagram of the architecture of another parallel lighting system provided in an embodiment of the present application;

[0042] Fig. 7A yes Figure 6 A schematic diagram of the structure of the main transcoder provided;

[0043] Figure 7B yes Figure 6 A schematic diagram of the structure of the slave transcoder provided;

[0044] Figure 8 yes Figure 6 A schematic diagram of signal conversion between the provided master transcoder and the slave transcoder;

[0045] Fig. 9A and Fig. 9B It is a schematic diagram of the structure of the IC LED provided in the embodiment of the present application;

[0046] Fig.10 It is a control method provided by an embodiment of the present application;

[0047] Fig.11 This is another control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0050] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0051] Combination Figure 1 ,like Figure 2 As shown, in the prior art, taking the first group of light boards connected to the main controller as an example, the main controller uses a standard CAN transceiver for serial connection. The CAN transceiver itself does not carry an address. After the signal is sent via the MCU, the transcoder converts the signal into a CAN signal and then sends it to the first light board. The first transcoder in the first light board converts the CAN signal back into a control signal and sends it to the series-connected lamp beads (such as LEDs containing ICs); after the last lamp bead of the first light board lights up, the control signal is transmitted to the connected second transcoder, and the second transcoder converts the control signal into a CAN signal again, which is then transmitted to the first transcoder of the second light board, and subsequent conversions are analogous.

[0052] When the first group of light boards are connected in series in this way, the last lamp bead in the last light board transmits the signal back to the first transcoder of the last light board connected, and then is converted into a control signal by the transcoder connected to the MCU according to the signal conversion method described above and then transmitted back to the MCU.

[0053] For example, in Figure 2In the lighting system shown, the MCU communicates with the light board via an interface in the SPI (Serial Peripheral Interface) format. SPI is a synchronous serial communication protocol. Each set of SPI interfaces may include an output interface, an input interface, and a clock signal interface. The MCU may include multiple sets of SPI interfaces.

[0054] like Figure 2 As shown, since the last lamp bead on the lamp board is a two-wire feedback structure, the MCU can be connected to the transcoder through four interfaces, among which SOUT0 in the first group of SPI interfaces is used to output control signals, SCK0 is used to output clock signals, and SIN1 in the second group of SPI interfaces is used to receive feedback signals, and SCK1 is used to receive feedback clock signals.

[0055] It should be understood that, first, in the current lighting system with serial connection, if one component fails in the entire circuit, multiple light boards will fail, and the impact range is relatively large; second, even if you want to control one of the light boards to light up, you need to transmit the signal through multiple light boards, and you cannot specify the position, which makes the control response very slow; third, the transmission signal needs to pass through all light boards before it is returned, and the return speed is slow; fourth, the return signal line is two signal lines, resulting in more transmission interfaces for the transcoder, and the MCU needs to provide an additional set of interfaces for receiving the return signal (such as SOUT1, SCK1 and SIN1). Even if the return signal line is one signal line, the MCU needs to provide an additional set of interfaces (such as SIN1), resulting in a waste of interfaces.

[0056] In view of this, an embodiment of the present application provides a lighting system and a control method; first, by modifying the connection architecture between the master transcoder and the slave transcoder in the lighting system to a parallel architecture, the main controller can be connected to multiple slave transcoders through the master transcoder, which is convenient for controlling a larger number of light boards, and the failure of any light board will not affect the normal operation of other light boards.

[0057] Second, by adding an address interface for each slave transcoder and burning the address code separately, the address code of the slave transcoder on the light board can be sent together when the MCU sends a control signal, and then the slave transcoder with the address code can be specified to work, which is equivalent to the MCU being able to control any light board through the address code, thereby improving the control response speed.

[0058] Third, by combining the single-line feedback mode of the IC LED and the parallel architecture between the master transcoder and the slave transcoder, the feedback of the IC LED can be made to not pass through other IC LEDs, thereby increasing the feedback speed.

[0059] Fourth, the two signal lines between the master transcoder and the slave transcoder can be used for dual-line transmission, or multiplexed when sending control signals and returning feedback signals, so that the master transcoder can only be connected to one set of SPI interfaces of the MCU to avoid interface waste.

[0060] The parallel lighting system, transcoder, IC LED and control method provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0061] Part 1: Parallel lighting system and transcoder control mode.

[0062] 1.1: The transcoder is in dual-line control mode.

[0063] Figure 3 A schematic diagram of the architecture of a parallel lighting system provided in an embodiment of the present application.

[0064] like Figure 3 As shown, taking the MCU connecting four light boards (light board A, light board B, light board C and light board D) as an example, the MCU is connected to the master transcoder through a set of SPI interfaces, and the SPI interface includes a SOUT0 interface, an SCK0 interface and a SIN0 interface. Among them, SOUT0 is used to send the control signal Data, SCK0 is used to send the clock signal CLK, and the SIN0 interface is used to receive the return signal DAO. Each light board includes a slave transcoder, and the four light boards include four slave transcoders. The four slave transcoders are connected to the master transcoder in parallel. Among them, for each slave transcoder on the light board, the master transcoder is connected to the slave transcoder through two CAN signal lines, and the two CAN signal lines are used to send signals to the slave transcoder and also to receive signals returned from the slave transcoder.

[0065] It should be understood that the above four light boards are only an example. The MCU can be connected to the slave transcoders on multiple light boards through a master transcoder, such as slave transcoders on 256 light boards; further, the MCU can also connect to multiple master transcoders through multiple sets of SPI interfaces, and then connect more slave transcoders in parallel. Each slave transcoder can be connected to multiple lamp beads, such as 250 lamp beads, thereby realizing efficient multi-device control.

[0066] It should also be understood that in the parallel form, the failure of a single lamp panel will not affect other lamp panels, thus avoiding the risk of series failure in related technologies.

[0067] For example, Figure 4A A schematic diagram of signal conversion for a main transcoder; Figure 4B is a schematic diagram of signal conversion from a transcoder; Figure 4C yes Figure 3 Schematic diagram of the internal structure of the transcoder shown.

[0068] like Figure 4A As shown, the master transcoder combines the control signal Data and the clock signal CLK received from the MCU for decoding, and then converts them into differential signals CAN_H and CAN_L and outputs them to the slave transcoder through two CAN signal lines.

[0069] It should be understood that the main transcoder is used to convert the first signal into the second signal, the control signal Data and the clock signal CLK are the first signal, and the differential signals CAN_H and CAN_L are the second signal.

[0070] like Figure 4B As shown, the slave transcoder can convert the received differential signals CAN_H and CAN_L back into control signals Data and clock signals CLK, and transmit them to the IC LED in the connected light board.

[0071] It should be understood that the slave transcoder is used to convert the second signal into a third signal and send it to the connected lamp bead, the differential signals CAN_H and CAN_L are the second signal, and the converted control signal Data and clock signal CLK are the third signal. The third signal is the same as the first signal after decoding.

[0072] In addition, if Figure 4C As shown, each transcoder (including the master transcoder and the slave transcoder) has a unique address code, which can be burned through the one-time programmable memory (OTP). For example, each transcoder can be burned through the OTP interface, the address code of the master transcoder is 0, the address code of the slave transcoder on the first light board is 1, and the address code of the slave transcoder on the second light board is 2, and so on, which will not be repeated here.

[0073] It should be understood that the internal structure of the master transcoder and the slave transcoder is the same, but the connection method is different. The Din_I interface of the master transcoder is connected to the SOUT0 interface of the MCU to receive the control signal issued by the MCU, the CLK_I interface of the master transcoder is connected to the SCK0 interface of the MCU to receive the clock signal issued by the MCU, and the Dout_I interface of the master transcoder is connected to the SIN0 interface of the MCU to send a return signal to the MCU. In addition, the CANL1 interface of the master transcoder can be connected to the CANL1 interface of the slave transcoder, and the CANH1 interface of the master transcoder is connected to the CANH1 interface of the slave transcoder, which is used to transcode the control signal and clock signal issued by the MCU into a CAN signal and transmit it to the slave transcoder.

[0074] The DOUT1 interface and CLK1 interface connected to the IC LED controller in the transcoder are used to connect to the two interfaces of the first IC LED on the light board (such as Fig. 9A The signal lines 4 and 3 shown in the figure are connected, and the DIN1 of the transcoder is used to connect to the return interface of the last IC LED on the light board (such as Fig. 9B After receiving the CAN signal from the CANL1 interface and the CANH1 interface and recognizing its own corresponding address code, the slave transcoder can convert the CAN signal back into a control signal and a clock signal, and send it to the IC LED from the opened DOUT1 interface and CLK1 interface.

[0075] For example, Figure 5A A schematic diagram of the control signal and clock signal output by the main controller; Figure 5B Schematic diagram of the differential signal converted by the transcoder.

[0076] Figure 5A The two signals shown are the control signal and the clock signal output by the main controller. The main transcoder combines the control signal and the clock signal for transcoding. For example, the signal 1110 can be interpreted at the falling edge of the clock signal, and then the signal 1110 is converted into Figure 5B The differential signals CAN_H and CAN_L shown in the figure can then be converted back to the differential signals CAN_H and CAN_L from the transcoder. Figure 5A The control signal Data and the clock signal CLK shown are transmitted to the connected ICLED.

[0077] 1.2: The transcoder is in single-line control mode.

[0078] Figure 6 A schematic diagram of the architecture of another parallel lighting system provided in an embodiment of the present application.

[0079] like Figure 6 As shown, continuing to take the example of MCU connecting four light boards (light board A, light board B, light board C and light board D), the MCU and the master transcoder are connected through a set of SPI interfaces, and the SPI interface includes a SOUT0 interface, an SCK0 interface and a SIN0 interface. Among them, SOUT0 is used to send the control signal Data, and the SIN0 interface is used to receive the return signal DAO. Each light board includes a slave transcoder, and the four light boards include four slave transcoders. The four slave transcoders are connected to the master transcoder in parallel. Among them, for each slave transcoder on the light board, the master transcoder is connected to the slave transcoder through two CAN signal lines, and the two CAN signal lines are used to send signals to the slave transcoder and also to receive signals returned from the slave transcoder.

[0080] It should be understood that the above four light boards are only an example. The MCU can be connected to the slave transcoders on multiple light boards through a master transcoder, such as slave transcoders on 256 light boards; further, the MCU can also connect to multiple master transcoders through multiple sets of SPI interfaces, and then connect more slave transcoders in parallel. Each slave transcoder can be connected to multiple lamp beads, such as 250 lamp beads, thereby realizing efficient multi-device control.

[0081] It should also be understood that in parallel connection, failure of a single lamp panel will not affect other lamp panels, thus avoiding the risk of series failure.

[0082] For example, Fig. 7A A schematic diagram of signal conversion for a main transcoder; Figure 7B Schematic diagram of signal conversion from a transcoder.

[0083] like Fig. 7A As shown, the master transcoder converts the control signal Data received from the MCU into differential signals CAN_H and CAN_L and outputs them to the slave transcoder. Figure 7B As shown, the slave transcoder converts the received differential signals CAN_H and CAN_L back into control signals Data and transmits them to the IC LED in the connected light board.

[0084] It should be understood that the main transcoder is used to convert the first signal into the second signal. Here, the control signal Data is the first signal, and the differential signals CAN_H and CAN_L are the second signal.

[0085] It should be understood that the slave transcoder is used to convert the second signal into a third signal, where the differential signals CAN_H and CAN_L are the second signal, and the converted control signal Data is the third signal. The third signal is the same as the first signal after decoding.

[0086] Both the master transcoder and the slave transcoder have unique address codes, which can be referred to above for Figure 4C The introduction of , I will not go into details here.

[0087] For example, Figure 8 Schematic diagram of the control signals output by the main controller. Figure 8 The signal shown is a control signal output by the main controller. The main transcoder interprets the control signal, for example, it can interpret the signal 001, and then converts the signal 001 into differential signals CAN_H and CAN_L (such as Figure 5B Then, the slave transcoder can convert the differential signals CAN_H and CAN_L back to Figure 8 The control signal Data shown is transmitted to the connected IC LED.

[0088] 1.3: The transcoder is in broadcast control mode.

[0089] Exemplarily, the MCU sends the same broadcast address, such as 255, to all slave transcoders through the master transcoder to instruct all slave transcoders to perform signal transcoding, such as converting the differential signals CAN_H and CAN_L into the control signal Data for output.

[0090] It should be noted that the above is mainly an example of signal transcoding using an MCU including an SPI interface. Optionally, when the MCU includes an interface in a Universal Asynchronous Receiver / Transmitter (UART) format to communicate with the light board, the master transcoder and the slave transcoder can also interpret and convert UART signals and differential signals.

[0091] Optionally, when the MCU includes an interface in an I2C (Inter-Integrated Circuit) format to communicate with the light board, the master transcoder and the slave transcoder can also interpret and convert between the I2C signal and the differential signal.

[0092] It should be noted that the first signal sent by the MCU to the main transcoder is not the same as the third signal sent by the slave transcoder to the IC LED. The third signal only needs to be the same as the first signal after decoding. That is, the format of the third signal and the first signal can be different.

[0093] Part 2: Return Mode.

[0094] Combination Figure 3 and Figure 6 As shown in the schematic diagram of the architecture of the parallel lighting system, no matter which control mode the main transcoder is in, when the IC LED in the light board needs to transmit data back, the MCU can send a feedback instruction to the main transcoder, and the main transcoder sends the feedback instruction to the connected slave transcoder, and the slave transcoder then sends the feedback instruction to the ICLED on the connected light board, and all the IC LEDs on the light board are switched to the feedback mode, and then the status parameters of the IC LED (such as brightness, temperature, voltage, etc.) can be transmitted back to the MCU through the feedback line through the slave transcoder and the main transcoder.

[0095] Fig. 9A and Fig. 9B Two schematic diagrams of IC LED provided in embodiments of the present application.

[0096] It should be understood that Fig. 9AAs shown, in each light board, except for the last IC LED, the first IC LED can be connected to the slave transcoder and the second IC LED through four signal lines respectively, and each of the other IC LEDs can be connected to two adjacent IC LEDs respectively.

[0097] like Fig. 9B As shown, the last IC LED on each light board is a three-wire structure, two of which (such as signal line 3 and signal line 4) are connected to the adjacent previous IC LED, and the other independent single line (such as signal line 1) is connected to the slave transcoder on the light board, which is used to send the return signal DAO to the slave transcoder, and the original signal line will not be shared.

[0098] Combination Figure 3 As shown, the slave transcoder converts the return signal DAO into differential signals CAN_H and CAN_L and transmits them back to the master transcoder; the master transcoder converts the received differential signals CAN_H and CAN_L into return signal DAO and transmits them back to the MCU.

[0099] It should be understood that the slave transcoder is used to receive the fourth signal returned by the connected lamp bead, convert the fourth signal into a fifth signal and send it to the main transcoder, wherein the return signal DAO is the fourth signal, and the differential signals CAN_H and CAN_L converted from the return signal DAO are the fifth signal.

[0100] It should also be understood that the main transcoder converts the fifth signal into a sixth signal and sends it to the main controller, and the return signal DAO converted back from the differential signals CAN_H and CAN_L is the sixth signal.

[0101] It should be noted that the fourth signal sent by the IC LED to the slave transcoder is not the same as the sixth signal sent by the master transcoder to the MCU. The sixth signal only needs to be the same as the fourth signal after decoding, that is, the format of the sixth signal and the fourth signal can be different.

[0102] In the embodiments of the present application, Figure 3 As shown, the master transcoder and the slave transcoder are connected via two CAN signal lines. In the control mode, the signal sent from the master transcoder to the slave transcoder and the signal sent back from the slave transcoder to the master transcoder in the feedback mode can reuse these two CAN signal lines. In addition, in the feedback mode, the last IC LED only needs to be transmitted back to the connected slave transcoder via a single line, and no longer passes through other IC LEDs, so the feedback speed can be increased.

[0103] However, here, since the IC LED uses a single-line return signal DAO, there may be a problem that the return signal DAO and the clock signal used by the MCU cannot be consistent. In this regard, the embodiment of the present application also provides a control method. Fig.10 An interactive schematic diagram of a control method is shown. Fig.10 As shown, the control method may include the following steps S101 to S109.

[0104] S101, MCU sends a first feedback instruction to IC LED through the master transcoder and the slave transcoder.

[0105] It should be understood that the first feedback instruction is used to instruct the IC LED to switch from the working mode to the feedback mode. The first feedback instruction may include one or more address codes of the slave transcoder.

[0106] S102, after receiving the first feedback instruction, the IC LED switches to the feedback mode.

[0107] It should be understood that when all IC LEDs on the light board switch to the feedback mode after receiving the feedback command, signal line 2 and signal line 3 of the four signal lines of the IC LED (named as signal line 1, signal line 2, signal line 3 and signal line 4 in a clockwise circle) enter the transparent mode. For example, only the control signal from the transcoder is transmitted on this signal line; the other signal line 1 and signal line 4 are output by each IC LED. The feedback signal DAO is transmitted to the next IC LED, and the last IC LED outputs the feedback signal to the slave transcoder through signal line 1.

[0108] S103, the MCU sends a second return instruction to the slave transcoder through the master transcoder.

[0109] The second return instruction may carry one or more address codes of the slave transcoder. When the slave transcoder recognizes its own corresponding address code, it may switch to the return mode; when the slave transcoder does not recognize its own corresponding address code, it may not switch to the return mode.

[0110] In addition, the first return instruction and the second return instruction may also be issued in a broadcast control mode, that is, the MCU may simultaneously issue the first return instruction or the second return instruction to multiple slave transcoders through the master transcoder.

[0111] S104, after receiving the second feedback instruction from the transcoder, switching to the feedback mode.

[0112] It should be understood that a slave transcoder that recognizes its corresponding address code can switch to the feedback mode.

[0113] S105, sending a clock signal from the transcoder to the IC LED.

[0114] The second feedback instruction is used to instruct the slave transcoder to switch to the feedback mode. The feedback mode of the slave transcoder is used to indicate that the slave transcoder can send a clock signal to the IC LED by itself.

[0115] It should be understood that when the slave transcoder switches to the feedback mode, the slave transcoder can send a clock signal to the first connected IC LED, the first IC LED can receive the clock signal through signal line 3, and transmit the clock signal to the next IC LED through signal line 2.

[0116] S106, the last IC LED returns a signal to the slave transcoder.

[0117] It should be understood that the last IC LED does not return the original clock signal to the slave transcoder.

[0118] S107, the slave transcoder decodes the clock signal and the return signal and stores them.

[0119] It should be understood that the process of converting the self-generated clock signal and the received feedback signal from the transcoder into a differential signal can be called decoding.

[0120] S108, the MCU sends a third return instruction to the slave transcoder through the master transcoder.

[0121] S109, the slave transcoder returns the return signal to the MCU through the master transcoder.

[0122] It should be understood that the signal returned from the transcoder to the master transcoder and the signal returned from the master transcoder to the MCU may be the same or different.

[0123] Alternatively, if Fig.11 As shown, the above S109 may include S1091 to S1094.

[0124] S1091, the slave transcoder returns the decoded clock signal and the feedback signal to the master transcoder.

[0125] The third return instruction may also carry the address code of the slave transcoder, and the address code may specify one or more corresponding slave transcoders to return the transcoded differential signal to the master transcoder. The third return instruction may also be issued in a broadcast control mode.

[0126] S1092, the main transcoder decodes the clock signal and the return signal to obtain a differential signal, and then decodes and stores it.

[0127] It should be understood that the slave transcoder converts the clock signal and the return signal into a differential signal and then sends it to the master transcoder. After receiving the differential signal, the master transcoder converts it back to the clock signal and the return signal and stores it. Here, the master transcoder can decode the differential signal and convert it back to the return signal and store it.

[0128] S1093, the MCU sends a new clock signal to the main transcoder.

[0129] S1094: The main transcoder returns a feedback signal to the MCU according to the new clock signal.

[0130] It should be noted that, combined with Figure 3 From the connection structure between the MCU and the main transcoder shown, it can be seen that the MCU can send a new clock signal to the main transcoder through SCK0 in the SPI interface, but cannot receive the clock signal returned from the main transcoder. Therefore, when returning the feedback signal, the MCU can first send a new clock signal to the main transcoder, and the main transcoder then returns the corresponding feedback signal based on the new clock signal.

[0131] In the embodiment of the present application, by modifying the IC LED to two-wire control and single-wire feedback, the connected slave transcoder interface can be reduced, and the feedback signal can be connected to the same set of SPI interfaces of the MCU as the output signal, so the MCU interface will not be wasted. When the signal is transmitted back, since it does not need to pass through other IC LEDs, the transmission speed is also faster.

[0132] Of course, the control signal format of the IC LED is not limited to two-wire control, and can also be single-wire control, which is not limited in the embodiments of the present application.

[0133] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the control method described above when executing the computer program.

[0134] An embodiment of the present application also provides a computer program product, in which a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the control method described above is implemented.

[0135] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program includes a computer program for executing the above control method. The readable medium can be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the embodiment of the present application.

[0136] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A lighting system, characterized in that: The lighting system comprises: A main controller and a main transcoder connected to the main controller, wherein the main controller is used to output a first signal, and the main transcoder is used to convert the first signal into a second signal; The master transcoder is connected to a plurality of slave transcoders connected in parallel, each of the slave transcoders is connected to a group of lamp beads, and the slave transcoders are used to convert the second signal into the third signal and send it to the connected lamp beads; The slave transcoder is also used to receive a fourth signal returned by the connected lamp bead, convert the fourth signal into a fifth signal and send it to the master transcoder; The main transcoder is further configured to convert the fifth signal into the sixth signal and send the sixth signal to the main controller.

2. The lighting system according to claim 1, characterized in that The second signal and the fifth signal are differential signals. The master transcoder and the slave transcoder are connected via two signal lines, and the two signal lines are used to transmit the differential signals.

3. The lighting system according to claim 1 or 2, characterized in that: The first signal and the third signal are SPI format, UART format or I2C format signals.

4. The lighting system according to any one of claims 1 to 3, characterized in that: Each of the slave transcoders is connected to the first lamp bead in a group of serially connected lamp beads in two-wire or single-wire connection, and the slave transcoder is used to send the third signal that is the same as the first signal after decoding to the connected first lamp bead.

5. The lighting system according to claim 4, characterized in that: Each of the slave transcoders is connected to the last lamp bead in a group of serially connected lamp beads in a single line, and the slave transcoder is used to receive the fourth signal returned by the last lamp bead.

6. The lighting system according to claim 5, characterized in that Two adjacent lamp beads are connected by double wires or single wires.

7. The lighting system according to claim 1, characterized in that The master transcoder and the slave transcoder are both burned with unique address codes.

8. A control method, characterized in that: Applied in the lighting system of any one of claims 1 to 7, the method comprises: The main controller issues a first feedback instruction, and the lamp bead switches to the feedback mode; The master controller sends a second feedback instruction, and the slave transcoder switches to the feedback mode, sends a clock signal to the first connected lamp bead, and receives a feedback signal returned by the last connected lamp bead; The slave transcoder decodes and stores the clock signal and the return signal; The master controller issues a third feedback instruction, and the slave transcoder returns the feedback signal to the master controller through the master transcoder.

9. The control method according to claim 8, characterized in that: The slave transcoder returns the return signal to the master controller through the master transcoder, including: The slave transcoder decodes the clock signal and the return signal, converts them into a differential signal, and sends the differential signal to the master transcoder; The main transcoder decodes and converts the differential signal back into the return signal and stores it; The main controller sends a new clock signal to the main transcoder; The primary transcoder returns the feedback signal to the primary controller based on the new clock signal.

10. The control method according to claim 8 or 9, characterized in that: The first return instruction and / or the second return instruction includes address codes of one or more slave transcoders.

Citation Information

Cited By

  • Car lamp control device and method

    CN120897304A