Vehicle lamp control device and vehicle lamp control method

文档序号:913229 发布日期:2021-02-26 浏览:16次 中文

阅读说明:本技术 车灯控制装置及车灯控制方法 (Vehicle lamp control device and vehicle lamp control method ) 是由 周超敏 姚忠培 张伟 于 2020-11-13 设计创作,主要内容包括:本发明提供了一种车灯控制装置及车灯控制方法。该车灯控制装置包括:控制模块,所述控制模块被配置为用于驱动车灯负载;采样模块,所述采样模块被配置为用于检测驱动车灯负载的驱动电流;和单片机模块,所述单片机模块被配置为能根据所述采样模块检测到的驱动电流,向所述控制模块输出不同的驱动电流控制信号。本发明提供的车灯控制装置及车灯控制方法中,单片机模块根据采样模块检测到的驱动电流,可向控制模块输出不同的驱动电流控制信号,例如脉冲宽度调制信号或者直流信号;控制模块根据输入的驱动电流控制信号,可相应驱动车灯负载,从而调节车灯负载驱动电流的调节。(The invention provides a vehicle lamp control device and a vehicle lamp control method. This car light controlling means includes: a control module configured to drive a vehicle lamp load; a sampling module configured to detect a driving current that drives a vehicle lamp load; and the singlechip module is configured to output different driving current control signals to the control module according to the driving current detected by the sampling module. In the vehicle lamp control device and the vehicle lamp control method provided by the invention, the single chip microcomputer module can output different driving current control signals, such as pulse width modulation signals or direct current signals, to the control module according to the driving current detected by the sampling module; the control module can correspondingly drive the vehicle lamp load according to the input driving current control signal, so that the regulation of the vehicle lamp load driving current is regulated.)

1. A vehicle lamp control device characterized by comprising:

a control module configured to drive a vehicle lamp load;

a sampling module configured to detect a driving current that drives a vehicle lamp load; and

the single chip microcomputer module is configured to output different driving current control signals to the control module according to the driving current detected by the sampling module.

2. The vehicular lamp control device according to claim 1, further comprising an automatic lock control module and a vehicular lamp switch module;

the single chip microcomputer module outputs a driving current control signal to the self-locking control module, and the self-locking control module controls the control module to drive a vehicle lamp load according to the driving current control signal output by the single chip microcomputer module;

the single chip microcomputer module is configured to output an abnormal signal to the self-locking control module when the crash occurs;

when the single chip microcomputer module outputs an abnormal signal to the self-locking control module, the self-locking control module keeps the original state, so that the control module keeps the original state of driving the car lamp load;

when the car light switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked.

3. The vehicular lamp control device according to claim 1, characterized in that:

the singlechip module is configured to compare the driving current detected by the sampling module with a set value;

when the driving current detected by the sampling module is greater than a set value, the single chip microcomputer module outputs a pulse width modulation signal within set control time, and outputs a direct current signal after the set control time is over;

and when the driving current detected by the sampling module is smaller than a set value, the single chip microcomputer module outputs a direct current signal.

4. The vehicular lamp control device according to claim 1, characterized in that:

the single chip microcomputer module is configured to judge whether a vehicle lamp load and a wire harness are in a short circuit state, an open circuit state or a normal working state according to the driving current detected by the sampling module;

and when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output.

5. The vehicular lamp control device according to claim 1, characterized in that:

the car light control device is a car light control device in a car body controller.

6. A vehicle lamp control method characterized by comprising:

according to the detected driving current for driving the vehicle lamp load, the single chip microcomputer module outputs different driving current control signals;

and according to the driving current control signal output by the singlechip module, the control module drives the vehicle lamp load.

7. The vehicular lamp control method according to claim 6, characterized in that:

the single chip microcomputer module outputs a driving current control signal to the self-locking control module;

and according to the driving current control signal output by the singlechip module, the self-locking control module controls the control module to drive the vehicle lamp load.

8. The vehicular lamp control method according to claim 7, characterized in that:

when the singlechip module outputs an abnormal signal to the self-locking control module, the self-locking control module keeps the original state, so that the control module keeps the original state of driving the car lamp load;

when the car light switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked.

9. The vehicular lamp control method according to claim 6, characterized in that:

when the driving current for driving the vehicle lamp load is larger than a set value, the single chip microcomputer module outputs a pulse width modulation signal within set control time, and outputs a direct current signal after the set control time is over;

when the driving current for driving the vehicle lamp load is smaller than a set value, the single chip microcomputer module outputs a direct current signal.

10. The vehicular lamp control method according to claim 6, characterized in that:

and when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in short circuit or open circuit according to the detected driving current for driving the vehicle lamp load, the power supply is disconnected and a fault signal is output.

Technical Field

The present invention relates to a vehicle lamp control device and a vehicle lamp control method.

Background

In the prior art, the control of the lamps in the vehicle Body Control Module (BCM) mainly includes direct control, relay control and vehicle-mounted power grid control. The existing vehicle lamp control has the defects that the brightness of the lamp light is inconsistent along with the voltage fluctuation, especially the power of a vehicle lamp load is overlarge at the moment of the switch on, so that the vehicle-mounted power grid and the vehicle lamp load are greatly interfered, and the service life of the vehicle lamp load is greatly shortened.

In addition, fuse protection is used for lamp load damage and circuit short circuit disconnection, and the fuse protection can not be fed back to remind a driver to overhaul, so that safety accidents such as vehicle collision can be caused.

Disclosure of Invention

One of the objectives of the present invention is to overcome at least one of the deficiencies in the prior art and to provide a vehicle lamp control device and a vehicle lamp control method.

In order to achieve the above purpose, the invention is realized by the following technical scheme:

according to a first aspect of the present invention, a vehicle lamp control device is provided. This car light controlling means includes: a control module configured to drive a vehicle lamp load;

a sampling module configured to detect a driving current that drives a vehicle lamp load; and

the single chip microcomputer module is configured to output different driving current control signals to the control module according to the driving current detected by the sampling module.

Optionally, the system further comprises an automatic lock control module and a vehicle lamp switch module;

the single chip microcomputer module outputs a driving current control signal to the self-locking control module, and the self-locking control module controls the control module to drive a vehicle lamp load according to the driving current control signal output by the single chip microcomputer module;

the single chip microcomputer module is configured to output an abnormal signal to the self-locking control module when the crash occurs;

when the single chip microcomputer module outputs an abnormal signal to the self-locking control module, the self-locking control module keeps the original state, so that the control module keeps the original state of driving the car lamp load;

when the car light switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked.

Optionally, the single chip microcomputer module is configured to compare the driving current detected by the sampling module with a set value;

when the driving current detected by the sampling module is greater than a set value, the single chip microcomputer module outputs a pulse width modulation signal within set control time, and outputs a direct current signal after the set control time is over;

and when the driving current detected by the sampling module is smaller than a set value, the single chip microcomputer module outputs a direct current signal.

Optionally, the single chip microcomputer module is configured to determine that the vehicle lamp load and the wiring harness are in a short circuit state, an open circuit state or a normal working state according to the driving current detected by the sampling module;

and when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output.

Optionally, the vehicle light control device is a vehicle light control device in an automobile body controller.

According to a second aspect of the present invention, there is provided a vehicle lamp control method. The vehicle lamp control method comprises the following steps:

according to the detected driving current for driving the vehicle lamp load, the single chip microcomputer module outputs different driving current control signals;

and according to the driving current control signal output by the singlechip module, the control module drives the vehicle lamp load.

Optionally, the single chip microcomputer module outputs a driving current control signal to the self-locking control module;

and according to the driving current control signal output by the singlechip module, the self-locking control module controls the control module to drive the vehicle lamp load.

Optionally, when the single chip microcomputer module outputs an abnormal signal to the self-locking control module, the self-locking control module keeps the original state, so that the control module keeps the original state of driving the vehicle lamp load;

when the car light switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked.

Optionally, when the driving current for driving the vehicle lamp load is greater than a set value, the single chip microcomputer module outputs a pulse width modulation signal within a set control time, and outputs a direct current signal after the set control time is over;

when the driving current for driving the vehicle lamp load is smaller than a set value, the single chip microcomputer module outputs a direct current signal.

Optionally, when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in a short circuit or an open circuit according to the detected driving current for driving the vehicle lamp load, the power supply is disconnected and a fault signal is output.

Different from the prior art, in the vehicle lamp control device and the vehicle lamp control method provided by the invention, the single chip microcomputer module can output different driving current control signals, such as pulse width modulation signals or direct current signals, to the control module according to the driving current detected by the sampling module; the control module can correspondingly drive the vehicle lamp load according to the input driving current control signal, so that the regulation of the vehicle lamp load driving current is regulated.

In the twinkling of an eye is opened to the car light load, when the initial current control of load is exported, Hen according to car light load current size, can carry out pulse modulation control to the load, and load current is little then the modulation is little, and load current is big then the modulation is big, can reduce electrical apparatus like this and do together, extension electrical apparatus load life-span avoids car light load to open thereby car light load power is too big in the twinkling of an eye has great interference to on-vehicle electric wire netting and car light load, the life of extension car light load, simultaneously energy saving.

The single chip microcomputer module can output an abnormal signal to the self-locking control module when the automobile is halted, and the self-locking control module can be kept in an original state, so that the control module is kept in an original state for driving the automobile lamp load, the automobile lamp load is kept in an original working state all the time, and the running safety of the automobile is ensured. When the lamp switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked, an operation instruction for changing the working state of the automobile can be realized by a user, and the running safety of the automobile is ensured.

And when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output. The user can judge and judge that the car light load and the wiring harness are in short circuit or open circuit according to the fault signal, corresponding maintenance is carried out, and the driving safety of the car is ensured.

Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.

Drawings

Fig. 1 is a schematic diagram of a vehicle lamp control device according to an embodiment of the present invention.

10: a vehicle lamp switch module; 20: a single chip module; 30: an auto-lock control module; 40: a control module; 50: a vehicle light load; 60: and a sampling module.

Detailed Description

The invention is described in detail below with reference to the attached drawing figures:

example 1:

according to an aspect of the present invention, there is provided a vehicle lamp control device. The vehicle lamp control device can be used for controlling the state of the vehicle lamp. Referring to fig. 1, the vehicle lamp control device includes a control module 40, a sampling module 60, and a single chip module 20.

The control module 40 may be provided with a driving circuit. The control module 40 is connected to the lamp load 50, and the lamp load 50 is connected to the driving circuit, so that the control module 40 can drive the lamp load 50. Accordingly, a driving current for driving the lamp load 50 is generated in the driving circuit.

The sampling module 60 is used to detect the driving current for driving the lamp load 50. The sampling module 60 may transmit the detected driving current to the mcu 20. The sampling module 60 can process the detected driving current signal and transmit the processed driving current signal to the single chip module 20. For example, the sampling module 60 may convert the collected current signal into a digital signal and send the digital signal to the single chip module. For example, the sampling module 60 may be configured as an AD sampling module.

The single chip module 20 outputs different driving current control signals to the control module 40 according to the driving current detected by the sampling module 60. The control module 40 can drive the lamp load 50 according to the different driving current control signals.

In this embodiment, the single chip module 20 may output different driving current control signals to the control module 40 according to the driving current detected by the sampling module 60; the control module 40 can drive the lamp load 50 accordingly according to the input driving current control signal, thereby adjusting the driving current of the lamp load 50.

When the lamp load 50 is initially current-controlled and output at the moment of turning on the lamp load 50, Hen pulse-modulation control can be performed on the lamp load 50 according to the magnitude of the current of the lamp load 50. The specific mode of pulse modulation control can be set according to the requirement. The 50 electric currents of car light load are little then the modulation is little, and 50 electric currents of car light load are big then the modulation is big, can reduce electrical apparatus to be done together like this, extension electrical apparatus load life-span avoids car light load 50 to turn on thereby load power is too big in the twinkling of an eye has great interference to on-vehicle electric wire netting and car light load, prolongs car light load's life, the energy saving simultaneously.

More preferably, the single chip module 20 may be configured to compare the driving current detected by the sampling module 60 with a set value.

When the driving current detected by the sampling module 60 is greater than the set value, the single chip module 20 outputs a pulse width modulation signal within the set control time, and the driving current of the lamp load 50 is adjusted by modulating the width of a series of pulses. And outputting a direct current signal after the set control time modulation is finished, so as to realize direct current driving of the vehicle lamp load 50. Pulse Width Modulation (PWM) is a Pulse Width Modulation method that modulates the Width of a series of pulses to obtain a desired waveform (including shape and amplitude), and digitally encodes the level of an analog signal, i.e. adjusts the change of signal, energy, etc. by adjusting the change of duty ratio, i.e. the time that a signal is at a high level in a period occupies a percentage of the whole signal period, e.g. the duty ratio of a square wave is 50%. The pulse width modulation is applied to an alternating current dimming circuit, namely stepless speed regulation can be realized, the high level occupies a little more, namely the high level is brighter a little when the duty ratio is larger, the brightness is not brighter a little when the duty ratio is smaller, the frequency of PWM is larger than the frequency recognized by human eyes, and the flicker phenomenon cannot occur. Thus, the power of the vehicle lamp load 50 is prevented from being too large at the moment when the vehicle lamp load 50 is turned on, so that the vehicle-mounted power grid and the vehicle lamp load 50 are greatly interfered, and the service life of the vehicle lamp load 50 is prolonged.

When the driving current detected by the sampling module 60 is smaller than the set value, the single chip module 20 directly outputs a dc signal to implement dc driving of the lamp load 50. The situation that the power of the vehicle lamp load 50 is too low at the moment that the vehicle lamp load 50 is turned on, so that the brightness of the vehicle lamp is insufficient is avoided.

In this embodiment, please continue to refer to fig. 1, the vehicle lamp control device may further include an auto-lock control module 30 and a vehicle lamp switch module 10. The lamp switch module 10 can output different working state control signals to the single chip microcomputer according to user operation.

The single chip module 20 may output a driving current control signal to the self-locking control module 30. The self-locking control module 30 may control the control module 40 according to the driving current control signal output by the single chip microcomputer module 20. The control module 40 drives the lamp load 50 accordingly.

The single chip module 20 can output an abnormal signal to the self-locking control module 30 when the crash occurs. When the single chip microcomputer module 20 outputs an abnormal signal to the self-locking control module 30, the self-locking control module 30 is in a self-locking state, and the self-locking control module is always kept in an original state, so that the control module 40 is always in an original state of driving the vehicle lamp load 50. At this time, the lamp load 50 is always kept in the original operating state, thereby ensuring the safety of the vehicle.

When the lamp switch module 10 outputs a signal for changing the operating state to the single chip module 20, the single chip module 20 outputs an unlocking signal to the self-locking control module 30, so that the self-locking control module 30 is unlocked. At this time, the user actively operates to enable the lamp switch module 10 to output a signal for changing the operating state to the single chip module 20, which indicates that the vehicle is safe to run at this time, and the self-locking control module 30 can unlock so as to implement the user operation instruction, thereby ensuring the safety of the vehicle to run.

In this embodiment, as shown in the figure, the single chip module 20 can be configured to determine that the lamp load 50 and the wiring harness are in a short circuit, an open circuit or a normal operating state according to the driving current detected by the sampling module 60. When the single chip module 20 judges that the lamp load 50 and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output. For example, when the driving current detected by the sampling module 60 is zero or infinite, the mcu 20 can determine that the lamp load 50 and the wire harness are in a short circuit or open circuit state. The user can judge whether the car lamp load 50 and the wiring harness are in short circuit or open circuit according to the fault signal, corresponding maintenance is carried out, and the driving safety of the car is ensured. For example, the single chip module 20 may transmit the fault signal to a display device to prompt a user.

The lamp control device in the embodiment can be applied to a vehicle Body Controller (BCM). The lamp control device may be a lamp control device in a Body Controller (BCM) of an automobile. For example, the vehicle lamp control device may be integrated on a vehicle Body Controller (BCM).

Example 2:

according to the same inventive concept, the invention also provides a vehicle lamp control method. Referring to fig. 1, the vehicle lamp control method can realize control of a vehicle lamp load state by the vehicle lamp control device provided in embodiment 1.

The vehicle lamp control method comprises the following steps:

the mcu 20 outputs different driving current control signals according to the detected driving current for driving the lamp load 50.

The control module 40 drives the lamp load 50 according to the driving current control signal output from the mcu 20.

The vehicle lamp control method can adjust the adjustment of the driving current of the vehicle lamp load 50, avoid the phenomenon that the power of the vehicle lamp load 50 is overlarge at the moment when the vehicle lamp load 50 is turned on, so that the vehicle-mounted power grid and the vehicle lamp load 50 are greatly interfered, and prolong the service life of the vehicle lamp load 50.

In a preferred example, when the driving current detected by the sampling module 60 is greater than the set value, the single chip module 20 outputs a pulse width modulation signal within the set control time, and the driving current of the lamp load 50 is adjusted by modulating the width of a series of pulses. And outputting a direct current signal after the set control time modulation is finished, so as to realize direct current driving of the vehicle lamp load 50.

When the driving current for driving the lamp load 50 is smaller than the set value, the mcu 20 outputs a dc signal.

In a preferred example, the single chip microcomputer module 20 may output a driving current control signal to the self-locking control module 30 according to information such as a command of the lamp switch module 10 or a driving current detected by the sampling module 60.

According to the driving current control signal output by the single chip module 20, the self-locking control module 30 controls the control module 40 to drive the lamp load 50.

Further, the single chip microcomputer module 20 may output an abnormal signal to the self-locking control module 30 when the crash occurs. When the single chip microcomputer module 20 outputs an abnormal signal to the self-locking control module 30, the self-locking control module 30 is in a self-locking state, and the self-locking control module is always kept in an original state, so that the control module 40 is always in an original state of driving the vehicle lamp load 50. At this time, the lamp load 50 is always kept in the original operating state, thereby ensuring the safety of the vehicle.

When the lamp switch module 10 outputs a signal for changing the operating state to the single chip module 20, the single chip module 20 outputs an unlocking signal to the self-locking control module 30, so that the self-locking control module 30 is unlocked. At this time, the user actively operates to enable the lamp switch module 10 to output a signal for changing the operating state to the single chip module 20, which indicates that the vehicle is safe to run at this time, and the self-locking control module 30 can unlock so as to implement the user operation instruction, thereby ensuring the safety of the vehicle to run.

In a preferred example, the single chip module 20 can be configured to determine whether the lamp load 50 and the wiring harness are in a short circuit, an open circuit or a normal operation state according to the driving current detected by the sampling module 60. When the single chip module 20 judges that the lamp load 50 and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output. For example, when the driving current detected by the sampling module 60 is zero or infinite, the mcu 20 can determine that the lamp load 50 and the wire harness are in a short circuit or open circuit state. The user can judge whether the car lamp load 50 and the wiring harness are in short circuit or open circuit according to the fault signal, corresponding maintenance is carried out, and the driving safety of the car is ensured. For example, the single chip module 20 may transmit the fault signal to a display device to prompt a user.

In the vehicle lamp control device and the vehicle lamp control method provided by the invention, the single chip microcomputer module can output different driving current control signals, such as pulse width modulation signals or direct current signals, to the control module according to the driving current detected by the sampling module; the control module can correspondingly drive the vehicle lamp load according to the input driving current control signal, so that the regulation of the vehicle lamp load driving current is regulated.

In the twinkling of an eye is opened to the car light load, when the initial current control of load is exported, Hen according to car light load current size, can carry out pulse modulation control to the load, and load current is little then the modulation is little, and load current is big then the modulation is big, can reduce electrical apparatus like this and do together, extension electrical apparatus load life-span avoids car light load to open thereby car light load power is too big in the twinkling of an eye has great interference to on-vehicle electric wire netting and car light load, the life of extension car light load, simultaneously energy saving.

The single chip microcomputer module can output an abnormal signal to the self-locking control module when the automobile is halted, and the self-locking control module can be kept in an original state, so that the control module is kept in an original state for driving the automobile lamp load, the automobile lamp load is kept in an original working state all the time, and the running safety of the automobile is ensured. When the lamp switch module outputs a signal for changing the working state to the single chip microcomputer module, the single chip microcomputer module outputs an unlocking signal to the self-locking control module, so that the self-locking control module is unlocked, an operation instruction for changing the working state of the automobile can be realized by a user, and the running safety of the automobile is ensured.

And when the single chip microcomputer module judges that the vehicle lamp load and the wire harness are in short circuit or open circuit, the power supply is disconnected and a fault signal is output. The user can judge and judge that the car light load and the wiring harness are in short circuit or open circuit according to the fault signal, corresponding maintenance is carried out, and the driving safety of the car is ensured.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, and any modifications, equivalents or improvements that are within the spirit of the present invention are intended to be covered by the following claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:驱动方法及检测光源、检测方法及装置、检测仪

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!