CN111787667A - Atmosphere lamp addressing system, electronic device and vehicle - Google Patents

Atmosphere lamp addressing system, electronic device and vehicle Download PDF

Info

Publication number
CN111787667A
CN111787667A CN202010441760.1A CN202010441760A CN111787667A CN 111787667 A CN111787667 A CN 111787667A CN 202010441760 A CN202010441760 A CN 202010441760A CN 111787667 A CN111787667 A CN 111787667A
Authority
CN
China
Prior art keywords
atmosphere lamp
node
message
control module
atmosphere
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.)
Withdrawn
Application number
CN202010441760.1A
Other languages
Chinese (zh)
Inventor
肖建忠
陶建卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Tacking Automobile Electronic Co ltd
Original Assignee
Nanjing Tacking Automobile Electronic 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 Nanjing Tacking Automobile Electronic Co ltd filed Critical Nanjing Tacking Automobile Electronic Co ltd
Priority to CN202010441760.1A priority Critical patent/CN111787667A/en
Publication of CN111787667A publication Critical patent/CN111787667A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides an atmosphere lamp addressing system, which comprises a control module; the atmosphere lamp node comprises an input terminal and an output terminal, when the number of the atmosphere lamp nodes is 1, the input terminal of the atmosphere lamp node is electrically connected with the control module, and the output terminal is vacant; when the number of the atmosphere lamp nodes is at least 2 and above, the input terminal of the 1 st atmosphere lamp node is electrically connected with the control module, the output terminal of the Nth atmosphere lamp node is electrically connected with the input terminal of the (N + 1) th atmosphere lamp node, and the output terminal of the last 1 atmosphere lamp node is vacant to form a link circuit, wherein N is not less than 1, N is less than the number of the atmosphere lamp nodes and N is a positive integer; and the control module addresses the unaddressed atmosphere lamp nodes one by one according to the sequence of the link circuit. Through the link circuit, the control module automatically addresses all unaddressed atmosphere lamp nodes, and therefore cost is saved. The application also provides an electronic device and a vehicle.

Description

Atmosphere lamp addressing system, electronic device and vehicle
Technical Field
The application relates to the technical field of vehicle-mounted atmosphere lamp node addressing, in particular to an atmosphere lamp addressing system, an electronic device and a vehicle.
Background
At present, many vehicles are provided with vehicle-mounted atmosphere lamp nodes, and the comfort level of drivers and people in the vehicles is improved by adjusting the brightness, the color and the like of the vehicle-mounted atmosphere lamp nodes. If the brightness and the color of the vehicle-mounted atmosphere lamp nodes need to be adjusted, the vehicle-mounted atmosphere lamp nodes need to be addressed first, and each node corresponds to the position in the vehicle where the node is located one by one.
According to the traditional vehicle-mounted atmosphere lamp node addressing method, the vehicle-mounted atmosphere lamp nodes are fixedly addressed in advance according to the positions of the vehicle-mounted atmosphere lamp nodes, and the vehicle-mounted atmosphere lamp nodes are required to be installed at the positions corresponding to vehicles. The traditional vehicle-mounted atmosphere lamp node addressing method usually has faults such as wrong mounting positions of vehicle-mounted atmosphere lamp nodes and the like, so that the labor and material cost is increased after production and sale.
Disclosure of Invention
The application discloses atmosphere lamp addressing system can solve the technical problem that increases manpower, material resources cost on production, after sale that trouble such as on-vehicle atmosphere lamp node mounted position mistake leads to.
In a first aspect, the present application provides an ambience lamp addressing system, comprising:
a control module; and
the atmosphere lamp node comprises at least one atmosphere lamp node, an input terminal and an output terminal, wherein when the number of the atmosphere lamp nodes is 1, the input terminal of the atmosphere lamp node is electrically connected with the control module, and the output terminal is vacant; when the number of the atmosphere lamp nodes is at least 2or more, the input terminal of the 1 st atmosphere lamp node is electrically connected with the control module, the output terminal of the Nth atmosphere lamp node is electrically connected with the input terminal of the (N + 1) th atmosphere lamp node, and the output terminal of the last 1 atmosphere lamp node is vacant to form a link circuit, wherein N is more than or equal to 1, N is less than the number of the atmosphere lamp nodes, and N is a positive integer;
the control module is used for broadcasting messages to all the atmosphere lamp nodes through the link circuit and addressing the unaddressed atmosphere lamp nodes one by one according to the sequence of the link circuit.
Through the link circuit, the control module may automatically address all unaddressed atmosphere light nodes. The control module firstly clears the addresses of all the atmosphere lamp nodes through a clearing command after the atmosphere lamp nodes are installed, and then enters an automatic address allocation process again, so that the labor and material cost for production and after sale caused by faults such as wrong atmosphere lamp node installation positions and the like is saved.
Further, the control module includes:
the processor is used for compiling a message and sending the message to the message sender; and
and the message transmitter is used for broadcasting messages to all the atmosphere lamp nodes through the link circuit.
The message sender broadcasts messages to all the atmosphere lamp nodes through the link circuit, so that the cost can be greatly saved.
Further, the control module further comprises:
a command receiver to receive an auto-addressing command;
and the processor starts to write the message according to the automatic addressing command.
The beneficial effects are as follows: the processor can be controlled externally by the command receiver, increasing the controllability of the system.
Further, each atmosphere lamp node further comprises: the message receiver is electrically connected with the input terminal of the atmosphere lamp node and is used for receiving the message; and
the shunt resistor, the one end electricity of shunt resistor connects the input terminal of place atmosphere lamp node, and the other end electricity is connected the output terminal of place atmosphere lamp node, all atmosphere lamp node shunt resistor constitutes link circuit's bus.
The beneficial effects are as follows: since the shunt resistance is about 1 Ω, and the input terminal and the output terminal of a single ambience lamp node are not completely electrically isolated from each other, the control module may broadcast a message to all ambience lamp nodes simultaneously through the link circuit. Further, the control module further comprises:
the power supply module is used for generating power supply electric energy;
each atmosphere light node further comprises:
a pull-up resistor; and
one end of the pull-up resistor is electrically connected with the power supply module, the other end of the pull-up resistor is electrically connected with the pull-up resistor switch, the other end of the pull-up resistance switch is electrically connected with a node of the input terminal and the shunt resistor, when the message receiver receives the message of addressing start, the pull-up resistance switch is electrically connected with the processor, and is switched off under the control of the processor, the processor measures the current of each atmosphere lamp node on the bus, to obtain a first offset current, the pull-up resistor switch being turned on under control of the processor, the processor again measures a second offset current for each atmosphere lamp node on the bus and calculates a first difference of the second offset current and the first offset current, and preliminarily judging the position of each atmosphere lamp node in the link circuit according to the first difference.
The beneficial effects are as follows: the control module can determine the sequential relation of all atmosphere lamp nodes in the link circuit through a first difference value obtained by the first offset current and the second offset current.
Further, each atmosphere lamp node further comprises:
a pull-up current source; and
the processor measures a third offset current on the bus, calculates a second difference between the third offset current and the first offset current, and when the second difference is less than or equal to the preset threshold, the message receiver receives the address in the message.
The beneficial effects are as follows: and judging the relationship between the first difference value and the second difference value of each atmosphere lamp node and the preset threshold value, so that the current value of the bus load can be prevented from being too large, and the atmosphere lamp nodes are damaged. By calculating the first difference and the second difference of each atmosphere lamp node, the sequence of the atmosphere lamp nodes from the control module in the link circuit can be accurately obtained, and therefore addressing is carried out.
Further, the atmosphere lamp node further comprises:
and the memory is used for storing the address of each atmosphere lamp node when the message receiver of the atmosphere lamp node receives the address in the message.
The beneficial effects are as follows: when the atmosphere lamp nodes are called later, the memory storing the address of each atmosphere lamp node can be directly called, so that the method is more convenient and faster.
Further, the control module includes:
the power supply module is used for generating power supply electric energy;
the processor is further used for calling the address of each atmosphere lamp node stored in the memory and controlling each atmosphere lamp node through the power supply module.
The beneficial effects are as follows: the processor calls the address of each atmosphere lamp node stored in the memory, so that different atmosphere lamp nodes can be correspondingly controlled, and functions such as adjusting the brightness and color of the atmosphere lamp can be realized.
In a second aspect, the present application further provides an electronic device comprising an ambience light addressing system as described in the first aspect and a diagnostician for sending automatic addressing commands to the control module.
For example, when the diagnostician detects that an address of one of all the atmosphere light nodes is lost, the diagnostician sends an automatic addressing command to the control module; as another example, when the diagnostics detect that a new unaddressed mood light node is accessed, the diagnostics send an auto-addressing command to the control module.
In a third aspect, the present application further provides a vehicle comprising an electronic device according to the second aspect.
For example, when the vehicle leaving the factory is installed with an atmosphere light node, the diagnoser of the electronic device in the vehicle automatically sends an automatic addressing command to the control module; for another example, when an ambient light node in the vehicle is damaged and needs to be replaced, the diagnostics automatically send an automatic addressing command to the control module after a new unaddressed ambient light node is replaced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for a person skilled in the art to obtain other drawings based on the drawings without any inventive exercise.
FIG. 1 is a schematic diagram of an ambience lamp addressing system provided in a first embodiment of the present application.
Fig. 2 is a schematic diagram of a control module framework according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a control module framework according to an embodiment of the present application.
FIG. 4 is a schematic diagram of an atmosphere lamp node circuit according to an embodiment of the present disclosure.
FIG. 5 is a schematic circuit diagram of an ambience lamp addressing system according to an embodiment of the present application.
Fig. 6 is a schematic diagram of an automatic addressing process according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a message format according to an embodiment of the present application.
Fig. 8 is a schematic view of an electronic device frame according to an embodiment of the present application.
FIG. 9 is a schematic view of a vehicle frame according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application are within the scope of protection of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of an ambience lamp addressing system 1 according to a first embodiment of the present application. The ambience lamp addressing system 1 comprises: a control module 11; the lighting system comprises at least one atmosphere lamp node 12, wherein the atmosphere lamp node 12 further comprises an input terminal 121 and an output terminal 122, when the number of the atmosphere lamp nodes 12 is 1, the input terminal 121 of the atmosphere lamp node 12 is electrically connected with the control module 11, and the output terminal 122 is vacant; when the number of the atmosphere lamp nodes 12 is at least 2or more, the input terminal 121 of the 1 st atmosphere lamp node 12 is electrically connected to the control module 11, the output terminal 122 of the nth atmosphere lamp node 12 is electrically connected to the input terminal 121 of the (N + 1) th atmosphere lamp node 12, and the output terminal 122 of the last 1 atmosphere lamp node 12 is left empty to form a link circuit, wherein N is greater than or equal to 1, N is smaller than the number of the atmosphere lamp nodes 12, and N is a positive integer; the control module 11 is configured to broadcast a message to all the atmosphere lamp nodes 12 through the link circuit, and address the unaddressed atmosphere lamp nodes 12 one by one according to the sequence of the link circuit.
Specifically, in the present embodiment, each desirable value is taken for N within the range, and the link circuit shown in fig. 1 can be obtained. For example, when the number of atmosphere light nodes 12 is 3, N may be 1, 2. That is, the control module 11 is electrically connected to the input terminal 121 of the 1 st atmosphere lamp node 12, the output terminal 122 of the 1 st atmosphere lamp node 12 is electrically connected to the input terminal 121 of the 2 nd atmosphere lamp node 12, the output terminal 122 of the 2 nd atmosphere lamp node 12 is electrically connected to the input terminal 121 of the 3 rd atmosphere lamp node 12, and the output terminal 122 of the last 1 atmosphere lamp node 12 is left vacant, thereby forming a link circuit.
Specifically, the control module 11 and all the atmosphere lamp nodes 12 form the link circuit, so that the control module 11 can broadcast the packet to all the atmosphere lamp nodes 12 simultaneously in a packet broadcasting process. For example, the control module 11 broadcasts a message to the input terminal 121 of the 1 st atmosphere lamp node 12, the 1 st atmosphere lamp node 12 broadcasts the message to the input terminal 121 of the 2 nd atmosphere lamp node 12 through the output terminal 122 where the first atmosphere lamp node is located, the 2 nd atmosphere lamp broadcasts the message to the input terminal 121 of the 3 rd atmosphere lamp node 12 through the output terminal 122 where the second atmosphere lamp node is located, and so on until the last 1 atmosphere lamp node 12 receives the message.
Specifically, in this embodiment, the control module 11 first addresses the highest-order unaddressed atmosphere lamp nodes 12 in the link circuit, and then addresses the lower-order unaddressed atmosphere lamp nodes 12 in the link circuit. In other words, the control module 11 is addressed in a distance-to-distance manner. This is because in this embodiment the flow direction of the circuit is from far to near to the control module 11, in another possible embodiment it is also possible to go from near to far. The present application is not limited in this respect as long as the control module 11 is not influenced by the automatic addressing of unaddressed ambience light nodes 12.
Specifically, the message includes address information, and when an unaddressed ambience lamp node 12 receives the message including the address information, the control module 11 stores the address of the ambience lamp node 12, so that the control module 11 can call the address of the ambience lamp node 12 to control the ambience lamp node.
It will be appreciated that in this embodiment, the control module 11 may automatically address all unaddressed ambience light nodes 12 via the link circuit. That is, the atmosphere lamp nodes 12 may not be pre-addressed and may be installed at any location, and the control module 11, after the atmosphere lamp nodes 12 are installed, clears all the addresses of the atmosphere lamp nodes 12 through a clear command, and then reenters the process of automatically allocating addresses. Therefore, the cost of manpower and material resources on production and after-sale caused by faults such as wrong installation positions of the atmosphere lamp nodes 12 is saved. The clear command may be issued by an on-board diagnostic device or the like and received by the control module 11.
In a possible embodiment, please refer to fig. 2, and fig. 2 is a schematic diagram of a control module framework according to an embodiment of the present disclosure. The control module 11 includes: the message processing system comprises a processor 111 and a message transmitter 112, wherein the processor 111 is used for compiling a message and transmitting the message to the message transmitter 112; the message transmitter 112 is configured to broadcast a message to all atmosphere light nodes 12 through the link circuit.
Specifically, the message transmitter 112 may be a Local Interconnect Network (LIN) transmitter. The LIN transmitter is one of the more commonly used vehicle-mounted communication modes for transmitting messages, and the LIN can provide an auxiliary function for a vehicle-mounted communication network. In this embodiment, the LIN transmitter broadcasts messages to all atmosphere lamp nodes 12, which can greatly save cost. Of course, the present application does not limit the type of the message transmitter 112 as long as the message transmitter 112 does not affect the broadcast of messages to all atmosphere light nodes 12.
In a possible embodiment, please refer to fig. 3, and fig. 3 is a schematic diagram of a control module framework according to an embodiment of the present application. The control module 11 further comprises: a command receiver 113, the command receiver 113 for receiving an automatic addressing command; and the processor 111 starts to write the message according to the automatic addressing command.
Specifically, the command receiver 113 may be a Controller Area Network (CAN) receiver, which is commonly used in an on-board Network and CAN communicate with other on-board controls.
In particular, the automatic addressing commands are typically externally manually entered commands. For example, in the production process, after the atmosphere lamp is installed in the atmosphere lamp node 12, an automatic addressing command can be input to start addressing the atmosphere lamp node 12; for another example, in the using process, when a certain atmosphere lamp is damaged and needs to be replaced, after a new atmosphere lamp is installed in the atmosphere lamp node 12, the automatic addressing command can be input, and the atmosphere lamp node 12 starts to be addressed.
The circuit principle of the ambience lamp node 12 will be explained in detail below. In one possible embodiment, please refer to fig. 4, in which fig. 4 is a schematic diagram of an atmosphere lamp node circuit according to an embodiment of the present disclosure. Each atmosphere light node 12 further comprises: the message receiver 123, the message receiver 123 is electrically connected to the input terminal 121 of the atmosphere lamp node 12, and is configured to receive the message; and a shunt resistor Rshunt, one end of the shunt resistor Rshunt is electrically connected to the input terminal 121 of the atmosphere lamp node 12, and the other end of the shunt resistor Rshunt is electrically connected to the output terminal 122 of the atmosphere lamp node 12, and the shunt resistors Rshunt of all the atmosphere lamp nodes 12 form a bus of the link circuit.
Specifically, as shown in fig. 4, the message receiver 123 may be a LIN receiver corresponding to the message transmitter 112. It can be understood that, in this embodiment, since the shunt resistance Rshunt is about 1 Ω, and the input terminal 121 and the output terminal 122 of a single atmosphere light node 12 are not completely electrically isolated, the control module 11 may broadcast a message to all atmosphere light nodes 12 through the link circuit at the same time.
In one possible embodiment, referring to fig. 5, fig. 5 is a circuit diagram of an ambience lamp addressing system according to an embodiment of the present application. The control module 11 further comprises: a power supply module Vs for providing electrical energy; each atmosphere light node 12 further comprises: a pull-up resistor Rpu and a pull-up resistor switch ENpu, wherein one end of the pull-up resistor Rpu is electrically connected to the power supply module Vs, the other end of the pull-up resistor Rpu is electrically connected to the pull-up resistor switch ENpu, the other end of the pull-up resistor switch ENpu is electrically connected to a node where the input terminal 121 is electrically connected to the shunt resistor Rshunt, when the message receiver 123 receives the message from the beginning of addressing, the pull-up resistor switch ENpu is electrically connected to the processor 111 and is turned off under the control of the processor 111, the processor 111 measures the current of each atmosphere lamp node 12 on the bus to obtain a first offset current, the pull-up resistor switch ENpu is turned on under the control of the processor 111, the processor 111 measures a second offset current of each atmosphere lamp node 12 on the bus again and calculates a first difference between the second offset current and the first offset current, and preliminarily judging the position of each atmosphere lamp node 12 in the link circuit according to the first difference value.
Specifically, in this embodiment, the power supply module Vs may be a High-side Driver (HSD) chip, and the HSD chip is more commonly used for the power supply function of the vehicle-mounted controller, and has the advantages of self-protection, High integration level, and the like. The power supply module Vs is electrically connected to each of the atmosphere lamp nodes 12 to generate power supply energy, and the voltage provided by the power supply module Vs is 12V.
Specifically, in this embodiment, the pull-up resistor Rpu is 30k Ω offset current, which is a name for the current measured on the bus. The first offset current is a current value measured when the pull-up resistance switch ENpu is turned off, and the first offset current is used as a zero calibration quantity. The second offset current values measured on the bus line of each atmosphere lamp node 12 will be different from each other after the pull-up resistance switch ENpu is turned on. Then, it can be determined from the first difference that the atmosphere lamp node 12 with the larger first difference is closer to the control module 11 in the link circuit, and the atmosphere lamp node 12 with the smaller first difference is farther from the control module 11 in the link circuit. Thus, the control module 11 may determine the sequential relationship of all atmosphere lamp nodes 12 in the link circuit.
In one possible embodiment, referring again to fig. 4 and 5, each atmosphere light node 12 further includes: a pull-up current source Iaa and a pull-up current source switch ENaa, wherein one end of the pull-up current source Iaa is electrically connected to the power supply module, the other end of the pull-up current source Iaa is electrically connected to the pull-up current source switch ENaa, the other end of the pull-up current source switch ENaa is electrically connected to a node where the input terminal 121 is electrically connected to the shunt resistor Rshunt, when the first difference is smaller than or equal to a preset threshold, the pull-up current source switch ENaa is electrically connected to the processor 111 and is turned on under the control of the processor 111, the processor 111 measures a third offset current on the bus and calculates a second difference between the third offset current and the first offset current, and when the second difference is smaller than or equal to the preset threshold, the message receiver 123 receives the address in the message.
Specifically, in this embodiment, the current value of the pull-up current source Iaa is 2mA, and turning on the pull-up current source Iaa may make the current value measured on the bus significantly larger than the current value measured when turning off the pull-up current source Iaa, so as to better distinguish the sequence of the atmosphere lamp node 12 in the link circuit. In the present embodiment, the preset threshold is set to 1 mA.
Specifically, referring to fig. 4 again, the atmosphere lamp node 12 further includes a differential voltage circuit Uaa, one end of the differential voltage circuit Uaa is electrically connected to one end of the shunt resistor Rshunt, and the other end of the differential voltage circuit Uaa is electrically connected to the other end of the shunt resistor Rshunt. The differential voltage circuit Uaa may reduce common mode interference signals, so that the first offset current, the second offset current, and the third offset current measured by the processor 111 are more accurate.
Specifically, please refer to fig. 6, in which fig. 6 is a schematic diagram of an automatic addressing process according to an embodiment of the present application. If the first difference is greater than the preset threshold, after the processor 111 detects the first differences of all the atmosphere lamp nodes 12, turning off the pull-up resistor switches ENpu where all the atmosphere lamp nodes 12 are located. And if the second difference is greater than the preset threshold, turning off the pull-up current source switches ENaa where all the atmosphere lamp nodes 12 are located. After turning on the pull-up resistor switches enu where all the atmosphere lamp nodes 12 are located and turning off the pull-up current source switches ENaa, the control module 11 detects whether all the atmosphere lamp nodes 12 are addressed and ends the automatic addressing procedure.
It can be understood that, in the present embodiment, the relationship between the first difference and the second difference of each atmosphere lamp node 12 and the preset threshold is determined, so that it is possible to avoid that the current value of the bus load is too large, which may cause damage to the atmosphere lamp node 12. By calculating the first difference and the second difference of each atmosphere lamp node 12, the sequence of the atmosphere lamp nodes 12 from the control module 11 in the link circuit can be accurately obtained, and thus, addressing is performed.
The messages written by the processor 111 will be briefly described below. Referring to fig. 7, fig. 7 is a schematic diagram of a message format according to an embodiment of the present application. Fig. 7 shows 4 frames of messages with different functions, and information in the messages is represented in hexadecimal, where Master-ID 0x19 is a fixed beginning of a frame of message; the time point of Byte0, NAD ═ 0x7F, indicates that the frame message is broadcasted to all the atmosphere lamp nodes 12, and after all the atmosphere lamp nodes 12 finish addressing, the control module 11 can specify the atmosphere lamp node 12 with a specific address to receive the frame message according to Byte 0; the Byte1, PCI 0x06 is fixed protocol control information; byte2, the serviceID is 0xB5 is a fixed self-defined addressing flow service code; byte3| Byte4, SupplierID ═ 0xFF |0x7F is the code assigned to the atmosphere lamp; a Byte5, where the Function ID is 01or 02or 03or 04, may specify the Function of the frame message, for example, when the Function ID is 01, the frame message is a start message of an automatic addressing process, when the Function ID is 02, the frame message is a content message containing address information, when the Function ID is 03, the frame message is a message that controls the atmosphere light node 12 to store the address information, and when the Function ID is 04, the frame message is an end message of the automatic addressing process; byte6, Parameter 0x02 is the Parameter of message function; byte7 is used to assign the address of the atmosphere light node 12 only if the Function ID is 02.
Specifically, assuming that the number of atmosphere lamp nodes 12 is 6, the automatic addressing process may be completed through the following message format: start message (Function ID 1): 0x190x7F0x 060 xB50xFF0x7F 0x010x 020 xFF;
content message (Function ID 2): 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 020x 06; 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 020x 05; 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 020x 04; 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 020x 03; 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 02; 0x190x7F0x 060 xB50xFF0x7F 0x020x020x 020x 01;
storage message (Function ID ═ 3): 0x190x7F0x 060 xB50xFF0x7F 0x 030 x020 xFF;
end message (Function ID 4): 0x190x7F0x 060 xB50xFF0x7F 0x 040 x020 xFF.
In one possible embodiment, the atmosphere light node 12 further comprises: a memory, configured to store an address of each atmosphere lamp node 12 when the message receiver 123 of the atmosphere lamp node 12 receives the address in the message.
Specifically, when the atmosphere lamp node 12 receives the storage packet sent by the control module 11, the atmosphere lamp node 12 stores the address into the memory where the address is located.
In a possible embodiment, the control module 11 comprises: a power supply module Vs for generating power supply energy; the processor 111 is further configured to call the address of each atmosphere lamp node 12 stored in the memory, and control each atmosphere lamp node 12 through the power supply module Vs.
Specifically, the atmosphere lamp node 12 stores the address in the memory where the address is located, so that the control module 11 can call the atmosphere lamp node 12 through messages with different contents to implement functions, for example, adjusting the brightness and color of the atmosphere lamp.
Fig. 8 is a schematic view of an electronic device 2 according to an embodiment of the present application, and fig. 8 is a schematic view of an electronic device frame according to the present application. The electronic device 2 comprises an ambience light addressing system 1 as described above and a diagnostician 21, the diagnostician 21 being configured to send an automatic addressing command to the control module 11.
Specifically, please refer to the above description for the ambience lamp addressing system 1, which is not described herein again. The diagnotor 21 has a man-machine interaction function, and the diagnotor 21 can send an automatic addressing command through the command receiver 113 of the control module 11 when receiving an artificial command so as to start an automatic addressing process for the atmosphere lamp node 12.
Fig. 9 is a schematic view of a vehicle frame according to an embodiment of the present application, and fig. 9 is a schematic view of a vehicle 3 provided by the present application. The vehicle 3 includes the electronic device 2 as described above, and the electronic device 2 please refer to the above description, which is not described herein again. The vehicle 3 may further include a central control human-computer interaction module, a keyless entry/start module, a vehicle body control module, an engine management module, etc., and the modules may all communicate with the command receiver 113 of the control module 11 through the CAN to realize interaction between the modules and the atmosphere lamp.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An ambience lamp addressing system, characterized in that the ambience lamp addressing system comprises:
a control module; and
the atmosphere lamp node comprises at least one atmosphere lamp node, an input terminal and an output terminal, wherein when the number of the atmosphere lamp nodes is 1, the input terminal of the atmosphere lamp node is electrically connected with the control module, and the output terminal is vacant; when the number of the atmosphere lamp nodes is at least 2or more, the input terminal of the 1 st atmosphere lamp node is electrically connected with the control module, the output terminal of the Nth atmosphere lamp node is electrically connected with the input terminal of the (N + 1) th atmosphere lamp node, and the output terminal of the last 1 atmosphere lamp node is vacant to form a link circuit, wherein N is more than or equal to 1, N is less than the number of the atmosphere lamp nodes, and N is a positive integer;
the control module is used for broadcasting messages to all the atmosphere lamp nodes through the link circuit and addressing the unaddressed atmosphere lamp nodes one by one according to the sequence of the link circuit.
2. The ambience lamp addressing system of claim 1, wherein the control module includes:
the processor is used for compiling a message and sending the message to the message sender; and
and the message transmitter is used for broadcasting messages to all the atmosphere lamp nodes through the link circuit.
3. The ambiance lamp addressing system of claim 2, wherein the control module further comprises:
a command receiver to receive an auto-addressing command;
and the processor starts to write the message according to the automatic addressing command.
4. The ambience lamp addressing system of any one of claims 1-3, wherein each ambience lamp node further includes: the message receiver is electrically connected with the input terminal of the atmosphere lamp node and is used for receiving the message; and
the shunt resistor, the one end electricity of shunt resistor connects the input terminal of place atmosphere lamp node, and the other end electricity is connected the output terminal of place atmosphere lamp node, all atmosphere lamp node shunt resistor constitutes link circuit's bus.
5. The ambience lamp addressing system of claim 4, wherein the control module further includes:
the power supply module is used for generating power supply electric energy;
each atmosphere light node further comprises:
a pull-up resistor; and
one end of the pull-up resistor is electrically connected with the power supply module, the other end of the pull-up resistor is electrically connected with the pull-up resistor switch, the other end of the pull-up resistance switch is electrically connected with a node of the input terminal and the shunt resistor, when the message receiver receives the message of addressing start, the pull-up resistance switch is electrically connected with the processor, and is switched off under the control of the processor, the processor measures the current of each atmosphere lamp node on the bus, to obtain a first offset current, the pull-up resistor switch being turned on under control of the processor, the processor again measures a second offset current for each atmosphere lamp node on the bus and calculates a first difference of the second offset current and the first offset current, and preliminarily judging the position of each atmosphere lamp node in the link circuit according to the first difference.
6. The ambience lamp addressing system of claim 4 or 5, wherein each ambience lamp node further includes:
a pull-up current source; and
the processor measures a third offset current on the bus, calculates a second difference between the third offset current and the first offset current, and when the second difference is less than or equal to the preset threshold, the message receiver receives the address in the message.
7. The ambience lamp addressing system of any one of claims 1, 2, 3or 5, wherein the ambience lamp node further comprises:
and the memory is used for storing the address of each atmosphere lamp node when the message receiver of the atmosphere lamp node receives the address in the message.
8. The ambience lamp addressing system of claim 7, wherein the control module includes:
the power supply module is used for generating power supply electric energy;
the processor is further used for calling the address of each atmosphere lamp node stored in the memory and controlling each atmosphere lamp node through the power supply module.
9. An electronic device, characterized in that it comprises an ambience light addressing system as claimed in any one of claims 1-8 and a diagnostician for sending automatic addressing commands to the control module.
10. A vehicle characterized in that it comprises an electronic device according to claim 9.
CN202010441760.1A 2020-05-22 2020-05-22 Atmosphere lamp addressing system, electronic device and vehicle Withdrawn CN111787667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010441760.1A CN111787667A (en) 2020-05-22 2020-05-22 Atmosphere lamp addressing system, electronic device and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010441760.1A CN111787667A (en) 2020-05-22 2020-05-22 Atmosphere lamp addressing system, electronic device and vehicle

Publications (1)

Publication Number Publication Date
CN111787667A true CN111787667A (en) 2020-10-16

Family

ID=72753805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010441760.1A Withdrawn CN111787667A (en) 2020-05-22 2020-05-22 Atmosphere lamp addressing system, electronic device and vehicle

Country Status (1)

Country Link
CN (1) CN111787667A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051886A (en) * 2022-04-23 2022-09-13 科博达技术股份有限公司 Automatic addressing method for slave controller based on external load time sequence
CN115534834A (en) * 2022-09-13 2022-12-30 武汉海微科技有限公司 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium
WO2024021201A1 (en) * 2022-07-27 2024-02-01 浙江吉利控股集团有限公司 Node address allocation method and apparatus for vehicle, and vehicle device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051886A (en) * 2022-04-23 2022-09-13 科博达技术股份有限公司 Automatic addressing method for slave controller based on external load time sequence
CN115051886B (en) * 2022-04-23 2023-07-18 科博达技术股份有限公司 Automatic addressing method of slave controller based on external load time sequence
WO2024021201A1 (en) * 2022-07-27 2024-02-01 浙江吉利控股集团有限公司 Node address allocation method and apparatus for vehicle, and vehicle device and storage medium
CN115534834A (en) * 2022-09-13 2022-12-30 武汉海微科技有限公司 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111787667A (en) Atmosphere lamp addressing system, electronic device and vehicle
US7328286B2 (en) Automatic addressing on bus systems
US6563419B1 (en) Control and data transmission system
EP1067734B1 (en) Method for checking a ring-shaped optical network for data transmission between a plurality of network nodes in a motor vehicle
CN106131240A (en) A kind of CAN address distribution method based on daisy chaining and communication system
US11548456B2 (en) Can circuit structure and vehicle diagnostic device including the same
CA1339154C (en) Dialogue system
US10467024B2 (en) System and method for bus arrangement communications
US8378529B2 (en) Switching actuator for controlling the energy supply to electric consumers
CN112653743B (en) Multi-sensor addressing method, data acquisition equipment and system in RS485 bus
US5170491A (en) Power source switch circuit
AU617793B2 (en) Mobile telephone terminal having function to perform call clear process
CN113485920A (en) Method and device for realizing DoIP entity, readable storage medium and electronic equipment
CN117459345A (en) Self-addressing circuit and method for bus equipment based on power-on time sequence
US10782766B2 (en) Control apparatus
CN105404271A (en) Centralized body control system and identity early warning method thereof
EP0374176A1 (en) Method and system for transmitting information and controlling components
CN108964717B (en) NRZ current coding circuit based on single control line
CN106004730A (en) Automotive heterogeneous network convergence device and plug and play expanding method of automotive intelligent equipment based on same
CN112984095B (en) Non-road automatic mechanical gear box controller, gear box and non-road locomotive
WO2024113179A1 (en) Power supply control circuit, load circuit, power supply system and terminal device
CN221541472U (en) Vehicle-mounted anchor point configuration system and vehicle
CN219202161U (en) Power supply management equipment suitable for vehicle-mounted power supply
WO2022230684A1 (en) Management device, relay device, management method, and management program
USRE49398E1 (en) Wireless electrical interface system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201016