Vehicle auxiliary lighting method, system, computer and storage medium
By controlling the on and off of the lights by acquiring real-time vehicle data, the problem of insufficient lighting at road corners when the vehicle is turning has been solved, improving nighttime driving safety and saving power.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGLING MOTORS
- Filing Date
- 2023-04-25
- Publication Date
- 2026-05-01
AI Technical Summary
At night or in poor lighting conditions, the lighting at the road corner ahead is inadequate when the vehicle is turning, affecting driving safety.
By acquiring real-time data on the vehicle's power supply, gear position, speed, and turning, the system determines whether specific conditions are met and controls the lights to turn on and off, as well as adjusts the light output power based on ambient brightness.
It improves visibility during nighttime driving, enhances driving safety, and prevents power waste when ambient light is too high.
Smart Images

Figure CN116834648B_ABST
Abstract
Description
Vehicle auxiliary lighting methods, systems, computers and storage media Technical Field
[0001] This invention belongs to the field of vehicle lighting technology, and specifically relates to a method, system, computer, and storage medium for auxiliary lighting of a vehicle. Background Technology
[0002] Modern cars are increasingly designed with the safety of passengers and pedestrians in mind, especially at night or in poor lighting conditions, when obtaining road conditions becomes more difficult, posing a challenge to drivers and risks to pedestrians.
[0003] For a vehicle to travel on, lighting is crucial. Good lighting can improve driving safety at night and make driving more comfortable for the driver. Especially in areas with insufficient road lighting, poor lighting near the road corner when the vehicle is turning can affect the vehicle's movement and reduce driving safety. Summary of the Invention
[0004] To address the aforementioned technical problems, this invention provides a vehicle auxiliary lighting method, system, computer, and storage medium to solve the technical problem that poor lighting at the road corner near the vehicle's front when the vehicle is turning affects vehicle driving and thus reduces driving safety.
[0005] On the one hand, the invention provides the following technical solution: a method for auxiliary lighting of a vehicle, comprising:
[0006] The system acquires real-time power data, gear data, speed data, and turning data of the vehicle, and determines whether the vehicle's power is on, whether the vehicle's gear is a preset gear, whether the vehicle's speed is not greater than a preset speed value, and whether the vehicle's turning data is greater than a preset turning value.
[0007] If the power supply of the vehicle is turned on, the gear of the vehicle is a preset gear, the speed of the vehicle is less than the preset speed value, and the turning data of the vehicle is greater than the preset turning value, then the first ambient brightness value around the vehicle is obtained, and it is determined whether the first ambient brightness value exceeds the preset expected illuminance value.
[0008] If the first ambient brightness value exceeds the desired illuminance value, then turn on the lighting;
[0009] If the power supply of any of the vehicles is not turned on, the gear of the vehicle is not in the preset gear, the speed of the vehicle is greater than the preset speed value, or the turning data of the vehicle is less than the preset turning value, then the lights are turned off.
[0010] Compared to existing technologies, the beneficial effects of this application are as follows: By determining whether the vehicle's power is on, whether the vehicle is in reverse gear, whether the vehicle speed is not greater than a preset speed value, whether the vehicle's lights are on, and whether the vehicle's turning angle is greater than a preset first angle value, the lighting effect is achieved when all of the above conditions are met. This solves the road safety problem in areas with insufficient road lighting and low-speed driving environments, resulting in a wider road illumination range, making it easier for drivers to spot sudden emergencies during driving, improving the driver's nighttime visibility, enhancing nighttime driving safety, and providing a guarantee for driving safety. Furthermore, by using the step of determining if the first ambient brightness value exceeds the desired illuminance value, the application prevents external lighting from being applied when the ambient brightness is too high, thus saving power.
[0011] Furthermore, after the step of controlling the corresponding light using the first control command, the method further includes:
[0012] The system acquires the second ambient brightness value around the vehicle in real time, determines the difference between the second ambient brightness value and the first ambient brightness value, and adjusts the output power of the lighting lamps according to the difference.
[0013] Furthermore, the steps when the power data, the vehicle speed data, and the vehicle data are all in the first state include:
[0014] The power data indicates that the vehicle is in the ON state, the vehicle is in a non-reverse gear state, the vehicle speed is less than a preset first speed value, the vehicle lights are ON, and the turning data indicates that the turning value is greater than a preset turning value.
[0015] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset first time value and a preset first angle value.
[0016] The steps for determining that the vehicle's turning data is greater than a preset turning value include:
[0017] The steering wheel angle data of the whole vehicle is greater than the preset first angle value, or the duration of the turn signal is not less than the preset first time value.
[0018] Furthermore, the steps when any of the power data, the vehicle speed data, and the vehicle data are in a second state include:
[0019] If any of the vehicle's power supplies are off, the vehicle is in reverse gear, the vehicle's speed is greater than a preset second speed value, or the vehicle's turning data is less than a preset second turning value.
[0020] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset second time value and a preset second angle value.
[0021] The steps to ensure that the turning data of the entire vehicle is less than a preset second turning value include:
[0022] The duration of the vehicle's turn signals is no greater than a preset second time value, and the steering wheel angle data of the vehicle is no less than a preset second angle value.
[0023] Furthermore, the steering wheel angle data includes a first direction steering angle and a second direction steering angle opposite to the first direction, and the lights include a left headlight and a right headlight for providing illumination;
[0024] The first direction rotation angle corresponds to the left-side headlight, and the second direction rotation angle corresponds to the right-side headlight.
[0025] Furthermore, the step of adjusting the output power of the lighting lamp according to the difference includes:
[0026] Determine whether the difference is less than a preset brightness comparison value. If the difference is less than the preset brightness comparison value, increase the output power of the lighting lamp.
[0027] Furthermore, the first angle value is 5°~65°, and the preset first vehicle speed value is 30 km / h~50 km / h.
[0028] Secondly, the invention provides the following technical solution: a vehicle auxiliary lighting system, comprising:
[0029] The acquisition module is used to acquire the vehicle's power data, vehicle data, and vehicle speed data in real time. The vehicle data includes the vehicle's gear position data, headlight position data, and turning data.
[0030] The judgment module is used to obtain the corresponding first control command and the first ambient brightness value around the vehicle when the power data, the vehicle speed data and the vehicle data are all in the first state, and to determine whether the first ambient brightness value exceeds the preset expected illuminance value. If the first ambient brightness value exceeds the expected illuminance value, the corresponding lights are controlled by the first control command.
[0031] The control module is used to acquire a corresponding second control command when any of the power data, the vehicle speed data, and the vehicle data are in a second state, and to control the corresponding lights using the second control command.
[0032] Furthermore, the system also includes:
[0033] The adjustment module is used to acquire the second ambient brightness value around the vehicle in real time, determine the difference between the second ambient brightness value and the first ambient brightness value, and adjust the output power of the lighting lamp according to the difference.
[0034] Furthermore, the determination module includes:
[0035] The first state unit is used when the power data is in the on state, the vehicle gear is in a non-reverse gear state, the vehicle speed is less than a preset first speed value, the vehicle lights are in the on state, and the turning data is greater than a preset turning value.
[0036] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset first time value and a preset first angle value.
[0037] The first state unit includes:
[0038] The steering unit is used when the steering wheel angle of the vehicle is greater than a preset first angle value or when the duration of the turn signal is not less than a preset first time value.
[0039] Furthermore, the control module includes:
[0040] The second state unit is used to handle situations where the power supply of any of the vehicles is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset second speed value, or the turning data of the vehicle is less than a preset second turning value.
[0041] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset second time value and a preset second angle value.
[0042] The second state unit includes:
[0043] The judgment unit is used to determine whether the duration of the turn signal of the vehicle is not greater than a preset second time value and whether the steering wheel angle data of the vehicle is not less than a preset second angle value.
[0044] Furthermore, the first state unit includes:
[0045] The lighting unit is used for the steering wheel angle data, which includes a first direction angle and a second direction angle opposite to the first direction. The lighting includes a left-side headlight and a right-side headlight for providing lighting.
[0046] Furthermore, the adjustment module includes:
[0047] The judgment unit is used to determine whether the difference is less than a preset brightness comparison value. If the difference is less than the preset brightness comparison value, the output power of the lighting lamp is increased.
[0048] Furthermore, the first state unit includes:
[0049] The interval unit is used for the first angle value being 5°~65°, and the preset first vehicle speed value being 30km / h~50km / h.
[0050] Thirdly, the invention provides the following technical solution: a computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vehicle auxiliary lighting method as described above.
[0051] Fourthly, the invention provides the following technical solution: a storage medium storing a computer program, which, when executed by a processor, implements the vehicle auxiliary lighting method described above. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 is a flowchart of the vehicle auxiliary lighting method provided in the first embodiment of the present invention;
[0054] Figure 2 is a flowchart of the vehicle auxiliary lighting method provided in the second embodiment of the present invention;
[0055] Figure 3 is a structural block diagram of the vehicle auxiliary lighting system provided in the third embodiment of the present invention;
[0056] Figure 4 is a schematic diagram of the hardware structure of the computer provided in the fourth embodiment of the present invention.
[0057] The embodiments of the present invention will be further described below with reference to the accompanying drawings. Detailed Implementation
[0058] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain embodiments of the present invention, and should not be construed as limiting the present invention.
[0059] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.
[0060] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the 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 embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0061] Example 1
[0062] In the first embodiment of the present invention, as shown in FIG1, a vehicle auxiliary lighting method includes steps S101 to S103:
[0063] S101, real-time acquisition of the vehicle's power data, vehicle data, and vehicle speed data, wherein the vehicle data includes the vehicle's gear data, headlight gear data, and turning data;
[0064] In practice, the system acquires real-time power data of the entire vehicle, including ON, OFF, or ON status and adaptive cruise control (ACC). It also acquires gear data, including forward, parking, and reverse gears. Furthermore, it acquires vehicle speed data, headlight status data (including high beam and low beam), and turning data, including the angle of forward and reverse steering.
[0065] S102, when the power data, the vehicle speed data and the vehicle data are all in the first state, the corresponding first control command and the first ambient brightness value around the vehicle are obtained, and it is determined whether the first ambient brightness value exceeds the preset expected illuminance value. If the first ambient brightness value exceeds the expected illuminance value, the corresponding lights are controlled by the first control command.
[0066] In specific implementation, the first state is defined as follows: the power data is in the on state, the vehicle is in a non-reverse gear state, the vehicle speed is less than a preset first speed value, the vehicle lights are in the on state, and the turning data is greater than a preset turning value.
[0067] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset first time value and a preset first angle value.
[0068] The steps for determining that the vehicle's turning data is greater than a preset turning value include:
[0069] The steering wheel angle data of the whole vehicle is greater than the preset first angle value, or the duration of the turn signal is not less than the preset first time value.
[0070] This can be understood as follows: First, determine whether the power data is ON, whether the gear data is reverse, whether the vehicle speed data is not greater than a preset vehicle speed value, whether the headlights are on (high beam or low beam), and whether the turning data is greater than a preset first angle value or the turn signal duration is not less than a preset first time value. If all of the following conditions are met simultaneously: the power data is ON, the gear data is not reverse (it is in the shift or parking gear), the vehicle speed data is less than the preset vehicle speed value, the headlights are on (high beam or low beam), and the turning data is greater than the preset first angle value or the turn signal duration is not less than the preset first time value, then obtain the first ambient brightness value around the vehicle. The first ambient brightness value is obtained from the illuminance sensor SNR. In this embodiment, the first ambient brightness value refers to the light source from the ambient light source (e.g., sunlight, light source from other distant lamps, or light source from the vehicle's own lights). For example, on a sunny day, sunlight can provide 100 lux, so the first ambient brightness value is 100 lux. Then, it is determined whether the first ambient brightness value exceeds a preset expected illuminance value. The expected illuminance value can be adjusted according to actual data. For example, in this embodiment, the preset expected illuminance value is 100 lux. The preset first vehicle speed value is 36 km / h. If the vehicle speed data is not greater than 36 km / h, the condition is considered met. The preset first angle value is 60°. If the steering wheel turns 60° to the left or right, the condition is considered met. The first time value is 1 second. It should be noted that if the following conditions are met: the turning data is greater than the preset first angle value, or the turn signal duration is not less than the preset first time value, plus the aforementioned power data being ON, the gear data not being reverse (being in drive or parking gear), the vehicle speed data being less than the preset vehicle speed value, and the headlight gear being turned on (high beam or low beam), then the condition is considered met.
[0071] In specific implementation, if the first ambient brightness value exceeds the desired illuminance value, the lights are turned on to illuminate the target area. The lights can be positioned on the front sides of the vehicle, the rear sides of the vehicle, the middle of the sides of the vehicle, or both the front and rear of the sides of the vehicle. In this embodiment, the lights are positioned on the front sides to illuminate the target area on both sides of the vehicle. The turning data includes a first directional turning angle and a second directional turning angle opposite to the first direction. The lights include a left-side light and a right-side light; the left-side light is positioned on the left side of the front of the vehicle, and the right-side light is positioned on the right side of the front of the vehicle. This can be understood as the first directional turning angle being the angle generated when the steering wheel is turned to the left, and the second directional turning angle being the angle generated when the steering wheel is turned to the right.
[0072] S103, when any of the power data, the vehicle speed data, and the vehicle data are in the second state, obtain the corresponding second control command, and use the second control command to control the corresponding lights.
[0073] In specific implementation, if the power supply of any of the vehicles is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset second speed value, or the turning data of the vehicle is less than a preset second turning value.
[0074] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset second time value and a preset second angle value.
[0075] The steps to ensure that the turning data of the entire vehicle is less than a preset second turning value include:
[0076] The duration of the vehicle's turn signals is no greater than a preset second time value, and the steering wheel angle data of the vehicle is no less than a preset second angle value.
[0077] This can be understood as follows: if any of the following conditions exist: the vehicle's power is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset speed value, or the turning data is less than a preset first angle value and the turn signal is off, then the headlights are turned off. In this embodiment, the second time value is 0 seconds (which can be understood as the turn signal being off), the preset second speed value is 40 km / h, and when the vehicle speed data is greater than 40 km / h, the headlights are turned off. The preset second angle value is 10 degrees, and when the turning data is less than 10 degrees and the turn signal is off, the headlights are turned off. Specifically, when turning left, if the steering wheel angle is less than 10° and the left turn signal is off, the left headlight is turned off; similarly, when turning right, if the steering wheel angle is less than 10° and the right turn signal is off, the right headlight is turned off.
[0078] In summary, by determining whether the vehicle's power is on, whether the vehicle is in reverse gear, whether the vehicle speed does not exceed a preset speed value, whether the vehicle's lights are on, and whether the vehicle's turning angle exceeds a preset first angle value, the system achieves illumination when all of these conditions are met. This addresses road safety issues in areas with insufficient ambient lighting and low-speed driving environments, resulting in a wider road illumination range, making it easier for drivers to spot sudden emergencies, improving nighttime visibility, and enhancing driving safety. Furthermore, the step of determining if the ambient brightness exceeds the desired illuminance value prevents excessively high ambient light levels from illuminating the surroundings, thus conserving power.
[0079] Example 2
[0080] As shown in Figure 2, a vehicle auxiliary lighting method is provided in the second embodiment of the present invention. The difference between the vehicle auxiliary lighting method provided in this second embodiment and the vehicle auxiliary lighting method provided in the first embodiment is that it includes steps S301 to S305:
[0081] S301, real-time acquisition of the vehicle's power data, vehicle data, and vehicle speed data, wherein the vehicle data includes the vehicle's gear data, headlight gear data, and turning data;
[0082] S302, when the power data, the vehicle speed data and the vehicle data are all in the first state, the corresponding first control command and the first ambient brightness value around the vehicle are obtained, and it is determined whether the first ambient brightness value exceeds the preset expected illuminance value. If the first ambient brightness value exceeds the expected illuminance value, the corresponding lights are controlled by the first control command.
[0083] The system determines whether the power data is ON, whether the gear data is reverse gear, whether the vehicle speed data is not greater than a preset vehicle speed value, whether the headlight gear data is high beam or low beam, whether the turning data is greater than a preset first angle value, and whether the turn signal duration is not less than a preset time value. The preset time value can be set according to actual data and can be half a second, one second, or two seconds. In this embodiment, the preset time value is one second.
[0084] In specific implementation, if the following conditions are met simultaneously: the power data is ON, the gear data is not reverse, the vehicle speed data is less than the preset vehicle speed value, the headlight gear data is ON, and the turning data is greater than the preset first angle value; or if the following conditions are met simultaneously: the power data is ON, the gear data is not reverse, the vehicle speed data is less than the preset vehicle speed value, the headlight gear data is ON, and the duration is not less than the preset time value, then the conditions are considered met, and the first ambient brightness value around the vehicle is obtained. The first ambient brightness value is obtained by the illuminance sensor SNR, wherein the duration is greater than the preset time value (greater than one second).
[0085] In specific implementation, if the first ambient brightness value obtained by the illuminance sensor SNR is greater than the expected illuminance value, it is determined whether the steering wheel is turned to the left or the right. If it is turned to the left, the left headlight is turned on to illuminate the front left of the vehicle. If it is turned to the right, the right headlight is turned on to illuminate the front right of the vehicle.
[0086] S303, acquire the second ambient brightness value around the vehicle in real time, determine the difference between the second ambient brightness value and the first ambient brightness value, and adjust the output power of the lighting lamp according to the difference;
[0087] In practice, a second ambient luminance value around the vehicle is obtained using an illuminance sensor (SNR). The second ambient luminance value is then subtracted from the first ambient luminance value to obtain a difference. This difference is then compared to a preset luminance contrast value. If the difference is less than the preset luminance contrast value, the lighting is considered insufficient, indicating insufficient brightness around the vehicle. Therefore, the output power of the lighting needs to be increased to improve brightness. If the difference is greater than or equal to the preset luminance contrast value, the lighting is considered sufficient, indicating sufficient brightness around the vehicle. Therefore, the output power of the lighting needs to be maintained. In this embodiment, the second ambient luminance value is 110 lux, and the luminance contrast value is 0.
[0088] S304, when any of the power data, the vehicle speed data, and the vehicle data are in the second state, obtain the corresponding second control command, and use the second control command to control the corresponding lights;
[0089] In specific implementation, if any of the following conditions exist: the vehicle's power is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset speed value, or the turning data is less than a preset first angle value and the turn signal is off, then the headlights are turned off. In this embodiment, the preset speed value is 40 km / h; when the speed data is greater than 40 km / h, the headlights are turned off. The preset first angle value is 10 degrees; when the turning data is less than 10 degrees and the turn signal is off, the headlights are turned off. It can be understood that when turning left, if the steering wheel angle is less than 10° and the left turn signal is off, the left headlight is turned off; similarly, when turning right, if the steering wheel angle is less than 10° and the right turn signal is off, the right headlight is turned off.
[0090] The advantage of the second embodiment of the present invention compared to the first embodiment is that, by determining whether the steering wheel is turned at a first or second direction angle, the effect of selecting different directional lighting can be achieved, eliminating the need to simultaneously illuminate two lights and saving energy. Furthermore, by determining the difference between the second and first ambient brightness values, the output power of the lighting is adjusted based on this difference to control the brightness of the lighting and prevent insufficient illumination from affecting vehicle operation.
[0091] Example 3
[0092] As shown in Figure 3, a third embodiment of the present invention provides a vehicle auxiliary lighting system, the system comprising:
[0093] The acquisition module is used to acquire the vehicle's power data, vehicle data, and vehicle speed data in real time. The vehicle data includes the vehicle's gear position data, headlight position data, and turning data.
[0094] The judgment module is used to obtain the corresponding first control command and the first ambient brightness value around the vehicle when the power data, the vehicle speed data and the vehicle data are all in the first state, and to determine whether the first ambient brightness value exceeds the preset expected illuminance value. If the first ambient brightness value exceeds the expected illuminance value, the corresponding lights are controlled by the first control command.
[0095] The control module is used to acquire a corresponding second control command when any of the power data, the vehicle speed data, and the vehicle data are in a second state, and to control the corresponding lights using the second control command.
[0096] In some alternative embodiments, the system further includes:
[0097] The adjustment module is used to acquire the second ambient brightness value around the vehicle in real time, determine the difference between the second ambient brightness value and the first ambient brightness value, and adjust the output power of the lighting lamp according to the difference.
[0098] In some optional embodiments, the determination module includes:
[0099] The first state unit is used when the power data is in the on state, the vehicle gear is in a non-reverse gear state, the vehicle speed is less than a preset first speed value, the vehicle lights are in the on state, and the turning data is greater than a preset turning value.
[0100] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset first time value and a preset first angle value.
[0101] The first state unit includes:
[0102] The steering unit is used when the steering wheel angle of the vehicle is greater than a preset first angle value or when the duration of the turn signal is not less than a preset first time value.
[0103] In some alternative embodiments, the control module includes:
[0104] The second state unit is used to handle situations where the power supply of any of the vehicles is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset second speed value, or the turning data of the vehicle is less than a preset second turning value.
[0105] The turning data includes the duration of the vehicle's turn signals and the steering wheel angle data of the vehicle; the preset turning value includes a preset second time value and a preset second angle value.
[0106] The second state unit includes:
[0107] The judgment unit is used to determine whether the duration of the turn signal of the vehicle is not greater than a preset second time value and whether the steering wheel angle data of the vehicle is not less than a preset second angle value.
[0108] In some alternative embodiments, the first state unit includes:
[0109] The lighting unit is used for the steering wheel angle data, which includes a first direction angle and a second direction angle opposite to the first direction. The lighting includes a left-side headlight and a right-side headlight for providing lighting.
[0110] In some alternative embodiments, the adjustment module includes:
[0111] The judgment unit is used to determine whether the difference is less than a preset brightness comparison value. If the difference is less than the preset brightness comparison value, the output power of the lighting lamp is increased.
[0112] In some alternative embodiments, the first state unit includes:
[0113] The interval unit is used for the first angle value being 5°~65°, and the preset first vehicle speed value being 30 km / h~50 km / h.
[0114] The vehicle auxiliary lighting system provided in this embodiment of the invention has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the system embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0115] Example 4
[0116] As shown in Figure 4, in the fourth embodiment of the present invention, the present invention provides the following technical solution: a computer, including a memory 202, a processor 201, and a computer program stored in the memory 202 and executable on the processor 201, wherein the processor 201 executes the computer program to implement the vehicle auxiliary lighting method as described above.
[0117] Specifically, the processor 201 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0118] Memory 202 may include a large-capacity storage device for data or instructions. For example, and not limitingly, memory 202 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Depending on the data, memory 202 may include removable or non-removable (or fixed) media. Depending on the data, memory 202 may be internal or external to a data processing device. In a particular embodiment, memory 202 is non-volatile memory. In a particular embodiment, memory 202 includes read-only memory (ROM) and random access memory (RAM). Under appropriate data conditions, the ROM can be a mask-programmed ROM, a programmable read-only memory (PROM), an erasable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), an electrically alterable read-only memory (EAROM), or flash memory, or a combination of two or more of these. Under appropriate data conditions, the RAM can be Static Random-Access Memory (SRAM) or Dynamic Random-Access Memory (DRAM). DRAM can be Fast Page Mode Dynamic Random Access Memory (FPMDRAM), Extended Data Out Dynamic Random Access Memory (EDODRAM), Synchronous Dynamic Random-Access Memory (SDRAM), etc.
[0119] The memory 202 can be used to store or cache various data files that need to be processed and / or communicated, as well as possible computer program instructions executed by the processor 201.
[0120] The processor 201 implements the above-mentioned vehicle auxiliary lighting method by reading and executing computer program instructions stored in the memory 202.
[0121] In some embodiments, the computer may further include a communication interface 203 and a bus 200. As shown in FIG4, the processor 201, memory 202, and communication interface 203 are connected through the bus 200 and communicate with each other.
[0122] The communication interface 203 is used to enable communication between the various modules, devices, units, and / or equipment in the embodiments of this application. The communication interface 203 can also enable data communication with other components such as external devices, image / data acquisition devices, databases, external storage, and image / data processing workstations.
[0123] Bus 200 includes hardware, software, or both, that couples computer components together. Bus 200 includes, but is not limited to, at least one of the following: data bus, address bus, control bus, expansion bus, and local bus. For example, and not as a limitation, bus 200 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Under appropriate data, bus 200 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.
[0124] Example 5
[0125] In the fifth embodiment of the present invention, in conjunction with the above-described vehicle auxiliary lighting method, the present invention provides the following technical solution: a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the above-described vehicle auxiliary lighting method.
[0126] Those skilled in the art will understand that the data representations in the flowcharts or the logic and / or steps otherwise described herein, for example, can be considered as a sequenced data table of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can mean any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0127] More specific examples of readable media (a non-exhaustive list of data) include: electrical connections (electronic devices) with one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0128] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0129] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0130] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for providing auxiliary lighting for a vehicle, characterized in that, include: The system acquires real-time power data, vehicle data, and vehicle speed data for the entire vehicle. The vehicle data includes vehicle gear position data, headlight position data, and turning data. When the power data, vehicle speed data, and vehicle data are all in a first state, a corresponding first control command and a first ambient brightness value around the vehicle are acquired. It is then determined whether the first ambient brightness value exceeds a preset expected illuminance value. If the first ambient brightness value exceeds the expected illuminance value, the corresponding headlight is controlled using the first control command. When any of the power data, vehicle speed data, and vehicle data are in a second state, a corresponding second control command is acquired, and the corresponding headlight is controlled using the second control command. The steps when the power data, vehicle speed data, and vehicle data are all in a first state include: the power data is in an on state; the vehicle gear is in a non-reverse gear state; the vehicle speed is less than a preset first speed value; the vehicle headlight position is on; and the turning data is greater than a preset turning value. The turning data includes the duration of the vehicle's turn signals. The vehicle's steering wheel angle data, wherein the preset turning value includes a preset first time value and a preset first angle value; the step of the vehicle's turning data being greater than the preset turning value includes: the vehicle's steering wheel angle data being greater than the preset first angle value or the turn signal duration being not less than the preset first time value; the step of when any of the power data, vehicle speed data, and vehicle data are in a second state includes: if any of the vehicle's power is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset second speed value, or the vehicle's turning data is less than the preset second turning value; the turning data includes the vehicle's turn signal duration and the vehicle's steering wheel angle data, the preset turning value including a preset second time value and a preset second angle value; the step of the vehicle's turning data being less than the preset second turning value includes: the vehicle's turn signal duration being not greater than the preset second time value and the vehicle's steering wheel angle data being not less than the preset second angle value.
2. The vehicle auxiliary lighting method according to claim 1, characterized in that, After controlling the corresponding lights using the first control command, the method further includes: acquiring a second ambient brightness value around the vehicle in real time, determining the difference between the second ambient brightness value and the first ambient brightness value, and adjusting the output power of the lighting lamps according to the difference.
3. The vehicle auxiliary lighting method according to claim 1, characterized in that, The steering wheel angle data includes a first direction steering angle and a second direction steering angle opposite to the first direction. The lights include a left headlight and a right headlight for providing light. The first direction steering angle corresponds to the left headlight, and the second direction steering angle corresponds to the right headlight.
4. The vehicle auxiliary lighting method according to claim 2, characterized in that, The step of adjusting the output power of the lighting lamp according to the difference includes: determining whether the difference is less than a preset brightness comparison value; if the difference is less than the preset brightness comparison value, then increasing the output power of the lighting lamp.
5. The vehicle auxiliary lighting method according to claim 1, characterized in that, The first angle value is 5°~65°, and the preset first vehicle speed value is 30km / h~50km / h.
6. A vehicle auxiliary lighting system, characterized in that, include: The system includes an acquisition module for real-time acquisition of vehicle power data, vehicle data, and vehicle speed data, wherein the vehicle data includes vehicle gear data, headlight gear data, and turning data; a judgment module for acquiring a corresponding first control command and a first ambient brightness value around the vehicle when the power data, vehicle speed data, and vehicle data are all in a first state, and determining whether the first ambient brightness value exceeds a preset expected illuminance value; if the first ambient brightness value exceeds the expected illuminance value, controlling the corresponding headlights using the first control command; and a control module for acquiring a corresponding second control command and controlling the corresponding headlights when any of the power data, vehicle speed data, and vehicle data are in a second state; the steps when the power data, vehicle speed data, and vehicle data are all in a first state include: the power data is in an on state, the vehicle gear is in a non-reverse gear state, the vehicle speed is less than a preset first speed value, the vehicle headlights are in an on state, and the turning data is greater than a preset turning value; the turning data includes the... The steps for determining the vehicle's turn signal duration and steering wheel angle data, where the preset turning value includes a preset first time value and a preset first angle value; the steps for determining the vehicle's turning data to be greater than the preset turning value include: the vehicle's steering wheel angle data being greater than the preset first angle value or the turn signal duration being not less than the preset first time value; the steps for determining the vehicle's turning data to be in a second state include: if any of the vehicle's power supply is off, the vehicle is in reverse gear, the vehicle speed is greater than a preset second speed value, or the vehicle's turning data is less than the preset second turning value; the turning data includes the vehicle's turn signal duration and steering wheel angle data, where the preset turning value includes a preset second time value and a preset second angle value; the steps for determining the vehicle's turning data to be less than the preset second turning value include: the vehicle's turn signal duration being not greater than the preset second time value and the vehicle's steering wheel angle being not less than the preset second angle value.
7. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle auxiliary lighting method as described in any one of claims 1 to 5.
8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the vehicle auxiliary lighting method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle turning auxiliary lighting control method and system and vehicle
CN110803097A
Automatic lamplight control method and device and vehicle
CN112606756A