Electric vehicle instrument light regulation and control device and method

文档序号:800317 发布日期:2021-03-26 浏览:22次 中文

阅读说明:本技术 一种电动车仪表光线调控装置及方法 (Electric vehicle instrument light regulation and control device and method ) 是由 刘金权 于 2020-12-29 设计创作,主要内容包括:本发明公开了一种电动车仪表光线调控装置及方法,该装置包括:处理器、光线传感器、背光电路、显示屏、控制器和指示灯组件;其中,处理器分别与光线传感器、背光电路、控制器和指示灯组件连接;背光电路的输出端与显示屏的输入端连接;处理器上设置有若干个通信接口,处理器通过通信接口与控制器连接;若干个通信接口包括但不限于一线通通信接口、485通信接口和CAN通信接口中的至少一种。本发明实施例设置多个通信接口于处理器,能够有效保证光线调控装置中数据通信的可靠性和稳定性,从而能够有效提高光线调控的效率。(The invention discloses a device and a method for regulating and controlling the light of an electric vehicle instrument, wherein the device comprises: the device comprises a processor, a light sensor, a backlight circuit, a display screen, a controller and an indicator lamp assembly; the processor is respectively connected with the light sensor, the backlight circuit, the controller and the indicator lamp assembly; the output end of the backlight circuit is connected with the input end of the display screen; the processor is provided with a plurality of communication interfaces and is connected with the controller through the communication interfaces; the plurality of communication interfaces include, but are not limited to, at least one of a one-wire communication interface, a 485 communication interface, and a CAN communication interface. The embodiment of the invention is provided with the plurality of communication interfaces on the processor, so that the reliability and stability of data communication in the light ray regulation and control device can be effectively ensured, and the efficiency of light ray regulation and control can be effectively improved.)

1. The utility model provides an electric motor car instrument light regulation and control device which characterized in that includes:

the device comprises a processor, a light sensor, a backlight circuit, a display screen, a controller and an indicator lamp assembly; wherein the content of the first and second substances,

the processor is respectively connected with the light sensor, the backlight circuit, the controller and the indicator lamp component; the output end of the backlight circuit is connected with the input end of the display screen;

the processor is provided with a plurality of communication interfaces and is connected with the controller through the communication interfaces; a number of the communication interfaces include, but are not limited to, at least one of a one-wire communication interface, a 485 communication interface, and a CAN communication interface.

2. The light control device of claim 1, wherein the light sensor is a resistive sensor.

3. The device as claimed in claim 1, wherein the indicator light assembly includes but is not limited to at least one of a headlight, an outline light and a night light of the electric vehicle.

4. The light control device for the instrument of the electric vehicle as claimed in claim 1, further comprising a sensor PCB board, wherein the light sensor is mounted on the sensor PCB board.

5. The light control device of claim 1, wherein the light sensor is disposed on a surface of a panel of a dashboard of the electric vehicle.

6. The light control device for the instrument of the electric vehicle as claimed in claim 1, further comprising a first MOS transistor and a second MOS transistor; the processor is provided with an ADC1 pin, a GPO1 pin, a GPI1 pin, a GPO2 pin and a GPI2 pin;

the output end of the light sensor is connected with an ADC1 interface of the processor through the second MOS tube;

an ADC1 pin of the processor is sequentially connected with the second MOS tube and the first MOS tube; a GPO1 pin of the processor is respectively connected with the first MOS tube and the second MOS tube; the CPI1 pin of the processor is connected with the ADC2 pin of the controller; the GPO2 pin and the GPI1 pin of the processor are respectively connected with the controller; the first MOS tube is connected with a voltage input end.

7. An electric vehicle instrument light regulation method, which is executed in the electric vehicle instrument light regulation device of any one of claims 1 to 6, comprising:

when the controller is detected not to have the light-sensitive ADC sampling function, the GPO1 pin is controlled to output a low signal, and the first MOS tube and the second MOS tube are controlled to be opened;

receiving a voltage signal at the output end of the light sensor; and when the voltage signal is not within the preset voltage range, judging that the current environment is night, and controlling the indicating lamp assembly to execute corresponding actions according to the current environment.

8. The method for regulating and controlling the light of the instrument of the electric vehicle as claimed in claim 7, further comprising, after determining that the current environment is night:

and the processor reduces the backlight brightness of the display screen by reducing the duty ratio of the PWM.

Technical Field

The invention relates to the technical field of electric vehicles, in particular to a device and a method for regulating and controlling the light of an electric vehicle instrument.

Background

With the implementation of the new national standard of the electric vehicle, the electric two-wheeled vehicle develops towards the direction of safety, portability and longer driving range, and correspondingly, the whole vehicle material, the electric vehicle battery, the battery management unit, the electric vehicle controller, the whole vehicle sensor and the whole vehicle communication framework of the electric vehicle are changed and developed newly. The electric vehicle can be switched to a working mode in daytime or at night according to the input of the light sensor so as to improve the driving safety. The communication mode of the existing electric vehicle instrument light regulation and control device is single, so that the efficiency of light regulation and control is poor.

Disclosure of Invention

The invention provides a device and a method for regulating and controlling light of an electric vehicle instrument, which aim to solve the technical problem that the efficiency of light regulation and control is poor due to the fact that the existing device for regulating and controlling the light of the electric vehicle instrument has a single communication mode.

The first embodiment of the present invention provides an electric vehicle instrument light regulation and control device, including:

the device comprises a processor, a light sensor, a backlight circuit, a display screen, a controller and an indicator lamp assembly; wherein the content of the first and second substances,

the processor is respectively connected with the light sensor, the backlight circuit, the controller and the indicator lamp component; the output end of the backlight circuit is connected with the input end of the display screen;

the processor is provided with a plurality of communication interfaces and is connected with the controller through the communication interfaces; a number of the communication interfaces include, but are not limited to, at least one of a one-wire communication interface, a 485 communication interface, and a CAN communication interface.

Further, the light sensor is a resistance type sensor.

Further, the indicator light assembly includes, but is not limited to, at least one of an electric vehicle headlamp, a contour light, and a night light.

Furthermore, the sensing device further comprises a sensor PCB, and the light sensor is mounted on the sensor PCB.

Further, the light sensor is arranged on the surface of a panel of an instrument panel of the electric vehicle.

Furthermore, the device also comprises a first MOS tube and a second MOS tube; the processor is provided with an ADC1 pin, a GPO1 pin, a GPI1 pin, a GPO2 pin and a GPI2 pin;

the output end of the light sensor is connected with an ADC1 interface of the processor through the second MOS tube;

an ADC1 pin of the processor is sequentially connected with the second MOS tube and the first MOS tube; a GPO1 pin of the processor is respectively connected with the first MOS tube and the second MOS tube; the CPI1 pin of the processor is connected with the ADC2 pin of the controller; the GPO2 pin and the GPI1 pin of the processor are respectively connected with the controller; the first MOS tube is connected with a voltage input end.

A second embodiment of the present invention provides an electric vehicle instrument light regulation and control method, which is implemented in the electric vehicle instrument light regulation and control device, and includes:

when the controller is detected not to have the light-sensitive ADC sampling function, the GPO1 pin is controlled to output a low signal, and the first MOS tube and the second MOS tube are controlled to be opened;

receiving a voltage signal at the output end of the light sensor; and when the voltage signal is not within the preset voltage range, judging that the current environment is night, and controlling the indicating lamp assembly to execute corresponding actions according to the current environment.

Further, after the current environment is judged to be night, the method further comprises the following steps:

and the processor reduces the backlight brightness of the display screen by reducing the duty ratio of the PWM.

The processor is respectively connected with the light sensor, the backlight circuit, the controller and the indicating lamp component; the output end of the backlight circuit is connected with the input end of the display screen, the processor receives voltage signals collected by the light sensor and used for representing light change of the external environment, judges whether the current external environment is at night or in the daytime according to the voltage signals, and transmits the judgment result to the controller through the plurality of communication interfaces so as to realize regulation and control of the brightness of the indicating lamp assembly and the display screen. The embodiment of the invention is provided with the plurality of communication interfaces on the processor, so that the reliability and stability of data communication in the light ray regulation and control device can be effectively ensured, and the efficiency of light ray regulation and control can be effectively improved.

Drawings

Fig. 1 is a schematic structural diagram of an instrument light regulation device of an electric vehicle according to an embodiment of the present invention;

FIG. 2 is another schematic structural diagram of an instrument light control device of an electric vehicle according to an embodiment of the present invention;

fig. 3 is a schematic flow chart of a method for regulating and controlling light of an electric vehicle meter according to an embodiment of the present invention.

Wherein the drawings in the attached drawings of the specification are marked as follows:

1. a processor; 2. a light sensor; 3. a backlight circuit; 4. a display screen; 5. a controller; 6. an indicator light assembly.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.

In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.

Referring to fig. 1, a first embodiment of the present invention provides a light regulation device for an electric vehicle instrument, including:

a processor 1, a light sensor 2, a backlight circuit 3, a display screen 4, a controller 5 and an indicator light assembly 6; wherein the content of the first and second substances,

the processor 1 is respectively connected with the light sensor 2, the backlight circuit 3, the controller 5 and the indicator lamp assembly 6; the output end of the backlight circuit 3 is connected with the input end of the display screen 4;

the processor 1 is provided with a plurality of communication interfaces, and the processor 1 is connected with the controller 5 through the communication interfaces; the plurality of communication interfaces include, but are not limited to, at least one of a one-wire communication interface, a 485 communication interface, and a CAN communication interface.

The embodiment of the invention connects the processor 1 with the light sensor 2, the backlight circuit 3, the controller 5 and the indicator lamp assembly 6 respectively; the output of backlight circuit 3 is connected with the input of display screen 4, and treater 1 receives the voltage signal that is used for showing external environment light change that light sensor 2 gathered to judge according to voltage signal that present external environment is night or daytime, transmit the judged result to controller 5 through a plurality of communication interface, in order to realize the regulation and control to pilot lamp subassembly 6 and display screen 4 luminance. The embodiment of the invention is provided with the plurality of communication interfaces in the processor 1, so that the reliability and stability of data communication in the light ray regulation and control device can be effectively ensured, and the efficiency of light ray regulation and control can be effectively improved.

As a specific implementation of the embodiment of the present invention, the optical line sensor 2 is a resistance type sensor.

In the embodiment of the present invention, the light sensor 2 outputs different resistance values by externally providing a bias voltage, and the lowest and highest resistance values range from Rlow to Rhigh.

As a specific implementation of an embodiment of the present invention, the indicator light assembly 6 includes, but is not limited to, at least one of an electric vehicle headlight, a contour light, and a night light.

In the embodiment of the invention, corresponding actions on the indicator lamp assembly 6 are executed according to the working mode of the electric vehicle, such as automatically turning on headlights, contour lights, night lights and the like of the electric vehicle in a night environment; when in a white strip environment, headlights, contour lights, night lights and the like of the electric vehicle are automatically turned off.

As a specific implementation manner of the embodiment of the present invention, the sensing device further includes a sensor PCB, and the light sensor 2 is mounted on the sensor PCB.

Optionally, the light sensor 2 is arranged on the surface of a panel of the electric vehicle instrument panel, so that the accuracy of acquiring external light change data by the light sensor 2 can be effectively improved.

As a specific implementation manner of the embodiment of the present invention, the present invention further includes a first MOS transistor and a second MOS transistor; the processor 1 is provided with an ADC1 pin, a GPO1 pin, a GPI1 pin, a GPO2 pin and a GPI2 pin;

the output end of the light sensor 2 is connected with an ADC1 interface of the processor 1 through a second MOS tube;

an ADC1 pin of the processor 1 is sequentially connected with a second MOS tube and a first MOS tube; a GPO1 pin of the processor 1 is respectively connected with a first MOS tube and a second MOS tube; the CPI1 pin of the processor 1 is connected with the ADC2 pin of the controller 5; the GPO2 pin and the GPI1 pin of the processor 1 are respectively connected with the controller 5; the first MOS tube is connected with the voltage input end.

The embodiment of the invention has the following beneficial effects:

the embodiment of the invention connects the processor 1 with the light sensor 2, the backlight circuit 3, the controller 5 and the indicator lamp assembly 6 respectively; the output of backlight circuit 3 is connected with the input of display screen 4, and treater 1 receives the voltage signal that is used for showing external environment light change that light sensor 2 gathered to judge according to voltage signal that present external environment is night or daytime, transmit the judged result to controller 5 through a plurality of communication interface, in order to realize the regulation and control to pilot lamp subassembly 6 and display screen 4 luminance. The embodiment of the invention is provided with the plurality of communication interfaces in the processor 1, so that the reliability and stability of data communication in the light ray regulation and control device can be effectively ensured, and the efficiency of light ray regulation and control can be effectively improved.

A second embodiment of the present invention provides an electric vehicle instrument light regulation and control method, which is implemented in the electric vehicle instrument light regulation and control device, and includes:

s1, when the controller is detected not to have the light-sensitive ADC sampling function, controlling the GPO1 pin to output a low signal and controlling the first MOS tube and the second MOS tube to be opened;

s2, receiving a voltage signal at the output end of the light sensor; when the voltage signal is not within the preset voltage range, the current environment is judged to be at night, and the indicating lamp assembly is controlled to execute corresponding actions according to the current environment.

Referring to fig. 2, in the embodiment of the invention, whether the controller U5 has the light-sensing ADC sampling function is automatically determined, the processor U1 initially pulls up the GPO1 pin signal to turn off the first MOS transistor Q1 and the second MOS transistor Q2, when it is detected that the controller U5 does not have the light-sensing detection function, the ADC2 pin is open, the input signal at the GPI1 pin of the processor U1 is low, and the GPO1 pin of the processor U1 outputs a low signal. The first MOS tube Q1 and the second MOS tube Q2 are controlled to be opened, so that the light sensor is connected to a VCC end through Q1, an ADC1 pin of the processor U1 is connected to an output point V1 point of the light sensor through a resistor R2, and the processor U1 acquires a voltage signal V1 of a V1 point according to the ADC1 pin with an AD sampling function.

In the embodiment of the present invention, the range of the voltage signal V1 is:

v1 minimum VCC x Rlow/(R1+ Rlow)

V1 max VCC x Rhigh/(R1+ Rhigh)

Wherein, Rlow and Rhigh are the resistance values of the light sensor when the light is darkest and the light is brightest.

When the current environment is determined to be night, the processor U1 sends the determination result to the controller U5 through the communication interface, so that the controller U5 performs corresponding operations according to the determination result. Since the ADC1 pin is in a high-impedance input mode, the ADC pin voltage is the voltage signal V1 sent by the output terminal of the optical line sensor.

As a specific implementation manner of the embodiment of the present invention, after determining that the current environment is night, the method further includes:

and the processor reduces the backlight brightness of the display screen by reducing the duty ratio of the PWM.

With continued reference to fig. 2, when the GPI1 pin of the processor U1 detects that the ADC2 is a high signal, the processor U1 controls the GPO1 signal to be always high, and the first MOS transistor Q1 and the second MOS transistor Q2 are turned off, and the sampling function of the ADC1 is turned off. The controller U5 sends the current environment judgment result to the processor through a GPI2 pin or a communication interface, and the processor U1 pulls up the GPO3 according to the current environment judgment result and controls a high-voltage high-power supply to be turned on so as to control the headlight to be turned on. Meanwhile, the processor reduces the duty ratio of PWM, and the backlight brightness of the display screen is reduced. In the embodiment of the invention, the display screen is an LCD display screen.

The embodiment of the invention has the following beneficial effects:

according to the embodiment of the invention, the second MOS tube connected between the light sensor and the processor is conducted, so that the processor can collect the voltage signal of the output end of the light sensor according to the ADC1 pin with the AD sampling function, judge whether the current environment is day or night according to the voltage signal, send the judgment result of the current environment to the controller through the communication interface, realize the control of the indicating lamp assembly and the brightness adjustment of the display screen, synchronously adjust the indicating lamp and the screen backlight of the electric vehicle instrument panel along with the change of the light intensity of the external environment, and effectively improve the efficiency of light adjustment.

The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种燃油载货三轮车车架

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!