Vehicle lamp control method, system and equipment based on vehicle speed and vehicle

Through the vehicle lighting control method based on vehicle speed, the vehicle speed and attitude data are used to update the body mode and adjust the angle of the lighting, which solves the problems of unstable lighting and insufficient timeliness in the traditional method, and improves the driver's driving comfort and vehicle safety. Lamp lighting effect.

CN118544932APending Publication Date: 2024-08-27CHINA FAW CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410625304.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The traditional vehicle lighting control method is based on the vehicle body height sensor, which causes the lighting range of the vehicle to fluctuate greatly, making it difficult to adjust in time under special driving conditions, affecting the driver's comfort and attention.

Method used

The vehicle lighting control method based on vehicle speed is used to obtain the vehicle's speed data and body posture data, update the body mode, and adjust the angle of the lamp according to the mode to reduce fluctuations in the lighting range and improve lighting stability and timeliness.

Benefits of technology

It improves the stability and timeliness of vehicle lighting, improves the driver's driving comfort, and adapts to lighting needs under different driving conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118544932A
    Figure CN118544932A
Patent Text Reader

Abstract

The invention provides a vehicle speed-based vehicle lamp control method, system and device and a vehicle, and the control method comprises the steps: obtaining the speed data and vehicle body posture data of a target vehicle, and the current vehicle body mode; according to the speed data, updating the current vehicle body mode to obtain an updated vehicle body mode; according to the vehicle body posture data and the updated vehicle body mode, the lamp angle of the target vehicle is adjusted; the speed data is used for recording a vehicle speed signal and an acceleration signal of the target vehicle in the driving process, and the vehicle body mode is used for representing the speed degree of vehicle body posture change of the target vehicle in the driving process. According to the vehicle lamp control method, the irradiation height of the vehicle lamp can be effectively adjusted, the stability and timeliness of vehicle lamp illumination are improved, and the driving comfort of a driver is improved. The invention relates to the technical field of vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle speed-based vehicle lamp control method, system, device and vehicle. Background Art

[0002] ALS (Adaptive Leveling System) can change the illumination height of the headlights by controlling the rotation of the motor connected to the vehicle lamps, so that the vehicle can provide the driver with comfortable lighting effects under different driving conditions.

[0003] At present, the traditional vehicle lighting control method is usually to control the headlight height based on the data collected by the vehicle body height sensor. However, this method is prone to the phenomenon of frequent adjustment of the headlight height, which makes the lighting range of the headlight fluctuate greatly, easily distracts the driver's attention when driving, has poor stability of the headlight lighting, and is not very comfortable for the driver to drive. In addition, this method often cannot control the headlight height in a timely manner under some special driving conditions (such as sudden acceleration, sudden deceleration, complex road conditions, etc.), and the timeliness of the headlight lighting is low.

[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0005] The purpose of the present invention is to solve one of the technical problems existing in the related art to at least a certain extent.

[0006] The main purpose of the embodiments of the present application is to propose a vehicle lighting control method, system, device and vehicle based on vehicle speed, wherein the vehicle lighting control method can effectively adjust the illumination height of the vehicle lights, improve the stability and timeliness of the vehicle lighting, and improve the driving comfort of the driver.

[0007] To achieve the above purpose, one aspect of an embodiment of the present application provides a vehicle lamp control method based on vehicle speed, comprising:

[0008] Obtain the speed data and body posture data of the target vehicle, as well as the current body mode;

[0009] updating the current vehicle body mode according to the speed data to obtain an updated vehicle body mode;

[0010] Adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model;

[0011] The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

[0012] In addition, the vehicle speed-based vehicle lamp control method according to the above embodiment of the present application may also have the following additional technical features:

[0013] In some embodiments, updating the current vehicle body mode according to the speed data to obtain an updated vehicle body mode includes:

[0014] Obtaining preset acceleration threshold and vehicle speed threshold;

[0015] Comparing the acceleration threshold with the acceleration signal to obtain an acceleration comparison result;

[0016] If the acceleration comparison result is that the acceleration signal is greater than the acceleration threshold, the current vehicle body mode is updated to a dynamic mode; or, if the acceleration comparison result is that the acceleration signal is less than or equal to the acceleration threshold, the vehicle speed threshold and the vehicle speed signal are compared to obtain a vehicle speed comparison result;

[0017] If the vehicle speed comparison result is that the vehicle speed signal is greater than the vehicle speed threshold, the current body mode is updated to the normal mode; or if the vehicle speed comparison result is that the vehicle speed signal is less than or equal to the vehicle speed threshold, the current body mode is updated to the slow mode.

[0018] In some embodiments, adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model includes:

[0019] Acquire a preset filtering window, wherein the filtering window includes a first window, a second window, and a third window, wherein the first window corresponds to the dynamic mode, the second window corresponds to the normal mode, and the third window corresponds to the slow mode;

[0020] According to the filtering window, the vehicle body posture data is subjected to lamp angle analysis processing to obtain an adjustment angle;

[0021] According to the adjustment angle, the lamp angle of the target vehicle is adjusted.

[0022] In some embodiments, the first window is smaller than the second window, and the second window is smaller than the third window.

[0023] In some embodiments, adjusting the angle of the lamp of the target vehicle according to the adjustment angle includes:

[0024] Get the difference threshold;

[0025] According to the current adjustment angle, a historical angle is obtained, where the historical angle is the previous adjustment angle;

[0026] differentially comparing the historical angle and the current adjustment angle to obtain a differential comparison result;

[0027] If the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is less than the differential threshold, the lighting angle of the target vehicle is maintained; or, if the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is greater than or equal to the differential threshold, the lighting angle of the target vehicle is adjusted according to the current adjustment angle.

[0028] In some embodiments, the step of performing lamp angle analysis on the vehicle body posture data according to the filter window to obtain an adjustment angle includes:

[0029] According to the filtering window, the vehicle body posture data is subjected to window filtering to obtain filtered posture data;

[0030] Angle conversion processing is performed on the filtered posture data to obtain the adjustment angle.

[0031] In some embodiments, performing window filtering on the vehicle body posture data according to the filtering window to obtain filtered posture data includes:

[0032] Acquire a storage array, wherein the storage array is used to store historical posture data of the target vehicle;

[0033] According to the filtering window and the storage array, the vehicle body posture data is mean replaced to obtain the filtered posture data.

[0034] In some embodiments, performing mean replacement on the vehicle body posture data according to the filtering window and the storage array to obtain the filtered posture data includes:

[0035] Obtaining a current index value and index data of the storage array, wherein the index value corresponds to the index data;

[0036] If the current index value is less than the filtering window, the index data in the storage array is first replaced and updated according to the vehicle body posture data and the current index value to obtain an updated storage array, and then the data mean of the updated storage array is calculated according to the filtering window to obtain the filtering posture data; or, if the current index value is greater than or equal to the filtering window, the current index value is reset and updated to obtain an updated index value, and then the index data in the storage array is second replaced and updated according to the vehicle body posture data and the updated index value to obtain the updated storage array, and the data mean of the updated storage array is calculated according to the filtering window to obtain the filtering posture data.

[0037] In some embodiments, performing angle conversion processing on the filtered posture data to obtain the adjustment angle includes:

[0038] Obtaining body parameters of the target vehicle;

[0039] Performing pitch angle conversion on the filtered posture data to obtain a body pitch angle of the target vehicle;

[0040] The vehicle body pitch angle is calculated according to the vehicle body parameters to obtain the adjustment angle.

[0041] To achieve the above purpose, another aspect of the embodiment of the present application provides a vehicle lighting control system based on vehicle speed, comprising:

[0042] An acquisition unit, used to acquire speed data and body posture data of the target vehicle, as well as the current body mode;

[0043] an updating unit, configured to update the current vehicle body mode according to the speed data to obtain an updated vehicle body mode;

[0044] an adjusting unit, configured to adjust the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body mode;

[0045] The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

[0046] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.

[0047] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0048] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides a vehicle, wherein the vehicle includes the vehicle lighting control system as described above or the electronic device as described above.

[0049] The embodiments of the present application include at least the following beneficial effects:

[0050] The present application provides a vehicle lighting control method, system, device and vehicle based on vehicle speed, wherein the control method obtains the speed data and body posture data of the target vehicle, as well as the current body mode; updates the current body mode according to the speed data to obtain the updated body mode; adjusts the lighting angle of the target vehicle according to the body posture data and the updated body mode; the speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the body posture change of the target vehicle during driving. The control method can determine the corresponding body mode based on the speed signal and acceleration signal of the target vehicle, and the body mode can characterize the speed of the body posture change of the target vehicle during driving, so as to adjust the lighting based on the body mode, which can control the lighting height of the headlights more timely, reduce the fluctuation of the lighting range of the headlights, improve the stability of the headlights, and improve the driving comfort of the driver. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 is a flow chart of a vehicle lamp control method based on vehicle speed provided in an embodiment of the present application;

[0052] Figure 2 is a detailed flow chart of step S120 provided in an embodiment of the present application;

[0053] Figure 3 is a logic diagram of step S120 provided in an embodiment of the present application;

[0054] Figure 4 is a detailed flow chart of step S130 provided in an embodiment of the present application;

[0055] Figure 5 is a detailed flow chart of step S132 provided in an embodiment of the present application;

[0056] Figure 6 is a detailed flow chart of step A1 provided in an embodiment of the present application;

[0057] Figure 7 is a detailed flow chart of step A2 provided in an embodiment of the present application;

[0058] Figure 8 is a detailed flow chart of step S133 provided in an embodiment of the present application;

[0059] Fig. 9 It is a structural schematic diagram of a vehicle lighting control system based on vehicle speed provided in an embodiment of the present application;

[0060] Fig.10 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The present application is further described in detail. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices / equipment and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0062] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0063] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0065] At present, the traditional vehicle lighting control method usually controls the headlight height based on the data collected by the vehicle height sensor. However, in actual application, due to the fitting deviation of the chassis suspension light hardware and software to the sensor data, as well as the complexity of the actual road conditions and personal driving habits, the signal transmitted by the vehicle height sensor is often not stable enough, which makes it easy for the vehicle to frequently adjust the headlight height up and down due to the instability of the sensor data during driving. This not only easily distracts the driver's attention during driving, but also reduces the driving comfort of the driver. Moreover, this method often cannot control the headlight height in a timely manner under special driving conditions, causing the lighting range of the headlight to increase or decrease sharply during driving, resulting in poor lighting effect and low stability of the lighting range.

[0066] In view of this, a vehicle speed-based vehicle lighting control method, system, device and vehicle are provided in the embodiments of the present application, wherein the control method is based on a body model that characterizes the speed of changes in the body posture of the target vehicle during driving, and combined with the body posture data, to adjust the lighting angle of the target vehicle, so that the adjusted angle can effectively correspond to the speed of changes in the body posture, thereby reducing the frequent adjustment of the headlight height, improving the stability of the headlight lighting and improving the driving comfort of the driver; in addition, the control method is based on the body model that characterizes the speed of changes in the body posture of the target vehicle during driving, and can more accurately obtain the urgency of the target vehicle's need to adjust the headlight height, thereby improving the timeliness of the headlight lighting.

[0067] The vehicle speed-based vehicle lighting control method provided in the embodiment of the present application can be applied to a terminal, a server, or software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, etc., but is not limited thereto; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the method, etc., but is not limited to the above forms.

[0068] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0069] Figure 1 is an optional flow chart of a vehicle lamp control method based on vehicle speed provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S110 to S130.

[0070] Step S110, obtaining speed data and body posture data of the target vehicle, as well as the current body mode;

[0071] In an embodiment of the present application, the speed data and body posture data of the target vehicle can be obtained through sensors of corresponding types, the speed data includes a vehicle speed signal and an acceleration signal, and the current body mode can be determined based on the mode determined by the last lamp angle adjustment.

[0072] Step S120, updating the current vehicle body mode according to the speed data to obtain an updated vehicle body mode;

[0073] Reference Figure 2 and Figure 3 In some embodiments, the step S120, updating the current vehicle body mode according to the speed data to obtain an updated vehicle body mode, includes:

[0074] Step S121, obtaining a preset acceleration threshold and a vehicle speed threshold;

[0075] Step S122, comparing the acceleration threshold and the acceleration signal to obtain an acceleration comparison result;

[0076] Step S123: if the acceleration comparison result is that the acceleration signal is greater than the acceleration threshold, the current vehicle body mode is updated to a dynamic mode; or, if the acceleration comparison result is that the acceleration signal is less than or equal to the acceleration threshold, the vehicle speed threshold is compared with the vehicle speed signal to obtain a vehicle speed comparison result;

[0077] Step S124: if the vehicle speed comparison result is that the vehicle speed signal is greater than the vehicle speed threshold, the current body mode is updated to the normal mode; or, if the vehicle speed comparison result is that the vehicle speed signal is less than or equal to the vehicle speed threshold, the current body mode is updated to the slow mode.

[0078] In the embodiment of the present application, the specific values ​​of the acceleration threshold and the vehicle speed threshold can be set according to the actual situation. For example, the acceleration threshold can be 8m / s 2 、10m / s 2 、12m / s 2 The vehicle speed threshold can be any one of 15km / h, 20km / h, 25km / h, etc. The example in this application is for illustration only and does not impose any limitation on this application.

[0079] It can be understood that when the current acceleration signal of the target vehicle is greater than the acceleration threshold, it indicates that the vehicle is in a state of rapid acceleration or rapid deceleration, and the body posture changes the fastest, so the current body mode can be updated to the dynamic mode; and when the current acceleration signal of the target vehicle is less than or equal to the acceleration threshold, it indicates that the vehicle is not in a state of rapid acceleration or rapid deceleration. At this time, the vehicle speed signal can be compared with the vehicle speed threshold. If the vehicle speed signal is greater than the vehicle speed threshold, it indicates that although the vehicle is not in a state of rapid acceleration or rapid deceleration, the vehicle speed is high and the body posture changes rapidly. At this time, the current body mode can be set to the normal mode; if the vehicle speed signal is less than or equal to the vehicle speed threshold, it means that the vehicle speed is slow and the body posture changes slowly. At this time, the current body mode can be set to the slow mode.

[0080] Step S130, adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model;

[0081] The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

[0082] Reference Figure 4 In some embodiments, the step S130, adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model, includes:

[0083] Step S131, obtaining a preset filtering window, wherein the filtering window includes a first window, a second window and a third window, wherein the first window corresponds to the dynamic mode, the second window corresponds to the normal mode, and the third window corresponds to the slow mode;

[0084] Furthermore, the first window is smaller than the second window, and the second window is smaller than the third window.

[0085] In the embodiment of the present application, the filter window includes a first window, a second window and a third window. The first window is the filter window used when the vehicle's body posture changes fastest. The second window and the third window are similar and can be simply deduced by analogy.

[0086] It can be understood that the embodiment of the present application filters the body posture data by using a filter window corresponding to the body mode, so that the used filter window can meet the headlight lighting requirements under the current speed and acceleration conditions of the target vehicle.

[0087] Specifically, the first window in the embodiment of the present application can be smaller than the second window, and the second window is smaller than the third window. The specific size of the first window can be any one of 8, 10, 12, etc., the size of the second window can be any one of 14, 16, 18, etc., and the third window can be any one of 20, 22, 25, etc. The examples of the present application are for illustration only. It is worth noting that by using a relatively small first window to perform lamp angle analysis on the vehicle body posture data in the dynamic mode, the vehicle ALS system can have a faster real-time response and effectively improve the timeliness of vehicle lighting; and by using a relatively large third window to perform lamp angle analysis on the vehicle body posture data in the slow mode, the vehicle ALS system can accurately and stably filter the posture data, thereby reducing the number of times the headlight irradiation height is adjusted when the lamp angle is adjusted, and keeping the lighting range of the headlight relatively stable, avoiding affecting the driver's attention when driving, and improving the stability of the headlight lighting and driving comfort.

[0088] Step S132, performing lamp angle analysis processing on the vehicle body posture data according to the filter window to obtain an adjustment angle;

[0089] Reference Figure 5 Further, the step S132, according to the filtering window, performs lamp angle analysis processing on the vehicle body posture data to obtain an adjustment angle, includes:

[0090] A1. Performing window filtering on the vehicle body posture data according to the filtering window to obtain filtered posture data;

[0091] Reference Figure 6, further, the A1, according to the filtering window, performs window filtering on the vehicle body posture data to obtain filtered posture data, including:

[0092] A11. Obtain a storage array, where the storage array is used to store historical posture data of the target vehicle;

[0093] In an embodiment of the present application, the storage array includes a first storage array, a second storage array and a third storage array, wherein the array size of the first storage array corresponds to the window size of the first window, the array size of the second storage array corresponds to the window size of the second window, and the array size of the third storage array corresponds to the window size of the third window. In addition, for the historical posture data of the storage array, when the target vehicle just starts to drive, it can be the body posture data directly collected by the body height sensor of the target vehicle; and after the target vehicle has actually driven for a period of time, the historical posture data can be the filtered posture data adjacent to the current driving moment.

[0094] A12. Perform mean replacement on the vehicle body posture data according to the filtering window and the storage array to obtain the filtered posture data.

[0095] Further, the A12, performing mean replacement on the vehicle body posture data according to the filtering window and the storage array to obtain the filtered posture data, includes:

[0096] A121. Obtain the current index value and index data of the storage array, where the index value corresponds to the index data;

[0097] A122. If the current index value is less than the filter window, the index data in the storage array is first replaced and updated according to the vehicle body posture data and the current index value to obtain an updated storage array, and then the data mean of the updated storage array is calculated according to the filter window to obtain the filtered posture data; or, if the current index value is greater than or equal to the filter window, the current index value is reset and updated to obtain an updated index value, and then the index data in the storage array is second replaced and updated according to the vehicle body posture data and the updated index value to obtain the updated storage array, and the data mean of the updated storage array is calculated according to the filter window to obtain the filtered posture data.

[0098] In the embodiment of the present application, taking the updated vehicle body mode as the dynamic mode as an example, the mean replacement can first determine the first storage array corresponding to the first window, the current index value of the first storage array, and the index data corresponding to the current index value; then, compare the current index value with the window size of the first window, if the current index value is less than the window size of the filtering window, it means that the first storage array still has index data that has not been replaced and updated in the current array round, at this time, the index data corresponding to the current index value in the first storage array is replaced with the current vehicle body posture data, and the updated first storage array is obtained, and the updated first storage array includes the current vehicle body posture data, and the historical posture data corresponding to other index values; then, calculate the average value of all posture data in the first storage array to obtain the filtered posture data. Alternatively, if the current index value is greater than or equal to the window size of the filtering window, it means that the first storage array does not have index data that has not been replaced and updated in the current array round, and the current index value can be reset at this time, so that the updated index value points to the first array element in the first storage array, and the second replacement update is similar to the first replacement update mentioned above, and can be simply deduced by analogy, and the present application will not be redundantly described again.

[0099] It should be noted that since the body posture data collected by the vehicle is real-time, the current index value can also be updated after the first replacement update, so that when the next body posture data is replaced with the mean, the first replacement update can be performed according to the corresponding index value; the remaining normal modes and slow modes are similar to the aforementioned dynamic modes, and this application will not go into details here.

[0100] A2. Perform angle conversion processing on the filtered posture data to obtain the adjustment angle.

[0101] Reference Figure 7 Further, A2, performing angle conversion processing on the filtered posture data to obtain the adjustment angle, comprises:

[0102] A21. Obtaining body parameters of the target vehicle;

[0103] A22, performing pitch angle conversion on the filtered posture data to obtain a body pitch angle of the target vehicle;

[0104] A23. Calculate the pitch angle of the vehicle body according to the vehicle body parameters to obtain the adjustment angle.

[0105] In the embodiment of the present application, the body parameters of the target vehicle belong to the calibration parameters of the vehicle, which can be obtained from the vehicle factory information; after obtaining the filtered attitude data, the filtered attitude data can be input into the ALS system of the vehicle for angle calculation to calculate the change in the pitch attitude of the vehicle body (i.e., the vehicle body rear angle); then, the angle required for adjustment of the vehicle lamps is calculated in combination with the pitch angle of the vehicle body and the body parameters. The specific implementation can be achieved by controlling the motor angle, that is, the adjustment angle in the embodiment of the present application can be the angle required for adjustment of the vehicle lamps or the angle required for adjustment of the motor.

[0106] Step S133: adjusting the lamp angle of the target vehicle according to the adjustment angle.

[0107] Reference Figure 8 Further, the step S133, adjusting the lamp angle of the target vehicle according to the adjustment angle, includes:

[0108] B1. Obtain the differential threshold;

[0109] B2. Obtain a historical angle according to the current adjustment angle, where the historical angle is the previous adjustment angle;

[0110] B3. performing a differential comparison between the historical angle and the current adjustment angle to obtain a differential comparison result;

[0111] B4. If the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is less than the differential threshold, the lamp angle of the target vehicle is maintained; or, if the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is greater than or equal to the differential threshold, the lamp angle of the target vehicle is adjusted according to the current adjustment angle.

[0112] In the embodiment of the present application, the differential threshold may be an angle threshold, and its specific value may be any one of 0.1°, 0.2°, 0.3°, etc., and the examples of the present application are for illustration only. After obtaining the differential threshold, the current adjustment angle, i.e., the adjustment angle output by the vehicle ALS system at the current moment, and the historical angle, i.e., the adjustment angle output by the vehicle ALS at the previous moment, may be obtained; then, a differential comparison is performed on the current adjustment angle and the historical angle. If the absolute value of the difference between the historical angle and the current adjustment angle is less than the differential threshold, it indicates that the posture change of the vehicle body is relatively small, and there is no need to adjust the illumination range of the vehicle lamps, and the lamp angle of the target vehicle can be maintained, that is, the lamp angle of the target vehicle and the historical angle are obtained; or, if the absolute value of the difference between the historical angle and the current adjustment angle is greater than or equal to the differential threshold, it indicates that the posture of the vehicle body has undergone a more obvious posture change, and the lamp angle of the target vehicle needs to be adjusted to the adjustment angle.

[0113] It should be noted that step S133 in the embodiment of the present application can effectively prevent the occurrence of shaking of vehicle lamps. Specifically, due to environmental factors and vehicle reasons, the sensor readings may change when the vehicle is stationary on flat ground, that is, the collected body posture data will change slightly, and the changes in other driving situations will be more drastic, so that the obtained adjustment angle has a certain amount of noise, and the vehicle lamps are prone to shaking during the adjustment process. The embodiment of the present application, through steps B1 to B4, can further reduce the fluctuation of the lighting range of the lamps while adjusting the lamp angle based on the body mode, improve the stability of the lamp lighting, and enable the target vehicle to still have a stable effect in the face of slight changes in dynamic mode, normal mode and slow mode.

[0114] See also Fig. 9 The embodiment of the present application also provides a vehicle lighting control system based on vehicle speed, including:

[0115] An acquisition unit 310 is used to acquire speed data and body posture data of the target vehicle, as well as the current body mode;

[0116] An updating unit 320, configured to update the current vehicle body mode according to the speed data to obtain an updated vehicle body mode;

[0117] An adjustment unit 330, configured to adjust the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model;

[0118] The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

[0119] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0120] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0121] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0122] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0123] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0124] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 902, and the processor 901 calls and executes the methods of the embodiments of this application;

[0125] Input / output interface 903, used to implement information input and output;

[0126] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0127] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0128] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0129] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program implements the above method when executed by a processor.

[0130] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0131] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0132] An embodiment of the present application also provides a vehicle, which includes the above-mentioned control system or electronic device.

[0133] It is understandable that the embodiment of the present application also provides a vehicle, which includes the electric drive assembly of the above-mentioned control system or electronic device. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.

[0134] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0135] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0136] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0138] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0139] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0141] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0142] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0144] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A vehicle lighting control method based on vehicle speed, characterized in that: include: Obtain the speed data and body posture data of the target vehicle, as well as the current body mode; updating the current vehicle body mode according to the speed data to obtain an updated vehicle body mode; Adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model; The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

2. The vehicle lamp control method according to claim 1, characterized in that: The updating of the current vehicle body mode according to the speed data to obtain an updated vehicle body mode includes: Obtaining preset acceleration threshold and vehicle speed threshold; Comparing the acceleration threshold with the acceleration signal to obtain an acceleration comparison result; If the acceleration comparison result is that the acceleration signal is greater than the acceleration threshold, the current vehicle body mode is updated to a dynamic mode; or, if the acceleration comparison result is that the acceleration signal is less than or equal to the acceleration threshold, the vehicle speed threshold and the vehicle speed signal are compared to obtain a vehicle speed comparison result; If the vehicle speed comparison result is that the vehicle speed signal is greater than the vehicle speed threshold, the current body mode is updated to the normal mode; or if the vehicle speed comparison result is that the vehicle speed signal is less than or equal to the vehicle speed threshold, the current body mode is updated to the slow mode.

3. The vehicle lamp control method according to claim 2, characterized in that: The step of adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body model includes: Acquire a preset filtering window, wherein the filtering window includes a first window, a second window, and a third window, wherein the first window corresponds to the dynamic mode, the second window corresponds to the normal mode, and the third window corresponds to the slow mode; According to the filtering window, the vehicle body posture data is subjected to lamp angle analysis processing to obtain an adjustment angle; According to the adjustment angle, the lamp angle of the target vehicle is adjusted.

4. The vehicle lamp control method according to claim 3, characterized in that: The first window is smaller than the second window, and the second window is smaller than the third window.

5. The vehicle lamp control method according to claim 3, characterized in that: The step of adjusting the angle of the lamp of the target vehicle according to the adjustment angle includes: Get the difference threshold; According to the current adjustment angle, a historical angle is obtained, where the historical angle is the previous adjustment angle; differentially comparing the historical angle and the current adjustment angle to obtain a differential comparison result; If the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is less than the differential threshold, the lighting angle of the target vehicle is maintained; or, if the differential comparison result is that the absolute value of the difference between the historical angle and the current adjustment angle is greater than or equal to the differential threshold, the lighting angle of the target vehicle is adjusted according to the current adjustment angle.

6. The vehicle lamp control method according to claim 3, characterized in that: The step of performing lamp angle analysis on the vehicle body posture data according to the filter window to obtain an adjustment angle includes: According to the filtering window, the vehicle body posture data is subjected to window filtering to obtain filtered posture data; Angle conversion processing is performed on the filtered posture data to obtain the adjustment angle.

7. The vehicle lamp control method according to claim 6, characterized in that: The step of performing window filtering on the vehicle body posture data according to the filtering window to obtain filtered posture data comprises: Acquire a storage array, wherein the storage array is used to store historical posture data of the target vehicle; According to the filtering window and the storage array, the vehicle body posture data is mean replaced to obtain the filtered posture data.

8. The vehicle lamp control method according to claim 7, characterized in that: The step of performing mean replacement on the vehicle body posture data according to the filtering window and the storage array to obtain the filtered posture data comprises: Obtaining a current index value and index data of the storage array, wherein the index value corresponds to the index data; If the current index value is less than the filtering window, the index data in the storage array is first replaced and updated according to the vehicle body posture data and the current index value to obtain an updated storage array, and then the data mean of the updated storage array is calculated according to the filtering window to obtain the filtering posture data; or, if the current index value is greater than or equal to the filtering window, the current index value is reset and updated to obtain an updated index value, and then the index data in the storage array is second replaced and updated according to the vehicle body posture data and the updated index value to obtain the updated storage array, and the data mean of the updated storage array is calculated according to the filtering window to obtain the filtering posture data.

9. The vehicle lamp control method according to claim 6, characterized in that: The performing angle conversion processing on the filtered posture data to obtain the adjustment angle includes: Obtaining body parameters of the target vehicle; Performing pitch angle conversion on the filtered posture data to obtain a body pitch angle of the target vehicle; The vehicle body pitch angle is calculated according to the vehicle body parameters to obtain the adjustment angle.

10. A vehicle lighting control system based on vehicle speed, characterized in that: include: An acquisition unit, used to acquire speed data and body posture data of the target vehicle, as well as the current body mode; an updating unit, configured to update the current vehicle body mode according to the speed data to obtain an updated vehicle body mode; an adjusting unit, configured to adjust the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body mode; The speed data is used to record the vehicle speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to characterize the speed of the change of the body posture of the target vehicle during driving.

11. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 9.

12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

13. A vehicle, characterized in that: The vehicle includes the vehicle lighting control system according to claim 10 or the electronic device according to claim 11.

Citation Information

Cited By

  • Vehicle headlamp height test control method and system and vehicle controller

    CN119437666A

  • Vehicle lamp control method and system based on vehicle speed, and device and vehicle

    WO2025241379A1