Automobile lamp control method and device and computer readable storage medium
By automatically controlling the starting sequence and environmental data matching of the car-mounted equipment, the problem of low safety in the existing technology of the rear taillight control method of the car in low visibility weather is solved, and the rear fog light and rear position light are automatically turned on, improving the safety and energy efficiency of the car.
Patent Information
- Application Number
- CN202411680357.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-07
AI Technical Summary
The existing rear taillight control method of automobiles has low safety problems in weather with low visibility. Users need to manually turn on the rear fog lights and rear position lights, which leads to inability to operate in time in an emergency, which poses a safety risk.
By determining the starting order of the vehicle-mounted equipment, receiving environmental data and matching preset weather data, the vehicle is automatically controlled to turn on or off the position lights and fog lights to ensure that these lights are automatically turned on when needed.
It realizes automatic turning on the rear fog light and rear position light in low visibility weather, improves the safety of the vehicle, avoids the risk of users being distracted from operating the lamps in emergencies, and saves the energy consumption of the car.
Smart Images

Figure CN119568004A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of automobile control technology, and in particular to a control method and device for automobile lamps and a computer-readable storage medium. Background Art
[0002] In the automotive industry, all cars need to be equipped with rear fog lights, rear position lights, and hazard warning lights. However, in low-visibility weather, such as heavy rain, heavy snow, and sandstorm weather, the car will not actively help the user turn on the rear fog lights and rear position lights. The user needs to manually turn on these lights to warn the following vehicles. Since the user cannot operate the taillights in time when encountering an emergency, there is a safety risk for the vehicle and the user. Therefore, the existing car rear taillight control method has the problem of low safety. Summary of the invention
[0003] In view of the above problems, the embodiments of the present invention provide a method and device for controlling an automobile lamp and a computer-readable storage medium, which are used to solve the problem of low safety in the control method of automobile taillights in the prior art.
[0004] According to one aspect of an embodiment of the present invention, a method for controlling an automobile lamp is provided, the method comprising:
[0005] Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0006] After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0007] According to another aspect of an embodiment of the present invention, a control device for an automobile lamp is provided, comprising:
[0008] The device determination module is used to determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0009] The lighting control module is used to receive the environmental data generated by the currently started vehicle-mounted equipment after each vehicle-mounted equipment is started and before the next vehicle-mounted equipment is started, and match the current environmental data with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, control the vehicle to turn on the position lights and fog lights, and stop the start of each unstarted vehicle-mounted equipment; if not, start the next unstarted vehicle-mounted equipment.
[0010] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0011] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0012] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0013] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0014] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0015] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0016] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0017] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0018] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0019] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0020] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0021] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0022] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0023] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0024] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0025] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0026] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0027] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0028] In an optional manner, the device startup sequence is obtained by:
[0029] Receiving location information of the vehicle;
[0030] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0031] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0032] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0033] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0034] Determining the type of the weather forecast data;
[0035] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0036] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0037] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0038] According to another aspect of an embodiment of the present invention, there is provided a control device for an automobile lamp, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0039] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the control method of the automobile lamp according to the present invention.
[0040] The control method comprises:
[0041] Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0042] After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0043] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0044] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0045] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0046] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0047] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0048] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0049] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0050] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0051] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0052] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0053] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0054] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0055] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0056] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0057] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0058] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0059] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0060] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0061] In an optional manner, the device startup sequence is obtained by:
[0062] Receiving location information of the vehicle;
[0063] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0064] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0065] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0066] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0067] Determining the type of the weather forecast data;
[0068] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0069] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0070] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0071] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a control device / apparatus of an automobile lamp to perform the following operations:
[0072] Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0073] After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0074] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0075] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0076] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0077] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0078] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0079] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0080] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0081] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0082] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0083] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0084] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0085] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0086] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0087] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0088] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0089] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0090] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0091] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0092] In an optional manner, the device startup sequence is obtained by:
[0093] Receiving location information of the vehicle;
[0094] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0095] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0096] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0097] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0098] Determining the type of the weather forecast data;
[0099] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0100] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0101] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0102] The embodiment of the present invention controls the startup of the vehicle-mounted equipment through a preset equipment startup sequence to collect and judge the environmental data, and then realizes the automation of turning on the position lights and fog lights based on the judgment result; at the same time, the vehicle-mounted equipment is controlled in sequence, and the environmental data is matched with the preset weather data after each startup of the vehicle-mounted equipment and before the next startup of the vehicle-mounted equipment, and the turning on of the position lights and fog lights is controlled according to the matching result, thereby avoiding unnecessary startup of the vehicle-mounted equipment after the position lights and fog lights are turned on, ensuring the safety of the car while saving the energy consumption of the car.
[0103] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0104] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0105] Figure 1 A schematic flow chart showing a first embodiment of a method for controlling an automobile lamp provided by the present invention;
[0106] Figure 2 A schematic flow chart showing a second embodiment of the method for controlling an automobile lamp provided by the present invention;
[0107] Figure 3 A schematic structural diagram of an embodiment of a control device for an automobile lamp provided by the present invention is shown;
[0108] Figure 4 A schematic structural diagram of an embodiment of a control device for an automobile lamp provided by the present invention is shown;
[0109] Figure 5 A schematic structural diagram showing an embodiment of the distribution position of vehicle-mounted equipment provided by the present invention;
[0110] Figure 6 A structural schematic diagram showing an embodiment of the connection relationship of vehicle-mounted equipment provided by the present invention;
[0111] Figure 7 A structural schematic diagram of a third embodiment of the method for controlling an automobile lamp provided by the present invention is shown. DETAILED DESCRIPTION
[0112] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0113] Figure 1 FIG. 1 is a flow chart showing a first embodiment of a method for controlling a vehicle lamp according to the present invention, wherein the method is executed by a control device for the vehicle lamp. Figure 1 As shown, the method comprises the following steps:
[0114] Step 110: Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence.
[0115] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0116] In a specific embodiment, the control device of the automobile lamps may be a body domain controller 501 (Body Domain Control Unit, BDC for short); the rain sensor and humidity sensor in the vehicle-mounted equipment may be a rain light sensor 502 (Rain Light Sensor, RLS for short), the rain light sensor integrates a humidity sensor; a front looking camera 503 (Front Looking Camera System, FLC for short); an intelligent driving controller 504 (Mobile Data Center, MDC for short), a vehicle controller 505 (Vehicle Control Unit, VCU for short); the vehicle also includes: an intelligent cockpit domain controller 506 (Cockpit Domain Controller, CDC for short), a central control screen 507, a left rear position light 508, a right rear position light 509, a rear fog light 510, a left front position light 511, and a right front position light 512. To better illustrate the location of the vehicle-mounted equipment, please refer to Figure 5 .
[0117] Step 120: After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0118] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0119] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0120] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0121] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0122] In a specific embodiment, BDC makes a rainfall level judgment based on the rainfall level transmitted by RLS (i.e., the rainfall level described in the present invention); if the rainfall level is greater than or equal to the calibrated threshold for turning on the position lights and fog lights, the position lights and fog lights are driven to turn on; the rainfall detection level of the current rain sensors on the market generally has 14 levels, 0 represents no rain, 1-2 levels represent light rain, 3-5 represents moderate rain, 6-9 levels are generally heavy rain, and 10 and above are torrential rain. Therefore, according to the rainfall level signal transmitted by RLS, if the rainfall level is greater than or equal to 6 (i.e., the rainfall warning threshold range described in the present invention, which can be adaptively adjusted by the user according to needs), the position lights and rear fog lights are automatically turned on, and if the level is less than 6, the lights that are automatically turned on due to heavy rain are exited.
[0123] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0124] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0125] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0126] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0127] In a specific embodiment, BDC determines whether it is foggy weather based on the humidity provided by RLS. If the humidity is greater than a calibrated value (i.e., the humidity warning threshold range described in the present invention, which can be adaptively adjusted by the user according to needs), it is considered to be foggy weather. In foggy weather, BDC drives the position lights and fog lights to turn on automatically.
[0128] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0129] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0130] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0131] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0132] In a specific embodiment, BDC determines whether it is currently in heavy snow or sandstorm weather based on the information provided by FLC to MDC (FLC transmits the captured image information to MDC, MDC has powerful image processing capabilities and computing power. In the early stage of the project, the supervised learning algorithm in machine learning is used, and then 10,000 sets of data for heavy rain, heavy fog, sandstorm, sunny day, and heavy snow are collected for supervised feedback training to ensure that the accuracy of the training results can reach more than 95%. The trained model is then deployed to MDC, and MDC transmits the information to BDC after identifying the weather type). If it is heavy snow or sandstorm weather, BDC drives the position lights and fog lights to turn on automatically; otherwise, BDC does not change the light driving state.
[0133] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0134] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend graph constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of echo distribution data includes: the laser radar emits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they hit environmental particles, and generates echo distribution data by receiving echo signals; similarity calculation is performed between the received echo distribution data and the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain a similarity calculation result; wherein the preset weather warning intensity data The generation of the database is specifically as follows: in each environment corresponding to a known weather warning intensity, during the driving process of the vehicle, by collecting the echo signal generated by the laser radar, a weather warning intensity signal change trend chart sample is generated; a known weather warning intensity corresponds to different weather warning intensity signal change trend chart samples; if the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend chart sample is greater than or equal to the similarity threshold, then the current driving environment requires the start of the position lights and the fog lights; if the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend chart sample is less than the similarity threshold, then the current driving environment does not require the start of the position lights and the fog lights.
[0135] It is understandable that the laser radar emits electromagnetic waves in a certain direction. When the electromagnetic waves hit water droplets or water vapor in rain or fog, these precipitation particles will scatter the electromagnetic waves. The radar receives the scattered echo signal, and by analyzing the intensity, frequency and other information of the echo signal, it can infer the distribution, concentration and intensity of precipitation particles. Precipitation of different intensities has different scattering capabilities for electromagnetic waves. The greater the received echo energy, the greater the precipitation intensity. By analyzing the attenuation of the electromagnetic waves after the laser radar sends them and passes through the area in front of the vehicle, and forming an echo signal, the concentration and distribution of environmental particles can be inferred.
[0136] It should be noted that by comparing the three-dimensional echo change trend graph corresponding to the echo distribution data with the weather warning intensity signal change trend graph sample, the similarity of the three-dimensional curves in the trend graph is calculated, and the similarity of the echo signals is calculated from three dimensions: radar detection distance, signal strength and signal frequency, thereby improving the accuracy of weather intensity recognition corresponding to the current environment type.
[0137] In a specific embodiment, the following operations are performed on samples of a three-dimensional echo change trend graph and a weather warning intensity signal change trend graph: similarity calculation is performed on the y-axis, x-axis and z-axis values between the two three-dimensional curves to obtain the numerical similarity of the curves; the morphology and structure between the two three-dimensional curves are calculated by the Fréchet distance to obtain the curve shape similarity; and the average is calculated based on the curve numerical similarity and the curve shape similarity to obtain the similarity calculation result.
[0138] In a specific embodiment, the similarity threshold can be adaptively changed according to user needs.
[0139] In addition, before determining a number of vehicle-mounted devices, it also includes the judgment of the auto gear position of the automatic headlights: BDC judges the auto gear position of the automatic headlights set by the user in the vehicle computer based on the vehicle network signal: if it is not auto, the function judgment ends, and the automatic headlight auto gear position of the vehicle is re-judged; if the user sets the headlights to auto gear, the drivable status is judged.
[0140] Drivable state judgment: BDC further judges whether the vehicle is in a ready state (ready state judgment, when the user steps on the brake pedal, BDC and the vehicle control unit (VCU) will exchange random numbers and passwords to authenticate each other's identity. If passed, the anti-theft immo state changes to authentication passed; after immo authentication, when the user shifts the shift lever to a non-P / N gear, the VCU will set the vehicle's ready state to notify the vehicle's instrument display). If it is not in the ready state, the automatic light-on judgment ends and the next cycle judgment is carried out. If it is in the drivable state, several operations after the vehicle-mounted equipment are executed. For better explanation, see Figure 7 , is a flow chart of a third embodiment of a method for controlling an automobile lamp.
[0141] Beneficial Effects
[0142] This embodiment can identify weather with low visibility and automatically turn on the vehicle's fog lights and position lights to alert vehicles behind, which can improve the safety of the vehicle. At the same time, it can avoid accidents caused by users being distracted by operating the lighting control components when driving in weather with low visibility, thereby ensuring the user's driving safety.
[0143] Figure 2 FIG. 1 is a flow chart showing another embodiment of a method for controlling a vehicle lamp according to the present invention, wherein the method is executed by a control device for the vehicle lamp. Figure 2 As shown, the method further adds the following steps:
[0144] Step 210: Receive the location information of the vehicle.
[0145] Among them, the location information is generated by retrieving the vehicle's GPS data.
[0146] Step 220: Based on the location information, retrieve weather forecast data corresponding to the vehicle.
[0147] Among them, based on GPS data, the weather forecast data of the vehicle's location is retrieved from the meteorological network.
[0148] Step 230: Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence.
[0149] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0150] Determining the type of the weather forecast data;
[0151] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0152] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0153] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0154] Step 240: Generate control instructions for the vehicle based on the device startup sequence.
[0155] Beneficial Effects
[0156] Based on the location information of the vehicle, the weather at the location of the vehicle is obtained in advance, so as to adjust the startup sequence of the equipment based on the type of weather, make a primary judgment on the weather type through weather data, and make a secondary judgment on the weather type based on the vehicle-mounted equipment after the order is determined, so as to improve the accuracy of weather recognition. The startup sequence of the equipment is adjusted based on the type of weather forecast data, the type of the current weather forecast data is determined, and the environmental data is collected and judged based on the pre-activated equipment. The weather type can be quickly reviewed. If the review does not correspond, other environmental data can still be collected based on other vehicle-mounted equipment, which can not only improve the accuracy of weather recognition, but also ensure the efficiency of weather recognition.
[0157] Figure 3FIG. 2 is a schematic diagram showing the structure of an embodiment of a control device for an automobile lamp of the present invention. Figure 3 As shown, the apparatus 300 includes: a device determination module 310 and a lamp control module 320 .
[0158] The device determination module is used to determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0159] The lighting control module is used to receive the environmental data generated by the currently started vehicle-mounted equipment after each vehicle-mounted equipment is started and before the next vehicle-mounted equipment is started, and match the current environmental data with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, control the vehicle to turn on the position lights and fog lights, and stop the start of each unstarted vehicle-mounted equipment; if not, start the next unstarted vehicle-mounted equipment.
[0160] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0161] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0162] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0163] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0164] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0165] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0166] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0167] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0168] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0169] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0170] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0171] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0172] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0173] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0174] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0175] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0176] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0177] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0178] In an optional manner, the device startup sequence is obtained by:
[0179] Receiving location information of the vehicle;
[0180] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0181] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0182] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0183] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0184] Determining the type of the weather forecast data;
[0185] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0186] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0187] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0188] Beneficial Effects
[0189] The embodiment of the present invention controls the startup of the vehicle-mounted equipment through a preset equipment startup sequence to collect and judge the environmental data, and then realizes the automation of turning on the position lights and fog lights based on the judgment result; at the same time, the vehicle-mounted equipment is controlled in sequence, and the environmental data is matched with the preset weather data after each startup of the vehicle-mounted equipment and before the next startup of the vehicle-mounted equipment, and the turning on of the position lights and fog lights is controlled according to the matching result, thereby avoiding unnecessary startup of the vehicle-mounted equipment after the position lights and fog lights are turned on, ensuring the safety of the car while saving the energy consumption of the car.
[0190] Figure 4The schematic diagram of the structure of the embodiment of the control device of the automobile lamp of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the control device of the automobile lamp. Figure 4 As shown, the control device of the automobile lamp may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .
[0191] The processor 402, the communication interface 404, and the memory 406 communicate with each other via a communication bus 408. The communication interface 404 is used to communicate with other devices such as a client or other server network elements. The processor 402 is used to execute a program 410, which can specifically execute the relevant steps in the above-mentioned control method embodiment for automobile lamps.
[0192] Specifically, the program 410 may include program code including computer executable instructions.
[0193] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the control device of the automobile lamp may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0194] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0195] The program 410 can be specifically called by the processor 402 to enable the control device of the automobile lamp to perform the following operations:
[0196] Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0197] After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0198] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0199] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0200] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0201] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0202] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0203] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0204] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0205] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0206] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0207] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0208] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0209] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0210] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0211] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0212] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0213] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0214] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0215] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0216] In an optional manner, the device startup sequence is obtained by:
[0217] Receiving location information of the vehicle;
[0218] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0219] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0220] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0221] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0222] Determining the type of the weather forecast data;
[0223] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0224] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0225] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0226] Beneficial Effects
[0227] The embodiment of the present invention controls the startup of the vehicle-mounted equipment through a preset equipment startup sequence to collect and judge the environmental data, and then realizes the automation of turning on the position lights and fog lights based on the judgment result; at the same time, the vehicle-mounted equipment is controlled in sequence, and the environmental data is matched with the preset weather data after each startup of the vehicle-mounted equipment and before the next startup of the vehicle-mounted equipment, and the turning on of the position lights and fog lights is controlled according to the matching result, thereby avoiding unnecessary startup of the vehicle-mounted equipment after the position lights and fog lights are turned on, ensuring the safety of the car while saving the energy consumption of the car.
[0228] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a control device / apparatus of an automobile lamp, the control device / apparatus of the automobile lamp executes a control method for the automobile lamp in any of the above method embodiments.
[0229] The executable instructions may be specifically used to enable the control device / apparatus of the automobile lamp to perform the following operations:
[0230] Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence;
[0231] After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, the vehicle is controlled to turn on the position lights and fog lights, and the start-up of each unstarted vehicle-mounted device is stopped; if not necessary, the next unstarted vehicle-mounted device is started.
[0232] In an optional manner, the vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, and an image processing device; the image processing device includes: a front-view camera and an intelligent driving controller.
[0233] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0234] When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range;
[0235] If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0236] If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0237] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0238] When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range;
[0239] If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated;
[0240] If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
[0241] In an optional manner, the receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes:
[0242] When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model;
[0243] If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data;
[0244] If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
[0245] In an optional manner, the acquiring echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes:
[0246] Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals;
[0247] The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples;
[0248] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated;
[0249] If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
[0250] In an optional manner, the device startup sequence is obtained by:
[0251] Receiving location information of the vehicle;
[0252] Based on the location information, retrieve weather forecast data corresponding to the vehicle;
[0253] Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence;
[0254] Based on the device startup sequence, a control instruction for the vehicle is generated.
[0255] In an optional manner, generating a device startup sequence according to the type of the weather forecast data includes:
[0256] Determining the type of the weather forecast data;
[0257] If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor;
[0258] If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor;
[0259] If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
[0260] Beneficial Effects
[0261] The embodiment of the present invention controls the startup of the vehicle-mounted equipment through a preset equipment startup sequence to collect and judge the environmental data, and then realizes the automation of the opening of the position lights and fog lights based on the judgment results; at the same time, the vehicle-mounted equipment is controlled in sequence, and the environmental data is matched with the preset weather data after each startup of the vehicle-mounted equipment and before the next startup of the vehicle-mounted equipment, and the opening of the position lights and fog lights is controlled according to the matching results, so as to avoid unnecessary startup of the vehicle-mounted equipment after the position lights and fog lights are turned on, thereby ensuring the safety of the car and saving the energy consumption of the car. The algorithm or display provided here is not inherently related to any specific computer, virtual system or other device. In addition, the embodiment of the present invention is not targeted at any specific programming language.
[0262] In the description provided herein, a large number of specific details are described. However, it can be understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Among them, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention. It can be understood by those skilled in the art that the modules in the devices in the embodiments can be adaptively changed and set in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive. It should be noted that the above embodiments illustrate the present invention rather than limit the present invention, and those skilled in the art can design alternative embodiments without departing from the scope of the attached claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the existence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limiting the order of execution.
Claims
1. A method for controlling an automobile lamp, characterized in that: The method comprises: Determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence; After each vehicle-mounted device is started and before the next vehicle-mounted device is started, the environmental data generated by the currently started vehicle-mounted device is received, and the current environmental data is matched with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; If necessary, the vehicle position lights and fog lights are controlled to be turned on, and the starting of the equipment on the vehicle that has not been started is stopped; If not necessary, the next vehicle-mounted device that has not been started is started.
2. The method according to claim 1, characterized in that The vehicle-mounted equipment includes one or more combinations of the following: a rain sensor, a humidity sensor, an image processing device and a laser radar; the image processing device includes: a front-view camera and an intelligent driving controller.
3. The method according to claim 2, characterized in that The receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes: When the vehicle-mounted device currently started is a rain sensor, the current environmental data is the rainfall, and the received rainfall is matched with the rainfall warning threshold range; If the rainfall successfully matches the rainfall warning threshold range, the current driving environment requires the position lights and fog lights to be activated; If the rainfall fails to match the rainfall warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
4. The method according to claim 2, characterized in that: The receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes: When the vehicle-mounted device currently started is a humidity sensor, the current environmental data is humidity, and the received humidity is matched with the humidity warning threshold range; If the humidity successfully matches the humidity warning threshold range, the current driving environment requires the position lights and fog lights to be activated; If the humidity fails to match the humidity warning threshold range, the position lights and fog lights do not need to be activated in the current driving environment.
5. The method according to claim 2, characterized in that: The receiving of environmental data generated by the vehicle-mounted device currently started and matching the current environmental data with preset weather data includes: When the vehicle-mounted device currently started is an image processing device, the current environmental data is a weather type, and the received weather type is matched with the weather warning type; wherein the image processing device collects environmental images through the front-view camera; the image processing device generates weather types for the environmental images through the intelligent driving controller; wherein the intelligent driving controller generates weather types based on a weather type recognition model; historical image samples with weather warning type labels are input into the machine model, and supervised feedback training is performed to generate a weather type recognition model; If the weather type matches the weather warning type successfully, the laser radar is started, the echo distribution data generated by the laser radar is obtained, and the start of the position lights and fog lights is controlled according to the echo distribution data; If the weather type fails to match the weather warning type, the position lights and fog lights do not need to be activated in the current driving environment.
6. The method according to claim 5, characterized in that The acquiring of echo distribution data generated by the laser radar and controlling the activation of the position lamp and the fog lamp according to the echo distribution data includes: Acquire echo distribution data; wherein the echo distribution data includes: a three-dimensional echo change trend diagram constructed with the radar detection distance value as the x-axis, the signal strength corresponding to each radar monitoring distance value as the y-axis, and the signal frequency corresponding to each radar monitoring distance value as the z-axis; generation of the echo distribution data includes: the laser radar transmits electromagnetic waves to receive echo signals generated by the electromagnetic waves when they encounter environmental particles, and generates echo distribution data by receiving the echo signals; The received echo distribution data is similarly calculated with the weather warning intensity signal change trend graph samples in the preset weather warning intensity database to obtain the similarity calculation result; wherein the preset weather warning intensity database is generated specifically as follows: in an environment corresponding to each known weather warning intensity, during the vehicle driving process, the echo signal generated by the laser radar is collected to generate a weather warning intensity signal change trend graph sample; a known weather warning intensity corresponds to different weather warning intensity signal change trend graph samples; If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph sample is greater than or equal to the similarity threshold, the current driving environment requires the position lights and fog lights to be activated; If the similarity calculation result between the echo distribution data and the weather warning intensity signal change trend graph samples is less than the similarity threshold, the current driving environment does not require the position lights and fog lights to be activated.
7. The method according to any one of claims 1 to 6, characterized in that: The device startup sequence is obtained as follows: Receiving location information of the vehicle; Based on the location information, retrieve weather forecast data corresponding to the vehicle; Generate a device startup sequence according to the type of the weather forecast data; wherein each type of the weather data corresponds to a device startup sequence; Based on the device startup sequence, a control instruction for the vehicle is generated.
8. The method according to claim 7, characterized in that The generating of a device startup sequence according to the type of the weather forecast data comprises: Determining the type of the weather forecast data; If it is a rainy day, the current device startup sequence is the rain sensor, humidity sensor and image processing device, and the rain sensor, image processing device and humidity sensor; If it is foggy, the current device startup sequence is humidity sensor, rain sensor and image processing device, and humidity sensor, image processing device and rain sensor; If it is a sandstorm or snowy day, the current device startup sequence is the image processing device, the rain sensor and the humidity sensor, and the image processing device, the humidity sensor and the rain sensor.
9. A control device for automobile lamps, characterized in that: The device comprises: The device determination module is used to determine a number of vehicle-mounted devices; wherein each of the vehicle-mounted devices is started in a device startup sequence; The lighting control module is used to receive the environmental data generated by the currently started vehicle-mounted equipment after each vehicle-mounted equipment is started and before the next vehicle-mounted equipment is started, and match the current environmental data with the preset weather data to determine whether the current driving environment requires the position lights and fog lights to be started; if necessary, control the vehicle to turn on the position lights and fog lights, and stop the start of each unstarted vehicle-mounted equipment; if not, start the next unstarted vehicle-mounted equipment.
10. A control device for automobile lamps, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the automobile lamp control method as described in any one of claims 1-8.