Steering lamp control system and control method thereof

文档序号:125160 发布日期:2021-10-22 浏览:45次 中文

阅读说明:本技术 一种转向灯控制系统及其控制方法 (Steering lamp control system and control method thereof ) 是由 徐健 任康成 张立 董锋格 向芸 于 2020-04-20 设计创作,主要内容包括:本发明提供了一种转向灯控制系统,包括车身控制模块、控制单元、驱动单元、执行单元,车身控制模块用于发送控制命令并接收来自执行单元的状态信息;控制单元接收车身控制模块的控制命令并用以控制驱动单元;驱动单元接收控制单元的控制命令并用以驱动执行单元;执行单元接收驱动单元的驱动命令并执行;其中,控制单元包括LIN收发器用于实时接收来自车身控制模块的控制命令,并将执行单元的状态信息发送给车身控制模块;所述MCU芯片接收控制命令以控制所述驱动单元;Zigbee收发单元,接收执行单元的工作模式信号至所述MCU芯片,同时向上位机反馈执行单元的工作状态和故障状态,实现转向灯的个性化动态效果。(The invention provides a steering lamp control system which comprises a vehicle body control module, a control unit, a driving unit and an execution unit, wherein the vehicle body control module is used for sending a control command and receiving state information from the execution unit; the control unit receives a control command of the vehicle body control module and is used for controlling the driving unit; the driving unit receives the control command of the control unit and is used for driving the execution unit; the execution unit receives and executes the driving command of the driving unit; the control unit comprises an LIN transceiver which is used for receiving a control command from the vehicle body control module in real time and sending the state information of the execution unit to the vehicle body control module; the MCU chip receives a control command to control the driving unit; and the Zigbee transceiver unit receives the working mode signal of the execution unit and sends the signal to the MCU chip, and simultaneously feeds back the working state and the fault state of the execution unit to the upper computer, so that the personalized dynamic effect of the steering lamp is realized.)

1. A turn signal lamp control system, comprising:

the vehicle body control module is used for sending a control command and receiving state information from the execution unit;

the control unit receives a control command of the vehicle body control module and is used for controlling the driving unit;

the driving unit receives the control command of the control unit and is used for driving the execution unit;

the execution unit receives and executes a driving command of the driving unit;

wherein the control unit includes:

the LIN transceiver is used for receiving a control command from the vehicle body control module in real time and sending the state information of the execution unit to the vehicle body control module;

the MCU chip receives a control command to control the driving unit;

and the Zigbee transceiver unit receives the working mode signal of the execution unit to the MCU chip and simultaneously feeds back the working state and the fault state of the execution unit to the upper computer.

2. The turn signal lamp control system according to claim 1, wherein the execution unit comprises a left turn signal lamp set and a right turn signal lamp set.

3. The turn signal lamp control system according to claim 1, wherein the driving unit comprises an LED driving chip.

4. The turn signal lamp control system according to claim 3, wherein the Zigbee transceiver unit comprises a CC2530 chip, the LIN transceiver is of a model TJA1021, the MCU chip is of a model KEA128, and the LED driving chip is of a model TLC6C 5724.

5. The turn signal lamp control system according to claim 4, wherein the UART _ RX end of the CC2530 chip is connected to a forty-eighth pin UARTO _ RX of the MCU chip, and the UART _ TX end of the CC2530 chip is connected to a forty-seventh pin UARTO _ TX of the MCU chip.

6. The steering lamp control system according to claim 4, wherein the LIN-EN terminal of the LIN transceiver is connected with the thirty-second pin LIN-EN of the MCU chip, the LIN-RXD terminal of the LIN transceiver is connected with the thirty-fourth pin LIN-RXD of the MCU chip, and the LIN-TXD terminal of the LIN transceiver is connected with the thirty-third pin LIN-TXD of the MCU chip.

7. The turn signal lamp control system according to claim 4, wherein a fifty-ninth pin SDI of the MCU chip is connected to an SDI pin of the LED driving chip, a sixty pin SCK of the MCU chip is connected to an SCK pin of the LED driving chip, a fifty-third pin LATCH of the MCU chip is connected to a LATCH pin of the LED driving chip, and a first pin GCLK of the MCU chip is connected to a GCLK pin of the LED driving chip.

8. A turn signal lamp control system according to claim 1, wherein the LIN transceiver is replaceable by a CAN transceiver.

9. The system as claimed in claim 1, wherein the upper computer is a multimedia vehicle with a Zigbee transceiver unit.

10. The control method of a turn signal lamp control system according to any one of claims 1 to 9, characterized by comprising the steps of:

powering up the system, and initializing each module;

if the driver does not have steering operation, the LIN control message content continuously sent by the vehicle body control module is '00, 10', and meanwhile, the Zigbee transceiving unit receives the steering lamp dynamic mode information from the upper computer in real time and feeds back the working state and fault state information of the steering lamp group to the MCU chip;

when a driver turns on a left steering wheel, LIN control message contents continuously sent by the vehicle body control module are '01' and '10', and meanwhile, the Zigbee transceiving unit receives steering lamp dynamic mode information from the upper computer in real time;

and after the steering is finished, the driver turns off the steering lamp, and the vehicle body control module resumes to continuously send LIN control messages with the contents of '00 and 10'.

The vehicle body control module sends a control command to the MCU chip through the LIN bus according to user operation, and specifies the classification of the turn-on and turn-off information of the steering lamp through the realization of different byte information contents, and meanwhile, the MCU chip receives the dynamic mode information of the Zigbee transceiver unit and combines the control command received by the LIN bus to realize the dynamic effect of the steering lamp.

Technical Field

The invention relates to the technical field of automobile lamp control, in particular to a control system and a control method of a steering lamp.

Background

With the development of national economy and the improvement of the living standard of people, automobiles are more and more taken as walking tools and appear in common people, and the rapid development of the automobile industry leads people to have higher requirements on the automobiles. The car light is one of the important components of the car, and has a great influence on the driving safety.

Along with the improvement of aesthetic level of people, the requirements on automobile lamps are not only from the point of safety, but also more and more attach importance to the beautiful appearance and the personalized requirements, in an automobile lighting system, the steering lamps are the most important devices for expressing the dynamic information of an automobile, the steering lamps provide guarantee for driving safety, the general expression form of the traditional steering lamps is light flicker, at present, although some steering lamps with dynamic effects appear on the market, the dynamic effects are single, the user self-definition cannot be supported, and the personalized requirements of people cannot be met.

Disclosure of Invention

The steering lamp control system and the control method thereof provided by the invention solve the problem that the traditional steering lamp cannot meet the personalized requirements of people due to single dynamic effect and incapability of supporting user customization, so that the steering lamp can realize user-defined control and the personalized dynamic effect of the steering lamp.

In order to achieve the purpose, the technical scheme of the invention is realized as follows:

the invention discloses a steering lamp control system, which comprises a vehicle body control module, a control unit, a driving unit and an execution unit, wherein the vehicle body control module is used for sending a control command and receiving state information from the execution unit; the control unit receives a control command of the vehicle body control module and is used for controlling the driving unit; the driving unit receives the control command of the control unit and is used for driving the execution unit; the execution unit receives and executes a driving command of the driving unit; the LIN transceiver is used for receiving a control command from the vehicle body control module in real time and sending state information of the execution unit to the vehicle body control module; the MCU chip receives a control command to control the driving unit; and the Zigbee transceiver unit receives the working mode signal of the execution unit to the MCU chip and simultaneously feeds back the working state and the fault state of the execution unit to the upper computer.

Further, the execution unit comprises a left steering lamp group and a right steering lamp group.

Further, the driving unit includes an LED driving chip.

Further, the Zigbee transceiver unit includes a CC2530 chip, the model of the LIN transceiver is TJA1021, the model of the MCU chip is KEA128, and the model of the LED driving chip is TLC6C 5724.

Further, the UART _ RX end of the CC2530 chip is connected to the forty-eighth pin UARTO _ RX of the MCU chip, and the UART _ TX end of the CC2530 chip is connected to the forty-seventh pin UARTO _ TX of the MCU chip.

Further, the LIN-EN end of the LIN transceiver is connected with the thirty-second pin LIN-EN of the MCU chip, the LIN-RXD end of the LIN transceiver is connected with the thirty-fourth pin LIN-RXD of the MCU chip, and the LIN-TXD end of the LIN transceiver is connected with the thirty-third pin LIN-TXD of the MCU chip.

Furthermore, a fifty-ninth pin SDI of the MCU chip is connected with an SDI pin of the LED driving chip, a sixteenth pin SCK of the MCU chip is connected with an SCK pin of the LED driving chip, a fifty-third pin LATCH of the MCU chip is connected with a LATCH pin of the LED driving chip, and a first pin GCLK of the MCU chip is connected with a GCLK pin of the LED driving chip.

Further, the LIN transceiver may be replaced by a CAN transceiver.

Further, the upper computer is a multimedia car machine with a Zigbee transceiving unit.

The invention also discloses a control method of the steering lamp control system, which comprises the following steps:

powering up the system, and initializing each module;

if the driver does not have steering operation, the LIN control message content continuously sent by the vehicle body control module is '00, 10', and meanwhile, the Zigbee transceiving unit receives the steering lamp dynamic mode information from the upper computer in real time and feeds back the working state and fault state information of the steering lamp group to the MCU chip;

when a driver turns on a left steering wheel, LIN control message contents continuously sent by the vehicle body control module are '01' and '10', and meanwhile, the Zigbee transceiving unit receives steering lamp dynamic mode information from the upper computer in real time;

and after the steering is finished, the driver turns off the steering lamp, and the vehicle body control module resumes to continuously send LIN control messages with the contents of '00 and 10'.

The vehicle body control module sends a control command to the MCU chip through the LIN bus according to user operation, and specifies the classification of the turn-on and turn-off information of the steering lamp through the realization of different byte information contents, and meanwhile, the MCU chip receives the dynamic mode information of the Zigbee transceiver unit and combines the control command received by the LIN bus to realize the dynamic effect of the steering lamp.

The beneficial technical effects are as follows:

1. the invention discloses a steering lamp control system, which comprises a vehicle body control module, a control unit, a driving unit and an execution unit, wherein the vehicle body control module is used for sending a control command and receiving state information from the execution unit; the control unit receives a control command of the vehicle body control module and is used for controlling the driving unit; the driving unit receives the control command of the control unit and is used for driving the execution unit; the execution unit receives and executes a driving command of the driving unit; the problem that the traditional steering lamp cannot meet the personalized requirements of people due to the fact that the dynamic effect of the traditional steering lamp is single and cannot support user customization is solved, so that the steering lamp can realize user-defined control, and the personalized dynamic effect of the steering lamp is realized;

2. in the invention, a plurality of LED lamp groups are controlled by one MCU in a centralized control management mode, so that the use of the same components in the left and right steering lamp groups is reduced, and the cost is reduced;

3. according to the invention, the control unit in the control unit comprises the LIN transceiver, the MCU chip and the Zigbee transceiver unit, and the Zigbee transceiver unit is added, so that the function of the traditional steering lamp is kept, the mode customization function is independent of the vehicle body control module, and the independent customization control can be carried out by other upper computer systems, so that the individual requirements of users are met, and the user experience is improved;

4. in the invention, the upper computer is a multimedia vehicle machine with a Zigbee receiving and sending unit, so that a driver can realize personalized customization operation of dynamic effects of the steering lamps through the multimedia vehicle machine and can know the working state and the fault state of the steering lamp set of the vehicle in real time;

5. according to the invention, the vehicle body control module sends a control command to the MCU chip through the LIN bus according to user operation, and realizes the classification of the turn-on and turn-off information of the appointed turn light through the information content of different bytes, and through the information operation, the signal communication load of the LIN bus at the vehicle body end can be effectively reduced; meanwhile, the MCU chip receives the dynamic mode information of the Zigbee transceiver unit and can realize the dynamic effect of the steering lamp by combining the control command received by the LIN bus.

Drawings

In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiments will be briefly described below.

Fig. 1 is a system architecture diagram of a turn signal control system according to the present invention;

fig. 2 is a circuit block diagram of a LIN transceiver of a turn signal lamp control system according to the present invention;

fig. 3 is a circuit structure diagram of a Zigbee chip of a turn signal lamp control system according to the present invention;

FIG. 4 is a circuit diagram of an MCU chip of the turn signal lamp control system according to the present invention;

fig. 5 is a circuit structure diagram of an LED driving chip of a turn signal lamp control system according to the present invention.

Detailed Description

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.

Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

The invention discloses a steering lamp control system, and in one aspect, referring to fig. 1, the steering lamp control system comprises a vehicle body control module, a control unit, a driving unit and an execution unit, wherein the vehicle body control module is used for sending a control command and receiving state information from the execution unit; the control unit receives a control command of the vehicle body control module and is used for controlling the driving unit; the driving unit receives a control command of the control unit and is used for driving the execution unit, and the driving unit comprises an LED driving chip; the execution unit receives and executes a driving command of the driving unit, and comprises a left steering lamp set and a right steering lamp set.

As an embodiment of the invention, the control unit comprises an LIN transceiver, an MCU chip and a Zigbee transceiver unit, the Zigbee transceiver unit is added, the mode customization function is independent of the vehicle body control module while the function of the traditional steering lamp is kept, and the mode customization control can be carried out independently by other upper computer systems, so that the individual requirements of users are met, and the user experience is improved; the LIN transceiver is used for receiving a control command from the vehicle body control module in real time and sending state information of the execution unit to the vehicle body control module, preferably, the LIN transceiver adopts a TJA1021 chip of NXP company, and particularly, referring to fig. 2, the LIN-EN end of the LIN transceiver is connected with the thirty-second pin LIN-EN of the MCU chip, the LIN-RXD end of the LIN transceiver is connected with the thirty-fourth pin LIN-RXD of the MCU chip, and the LIN-TXD end of the LIN transceiver is connected with the thirty-third pin LIN-TXD of the MCU chip and used for realizing the receiving and sending of LIN signals; of course, the LIN transceiver CAN be replaced by a CAN transceiver, and is not limited herein.

As an embodiment of the present invention, the MCU chip receives a control command to control the driving unit, preferably, the MCU chip adopts a KEA128 chip of NXP, specifically, a fifty ninth pin SDI of the MCU chip is connected to an SDI pin of the LED driving chip, a sixteenth pin SCK of the MCU chip is connected to an SCK pin of the LED driving chip, a fifty third pin LATCH of the MCU chip is connected to a LATCH pin of the LED driving chip, and a first pin GCLK of the MCU chip is connected to a GCLK pin of the LED driving chip, so as to realize on/off control and brightness adjustment of the LED lamp bead.

As an embodiment of the present invention, the Zigbee transceiver unit receives a working mode signal of the execution unit to the MCU chip, and simultaneously feeds back a working state and a fault state of the execution unit to the upper computer, preferably, the Zigbee transceiver unit adopts a CC2530 chip of TI, specifically, a UART _ RX end of the CC2530 chip is connected to a forty-eighth pin UARTO _ RX of the MCU chip, and a UART _ TX end of the CC2530 chip is connected to a forty-seventh pin UARTO _ TX of the MCU chip; the upper computer is preferably a multimedia vehicle machine with a Zigbee receiving and sending unit, and a driver can realize personalized customization operation of the dynamic effect of the steering lamp through the multimedia vehicle machine and can know the working state and the fault state of the steering lamp group of the vehicle in real time.

The invention also discloses a control method of the steering lamp control system, which comprises the following steps:

before introducing the control method, it should be noted that, in the turn signal control system, the classification of the turn signal lamp turning-on and turning-off information is realized through different byte information contents, that is, "00" of byte 1 represents that the left turn signal lamp is turned off, and "01" represents that the left turn signal lamp is turned on; byte 2, "10" indicates that the right winker is off, and "11" indicates that the right winker is on.

The specific control method comprises the following steps:

step 1: powering up the system, and initializing each module;

step 2: if the driver does not have steering operation, the LIN control message content continuously sent by the vehicle body control module is '00' and '10' (wherein, '00' is byte 1 content and indicates that the left steering lamp is turned off, and '10' is byte 2 content and indicates that the right steering lamp is turned off), and meanwhile, the Zigbee transceiving unit receives dynamic mode information of the steering lamp from an upper computer (a multimedia vehicle machine) in real time and feeds back the working state and the fault state information of the steering lamp group to the MCU chip;

and step 3: when a driver turns on a left turn, the LIN control message content continuously sent by the vehicle body control module is ' 01 ' and ' 10 ' (wherein, ' 01 ' is byte 1 content and indicates that a left turn light is turned on, and ' 10 ' is byte 2 content and indicates that a right turn light is turned off), meanwhile, the Zigbee transceiving unit receives dynamic mode information of the turn lights from an upper computer (a multimedia vehicle machine) in real time, and if the information is ' water flow effect ', the MCU chip controls the left turn light group to be turned on one by one from inside to outside ' so as to realize the water flow effect. Namely, the Zigbee transceiver unit signal determines the dynamic mode, and the LIN signal determines the turning on/off of the steering lamp.

And 4, step 4: and after the steering is finished, the driver turns off the steering lamp, and the vehicle body control module resumes to continuously send the LIN control message with the content of '0010' (wherein '00' is the content of byte 1 and indicates that the left steering lamp is turned off, and '10' is the content of byte 2 and indicates that the right steering lamp is turned off).

In summary, the vehicle body control module sends a control command to the MCU chip through the LIN bus according to the user operation, and specifies the turn-on and turn-off information classification of the turn lights through the implementation of different byte information contents, that is, "00" of byte 1 represents the turn-off of the left turn light, and "01" represents the turn-on of the left turn light; the '10' of the byte 2 represents that the right turn light is turned off, and the '11' represents that the right turn light is turned on, so that the signal communication load of the LIN bus at the vehicle body end can be effectively reduced through the information operation; meanwhile, the MCU chip can simultaneously receive the dynamic mode information of the Zigbee transceiver unit and realize the dynamic effect of the steering lamp by combining the control command received by the LIN bus.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

The above examples are only for describing the preferred embodiments of the present invention, and are not intended to limit the scope of the present invention, and various modifications and improvements made to the technical solution of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:遮挡信息显示方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!