CN107226020B - Control method and system of interior lamp - Google Patents

Control method and system of interior lamp Download PDF

Info

Publication number
CN107226020B
CN107226020B CN201710407219.7A CN201710407219A CN107226020B CN 107226020 B CN107226020 B CN 107226020B CN 201710407219 A CN201710407219 A CN 201710407219A CN 107226020 B CN107226020 B CN 107226020B
Authority
CN
China
Prior art keywords
interior lamp
control
lamp node
module
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710407219.7A
Other languages
Chinese (zh)
Other versions
CN107226020A (en
Inventor
张鹤鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201710407219.7A priority Critical patent/CN107226020B/en
Publication of CN107226020A publication Critical patent/CN107226020A/en
Application granted granted Critical
Publication of CN107226020B publication Critical patent/CN107226020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Non-Portable Lighting Devices Or Systems Thereof (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Arrangements Of Lighting Devices For Vehicle Interiors, Mounting And Supporting Thereof, Circuits Therefore (AREA)

Abstract

The invention provides a control method and a system of an interior lamp, wherein the method comprises the following steps: the control module allocates IDs for the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different; the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules; the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules; when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the LED module in the interior lamp node module to act. By distributing different IDs to each interior lamp node module and sending the control message, each interior lamp node module judges whether the message needs to be executed or not based on the control message, and the individual control of the interior lamp node modules is realized.

Description

Control method and system of interior lamp
Technical Field
The invention relates to the technical field of light control of interior lamps, in particular to a control method and a control system of an interior lamp.
Background
With the continuous development of social economy, the living standard of people is increasingly improved, and more families are equipped with automobiles. Interior trim is also receiving increasing attention from users as a part of the car, wherein, the improvement of the interior trim quality of the car through the interior trim lamp plays an increasingly important role.
At present, the interior lamp of the automobile can realize various colors and brightness, and a user can set different colors and brightness effects of the interior lamp according to personal preference and requirements, so that the decoration effect of the interior of the automobile is achieved. However, currently, when the interior lamps are controlled, a user can only realize unified control of all interior lamps on the automobile, for example, unified adjustment of brightness and color of the interior; individual control of each interior light is not possible. Therefore, how to realize the independent control of the interior lamp is a problem to be solved.
Disclosure of Invention
The invention provides a control method and a control system of interior lamps, which can allocate different IDs to each interior lamp node module and send a message comprising identification information, so that each interior lamp node module judges whether the message needs to be executed or not based on the identification information, and the individual control of the interior lamp node modules is realized.
A control method of an interior lamp is applied to an interior lamp control device, the interior lamp control device comprises a control module and N interior lamp node modules, N is a positive integer greater than or equal to 1, each interior lamp node module comprises an LED module and an electronic control unit, each electronic control unit is used for controlling whether the LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, the N electronic control units of the N interior lamp node modules are sequentially connected in series; the method comprises the following steps:
the control module allocates IDs to the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different;
the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules;
the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules;
when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
Preferably, the control module assigns IDs to the N interior lamp node modules, and includes:
the control module generates an initial message and sends the initial message to the N interior lamp node modules, and the N interior lamp node modules are initialized based on the initial message;
the control module generates N different distribution ID messages and distributes the messages to the N interior lamp node modules;
the control module generates a storage message and distributes the storage message to the N interior lamp node modules, and the N interior lamp node modules store the ID of the interior lamp node modules based on the storage message;
and the control module generates an end message and distributes the end message to the N interior lamp node modules, and the N interior lamp node modules finish ID distribution based on the end message.
Preferably, the method further comprises:
the control module generates verification messages and respectively sends the verification messages to the N interior lamp node modules;
and the N interior lamp node modules respectively feed back the ID of the interior lamp node modules to the control module based on the verification messages.
Preferably, the control packet includes an ID identifying an area; the N interior light node modules respectively judge whether the ID in the control message is matched with the ID of the interior light node modules, and the judgment comprises the following steps:
and each interior light node module reads the ID of the identification area, and when the ID of the identification area is the same as the ID of the identification area, the ID in the control message is matched with the ID of the corresponding interior light node module.
The utility model provides a control system of interior lamp, includes transceiver and interior lamp controlling means, interior lamp controlling means includes control module and a N interior lamp node module, and N is more than or equal to 1 positive integer, and wherein, every interior lamp node module includes an LED module and an electronic control unit, and every electronic control unit is used for controlling the LED module that its place interior lamp node module corresponds and whether luminous, when N more than or equal to 2, a N electronic control unit of a N interior lamp node module is series connection in proper order, wherein:
the control module is used for distributing IDs for the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different;
the transceiver is used for transmitting a vehicle signal to the control module;
the control module is also used for generating a control message based on the vehicle signal sent by the transceiver and sending the control message to the N interior lamp node modules;
the N interior lamp node modules are respectively used for judging whether the ID in the control message is matched with the ID of the interior lamp node modules;
when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module is used for generating an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
Preferably, the control module assigns IDs to the N interior lamp node modules:
the control module is used for generating an initial message and sending the initial message to the N interior lamp node modules, and the N interior lamp node modules are used for initializing based on the initial message;
the control module generates N different distribution ID messages and distributes the messages to the N interior lamp node modules;
the control module is further used for generating a storage message and distributing the storage message to the N interior lamp node modules, and the N interior lamp node modules are further used for storing the ID of the interior lamp node modules based on the storage message;
the control module is further configured to generate an end packet and distribute the end packet to the N interior lamp node modules, and the N interior lamp node modules are further configured to end ID assignment based on the end packet.
Preferably, the control module is further configured to generate verification messages and send the verification messages to the N interior lamp node modules respectively; and the N interior lamp node modules are also used for feeding back the ID of the interior lamp node modules to the control module based on the verification messages respectively.
Preferably, the control packet includes an ID identifying an area; in the step that the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules:
each interior light node module is used for reading the ID of the identification area, and when the ID of the identification area is the same as the ID of the identification area, the ID in the control message is matched with the ID of the corresponding interior light node module.
According to the scheme, the control method and the system for the interior lamp are applied to an interior lamp control device, the interior lamp control device comprises a control module and N interior lamp node modules, N is a positive integer greater than or equal to 1, each interior lamp node module comprises an LED module and an electronic control unit, each electronic control unit is used for controlling whether the LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, the N electronic control units of the N interior lamp node modules are sequentially connected in series; the method comprises the following steps: the control module allocates IDs for the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different; the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules; the N interior lamp node modules judge whether the ID in the control message is matched with the ID of the interior lamp node modules; when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the LED module in the interior lamp node module to act. The invention can allocate different IDs to each interior lamp node module and send the control message, so that each interior lamp node module judges whether the message needs to be executed or not based on the control message, thereby realizing the independent control of the interior lamp node modules.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a method of an embodiment 1 of a control method of an interior light disclosed in the present invention;
FIG. 2 is a flowchart of a method of an embodiment 2 of a method for controlling an interior light according to the present disclosure;
FIG. 3 is a flowchart of a method according to embodiment 3 of a method for controlling an interior light;
fig. 4 is a schematic structural diagram of an embodiment 1 of a control system of an interior light disclosed in the present invention;
fig. 5 is a schematic structural diagram of an embodiment 2 of a control system of an interior light disclosed in the present invention;
fig. 6 is a schematic structural diagram of an embodiment 3 of a control system for an interior light disclosed in the present invention;
fig. 7 is a schematic circuit diagram of a circuit structure that can implement the generated message ID of the distribution ID message as an ID of an interior lamp node module according to the present invention;
fig. 8 is a flowchart of various messages generated by the control modules in S201 to S205 and a flow chart of the generated messages in the method for controlling an interior light according to the embodiment 2 of the present invention;
fig. 9 is a schematic diagram of message verification disclosed in the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
To more particularly emphasize implementation independence, this description refers to a number of modules or units. For example, a module or unit may be implemented by hardware circuits comprising custom VLSI circuits or gate arrays, such as logic chips, transistors, or other components. A module or unit may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
Modules or units may also be implemented in software for execution by various forms of processors. An executable code module may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be formed as an object, procedure, or function. Nevertheless, the executables of an identified module or element need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module or element and achieve the desired result for the module or element.
Indeed, a module or unit of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules or units, and may be embodied in any suitable form and organized within any suitable data structure. The operational data may be collected as a single data set, or may be distributed over different locations having different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
Reference throughout this specification to "one embodiment" or similar language means that a feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases "in one embodiment," "in an embodiment," and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
Furthermore, the described features, structures, or characteristics of the invention may be combined in any suitable manner in one or more embodiments. The following description will provide many specific details such as examples of programming, software modules, user selections, network transactions, database queries, database structures, hardware modules, hardware circuits, hardware chips, etc., to provide an understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown in detail to avoid obscuring the invention.
As shown in fig. 1, which is a flowchart of a method for controlling an interior lamp according to embodiment 1 of the present invention, the method is applied to an interior lamp control device, the interior lamp control device includes a control module and N interior lamp node modules, N is a positive integer greater than or equal to 1, wherein each interior lamp node module includes an LED module and an electronic control unit, each electronic control unit is configured to control whether the LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, the N electronic control units of the N interior lamp node modules are sequentially connected in series; the method may comprise the steps of:
s101, the control module allocates IDs for the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different;
the ID assignment of the interior light node modules may be performed while the entire vehicle is off-line, and in order to ensure that any single interior light node module can be controlled, the ID of each interior light node module is unique, and no ID of other interior light node modules is the same as that of the interior light node modules on the same vehicle. The control module can adopt MCU (single chip microcomputer).
S102, the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules;
the transceiver device here may be a CAN transceiver, and the corresponding interior light control device may employ a LIN bus structure. If the transceiver is a CAN receiver, the transceiver receives a vehicle signal transmitted by a CAN bus, and the vehicle signal is mainly sent by an ECU (electronic Control Unit) such as an MMI (MultiMedia Interface, MultiMedia interaction system), a BCM (Body Control Module), and a PEPS (Passive Entry & Passive Start). And after receiving the vehicle signal, the control module generates a control message based on the vehicle signal and the current state of the interior lamp and sends the generated control message to the N interior lamp node modules. For example, the received command is a signal for turning on the interior lamp and emitting red light, and it is detected that the interior lamp is turned on but does not emit red light, the control message generated at this time only includes a signal for controlling the interior lamp to emit red light. Detecting whether the interior light is turned on and the color of the emitted light is prior art and will not be described herein. It is worth mentioning that any message generated by the control module can be received by all the interior lamp node modules because the interior lamp control device adopts the LIN bus structure.
S103, the N interior lamp node modules respectively judge whether the ID of the control message is matched with the ID of the control message;
the control message may be used to control one or more interior lamps, and therefore each interior lamp node module needs to determine whether the received control message is used to control the interior lamp node module, that is, whether the ID of the received control message matches the ID of the control message itself.
In order to make the embodiments of the present invention clearer and more obvious, N ═ 3 is taken as a specific example for the description, that is, the interior light control device includes 3 interior light node modules in total. For convenience of description, the 3 interior lamp node modules are named as a first interior lamp node module, a second interior lamp node module and a third interior lamp node module respectively. At this time, in step S103, the first interior light node module determines whether the ID in the control message matches the ID of the first interior light node module, the second interior light node module determines whether the ID in the control message matches the ID of the second interior light node module, and the third interior light node module determines whether the ID in the control message matches the ID of the third interior light node module.
And S104, when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
When any one of the interior lamp node modules judges that the received control message is used for controlling the interior lamp node module, namely when the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates a corresponding LED control signal based on the control message, and controls the LED module in the interior lamp node module to act according to the received signal, such as controlling the LED to be turned on, finishing ID distribution, changing colors and the like; the electronic control unit can be an MLX81108 chip.
In correspondence with the specific example in step S103, the description will be given by taking N ═ 3 as an example. For example, if the first interior light node module determines that the ID in the control message matches the ID of the first interior light node module, the electronic control unit of the first interior light node module generates an LED control signal based on the control message to control an LED module inside the first interior light node module to operate. For example, if the first interior light node module determines that the ID in the control message matches the ID of the first interior light node module, the electronic control unit of the first interior light node module generates an LED control signal based on the control message to control the LED module inside the first interior light node module to operate; and meanwhile, the second interior lamp node module judges that the ID in the control message is matched with the ID of the second interior lamp node module, and the electronic control unit of the second interior lamp node module generates an LED control signal based on the control message so as to control the action of an LED module in the second interior lamp node module.
In summary, in the above embodiments, when the interior lamps need to be controlled individually, the control module first allocates IDs to the N interior lamp node modules, where the IDs of any two interior lamp node modules are different; then the control module generates a control message based on the whole vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules; the N interior lamp node modules judge whether the ID in the control message is matched with the ID of the interior lamp node modules; when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the LED module in the interior lamp node module to act. By distributing different IDs to each interior lamp node module and sending the control message, each interior lamp node module judges whether the message needs to be executed or not based on the control message, and the individual control of the interior lamp node modules is realized.
As shown in fig. 2, which is a flowchart of embodiment 2 of a method for controlling an interior light provided by the present invention, the method may include the following steps:
s201, the control module generates an initial message and sends the initial message to N interior lamp node modules, and the N interior lamp node modules are initialized based on the initial message;
before an ID is assigned to each interior lamp node module, each interior lamp node module needs to be initialized, and for each interior lamp node module, when the interior lamp node module is initialized, the control module generates an initialization message, sends the generated initialization message to the interior lamp node module, and initializes the interior lamp node module according to the received initialization message.
S202, the control module generates N different distribution ID messages and distributes the messages to N interior lamp node modules;
the control module generates distribution ID messages, each interior lamp node module corresponds to one distribution ID message, therefore, the number of the interior lamp node modules needing to distribute the IDs is equal to that of the generated distribution ID messages, and in order to ensure that the IDs of the interior lamp node modules are different from the IDs of other interior lamp node modules, the IDs included in the distribution ID messages generated each time are different from the IDs included in the other distribution ID messages.
Each interior light node module can use a message ID as the ID of the interior light node module, and each message ID can only be used as the ID of one interior light node module. And after the distribution ID message is generated, the ID of the generated distribution ID message is used as the ID of one interior lamp node module, and then the next distribution ID message is generated.
As shown in fig. 7, a schematic circuit diagram of a circuit structure that can implement the ID of the generated ID message as the ID of a node module of an interior light is shown. The working principle of the circuit is as follows:
disconnecting the current source and the pull-up resistor of all SNPDs (Slave Node Position Detection, Slave nodes capable of automatically distributing ID), wherein the SNPDs are the interior lamp Node modules;
each SNPD measures the current flowing through a resistor Rshunt connected in parallel with the amplifier and is marked as Ishunt _ 1;
ishunt _1 of the three SNPDs is equal at this time:
SNPD A:Ishunt_1=I1+I2
SNPD B:Ishunt_1=I1+I2
SNPD C:Ishunt_1=I1+I2
the left current sources of all SNPDs are closed (switches of legs 4, 6, 9 are closed);
all SNPDs measure the current again, denoted as Ishunt — 2. The difference between Ishunt _1 and Ishunt _2 indicates whether the node is the node farthest from the physical location of the control module. When the difference is smaller than a specific preset standard current value Idiff, the last SNPD (or the SNPDs) on the bus is considered, and the nodes are selected as pre-selected nodes;
current conditions for three SNPDs at this time:
SNPD A:
Ishunt_2=I1+I2
Ishunt_2-Ishunt_1=0
SNPD B:
Ishunt_2=I1+I2+I4
Ishunt_2-Ishunt_1=I4
SNPD C:
Ishunt_2=I1+I2+I4+I6+I7
Ishunt_2-Ishunt_1=I4+I6+I7
example (c): SNPD A and B are preselected nodes if Idiff is greater than I4 and less than I4+ I6+ I7.
All non-preselected nodes disconnect the left current source, all preselected nodes close the right current source (the left current source remains closed, and all node pull-up resistors are disconnected);
all SNPDs measure the current again, denoted as Ishunt — 3. And (3) making a difference with Ishunt _1, if the difference is less than a specific Idiff, considering the node of the last SNPD on the bus, and then the current conditions of the three SNPDs are as follows:
SNPD A:
Ishunt_3=I1+I2
Ishunt_3-Ishunt_1=0
SNPD B:
Ishunt_3=I1+I2+I3+I4
Ishunt_3-Ishunt_1=I3+I4
SNPD C:
Ishunt_3=I1+I2+I3+I4+I5+I6+I7
Ishunt_3-Ishunt_1=I3+I4+I5+I6+I7
at this time Idiff is smaller than I3+ I4, so SNPD a is selected as the last SNPD on the bus, i.e. the first SNPD actually selected.
At this time, the ID of the selected SNPD is the ID of the generated assignment ID message. And after the next ID distribution message is generated, removing the SNPD with the existing ID, and repeating the steps until all the nodes finish ID distribution.
S203, the control module generates a storage message and distributes the storage message to N interior lamp node modules, and the N interior lamp node modules store the ID of the interior lamp node modules based on the storage message;
after all the interior lamp nodes are allocated with the IDs, the control module generates storage messages and sends the generated storage messages to all the interior lamp node modules respectively, and each interior lamp node module stores the corresponding ID based on the storage messages.
S204, the control module generates an end message and distributes the end message to N interior lamp node modules, and the N interior lamp node modules finish ID distribution based on the end message;
and after the ID is stored, the control module generates an end message and respectively sends the generated end message to all the interior lamp node modules, and the interior lamp node modules finish the ID distribution process based on the end message. At this point, as also shown in fig. 7, all current sources on all SNPDs are turned off, turning on all pull-up resistors.
As shown in fig. 8, the left flow in fig. 8 is a flow in which the control module in S201 to S204 generates a message in this embodiment, each flow in which the message is generated in fig. 8 corresponds to a message, and the message expression form of each flow can refer to the message part corresponding to the right side in fig. 8. Wherein, several different interior lamp node modules need to distribute ID, and need to repeat Next NAD several times, the NAD value is the message ID; that is, step 2(SID 0xB5 "BSM sub function 0x 02" NextNAD) in the flowchart shown in FIG. 8 is repeated. If one interior lamp node module needs to send the message in step 2 once, for example, 5 interior lamp node modules need to be assigned with IDs, the time sequence of the message is as follows:
executing the step 1 of SID 0xB5 BSM sub function 0x01 BSM Initialization to generate an initial message;
step 2, SID 0xB5 BSM subfunction 0x02 Next NAD is executed for 5 times, and different new NAD values are written in Byte 7 each time;
performing step 3"SID 0xB 5" BSM sub function 0x03 "Store NAD" to Store NAD values;
step 4"SID 0xB 5" BSM sub function 0x04 "BSM finished" is performed to end the message.
Take the message with allocated NAD as 04, 03,02 as an example (the following data are all 16 systems):
3C,7F,06, B5, FF,7F,01,02, FF, checksum; (initial message)
3C,7F,06, B5, FF,7F,02,02,04, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,02,02,03, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,02,02,02, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,03,02, FF, checksum; (storage message)
3C,7F,06, B5, FF,7F,04,02, FF, checksum; (end message)
S205, the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules;
the transceiver device here may be a CAN transceiver, and the corresponding interior light control device may employ a LIN bus structure. If the transceiver is a CAN receiver, the transceiver receives a vehicle signal transmitted by a CAN bus, and the vehicle signal is mainly sent by an ECU (electronic Control Unit) such as an MMI (MultiMedia Interface, MultiMedia interaction system), a BCM (Body Control Module), and a PEPS (Passive Entry & Passive Start). And after receiving the vehicle signal, the control module generates a control message based on the vehicle signal and the current state of the interior lamp and sends the generated control message to the N interior lamp node modules. For example, if the received command instructs the interior lamp to turn on and emit red light, and it is detected that the interior lamp is turned on but does not emit red light, the control message generated at this time only includes a signal for controlling the interior lamp to emit red light. Detecting whether the interior light is turned on and the color of the emitted light is prior art and will not be described herein. It is worth mentioning that any message generated by the control module can be received by all the interior lamp node modules because the interior lamp control device adopts the LIN bus structure.
S206, the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules;
the control message may be used to control one or more interior lamps, and therefore each interior lamp node module needs to determine whether the received control message is used to control the interior lamp node module. The specific method can be as follows: and the electronic control unit of each interior light node module reads the ID of the identification area in the control message, and when the ID of the identification area is the same as that of the interior light node module, the electronic control unit indicates that the ID in the control message is matched with that of the interior light node module.
And S207, when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
When any one of the interior lamp node modules judges that the received control message is used for controlling the interior lamp node module, namely when the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates a corresponding LED control signal based on the control message, and controls the LED module in the interior lamp node module to act according to the received signal, such as controlling the LED to be turned on, finishing ID distribution, changing colors and the like; the electronic control unit can be an MLX81108 chip.
As shown in fig. 3, which is a flowchart of embodiment 3 of a method for controlling an interior light provided on the basis of the above embodiment of the present invention, the method includes:
s301, the control module generates verification messages and respectively sends the verification messages to the N interior lamp node modules;
the control module generates a verification message as shown in fig. 9, further verifies whether LIN automatic addressing is successful, and obtains the ID of the corresponding NAD through the Read by ID LIN diagnostic command, wherein the format of LIN 2.0 is shown in fig. 9.
S302, the N interior lamp node modules respectively feed back the ID of the interior lamp node modules to the control module based on the verification messages.
And after receiving the verification message, the interior lamp node modules feed back the IDs of the interior lamp node modules to the control module, and after receiving the IDs fed back by all the interior lamp node modules, the control module can judge that the automatic addressing is successful.
As shown in fig. 4, a schematic structural diagram of an embodiment 1 of a control system for an interior lamp provided by the present invention includes a transceiver 101 and an interior lamp control device, where the interior lamp control device includes a control module 105 and N interior lamp node modules 104, an identifier of each interior lamp node module is represented by 104, N is a positive integer greater than or equal to 1, where each interior lamp node module 104 includes an LED module 102 and an electronic control unit 103, each electronic control unit 103 is configured to control whether an LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, all the electronic control units 103 of the N interior lamp node modules 104 are sequentially connected in series, where:
the control module 105 is configured to assign IDs to the N interior lamp node modules 104, where the IDs of any two interior lamp node modules are different;
the ID assignment of the interior light node modules 104 may be done on-line of the entire vehicle, and to ensure that any single interior light node module 104 can be controlled, the ID of each interior light node module 104 is unique, and no other interior light node module 104 on the same vehicle has the same ID. The control module 105 here may be an MCU (single chip microcomputer).
The transceiver 101 is configured to send a vehicle signal to the control module 105, and the control module 105 is further configured to generate a control packet based on the vehicle signal and send the control packet to the N interior lamp node modules 104;
the transceiver 101 may be a CAN transceiver, and the corresponding interior light control device may use a LIN bus structure. If the transceiver 101 is a CAN receiver, the transceiver receives a vehicle signal transmitted by a CAN bus, where the vehicle signal is mainly sent by an ECU (electronic Control Unit) such as an MMI (Multi Media Interface), a BCM (Body Control Module), and a PEPS (Passive Entry & Passive Start). After receiving the vehicle signal, the control module 105 generates a control message based on the vehicle signal and the current state of the interior lamp, and sends the generated control message to the N interior lamp node modules 104. For example, the received command is a signal for turning on the interior lamp and emitting red light, and it is detected that the interior lamp is turned on but does not emit red light, the control message generated at this time only includes a signal for controlling the interior lamp to emit red light. Detecting whether the interior light is turned on and the color of the emitted light is prior art and will not be described herein. It is worth mentioning that, since the interior lamp control device adopts the LIN bus structure, any message generated by the control module 105 is received by all the interior lamp node modules 104.
The N interior lamp node modules 104 are respectively used for judging whether the ID in the control message is matched with the ID of the control message;
the control packet may be used to control one or more interior lamps, so that each interior lamp node module 104 needs to determine whether the received control packet is used to control the interior lamp node module 104, i.e., whether the ID of the received control packet matches its own ID.
In order to make the embodiments of the present invention clearer and more obvious, N ═ 3 is taken as a specific example for the description, that is, the interior light control device includes 3 interior light node modules in total. For convenience of description, the 3 interior lamp node modules are named as a first interior lamp node module, a second interior lamp node module and a third interior lamp node module respectively. At this time, the first interior light node module judges whether the ID in the control message matches the ID of the first interior light node module, the second interior light node module judges whether the ID in the control message matches the ID of the second interior light node module, and the third interior light node module judges whether the ID in the control message matches the ID of the third interior light node module.
When any one of the interior lamp node modules determines that the ID in the control message matches its own ID, the electronic control unit 103 of the interior lamp node module 104 is configured to generate an LED control signal based on the control message, so as to control an LED module inside the interior lamp node module to operate.
When any one of the interior lamp node modules 104 determines that the received control message is used for controlling the interior lamp node module 104, that is, when the ID in the control message matches the ID of the interior lamp node module itself, the electronic control unit 103 of the interior lamp node module generates a corresponding LED control signal based on the control message, and controls the LED module inside the interior lamp node module to act according to the received signal, such as controlling the LED to turn on, ending ID assignment, changing colors, and the like; the electronic control unit 103 may be a MLX81108 chip.
In correspondence with the above specific example, N ═ 3 is also described here as an example. For example, if the first interior light node module determines that the ID in the control message matches the ID of the first interior light node module, the electronic control unit of the first interior light node module generates an LED control signal based on the control message to control an LED module inside the first interior light node module to operate. For example, if the first interior light node module determines that the ID in the control message matches the ID of the first interior light node module, the electronic control unit of the first interior light node module generates an LED control signal based on the control message to control the LED module inside the first interior light node module to operate; and meanwhile, the second interior lamp node module judges that the ID in the control message is matched with the ID of the second interior lamp node module, and the electronic control unit of the second interior lamp node module generates an LED control signal based on the control message so as to control the action of an LED module in the second interior lamp node module.
In summary, in the above embodiments, when the interior lamps need to be controlled individually, the control module first allocates IDs to the N interior lamp node modules, where the IDs of any two interior lamp node modules are different; then the control module generates a control message based on the whole vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules; the N interior lamp node modules judge whether the ID in the control message is matched with the ID of the interior lamp node modules; when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the LED module in the interior lamp node module to act. By distributing different IDs to each interior lamp node module and sending the control message, each interior lamp node module judges whether the message needs to be executed or not based on the control message, and the individual control of the interior lamp node modules is realized.
As shown in fig. 5, a schematic structural diagram of an embodiment 2 of a control system for an interior lamp provided by the present invention includes a transceiver 201 and an interior lamp control device, where the interior lamp control device includes a control module 205 and N interior lamp node modules 204, an identifier of each interior lamp node module is denoted by 204, N is a positive integer greater than or equal to 1, where each interior lamp node module 204 includes an LED module 202 and an electronic control unit 203, each electronic control unit 203 is configured to control whether an LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, all the electronic control units 203 of the N interior lamp node modules 204 are sequentially connected in series, where:
the control module 205 is configured to generate an initial message and send the initial message to the N interior lamp node modules 204, where the N interior lamp node modules 204 are configured to initialize based on the initial message;
before assigning an ID to each interior lamp node module 204, each interior lamp node module needs to be initialized, and for each interior lamp node module, when the interior lamp node module is initialized, the control module 205 generates an initialization message, sends the generated initialization message to the interior lamp node module, and initializes the interior lamp node module 204 according to the received initialization message.
The control module 205 is further configured to generate N different ID messages for distribution to the N interior lamp node modules;
the control module 205 generates an assignment ID message, and each interior lamp node module 204 corresponds to one assignment ID message, so the number of interior lamp node modules 204 that need to assign IDs is equal to the number of generated assignment ID messages, and in order to ensure that the ID of each interior lamp node module 204 is different from the IDs of other interior lamp node modules 204, the generated assignment ID message includes a message ID that is different from the message IDs included in other assignment ID messages.
Each interior lamp node module 204 may use a message ID as the ID of the interior lamp node module 204, and each message ID can only be used as the ID of one interior lamp node module 204. After the distribution ID message is generated, the message ID of the generated distribution ID message is used as the ID of one interior lamp node module 204, and then the next distribution ID message is generated.
As shown in fig. 7, a schematic circuit diagram of a circuit structure that can implement the generated message ID of the ID message as the ID of the interior lamp node module 204 is shown. The working principle of the circuit is as follows:
disconnecting the current sources and pull-up resistors of all SNPDs (Slave Node Position Detection, Slave nodes capable of automatically allocating IDs), wherein the SNPDs are the interior light Node module 204;
each SNPD measures the current flowing through a resistor Rshunt connected in parallel with the amplifier and is marked as Ishunt _ 1;
ishunt _1 of the three SNPDs is equal at this time:
SNPD A:Ishunt_1=I1+I2
SNPD B:Ishunt_1=I1+I2
SNPD C:Ishunt_1=I1+I2
the left current sources of all SNPDs are closed (switches of legs 4, 6, 9 are closed);
all SNPDs measure the current again, denoted as Ishunt — 2. The difference between Ishunt _1 and Ishunt _2 indicates whether the node is the node that is farthest from the physical location of the control module 205. When the difference is smaller than a specific preset standard current value Idiff, the last SNPD (or the SNPDs) on the bus is considered, and the nodes are selected as pre-selected nodes;
current conditions for three SNPDs at this time:
SNPD A:
Ishunt_2=I1+I2
Ishunt_2-Ishunt_1=0
SNPD B:
Ishunt_2=I1+I2+I4
Ishunt_2-Ishunt_1=I4
SNPD C:
Ishunt_2=I1+I2+I4+I6+I7
Ishunt_2-Ishunt_1=I4+I6+I7
example (c): SNPD A and B are preselected nodes if Idiff is greater than I4 and less than I4+ I6+ I7.
All non-preselected nodes disconnect the left current source, all preselected nodes close the right current source (the left current source remains closed, and all node pull-up resistors are disconnected);
all SNPDs measure the current again, denoted as Ishunt — 3. And (3) making a difference with Ishunt _1, if the difference is less than a specific Idiff, considering the node of the last SNPD on the bus, and then the current conditions of the three SNPDs are as follows:
SNPD A:
Ishunt_3=I1+I2
Ishunt_3-Ishunt_1=0
SNPD B:
Ishunt_3=I1+I2+I3+I4
Ishunt_3-Ishunt_1=I3+I4
SNPD C:
Ishunt_3=I1+I2+I3+I4+I5+I6+I7
Ishunt_3-Ishunt_1=I3+I4+I5+I6+I7
at this time Idiff is smaller than I3+ I4, so SNPD a is selected as the last SNPD on the bus, i.e. the first SNPD actually selected.
At this time, the ID of the selected SNPD is the message ID of the generated distribution ID message. And after the next ID distribution message is generated, removing the SNPD with the existing ID, and repeating the steps until all the nodes finish ID distribution.
The control module 205 is further configured to generate a storage packet and distribute the storage packet to the N interior lamp node modules, and the N interior lamp node modules 204 are further configured to store their own IDs based on the storage packet;
after all the interior lamp nodes are assigned with IDs, the control module 205 generates a storage packet and sends the generated storage packet to all the interior lamp node modules, and each interior lamp node module 204 stores the ID corresponding to the storage packet based on the storage packet.
The control module 205 is further configured to generate an end message and distribute the end message to the N interior lamp node modules, and the N interior lamp node modules 204 are further configured to end ID allocation based on the end message;
after the ID is stored, the control module 205 generates an end message, and sends the generated end message to all the interior lamp node modules, respectively, and the interior lamp node module 204 ends the ID assignment process based on the end message. At this point, as also shown in fig. 7, all current sources on all SNPDs are turned off, turning on all pull-up resistors.
As shown in fig. 8, the flow on the left side of fig. 8 is a flow in which the control module 205 generates a message in this embodiment, each flow in which the message is generated in fig. 8 corresponds to a message, and the message expression form of each flow can refer to the message part corresponding to the right side of fig. 8. Wherein, several different interior light node modules 204 need to distribute ID, and need to repeat Next NAD several times, the NAD value is the message ID; that is, step 2(SID 0xB5 "BSM sub function 0x 02" Next NAD) in the flowchart shown in FIG. 8 is repeated. If one interior lamp node module needs to send the message in step 2 once, for example, 5 interior lamp node modules need to be assigned with IDs, the time sequence of the message is as follows:
executing step 1"SID 0xB 5" BSM sub function 0x01 "BSM initiation" to initiate a message;
step 2, SID 0xB5 BSM sub function 0x02 Next NAD is executed for 5 times, and different new NAD values are written in Byte 7 each time;
performing step 3"SID 0xB 5" BSM sub function 0x03 "Store NAD" to Store NAD values;
step 4"SID 0xB 5" BSM sub function 0x04 "BSM finished" is performed to end the message.
Take the message with allocated NAD as 04, 03,02 as an example (the following data are all 16 systems):
3C,7F,06, B5, FF,7F,01,02, FF, checksum; (initial message)
3C,7F,06, B5, FF,7F,02,02,04, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,02,02,03, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,02,02,02, checksum; (assignment ID message)
3C,7F,06, B5, FF,7F,03,02, FF, checksum; (storage message)
3C,7F,06, B5, FF,7F,04,02, FF, checksum; (end message)
The transceiver 201 is configured to send a vehicle signal to the control module 205, and the control module 205 is further configured to generate a control message based on the vehicle signal and send the control message to the N interior lamp node modules 204;
the transceiver 201 may be a CAN transceiver, and the corresponding interior light control device may employ a LIN bus structure. If the transceiver 201 is a CAN receiver, the transceiver receives a vehicle signal transmitted by a CAN bus, and the vehicle signal is mainly sent by an ECU (Electronic Control Unit) such as an MMI (Multi Media Interface), a BCM (Body Control Module), a PEPS (Passive Entry & Passive Start) and the like. After receiving the vehicle signal, the control module 205 generates a control message based on the vehicle signal, and sends the generated control message to the N interior lamp node modules 204. For example, if the received command instructs the interior lamp to turn on and emit red light, and it is detected that the interior lamp is turned on but does not emit red light, the control message generated at this time only includes a signal for controlling the interior lamp to emit red light. Detecting whether the interior light is turned on and the color of the emitted light is prior art and will not be described herein. It should be noted that, since the interior lamp control device adopts the LIN bus structure, any message generated by the control module 205 is received by all the interior lamp node modules 204.
The N interior lamp node modules 204 are respectively used for judging whether the ID in the control message matches with the ID of the control message itself;
the control message may be used to control one or more interior lights, and therefore each interior light node module 204 needs to determine whether the received control message is used to control the interior light node module 204. The specific method can be as follows: the electronic control unit 203 of each interior lamp node module 204 reads the value of the identification area, and when the value of the identification area is the same as the ID of the interior lamp node module 204, it indicates that the ID in the control message matches the ID of the interior lamp node module 204.
When any one of the interior light node modules 204 determines that the ID in the control message matches its own ID, the electronic control unit 203 of the interior light node module 204 is configured to generate an LED control signal based on the control message to control an LED module inside the interior light node module to operate.
When any one of the interior lamp node modules 204 determines that the received control message is for controlling the interior lamp node module 204, that is, when the ID in the control message matches the ID of the interior lamp node module itself, the electronic control unit 203 of the interior lamp node module generates a corresponding LED control signal based on the control message, and controls the LED module inside the interior lamp node module to act according to the received signal, such as controlling the LED to turn on, ending ID assignment, changing colors, and the like; the electronic control unit 203 may be an MLX81108 chip.
As shown in fig. 6, a schematic structural diagram of an embodiment 3 of a control system for an interior light provided on the basis of the above embodiment of the present invention is shown, in which:
the control module 302 is further configured to generate verification messages and send the verification messages to the N interior lamp node modules 301 respectively;
the control module 302 is further configured to generate a verification message as shown in fig. 9, further verify whether LIN automatic addressing is successful, and obtain an ID of a corresponding NAD through a Read by ID LIN diagnostic command, where a LIN 2.0 format is as shown in fig. 9.
The N interior lamp node modules 301 are further configured to feed back their own IDs to the control module 302 based on the verification messages, respectively;
after receiving the verification message, the interior light node module 301 feeds back its own ID to the control module 302, and after receiving the own IDs fed back by all interior light node modules, the control module can determine that the automatic addressing is successful.
The functions described in the method of the present embodiment, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution of the embodiments of the present invention to the prior art or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device, a network device, or the like) to execute all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. The control method of the interior lamp is characterized by being applied to an interior lamp control device, wherein the interior lamp control device comprises a control module and N interior lamp node modules, N is a positive integer greater than or equal to 1, each interior lamp node module comprises an LED module and an electronic control unit, each electronic control unit is used for controlling whether the LED module corresponding to the interior lamp node module where the electronic control unit is located emits light, and when N is greater than or equal to 2, the N electronic control units of the N interior lamp node modules are sequentially connected in series; the method comprises the following steps:
the control module allocates IDs to the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different;
the control module generates a control message based on the vehicle signal sent by the transceiver and sends the control message to the N interior lamp node modules;
the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules;
when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module generates an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
2. The method of claim 1, wherein the control module assigns IDs to the N interior light node modules, comprising:
the control module generates an initial message and sends the initial message to the N interior lamp node modules, and the N interior lamp node modules are initialized based on the initial message;
the control module generates N different distribution ID messages and distributes the messages to the N interior lamp node modules;
the control module generates a storage message and distributes the storage message to the N interior lamp node modules, and the N interior lamp node modules store the ID of the interior lamp node modules based on the storage message;
and the control module generates an end message and distributes the end message to the N interior lamp node modules, and the N interior lamp node modules finish ID distribution based on the end message.
3. The method of claim 1 or 2, wherein the method further comprises:
the control module generates verification messages and respectively sends the verification messages to the N interior lamp node modules;
and the N interior lamp node modules respectively feed back the ID of the interior lamp node modules to the control module based on the verification messages.
4. The method of claim 1, wherein the control packet includes an ID identifying a region; the N interior light node modules respectively judge whether the ID in the control message is matched with the ID of the interior light node modules, and the judgment comprises the following steps:
and each interior light node module reads the ID of the identification area, and when the ID of the identification area is the same as the ID of the identification area, the ID in the control message is matched with the ID of the corresponding interior light node module.
5. The utility model provides a control system of interior lamp, its characterized in that, includes send-receiver device and interior lamp controlling means, interior lamp controlling means includes control module and a N interior lamp node module, and N is more than or equal to 1 positive integer, and wherein, every interior lamp node module includes an LED module and an electronic control unit, and every electronic control unit is used for controlling the LED module that its place interior lamp node module corresponds whether luminous, and when N more than or equal to 2, a N electronic control unit of a N interior lamp node module is series connection in proper order, wherein:
the control module is used for distributing IDs for the N interior lamp node modules, wherein the IDs of any two interior lamp node modules are different;
the transceiver is used for transmitting a vehicle signal to the control module;
the control module is also used for generating a control message based on the vehicle signal sent by the transceiver and sending the control message to the N interior lamp node modules;
the N interior lamp node modules are respectively used for judging whether the ID in the control message is matched with the ID of the interior lamp node modules;
when any one of the interior lamp node modules judges that the ID in the control message is matched with the ID of the interior lamp node module, the electronic control unit of the interior lamp node module is used for generating an LED control signal based on the control message so as to control the action of the LED module in the interior lamp node module.
6. The system of claim 5, wherein the control module assigns the N interior light node modules with IDs:
the control module is used for generating an initial message and sending the initial message to the N interior lamp node modules, and the N interior lamp node modules are used for initializing based on the initial message;
the control module generates N different distribution ID messages and distributes the messages to the N interior lamp node modules;
the control module is further used for generating a storage message and distributing the storage message to the N interior lamp node modules, and the N interior lamp node modules are further used for storing the ID of the interior lamp node modules based on the storage message;
the control module is further configured to generate an end packet and distribute the end packet to the N interior lamp node modules, and the N interior lamp node modules are further configured to end ID assignment based on the end packet.
7. The system of claim 5 or 6, wherein the control module is further configured to generate a verification message and send the verification message to the N interior lamp node modules, respectively; and the N interior lamp node modules are also used for feeding back the ID of the interior lamp node modules to the control module based on the verification messages respectively.
8. The system of claim 5, wherein the control message includes an ID identifying a region; in the step that the N interior lamp node modules respectively judge whether the ID in the control message is matched with the ID of the interior lamp node modules:
each interior light node module is used for reading the ID of the identification area, and when the ID of the identification area is the same as the ID of the identification area, the ID in the control message is matched with the ID of the corresponding interior light node module.
CN201710407219.7A 2017-06-02 2017-06-02 Control method and system of interior lamp Active CN107226020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710407219.7A CN107226020B (en) 2017-06-02 2017-06-02 Control method and system of interior lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710407219.7A CN107226020B (en) 2017-06-02 2017-06-02 Control method and system of interior lamp

Publications (2)

Publication Number Publication Date
CN107226020A CN107226020A (en) 2017-10-03
CN107226020B true CN107226020B (en) 2020-05-05

Family

ID=59933549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710407219.7A Active CN107226020B (en) 2017-06-02 2017-06-02 Control method and system of interior lamp

Country Status (1)

Country Link
CN (1) CN107226020B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112339658A (en) * 2019-08-06 2021-02-09 宝马股份公司 Method, device and system for controlling atmosphere of vehicle and vehicle
CN118118462A (en) * 2024-04-29 2024-05-31 智达诚远科技有限公司 LIN bus automatic addressing method and system, master node and slave node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434433A (en) * 2002-01-22 2003-08-06 精工爱普生株式会社 Generation method and circuit for control-signal electrooptics device and electronic instrument
DE102004035425A1 (en) * 2004-07-21 2006-03-16 Adam Opel Ag Switching device for motor vehicle has control unit connected to operating element and allocates to operating element other switching functions in dependence upon various driving situations
CN201842012U (en) * 2010-10-15 2011-05-25 长安大学 Interior different tone-based safe automobile driving device
CN104924977A (en) * 2015-07-17 2015-09-23 北京汽车研究总院有限公司 LED driver, LED drive system and LED drive device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5598270B2 (en) * 2010-11-09 2014-10-01 日産自動車株式会社 VEHICLE LIGHTING DEVICE AND ITS CONTROL METHOD
CN205468762U (en) * 2016-01-05 2016-08-17 北京经纬恒润科技有限公司 Control circuit of atmosphere lamp in car

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434433A (en) * 2002-01-22 2003-08-06 精工爱普生株式会社 Generation method and circuit for control-signal electrooptics device and electronic instrument
DE102004035425A1 (en) * 2004-07-21 2006-03-16 Adam Opel Ag Switching device for motor vehicle has control unit connected to operating element and allocates to operating element other switching functions in dependence upon various driving situations
CN201842012U (en) * 2010-10-15 2011-05-25 长安大学 Interior different tone-based safe automobile driving device
CN104924977A (en) * 2015-07-17 2015-09-23 北京汽车研究总院有限公司 LED driver, LED drive system and LED drive device

Also Published As

Publication number Publication date
CN107226020A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
US10204072B2 (en) Method for automatically allocating addresses to similar bus users
US9342058B2 (en) Communication with lighting units over a power bus
WO2022028571A1 (en) Control method and device for atmosphere lamp, and vehicle and storage medium
KR102645211B1 (en) Communication devices, communication methods, programs, and communication systems
US8492983B1 (en) System and method to address and control serially connected LEDs
CN100414943C (en) Method and system for assigning and binding network address of ballast
CN107226020B (en) Control method and system of interior lamp
US20110210670A1 (en) LIGHTING SYSTEM WITH A PLURALITY OF LEDs
CA2912230C (en) Dynamic configuration for a wireless peripheral device
JP6502329B2 (en) System including control device and controlled device
US20140223048A1 (en) Communication network and method for communicating in a communication network
US20140246993A1 (en) Communication with lighting units over a power bus
EP3610702B1 (en) System and method for enhancing data rates over addressable lighting networks
CN105960829B (en) Zigbee optical link network debugging
EP3050402A1 (en) A lighting device and a method of protecting a lighting device
US11824681B2 (en) Processing system, related integrated circuit, device and method
TW202118352A (en) Pulse-width modulation and arbitration for contextual and uniform led illumination in usb applications
CN108170117B (en) Method and system for automatically identifying and distributing vehicle-mounted module parameters
US10243887B2 (en) Switch unit, ethernet network, and method for activating components in an ethernet network
Skuta et al. Controll of car LED lights by CAN/LIN bus
JP2010515395A (en) Network communication system
JP2005229561A (en) Communication network system, and id allocating method and id setting method for communication network system
Barthel et al. CAN FD Light-A novel communication bus supporting digitalization and customization of automotive lighting for the broad market
US10827594B2 (en) Energy-efficient exchange of data frames
CN106647341B (en) A kind of vehicle-carrying display screen independently lights method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hirain Technologies Co.,Inc.

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address