Control system and method compatible with various vehicle lamps and vehicle
By writing calibration terms in the body controller and increasing the CAN signal, the problem of commercial vehicle body controllers being compatible with a variety of vehicle lamps is solved, and compatible driving of LED and halogen lighting is realized, system compatibility and flexibility are improved, and production complexity and cost are reduced.
Patent Information
- Application Number
- CN202510210048.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-02-25
AI Technical Summary
Under the conditions of limited output resources, commercial vehicle body controllers are difficult to compatible with the driving and diagnosis of a variety of vehicle lamps, resulting in high development costs and long cycles.
By writing calibration terms in the body controller, adding the lamp type CAN signal, defining different pins, and compatible with peripheral wiring harnesses of different pins through software, compatible with LED and halogen lighting can be achieved.
Accurate control of a variety of vehicle lamps is achieved, system compatibility and flexibility is improved, production complexity and cost are reduced, and the rapid update of lamp technology is supported.
Smart Images

Figure CN120156434A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle body control, and particularly relates to a control system, method and vehicle compatible with multiple vehicle lamps. Background Art
[0002] In the field of commercial vehicles, the configuration of vehicle lamps is relatively complex. Due to different functional requirements, there are a wide variety of lamp types in commercial vehicles, covering various types such as headlamps, turn signals, brake lights, fog lights, etc. At the same time, in terms of lamp light sources, there is a phenomenon of mixed use of LED and halogen types. This leads to a key technical problem for the body controller in actual operation, that is, how to meet the driving and diagnostic requirements of multiple lamps under the condition of limited output resources.
[0003] To solve the above technical problems, the currently common technical solution is to re-develop the body controller and achieve effective driving and diagnosis of multiple lamps by expanding output resources. However, this solution has obvious disadvantages. On the one hand, re-developing the body controller requires a large amount of manpower, material resources and financial resources, resulting in a significant increase in costs; on the other hand, the development process involves complex technical links and strict testing procedures, making the development cycle longer, which not only affects the product launch speed, but also restricts the rapid update and iteration of commercial vehicle technologies to a certain extent. Therefore, there is an urgent need for a new technical solution to solve the technical problems of the commercial vehicle body controller in driving and diagnosing multiple lamps without significantly increasing costs and shortening the development cycle. Summary of the Invention
[0004] The present invention solves the problem that the body controller is compatible with LED type lighting lamps and halogen lighting lamps with limited output pins by writing calibration items, adding CAN signals of lamp types, defining different pins, and making the software compatible with the peripheral wiring harnesses of different pins, and specifically provides a control system, method and vehicle compatible with multiple vehicle lamps.
[0005] In a first aspect, the technical solution of the present invention provides a control system compatible with multiple vehicle lamps, including a body controller, the body controller is connected to an input light switch and a chassis controller, and the chassis controller is connected to vehicle lamps; The body controller stores a first correspondence table and calibration items of the lamp types set according to the vehicle configuration, and the first correspondence table is a correspondence table between the body controller CAN signal and the lamp type; The chassis controller stores a first correspondence table and a second correspondence table; the second correspondence table is a correspondence table between the driving power and the light of different pins of the chassis controller for different types of lamps; The body controller collects the signals of the input light switch and determines the lamp type of the lighting lamps connected to the chassis controller through calibration items. According to the signals of the input light switch and the lamp type, combined with the first correspondence table, it sends a CAN message to the chassis controller. The chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type, obtains the drive pins of the chassis controller according to the second correspondence table, and drives the corresponding pins to light the corresponding lamps. Drive the corresponding pins to light the corresponding lamps according to the pin definitions corresponding to the lamp types in the second correspondence table.
[0006] As an optimization of the technical solution of the present invention, an EEPROM is provided in the body controller, and the lamp types of the vehicle lighting lamps are written into the EEPROM of the body controller through calibration items.
[0007] As an optimization of the technical solution of the present invention, the input light switch includes a light knob switch and a left light combination switch respectively connected to the body controller.
[0008] As an optimization of the technical solution of the present invention, the light knob switch includes a low beam switch; The left light combination switch includes a left turn signal, a right turn signal, and a high beam switch; The vehicle lamps include left and right low beam lamps, left and right auxiliary high beam lamps, left and right front turn signal lamps, left and right side turn signal lamps, and left and right high beam lamps.
[0009] As an optimization of the technical solution of the present invention, the lamp types of the vehicle lighting lamps include LED lighting lamps, halogen lighting lamps, and hybrid lighting lamps.
[0010] As an optimization of the technical solution of the present invention, the body controller is responsible for collecting the signals of the light knob switch and the left light combination switch, determining the lamp type through the calibration items in the EEPROM, and sending a CAN message to the chassis controller through the CAN bus with the switch signals; When the chassis controller receives the CAN message sent by the body controller, it judges the signal name of the lamp type, obtains the enable signal of the drive pins of the chassis controller through the second correspondence table, and drives the corresponding lamps according to the enable signal.
[0011] As an optimization of the technical solution of the present invention, the body controller confirms through the calibration items in the EEPROM that the lighting lamps connected to the chassis controller are LED lighting lamps, halogen lighting lamps, or hybrid lighting lamps; The body controller sends a CAN message according to the collected switch signals, lamp types, and the first correspondence table. The chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type according to the first correspondence table, obtains the pins defined corresponding to the lamp type according to the second correspondence table, and drives the corresponding pins to light the corresponding lamps.
[0012] In a second aspect, the technical solution of the present invention provides a vehicle lamp control method applied to the system described in the first aspect, including the following steps: The body controller collects the lamp switch signal; The body controller confirms whether the lighting lamp connected to the chassis controller is an LED lighting lamp, a halogen lighting lamp or a mixed lighting lamp through the calibration item in the EEPROM; If the calibration item in the EEPROM is an LED lighting lamp, the body controller sends a CAN message according to the collected lamp switch signal in combination with the first correspondence table, and the lamp types corresponding to the corresponding signal names in the CAN message are LED headlamps and lamp states; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as an LED lighting lamp, and drives the corresponding pins to light the corresponding LED lighting lamp according to the LED lighting lamp pin definition in the second correspondence table; If the calibration item in the EEPROM is a halogen lighting lamp, the body controller sends a CAN message according to the collected lamp switch signal in combination with the first correspondence table, and the lamp types corresponding to the corresponding signal names in the CAN message are halogen lighting lamps and lamp states; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as a halogen lighting lamp, and drives the corresponding pins to light the corresponding halogen lighting lamp according to the halogen lighting lamp pin definition in the second correspondence table; If the calibration item in the EEPROM is a mixed lighting lamp, the body controller sends a CAN message according to the collected lamp switch signal in combination with the first correspondence table, and the lamp types corresponding to the corresponding signal names in the CAN message are mixed lighting lamps and lamp states; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as a mixed lighting lamp, and drives the corresponding pins to light the corresponding mixed lighting lamp according to the mixed lighting lamp pin definition in the second correspondence table.
[0013] As a preference of the technical solution of the present invention, the method further includes: When the body controller collects that the right turn switch is turned on, if the calibration item in the EEPROM is an LED lighting lamp, the body controller sends a CAN message, and signal V in the CAN message is filled with an LED headlamp, and signal IV is filled with the right turn switch being turned on; the chassis controller receives the CAN message sent by the body controller, parses signal V as the LED lighting lamp type, and then drives pins 4 and 6 according to the LED lighting lamp pin definition; If the calibration item in the EEPROM is a halogen lamp, the body controller sends a CAN message. In the CAN message, signal V is filled with the halogen lamp, and signal IV is filled with the right turn signal switch being on. The chassis controller receives the CAN message sent by the body controller, parses signal V as the halogen lamp, and then drives pin 5 according to the pin definition of the halogen lamp. If the calibration item in the EEPROM is a hybrid lamp, the body controller sends a CAN message. In the CAN message, signal V is filled with the hybrid lamp, and signal IV is filled with the right turn signal switch being on. The chassis controller receives the CAN message sent by the body controller, parses signal V as the hybrid lamp, and then drives pin 3 according to the pin definition of the hybrid lamp.
[0014] In a third aspect, the technical solution of the present invention further provides a vehicle, and the vehicle includes the control system as described in the first aspect.
[0015] Through the collaborative work of the body controller and the chassis controller, combined with the stored correspondence table and calibration items, the system can achieve precise control of various types of vehicle lamps. This design greatly improves the compatibility of the system, enabling the same control system to adapt to the lamp requirements of different vehicle models and different configurations, and reducing the complexity and cost during vehicle production or modification.
[0016] Since the correspondence table stored in the system can be set and adjusted according to the vehicle configuration, the system has high flexibility and scalability. With the continuous development of vehicle lamp technology and the emergence of new lamp types, the system can adapt to these changes by updating the correspondence table and calibration items without large-scale modification of the hardware. The chassis controller selects the correct drive pin and power according to the second correspondence table to light up the lamp, which ensures that the lamp can obtain sufficient lighting effect while minimizing energy consumption to the greatest extent. This design helps to improve the energy efficiency performance of the vehicle and meets the current automotive industry's pursuit of energy conservation and emission reduction.
[0017] The beneficial effects of the technical solution of the present invention: By identifying the calibration item of the lamp type of the body controller and the lamp type of the externally driven lamp, and filling different signal bits of the lamp enable signal according to different lamp types, the present invention can achieve the compatible drive and diagnosis of different types of lamps with one version of software, reducing the number of software versions. Description of the Drawings
[0018] In order to more clearly illustrate the technical solution of the present invention, the drawings required for description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is the connection block diagram of the system provided by the embodiment of the present invention.
[0020] Figure 2 It is the schematic flowchart of the method provided by the embodiment of the present invention. Detailed implementation manners
[0021] The system includes a lighting knob switch, a left lighting combination switch, a body controller, a chassis controller, LED lighting lamps, halogen lighting lamps, and hybrid lighting lamps. Among them, the body controller is responsible for collecting the signals of the lighting knob switch and the left lighting combination switch, and sending the switch information to the chassis controller through the CAN bus. The chassis controller is responsible for driving the lighting lamps. The types of lighting lamp fixtures include LED lighting lamps, halogen lighting lamps, and hybrid lighting lamps. The type of lighting lamp fixture is written into the EEPROM of the body controller through a calibration item according to the vehicle configuration. Since the pin definitions of the chassis controller are different when the types of lighting lamp fixtures are different, it is necessary to develop multiple versions of chassis controller software to adapt to multiple pin definitions. The present invention can realize the compatible driving and diagnosis of different types of lighting lamps with one version of software by identifying the calibration item of the lighting lamp type in the body controller, identifying the type of the externally driven lighting lamp fixture, and filling the lighting enable signals with different signal bits according to the different types of lighting lamp fixtures, reducing the number of software versions. To make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the specific embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present application.
[0022] As Figure 1 shown, the embodiment of the present invention provides a control system compatible with multiple vehicle lighting lamps, including a body controller, the body controller is connected with an input lighting switch and a chassis controller, and the chassis controller is connected with vehicle lighting lamps; The body controller stores a first correspondence table and a calibration item of the lighting lamp type set according to the vehicle configuration. The first correspondence table is the correspondence table between the body controller CAN signal and the lighting lamp type; The chassis controller stores a first correspondence table and a second correspondence table; the second correspondence table is the correspondence table of the driving power and lighting of different pins of the chassis controller for different types of lighting lamps; The body controller collects the signals of the input light switch and confirms the lamp type of the lighting lamps connected to the chassis controller through calibration items. According to the signals of the input light switch and the lamp type, combined with the first correspondence table, it sends a CAN message to the chassis controller. The chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type, and obtains the drive pins of the chassis controller according to the second correspondence table, and drives the pins to light the corresponding lamps. Drive the corresponding pins to light the corresponding lamps according to the pin definition corresponding to the lamp type in the second correspondence table.
[0023] The body controller collects the signals of the input light switch, such as the signals generated by the driver's operations of the high beam switch, low beam switch, etc. At the same time, it confirms the lamp type of the lighting lamps connected to the chassis controller through calibration items, such as whether it is an LED lighting lamp, a halogen lighting lamp or a mixed lighting lamp, etc.
[0024] Based on the signals of the input light switch and the confirmed lamp type, the body controller generates and sends a CAN message to the chassis controller in combination with the first correspondence table. For example, if the driver turns on the high beam switch and the current lamp type is an LED lighting lamp, the body controller determines the corresponding CAN signal according to the first correspondence table, and then sends a CAN message containing this signal to the chassis controller. After receiving the CAN message sent by the body controller, the chassis controller parses the message to obtain the lamp type information. Then, the chassis controller obtains the pins that can drive the corresponding lamps according to the obtained lamp type in combination with the second correspondence table. For example, if the lamp type is LED left high beam, the chassis controller finds pin 1 through the second correspondence table. The chassis controller drives the obtained pins to light the corresponding lamps. That is, drive pin 1 to light the LED left high beam lamp.
[0025] In some embodiments, an EEPROM is provided in the body controller, and the lamp type of the vehicle lighting lamps is written into the EEPROM of the body controller through calibration items.
[0026] It should be noted that the input light switch includes a light knob switch and a left light combination switch respectively connected to the body controller.
[0027] The light knob switch includes a low beam switch; The left light combination switch includes a left turn signal, a right turn signal, and a high beam switch; The vehicle lamps include left and right low beam lamps, left and right auxiliary high beam lamps, left and right front turn signals, left and right side turn signals, and left and right high beam lamps.
[0028] The lamp types of the vehicle lighting lamps include LED lighting lamps, halogen lighting lamps, and mixed lighting lamps.
[0029] In the LED lighting fixture, all the above-mentioned fixtures are of the LED type, and the power of each fixture on one side is less than 20W; In the halogen lighting fixture, all the above-mentioned fixtures are of the halogen type, and the power of each fixture on one side is less than 70W; In the hybrid lighting fixture, the above-mentioned fixtures are either of the LED type or of the halogen type, and the two are mixed and installed; The chassis controller has 6 drive output pins, and the maximum drive power of a single pin is 90W; The body controller is responsible for collecting the signals of the lighting knob switch and the left lighting combination switch; the body controller sends the switch information to the chassis controller through the CAN bus; the chassis controller is responsible for driving the LED headlight or the halogen headlight or the hybrid headlight; when the chassis controller drives the LED headlight or the halogen headlight or the hybrid headlight, the fixtures connected to the same pin are different; the fixture type of the headlight is written into the EEPROM of the body controller through a calibration item.
[0030] When the body controller detects that the knob switch or the left combination switch is closed, it immediately sends a CAN message to the chassis controller. The CAN message sent by the body controller contains the headlight type signal. When the headlight types calibrated in the EEPROM are different, the value of the headlight type signal is consistent with the headlight type installed on the vehicle. The headlight type in the EEPROM comes from the vehicle configuration table.
[0031] When the chassis controller receives the CAN message sent by the body controller, it first judges the fixture type signal bit, and then drives the corresponding fixture according to the enable signal. For the same type of fixture driven by the chassis controller, if the fixture types are different, the drive output pins are different.
[0032] In some embodiments, the body controller is responsible for collecting the signals of the lighting knob switch and the left lighting combination switch, determining the fixture type through the calibration item in the EEPROM, and sending a CAN message of the switch signal to the chassis controller through the CAN bus; When the chassis controller receives the CAN message sent by the body controller, it judges the signal name of the fixture type, and obtains the enable signal of the drive pin of the chassis controller through the second correspondence table, and drives the corresponding fixture according to the enable signal.
[0033] Specifically, the body controller confirms through the calibration item in the EEPROM that the lighting fixture connected to the chassis controller is an LED lighting fixture or a halogen lighting fixture or a hybrid lighting fixture; The body controller sends a CAN message based on the collected switch signals, lamp types, and the first correspondence table. The chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type according to the first correspondence table, and obtains the pins defined corresponding to the lamp type according to the second correspondence table, and drives the corresponding pins to light the corresponding lamps.
[0034] Table 1 is the specification table of the lighting lamps. Table 2 is the second correspondence table, which defines the pin resources of the chassis controller and the driving ability (i.e., the maximum power) of each pin. And according to the pin resources and pin driving ability, the pin functions for assembling different LED lighting lamps, halogen lighting lamps, or hybrid lighting lamps are defined. Specifically, since the power of the turn signal in the LED headlamp is small, if the output of one pin cannot diagnose the open circuit of a single lamp, the left front, left side, right front, and right side of the turn signal respectively occupy different pin resources for driving; while the power of the turn signal in the halogen headlamp is large, if one pin drives two lamps, namely the left front and the left side, the open circuit of a single lamp can be diagnosed. Specifically, for halogen lighting lamps, within the driving ability range of the chassis controller, the high beam and auxiliary high beam on one side are combined for driving, which can reduce the occupation of pin resources.
[0035] Table 3 is the first correspondence table, which defines the lamp on / off signals sent by the body controller to the chassis controller after collecting external switch signals.
[0036] Table 1: Specification Table of Lighting Lamps
[0037] Table 2: Second Correspondence Table
[0038] Table 3: First Correspondence Table
[0039] The specific control process of the system provided by this application is as follows: First, the body controller collects the lighting switch signal.
[0040] After that, the body controller confirms whether the lighting lamp connected to the chassis controller is an LED lighting lamp, a halogen lighting lamp, or a hybrid lighting lamp through the calibration item in the EEPROM.
[0041] If the calibration item in the EEPROM is an LED lighting lamp and the body controller collects that the right turn signal switch is turned on, it sends a CAN message. In the CAN message, signal V is filled with the LED headlamp, and signal IV is filled with the right turn signal switch being turned on; the chassis controller receives the CAN message sent by the body controller, parses signal V as the LED lighting lamp type, and then drives pin 4 and pin 6 according to the LED lighting lamp pin definition.
[0042] If the calibration item in the EEPROM is a halogen lamp, when the body controller detects that the right turn signal switch is turned on, it sends a CAN message. In the CAN message, signal V is filled with the halogen lamp, and signal IV is filled with the right turn signal switch being turned on. The chassis controller receives the CAN message sent by the body controller, parses signal V as the halogen lamp type, and then drives pin 5 according to the pin definition of the halogen lamp.
[0043] If the calibration item in the EEPROM is a hybrid lamp, when the body controller detects that the right turn signal switch is turned on, it sends a CAN message. In the CAN message, signal V is filled with the hybrid lamp, and signal IV is filled with the right turn signal switch being turned on. The chassis controller receives the CAN message sent by the body controller, parses signal V as the hybrid lamp type, and then drives pin 3 according to the pin definition of the hybrid lamp.
[0044] The lighting of the remaining lamps is the same as the right turn lighting described above.
[0045] It should be further noted that when creating the first correspondence table and the second correspondence table, it is necessary to comprehensively sort out the requirements such as vehicle lamp types and lighting control signals, clarify the control logic and signal requirements of various lamps under different working conditions, and ensure that the correspondence tables meet the actual requirements. Considering factors such as the vehicle electrical system architecture and the pin characteristics of the chassis controller, reasonably plan the correspondence between signals and lamps, and between pins and lamps to avoid logical errors. After the design is completed, in the laboratory environment, simulate various vehicle working conditions and lighting control operations, test the system according to the correspondence tables, and check whether the signal transmission between the body controller and the chassis controller and the lighting of the lamps are consistent with the expectations. Adjust the correspondence tables for the parts that do not meet the expectations. Put the vehicle into actual road tests, collect lighting control data under different road conditions and driving scenarios, verify the accuracy and reliability of the correspondence tables in the real environment, and further optimize them for the problems that occur. Conduct compatibility tests on different types of lamps (LED, halogen, hybrid, etc.) to ensure that the correspondence tables can work properly under various lamp configurations and guarantee the universality of the system. During the vehicle use process, continuously monitor the working data of the body controller and the chassis controller, analyze the signal transmission and lamp control situations, promptly discover potential problems, and optimize the correspondence tables through data analysis.
[0046] Perform a logical check on the first and second correspondence tables themselves. Check whether the data in the tables conforms to the basic electrical principles and vehicle lighting control logic. For example, in the second correspondence table, check whether the driving power of the pins can meet the power requirements of the corresponding lamps; in the first correspondence table, confirm whether the association between the CAN signal and the lamp type is reasonable. Since there is an association between the first and second correspondence tables, it is necessary to check their logical consistency. For example, if a certain lamp type is determined in the first correspondence table, the second correspondence table should be able to correctly match the corresponding driving pins and power. If there is a mismatch, it indicates a problem. In a laboratory environment, use test equipment to simulate various lighting control scenarios and observe the system's response. According to the simulated lighting control signals, compare whether the actual lamp lighting situation is consistent with the expected results in the correspondence table. If they are inconsistent, the general scope of the problem can be initially determined. During vehicle operation, use data acquisition equipment to monitor the CAN message transmission data between the body controller and the chassis controller in real time, as well as the output status of the chassis controller pins. Analyze the collected data to check for signal transmission errors, abnormal pin driving, etc., so as to locate the possible error positions in the correspondence table.
[0047] If it is determined that there is an error in data entry in the correspondence table, such as errors in pin numbers, power values, CAN signal names, etc., directly correct the data in the table. After correction, perform test verification again to ensure that the problem is solved.
[0048] If it is found that there is a problem with the logical design of the correspondence table, such as unreasonable association logic between lamp types and CAN signals and pins, it is necessary to re-design and adjust the logical relationship. During the adjustment process, fully consider the actual usage requirements of the vehicle and the working principle of the electrical system. After the adjustment is completed, comprehensive testing should also be carried out. The correspondence table is usually stored in the software of the body controller and the chassis controller. If it is found that the problem is caused by a defect in the software version, the software of the relevant controller needs to be updated. After updating the software, perform system testing again to ensure that the correspondence table can work properly.
[0049] such as Figure 2As shown in the figure, an embodiment of the present invention provides a vehicle lamp control method applied to the system described in the above embodiment. It should be noted that the system further includes a lighting knob switch, a left lighting combination switch, a body controller, a chassis controller, an LED lighting lamp, a halogen lighting lamp, and a hybrid lighting lamp: the lighting knob switch includes a low beam switch; the left lighting combination switch includes a left turn signal, a right turn signal, and a high beam switch; the lighting lamps include a low beam, an auxiliary high beam, a front turn signal, a side turn signal, and a high beam. The above lamps are distinguished by left and right sides, with a total of 10; among the LED lighting lamps, the above lamps are all of the LED type, and the power of each lamp on one side is less than 20W; among the halogen lighting lamps, the above lamps are all of the halogen type, and the power of each lamp on one side is less than 70W; among the hybrid lighting lamps, the above lamps are either of the LED type or of the halogen type, and the two are mixed; the chassis controller has 6 drive output pins, and the maximum drive power of a single pin is 90W; the body controller is responsible for collecting the signals of the lighting knob switch and the left lighting combination switch; the body controller sends the switch information to the chassis controller through the CAN bus; the chassis controller is responsible for driving the LED headlamp or the halogen headlamp or the hybrid headlamp; when the chassis controller drives the LED headlamp or the halogen headlamp or the hybrid headlamp, the lamps connected to the same pin are different; the lamp type of the headlamp is written into the EEPROM of the body controller through a calibration item. When the body controller detects that the knob switch or the left combination switch is closed, it immediately sends a CAN message to the chassis controller. The CAN message sent by the body controller contains a headlamp type signal. When the calibrated headlamp type in the EEPROM is different, the value of the headlamp type signal is consistent with the installed headlamp type. The headlamp type in the EEPROM comes from the vehicle configuration table. When the chassis controller receives the CAN message sent by the body controller, it first judges the lamp type signal bit, and then drives the corresponding lamp according to the enable signal. For the same kind of lamp driven by the chassis controller, if the lamp types are different, the driven output pins are different. The method includes the following steps: S1: The body controller collects the lighting switch signal; S2: The body controller confirms the lamp type of the lighting lamp connected to the chassis controller through the calibration item in the EEPROM; If the calibration item in the EEPROM is an LED lighting lamp, execute step S3; If the calibration item in the EEPROM is a halogen lighting lamp, execute step S4; If the calibration item in the EEPROM is a hybrid lighting lamp, execute step S5; S3: The body controller sends a CAN message according to the collected light switch signal in combination with the first correspondence table. The lamp types corresponding to the corresponding signal names in the CAN message are LED headlamps and lamp states. The chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as LED lighting, and drives the corresponding pins to light the corresponding LED lighting according to the LED lighting pin definition in the second correspondence table; S4: The body controller sends a CAN message according to the collected light switch signal in combination with the first correspondence table. The lamp types corresponding to the corresponding signal names in the CAN message are halogen headlamps and lamp states. The chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as halogen lighting, and drives the corresponding pins to light the corresponding halogen lighting according to the halogen lighting pin definition in the second correspondence table; S5: The body controller sends a CAN message according to the collected light switch signal in combination with the first correspondence table. The lamp types corresponding to the corresponding signal names in the CAN message are hybrid headlamps and lamp states. The chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as hybrid lighting, and drives the corresponding pins to light the corresponding hybrid lighting according to the hybrid lighting pin definition in the second correspondence table.
[0050] Specifically, in some embodiments, it is described in combination with Table 1 and Table 2. When the body controller collects that the right turn switch is turned on, if the calibration item in the EEPROM is LED lighting, the body controller sends a CAN message. In the CAN message, signal V is filled with LED headlamps, and signal IV is filled with the right turn switch being turned on. The chassis controller receives the CAN message sent by the body controller, parses signal V as the LED lighting type, and then drives pins 4 and 6 according to the LED lighting pin definition; If the calibration item in the EEPROM is halogen lighting, the body controller sends a CAN message. In the CAN message, signal V is filled with halogen lighting, and signal IV is filled with the right turn switch being turned on. The chassis controller receives the CAN message sent by the body controller, parses signal V as halogen lighting, and then drives pin 5 according to the halogen lighting pin definition; If the calibration item in the EEPROM is hybrid lighting, the body controller sends a CAN message. In the CAN message, signal V is filled with hybrid lighting, and signal IV is filled with the right turn switch being turned on. The chassis controller receives the CAN message sent by the body controller, parses signal V as hybrid lighting, and then drives pin 3 according to the hybrid lighting pin definition.
[0051] An embodiment of the present invention further provides a vehicle, where the vehicle includes the control system as described in the above embodiment. Or the vehicle executes the control method as described in the above embodiment.
[0052] The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present 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
1. A control system compatible with multiple vehicle lamps, characterized in that: including a body controller connected to an input light switch and a chassis controller connected to a vehicle lamp; The body controller stores a first correspondence table and calibration items of lamp types set according to the vehicle configuration, wherein the first correspondence table is a correspondence table between the body controller CAN signal and the lamp type; The chassis controller stores a first correspondence table and a second correspondence table; the second correspondence table is a correspondence table of driving power and light of different types of lamps for different pins of the chassis controller; The body controller collects the input light switch signal and confirms the lamp type of the lighting lamp connected to the chassis controller through the calibration item, sends a CAN message to the chassis controller according to the input light switch signal and the lamp type in combination with the first correspondence table, and the chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type, obtains the driving pin of the chassis controller according to the second correspondence table, and drives the pin to light up the corresponding lamp. According to the pin definition corresponding to the lamp type in the second correspondence table, the corresponding pin is driven to light up the corresponding lamp.
2. The control system compatible with multiple vehicle lamps according to claim 1, characterized in that: An EEPROM is provided in the body controller, and the lamp type of the vehicle lighting lamp is written into the EEPROM of the body controller through a calibration item.
3. The control system compatible with multiple vehicle lamps according to claim 2, characterized in that: The input light switch comprises a light knob switch and a light left combination switch which are respectively connected to the vehicle body controller.
4. The control system compatible with multiple vehicle lamps according to claim 3, characterized in that: The light knob switch includes a low beam switch; The left light combination switch includes a left turn signal, a right turn signal, and a high beam switch; The vehicle lighting includes left and right low beams, left and right auxiliary high beams, left and right front turn signals, left and right side turn signals, and left and right high beams.
5. The control system compatible with multiple vehicle lamps according to claim 4, characterized in that: The types of vehicle lighting lamps include LED lighting lamps, halogen lighting lamps and hybrid lighting lamps.
6. The control system compatible with multiple vehicle lamps according to claim 5, characterized in that: The body controller is responsible for collecting the signals of the light knob switch and the left combination light switch, determining the type of lamp through the calibration items in the EEPROM, and sending the switch signals to the chassis controller through the CAN bus. When the chassis controller receives the CAN message sent by the body controller, it determines the signal name of the lamp type, obtains the enable signal of the driving pin of the chassis controller through the second corresponding relationship table, and drives the corresponding lamp according to the enable signal.
7. The control system compatible with various vehicle lamps according to claim 6, characterized in that: The body controller confirms that the lighting lamp connected to the chassis controller is an LED lighting lamp, a halogen lighting lamp or a hybrid lighting lamp through the calibration items in the EEPROM; The body controller sends a CAN message according to the collected switch signal, lamp type and the first correspondence table. The chassis controller receives the CAN message sent by the body controller, parses the message to obtain the lamp type according to the first correspondence table, obtains the pin defined corresponding to the lamp type according to the second correspondence table, and drives the pin to light up the corresponding lamp.
8. A vehicle lighting control method applied to the system described in claims 1-7, characterized in that: The steps include: The body controller collects the light switch signal; The body controller confirms that the lighting lamp connected to the chassis controller is an LED lighting lamp, a halogen lighting lamp or a hybrid lighting lamp through the calibration items in the EEPROM; If the calibration item in the EEPROM is an LED lighting lamp, the body controller sends a CAN message according to the collected light switch signal combined with the first correspondence table, and the lamp type corresponding to the corresponding signal name in the CAN message is an LED headlamp and the lamp status; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as an LED lighting lamp, and drives the corresponding pin according to the LED lighting lamp pin definition in the second correspondence table to light up the corresponding LED lighting lamp; If the calibration item in the EEPROM is a halogen lighting lamp, the body controller sends a CAN message based on the collected light switch signal combined with the first correspondence table, and the lamp type corresponding to the corresponding signal name in the CAN message is a halogen lighting lamp and the lamp status; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as a halogen lighting lamp, and drives the corresponding pin to light up the corresponding halogen lighting lamp according to the halogen lighting lamp pin definition in the second correspondence table; If the calibration item in the EEPROM is a hybrid lighting lamp, the body controller sends a CAN message based on the collected light switch signal combined with the first correspondence table, and the lamp type corresponding to the corresponding signal name in the CAN message is a hybrid lighting lamp and the lamp status; the chassis controller receives the CAN message sent by the body controller, parses the CAN message to obtain the lamp type as a hybrid lighting lamp, and drives the corresponding pin according to the hybrid lighting lamp pin definition in the second correspondence table to light up the corresponding hybrid lighting lamp.
9. The vehicle lamp control method according to claim 8, characterized in that: The method further includes: When the body controller detects that the right turn switch is turned on, if the calibration item in the EEPROM is LED lighting, the body controller sends a CAN message, in which signal V is filled with LED headlights and signal IV is filled with right turn switch turned on; the chassis controller receives the CAN message sent by the body controller, parses signal V as LED lighting type, and then drives pins 4 and 6 according to the LED lighting pin definition; If the calibration item in the EEPROM is a halogen lighting lamp, the body controller sends a CAN message, in which the signal V is filled with the halogen lighting lamp and the signal IV is filled with the right turn switch turned on; the chassis controller receives the CAN message sent by the body controller, parses the signal V as a halogen lighting lamp, and then drives pin 5 according to the halogen lighting lamp pin definition; If the calibration item in the EEPROM is a hybrid lighting lamp, the body controller sends a CAN message, in which signal V is filled with the hybrid lighting lamp and signal IV is filled with the right turn switch turned on; the chassis controller receives the CAN message sent by the body controller, parses signal V as a hybrid lighting lamp, and then drives pin 3 according to the hybrid lighting lamp pin definition.
10. A vehicle, characterized in that: The vehicle comprises a control system as claimed in any one of claims 1-7.
Citation Information
Patent Citations
Automobile headlight control system with CAN function and control method thereof
CN107972566A
Multifunctional automobile taillight control system based on CAN bus and control method thereof
CN108112145A
Laser headlamp control system and control method thereof
CN112238805A
Automobile lamp control system and automobile
CN116476725A
Can-bus lighting adaptor
US20220402319A1