Vehicle lamp control method and system based on vehicle speed, and device and vehicle
By using a lighting control method based on vehicle speed and vehicle posture, and optimizing the vehicle lighting angle using a filter window and differential threshold, the problems of lighting range fluctuation and insufficient timeliness in traditional vehicle lighting control are solved, thereby improving the stability of vehicle lights and driver comfort.
Patent Information
- Application Number
- PCT/CN2024/123531
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-20
- Filing Date
- 2024-10-09
- Publication Date
- 2025-11-27
AI Technical Summary
Traditional vehicle lighting control methods rely on data from vehicle height sensors, resulting in large fluctuations in the lighting range, which affects driver attention and is insufficient in timeliness of lighting under special driving conditions.
Based on vehicle speed and body posture data, the vehicle headlight angle is adjusted through body mode, and the headlight control is optimized using filter windows and differential thresholds to reduce fluctuations in lighting range and improve lighting stability and timeliness.
This improved the stability and timeliness of vehicle headlight illumination, enhanced driver comfort, and reduced the frequency of headlight adjustments.
Smart Images

Figure CN2024123531_27112025_PF_FP_ABST
Abstract
Description
Vehicle lamp control method, system and device based on vehicle speed and vehicle TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, and in particular to a vehicle lamp control method, system, device and vehicle based on vehicle speed. BACKGROUND
[0002] An ALS (Adaptive Leveling System) can control a motor connected to a vehicle lamp to rotate, thereby changing the illumination height of the vehicle lamp, so that the vehicle can provide comfortable lighting to the driver in different driving states.
[0003] Currently, the traditional vehicle lamp control method is usually based on data collected by a vehicle body height sensor to control the illumination height of the vehicle lamp, and this method is prone to frequent adjustment of the illumination height of the vehicle lamp, which makes the lighting range of the vehicle lamp fluctuate greatly, easily distracts the driver's attention when driving, and has poor stability of the vehicle lamp lighting and low comfort of the driver driving. In addition, this method often cannot control the illumination height of the vehicle lamp in a timely manner under some special driving conditions (such as vehicle rapid acceleration, rapid deceleration, complex road conditions, etc.), and the timeliness of the vehicle lamp lighting is low.
[0004] In summary, the technical problems in the related art need to be improved.
[0005] SUMMARY
[0006] The purpose of the present application is to at least partially solve one of the technical problems in the related art.
[0007] The main purpose of the embodiments of the present application is to provide a vehicle lamp control method, system, device and vehicle based on vehicle speed, wherein the vehicle lamp control method can effectively adjust the illumination height of the vehicle lamp, improve the stability and timeliness of the vehicle lamp lighting, and improve the comfort of the driver driving.
[0008] To achieve the above-mentioned purpose, one aspect of the embodiments of the present application provides a vehicle lamp control method based on vehicle speed, comprising:
[0009] obtaining speed data and body posture data of a target vehicle, and a current body mode;
[0010] updating the current body mode according to the speed data to obtain an updated body mode;
[0011] adjusting the lamp angle of the target vehicle according to the body posture data and the updated body mode;
[0012] The speed data is used to record a speed signal and an acceleration signal of the target vehicle during driving, and the body mode is used to represent a speed of a body posture change of the target vehicle during driving.
[0013] In addition, the vehicle lamp control method based on vehicle speed according to the above-mentioned embodiment of the present application can further have the following additional technical features.
[0014] In some embodiments, the mode updating of the current body mode according to the speed data to obtain an updated body mode comprises:
[0015] obtaining a preset acceleration threshold and a vehicle speed threshold;
[0016] comparing the acceleration threshold and the acceleration signal to obtain an acceleration comparison result;
[0017] if the acceleration comparison result is that the acceleration signal is greater than the acceleration threshold, updating the current body mode to a dynamic mode; or if the acceleration comparison result is that the acceleration signal is less than or equal to the acceleration threshold, comparing the vehicle speed threshold and the vehicle speed signal to obtain a vehicle speed comparison result;
[0018] if the vehicle speed comparison result is that the vehicle speed signal is greater than the vehicle speed threshold, updating the current body mode to a 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, updating the current body mode to a slow mode.
[0019] In some embodiments, the adjusting of the lamp angle of the target vehicle according to the body posture data and the updated body mode comprises:
[0020] obtaining a preset filter window, the filter window comprising a first window, a second window and a third window, the first window corresponding to the dynamic mode, the second window corresponding to the normal mode, and the third window corresponding to the slow mode;
[0021] performing lamp angle analysis and processing on the body posture data according to the filter window to obtain an adjustment angle;
[0022] adjusting the lamp angle of the target vehicle according to the adjustment angle.
[0023] In some embodiments, the first window is smaller than the second window, and the second window is smaller than the third window.
[0024] In some embodiments, the adjusting of the lamp angle of the target vehicle according to the adjustment angle comprises:
[0025] obtaining a differential threshold value;
[0026] obtaining a historical angle according to a current adjustment angle, the historical angle being a last adjustment angle;
[0027] differentially comparing the historical angle and the current adjustment angle to obtain a differential comparison result;
[0028] if the differential comparison result is that an absolute value of a difference between the historical angle and the current adjustment angle is less than the differential threshold value, maintaining a lamp angle of the target vehicle; 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 value, adjusting the lamp angle of the target vehicle according to the current adjustment angle.
[0029] In some embodiments, the lamp angle analysis processing of the vehicle body posture data according to the filter window to obtain an adjustment angle comprises:
[0030] window filtering the vehicle body posture data according to the filter window to obtain filtered posture data;
[0031] angle conversion processing the filtered posture data to obtain the adjustment angle.
[0032] In some embodiments, the window filtering the vehicle body posture data according to the filter window to obtain filtered posture data comprises:
[0033] obtaining a storage array, the storage array being used to store historical posture data of the target vehicle;
[0034] mean replacement of the vehicle body posture data according to the filter window and the storage array to obtain the filtered posture data.
[0035] In some embodiments, the mean replacement of the vehicle body posture data according to the filter window and the storage array to obtain the filtered posture data comprises:
[0036] obtaining a current index value and index data of the storage array, the index value and the index data corresponding to each other;
[0037] If the current index value is less than the filter window, the index data in the storage array is updated first according to the vehicle body posture data and the current index value, to obtain an updated storage array, 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 updated, to obtain an updated index value, then the index data in the storage array is updated second 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.
[0038] In some embodiments, the angle conversion processing of the filtered posture data is performed to obtain the adjustment angle, including:
[0039] obtaining a vehicle body parameter of the target vehicle;
[0040] performing pitch angle conversion on the filtered posture data to obtain a vehicle body pitch angle of the target vehicle;
[0041] performing angle calculation on the vehicle body pitch angle according to the vehicle body parameter to obtain the adjustment angle.
[0042] To achieve the above object, another aspect of the embodiments of the present application proposes a vehicle lamp control system based on vehicle speed, comprising:
[0043] an obtaining unit configured to obtain speed data and vehicle body posture data of a target vehicle, and a current vehicle body mode;
[0044] an updating unit configured to update the current vehicle body mode according to the speed data to obtain an updated vehicle body mode;
[0045] 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;
[0046] The speed data is used to record the speed signal and acceleration signal of the target vehicle in the driving process, and the vehicle body mode is used to represent the fast or slow degree of the vehicle body posture change of the target vehicle in the driving process.
[0047] To achieve the above object, another aspect of the embodiments of the present application proposes an electronic device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the above method when executing the computer program.
[0048] To achieve the above object, another aspect of the embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method described above.
[0049] To achieve the above object, another aspect of the embodiment of the present application provides a vehicle, which comprises the vehicle lamp control system described above or the electronic device described above.
[0050] The embodiment of the present application at least has the following beneficial effects:
[0051] The present application provides a vehicle lamp control method, system, device and vehicle based on vehicle speed, wherein the control method comprises the following steps: acquiring speed data and body posture data of a target vehicle, and a current body mode; updating the current body mode according to the speed data to obtain an updated body mode; and adjusting a lamp angle of the target vehicle according to the body posture data and the updated body mode; the speed data is used to record a vehicle speed signal and an acceleration signal of the target vehicle in a driving process, and the body mode is used to represent a speed of body posture change of the target vehicle in the driving process. The control method can determine a corresponding body mode based on the vehicle speed signal and the acceleration signal of the target vehicle, and the body mode can represent the speed of body posture change of the target vehicle in the driving process. Therefore, the lamp can be adjusted based on the body mode, so that the height of the vehicle lamp can be controlled more timely, the illumination range of the vehicle lamp can be reduced, the stability of the vehicle lamp illumination can be improved, and the comfort of the driver can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0052] Fig. 1 is a flowchart of a vehicle lamp control method based on vehicle speed provided by the embodiment of the present application;
[0053] Fig. 2 is a detailed flowchart of step S120 provided by the embodiment of the present application;
[0054] Fig. 3 is a logic diagram of step S120 provided by the embodiment of the present application;
[0055] Fig. 4 is a detailed flowchart of step S130 provided by the embodiment of the present application;
[0056] Fig. 5 is a detailed flowchart of step S132 provided by the embodiment of the present application;
[0057] Fig. 6 is a detailed flowchart of step A1 provided by the embodiment of the present application;
[0058] Fig. 7 is a detailed flowchart of step A2 provided by the embodiment of the present application;
[0059] FIG. 8 is a detailed flowchart of step S133 according to an embodiment of the present application;
[0060] FIG. 9 is a structural schematic diagram of a vehicle lamp control system based on vehicle speed according to an embodiment of the present application;
[0061] FIG. 10 is a hardware structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0062] The present application is described in further detail. It is to be understood that the specific embodiments described herein are merely illustrative of the present application and do not limit the present application. When the following description refers to the drawings, same numbers in different drawings represent the same or similar elements unless otherwise stated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with some aspects of the present embodiments, but are merely examples of apparatuses / devices and methods consistent with some aspects of the present embodiments as detailed in the appended claims.
[0063] It can be understood that the terms "first", "second", and the like used in the present application can be used herein to describe various concepts, 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, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information, without departing from the scope of the present embodiments. Depending on the context, the word "if" as used herein can be interpreted as "when" or "upon" or "in response to determining".
[0064] The terms "at least one", "multiple", "each", "any", and the like used in the present application include one, two, or more than two, multiple includes two or more than two, each refers to each of the corresponding plurality, and any refers to any one of the plurality.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0066] At present, the traditional vehicle lamp control method is usually based on the data collected by the vehicle body height sensor to control the illumination height of the vehicle lamp. However, in actual application, due to the fitting deviation of the sensor data by the hardware and software of the chassis suspension, the complexity of the actual road conditions, and the influence of individual driving habits, the signal transmitted by the vehicle body height sensor is often not stable, so that the vehicle is prone to frequent up and down adjustment of the lamp height during driving due to the instability of the sensor data. This not only easily distracts the driver's attention during driving, and the driving comfort of the driver is not high; moreover, in special driving conditions, this method often cannot control the illumination height of the vehicle lamp in a timely manner, so that the illumination range of the vehicle lamp during driving will be sharply increased or decreased, the illumination effect is poor, and the stability of the illumination range of the vehicle lamp is not high.
[0067] Therefore, in the embodiments of the present application, a vehicle lamp control method, system, device and vehicle based on vehicle speed are provided, wherein the control method is based on the vehicle body mode representing the speed of the change of the vehicle body posture of the target vehicle during driving, and adjusts the lamp angle of the target vehicle in combination with the vehicle body posture data, so that the adjusted angle can effectively correspond to the speed of the change of the vehicle body posture, thereby reducing the frequent adjustment of the illumination height of the vehicle lamp, improving the stability of the vehicle lamp illumination and improving the driving comfort of the driver. In addition, the control method based on the vehicle body mode representing the speed of the change of the vehicle body posture of the target vehicle during driving can more accurately obtain the urgency of the demand of the target vehicle for adjusting the illumination height of the vehicle lamp, thereby improving the timeliness of the vehicle lamp illumination.
[0068] The vehicle lamp control method based on vehicle speed provided in the embodiments of the present application can be applied in a terminal, can be applied in a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle terminal, and the like, but is not limited thereto. The server end can be configured as an independent physical server, can be configured as a server cluster or a distributed system composed of multiple physical servers, can be configured as a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform, and the server can also be a node server in a blockchain network. The software can be an application that implements the method, but is not limited to the above forms.
[0069] The application is operable in a multitude of generic or specific computer system environments or configurations. Examples of well known computing systems, environments, and / or configurations that can be suitable for use with the application include, but are not limited to, personal computers, server computers, handheld or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. The application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules can be located in local and remote computer storage media including memory storage devices.
[0070] FIG. 1 is an optional flowchart of a vehicle lamp control method based on vehicle speed according to an embodiment of the application. The method of FIG. 1 can include, but is not limited to, steps S110 to S130.
[0071] In step S110, speed data and body posture data of a target vehicle are acquired, and a current body mode is determined.
[0072] In the embodiment of the application, the speed data and the body posture data of the target vehicle can be obtained by corresponding sensors, the speed data includes a vehicle speed signal and an acceleration signal, and the current body mode can be determined according to a mode determined by the last lamp angle adjustment.
[0073] In step S120, the current body mode is updated according to the speed data to obtain an updated body mode.
[0074] Referring to FIGS. 2 and 3, in some embodiments, the step S120 of updating the current body mode according to the speed data to obtain an updated body mode includes:
[0075] In step S121, a preset acceleration threshold and a vehicle speed threshold are acquired.
[0076] In step S122, the acceleration threshold and the acceleration signal are compared to obtain an acceleration comparison result.
[0077] In step S123, if the acceleration comparison result is that the acceleration signal is greater than the acceleration threshold, the current 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.
[0078] If the comparison result of the vehicle speed is that the vehicle speed signal is greater than the vehicle speed threshold, the current vehicle body mode is updated as the normal mode; or if the comparison result of the vehicle speed is that the vehicle speed signal is less than or equal to the vehicle speed threshold, the current vehicle body mode is updated as the slow mode.
[0079] In the embodiments of the present application, the specific values of the acceleration threshold and the vehicle speed threshold can be set according to actual conditions. For example, the acceleration threshold can be any one of 8 m / s 2 , 10 m / s 2 , 12 m / s 2 , etc., and the vehicle speed threshold can be any one of 15 km / h, 20 km / h, 25 km / h, etc. The examples in the present application are for illustration only and do not limit the present application in any way.
[0080] 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 vehicle body posture changes the fastest, so the current vehicle body mode can be updated as the dynamic mode. 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, and at this time, the size of the vehicle speed signal and the vehicle speed threshold can be compared. If the vehicle speed signal is greater than the vehicle speed threshold, it indicates that the vehicle speed is high, and the vehicle body posture changes fast, so the current vehicle body mode can be set as the normal mode. If the vehicle speed signal is less than or equal to the vehicle speed threshold, it indicates that the vehicle speed is slow, and the vehicle body posture changes slowly, so the current vehicle body mode can be set as the slow mode.
[0081] In step S130, the lamp angle of the target vehicle is adjusted according to the vehicle body posture data and the updated vehicle body mode.
[0082] The speed data is used to record the vehicle speed signal and the acceleration signal of the target vehicle in the driving process, and the vehicle body mode is used to represent the fast or slow degree of the vehicle body posture change of the target vehicle in the driving process.
[0083] Referring to FIG. 4, in some embodiments, the step S130 of adjusting the lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body mode comprises:
[0084] In step S131, a preset filter window is obtained, the filter window comprises a first window, a second window and a third window, 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.
[0085] Further, the first window is smaller than the second window, and the second window is smaller than the third window.
[0086] In the embodiments of the present application, the filtering window includes a first window, a second window and a third window, the first window is a filtering window used by the vehicle when the vehicle body posture changes fastest, and the second window and the third window are similar and can be simply analogized.
[0087] It can be understood that, by using the filtering window corresponding to the vehicle body mode to filter the vehicle body posture data, the filtering window used can meet the lighting requirements of the vehicle lamp under the current speed and acceleration of the target vehicle.
[0088] Specifically, the first window in the embodiments of the present application can be smaller than the second window, and the second window can be 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., which are only for illustration. It is worth noting that, by using a relatively small first window to analyze the lamp angle of the vehicle body posture data in the dynamic mode, the vehicle ALS system can have a faster real-time response, effectively improving the timeliness of vehicle lighting; and by using a relatively large third window to analyze the lamp angle of 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 of adjusting the height of the vehicle lamp when adjusting the lamp angle, and keeping the lighting range of the vehicle lamp relatively stable, avoiding affecting the attention of the driver when driving, and improving the stability and driving comfort of the vehicle lamp lighting.
[0089] In step S132, the lamp angle of the vehicle body posture data is analyzed according to the filtering window to obtain an adjustment angle.
[0090] Referring to FIG. 5, further, the step S132 of analyzing the lamp angle of the vehicle body posture data according to the filtering window to obtain an adjustment angle includes:
[0091] A1, window filtering the vehicle body posture data according to the filtering window to obtain filtered posture data;
[0092] Referring to FIG. 6, further, the A1 of window filtering the vehicle body posture data according to the filtering window to obtain filtered posture data includes:
[0093] A11, obtaining a storage array, the storage array being used to store historical posture data of the target vehicle;
[0094] In the embodiments 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, it can be the body posture data directly collected by the body height sensor of the target vehicle in the initial driving process of the target vehicle; and after the target vehicle has driven for a period of time, the historical posture data can be the adjacent filtered posture data at the current driving moment.
[0095] A12, performing mean replacement on the body posture data according to the filter window and the storage array to obtain the filtered posture data.
[0096] Further, the A12, performing mean replacement on the body posture data according to the filter window and the storage array to obtain the filtered posture data, includes:
[0097] A121, obtaining the current index value and index data of the storage array, wherein the index value corresponds to the index data;
[0098] A122, if the current index value is less than the filter window, performing first replacement update on the index data in the storage array according to the body posture data and the current index value to obtain an updated storage array, then calculating the data mean value of the updated storage array 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, performing reset update on the current index value to obtain an updated index value, then performing second replacement update on the index data in the storage array according to the body posture data and the updated index value to obtain the updated storage array, and calculating the data mean value of the updated storage array according to the filter window to obtain the filtered posture data.
[0099] In the embodiments of the present application, taking the updated vehicle body mode as the dynamic mode as an example, the mean replacement can first determine a first storage array corresponding to the first window, a current index value of the first storage array, and index data corresponding to the current index value. Then, the current index value is compared with the window size of the first window. If the current index value is less than the window size of the filter window, it indicates 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 by the current vehicle body posture data to obtain an updated first storage array. The updated first storage array includes the current vehicle body posture data and historical posture data corresponding to other index values. Then, the average value of all posture data in the first storage array is calculated to obtain the filtered posture data. Alternatively, if the current index value is greater than or equal to the window size of the filter window, it indicates that the first storage array does not have index data that has not been replaced and updated in the current array round. At this time, the current index value can be reset so that the updated index value points to the first array element in the first storage array. The second replacement update is similar to the content of the first replacement update. The present application will not be repeated here.
[0100] It should be noted that, since the vehicle body posture data collected by the vehicle is real-time, the current index value can be updated after the first replacement update, so that the first replacement update can be performed according to the corresponding index value when the next vehicle body posture data is subjected to mean replacement. The remaining normal mode and slow mode are similar to the content of the dynamic mode described above, and the present application will not be repeated here.
[0101] A2, performing angle conversion processing on the filtered posture data to obtain the adjustment angle.
[0102] Referring to FIG. 7, further, the A2, performing angle conversion processing on the filtered posture data to obtain the adjustment angle, includes:
[0103] A21, obtaining a vehicle body parameter of the target vehicle;
[0104] A22, performing pitch angle conversion on the filtered posture data to obtain a vehicle body pitch angle of the target vehicle;
[0105] A23, performing angle calculation on the vehicle body pitch angle according to the vehicle body parameter to obtain the adjustment angle.
[0106] In the embodiment of the present application, the body parameter of the target vehicle belongs to the calibration parameter of the vehicle, which can be obtained from the vehicle factory information; after the filtered attitude data is obtained, the filtered attitude data can be input into the ALS system of the vehicle for angle calculation, so as to calculate the body pitch attitude change (i.e. the body pitch angle); then, the body pitch angle and the body parameter are combined to calculate the angle required for adjusting the vehicle lamp, and the specific implementation can be realized by controlling the motor rotation angle, that is, the adjustment angle in the embodiment of the present application can be the angle required for adjusting the vehicle lamp or the angle required for adjusting the motor.
[0107] In step S133, the lamp angle of the target vehicle is adjusted according to the adjustment angle.
[0108] Referring to FIG. 8, further, the step S133 of adjusting the lamp angle of the target vehicle according to the adjustment angle comprises:
[0109] B1, obtaining a difference threshold value;
[0110] B2, obtaining a historical angle according to the current adjustment angle, the historical angle being the last adjustment angle;
[0111] B3, differentially comparing the historical angle and the current adjustment angle to obtain a differential comparison result;
[0112] 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 difference threshold value, 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 difference threshold value, the lamp angle of the target vehicle is adjusted according to the current adjustment angle.
[0113] In the embodiment of the present application, the difference threshold value can be an angle threshold value, and the specific value can be any one of 0.1°, 0.2°, 0.3°, etc., which is only illustrative in the present application. After obtaining the difference threshold value, the current adjustment angle, i.e. the adjustment angle output by the vehicle ALS system at the current time, and the historical angle, i.e. the adjustment angle output by the vehicle ALS at the last time, can be obtained; then, the current adjustment angle and the historical angle are differentially compared, if the absolute value of the difference between the historical angle and the current adjustment angle is less than the difference threshold value, it indicates that the attitude change of the vehicle body is relatively small, and the illumination range of the vehicle lamp does not need to be adjusted, so the lamp angle of the target vehicle can be maintained, that is, the lamp angle of the target vehicle is made to be the same as the historical angle; or, if the absolute value of the difference between the historical angle and the current adjustment angle is greater than or equal to the difference threshold value, it indicates that the attitude of the vehicle body has changed obviously, and the lamp angle of the target vehicle needs to be adjusted to the adjustment angle.
[0114] It should be noted that the step S133 in the embodiment of the present application can effectively prevent the occurrence of the shaking situation of the vehicle lamp, specifically, due to respective environmental factors and vehicle reasons, the vehicle may also change the reading of the sensor when it is stationary on the flat ground, that is, the collected vehicle body posture data may change slightly, and the change is more dramatic in other driving situations, so that the obtained adjustment angle has certain noise, and the shaking situation of the vehicle lamp is prone to occur in the adjustment process of the vehicle lamp. The embodiment of the present application can further reduce the fluctuation of the illumination range of the vehicle lamp and improve the stability of the vehicle lamp illumination while adjusting the lamp angle based on the vehicle body mode, so that the target vehicle can still have a stable effect when facing slight changes in the dynamic mode, normal mode and slow mode.
[0115] Please refer to FIG. 9, the embodiment of the present application also provides a vehicle lamp control system based on vehicle speed, comprising:
[0116] The acquisition unit 310 is configured to acquire speed data and vehicle body posture data of a target vehicle, and a current vehicle body mode;
[0117] The update unit 320 is configured to perform mode update on the current vehicle body mode according to the speed data, to obtain an updated vehicle body mode;
[0118] The adjustment unit 330 is configured to adjust a lamp angle of the target vehicle according to the vehicle body posture data and the updated vehicle body mode;
[0119] The speed data is used to record a vehicle speed signal and an acceleration signal of the target vehicle in the driving process, and the vehicle body mode is used to represent the fast or slow degree of the vehicle body posture change of the target vehicle in the driving process.
[0120] It can be understood that the contents in the above method embodiments are all applicable to the present system embodiment, the present system embodiment specifically implements the same functions as the above method embodiments, and achieves the same beneficial effects as the above method embodiments.
[0121] The embodiment of the present application also provides an electronic device, which comprises 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 vehicle-mounted computer, etc.
[0122] It can be understood that the contents in the above method embodiments are all applicable to the present device embodiment, the present device embodiment specifically implements the same functions as the above method embodiments, and achieves the same beneficial effects as the above method embodiments.
[0123] Referring to FIG. 10, FIG. 10 illustrates a hardware structure of an electronic device according to another embodiment, the electronic device including:
[0124] The processor 901 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, and is configured to execute related programs to implement the technical solutions provided by the embodiments of the present application.
[0125] The memory 902 can be implemented by a ROM (Read Only Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory), and the like. The memory 902 can store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are stored in the memory 902 and are called and executed by the processor 901 to implement the method of the embodiments of the present application.
[0126] The input / output interface 903 is configured to implement information input and output.
[0127] The communication interface 904 is configured to implement communication interaction between the device and other devices, and can realize communication through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.).
[0128] The bus 905 is configured to transmit information between various components (such as the processor 901, the memory 902, the input / output interface 903, and the communication interface 904) of the device.
[0129] The processor 901, the memory 902, the input / output interface 903, and the communication interface 904 are connected to each other through the bus 905 to realize communication connection between them inside the device.
[0130] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above method.
[0131] It can be understood that the contents in 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 by the present storage medium embodiments are also the same as those achieved by the above method embodiments.
[0132] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory disposed remotely with respect to the processor, which can be connected to the processor through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0133] The embodiments of the present application also provide a vehicle comprising the control system or the electronic device described above.
[0134] It can be understood that the embodiments of the present application also provide a vehicle comprising the electric drive assembly of the control system or the electronic device described above. Specifically, the vehicle can be a private car, such as a sedan, an SUV, an MPV, a pickup truck, or the like. The vehicle can also be an operating vehicle, such as a van, a bus, a small truck, or a large trailer, etc. The vehicle can be a gasoline car or a new energy car. When the vehicle is a new energy car, it can be a hybrid car or a pure electric car.
[0135] The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0136] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and can include more or fewer steps than those shown in the figures, or combine certain steps, or different steps.
[0137] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0138] Those skilled in the art can understand that all or some of the steps in the above disclosed method, the function modules / units in the system and the device can be implemented as software, firmware, hardware and their appropriate combinations.
[0139] The terms "first", "second", "third", "fourth", and the like in the description and in the claims of this application, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of the terms so termed is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of orderly or chronological mundane operation, reverse order operation, based on circuitry availability, based on stated preference or the like, and that "default" or other orderings are thus permissible. Further, the terms "comprise", "comprising", "include", "including", and the like, are specifically intended to be open-ended. That is, references to individual steps and the like do not suhstantially exclude the presence of two or more of a given step or its integral presence in the process, method, system, article, or apparatus having been made with a wider scope. The use of notation such as "first", "second", "third", etc. does not generally limit the areas, but is used to connect like elements or to distinguish one claim from another. These terms can be used interchangeably when appropriate. Terms concerning the relative position of elements can be interpreted such that their use adheres to their normal meaning, but they can also be interpreted to mean the opposite according to specific claims.
[0140] It should be understood that, in the application, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or" is used to describe the relationship between associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases: 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 represents an "or" relationship between the front and rear associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple 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, and c can be single or multiple.
[0141] In several embodiments provided by the 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 illustrative, for example, the division of the above-mentioned units is only a logical functional division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0142] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the application.
[0143] In addition, each function unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0144] When the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in part, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes multiple instructions used to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various other media that can store programs.
[0145] The preferred embodiments of the embodiments of the present application are described above with reference to the accompanying drawings, and are not limited to the scope of the embodiments of the present application. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall be within the scope of the embodiments of the present application.
Claims
1. A vehicle lamp control method based on vehicle speed, characterized by, The method comprises the following steps: obtaining speed data and body posture data of a target vehicle, and a current body mode; updating the current body mode according to the speed data to obtain an updated body mode; adjusting the lamp angle of the target vehicle according to the body posture data and the updated body mode; wherein the speed data is used to record the speed signal and acceleration signal of the target vehicle during driving, and the body mode is used to represent the speed of the body posture change of the target vehicle during driving.
2. The vehicle lamp control method according to claim 1, characterized by The step of updating the current body mode according to the speed data to obtain an updated body mode comprises the following steps: obtaining a preset acceleration threshold and a speed threshold; comparing the acceleration threshold and 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, updating the current body mode to a dynamic mode; or, if the acceleration comparison result is that the acceleration signal is less than or equal to the acceleration threshold, comparing the speed threshold and the speed signal to obtain a speed comparison result; if the speed comparison result is that the speed signal is greater than the speed threshold, updating the current body mode to a normal mode; or, if the speed comparison result is that the speed signal is less than or equal to the speed threshold, updating the current body mode to a slow mode.
3. The vehicle lamp control method according to claim 2, characterized by The step of adjusting the lamp angle of the target vehicle according to the body posture data and the updated body mode comprises the following steps: obtaining a preset filter window, the filter window comprising a first window, a second window and a third window, the first window corresponding to the dynamic mode, the second window corresponding to the normal mode, and the third window corresponding to the slow mode; performing lamp angle analysis and processing on the body posture data according to the filter window to obtain an adjustment angle; adjusting the lamp angle of the target vehicle according to the adjustment angle.
4. The vehicle lamp control method according to claim 3, characterized by 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 by The step of adjusting the lamp angle of the target vehicle according to the adjustment angle comprises the following steps: obtaining a differential threshold; obtaining a historical angle according to the current adjustment angle, the historical angle being the last 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, maintaining the lamp angle of the target vehicle; 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, adjusting the lamp angle of the target vehicle according to the current adjustment angle.
6. The vehicle lamp control method according to claim 3, characterized by The step of performing lamp angle analysis and processing on the body posture data according to the filter window to obtain an adjustment angle comprises the following steps: performing window filtering on the body posture data according to the filter window to obtain filtered posture data; The filtered attitude data is subjected to angle conversion processing to obtain the adjustment angle.
7. The vehicle lamp control method according to claim 6, characterized by The window filtering of the vehicle body attitude data according to the filtering window comprises: An acquisition module is configured to acquire speed data and vehicle body attitude data of a target vehicle, and a current vehicle body mode. An updating module is configured to perform mode updating on the current vehicle body mode according to the speed data to obtain an updated vehicle body mode.
8. The vehicle lamp control method according to claim 7, characterized by An adjustment module is configured to adjust a lamp angle of the target vehicle according to the vehicle body attitude data and the updated vehicle body mode. The speed data is used to record a vehicle speed signal and an acceleration signal of the target vehicle in a driving process, and the vehicle body mode is used to represent a speed of a change in the vehicle body attitude of the target vehicle in the driving process. The computer program is executed by the processor to implement the method in any one of claims 1 to 9.
9. The vehicle lamp control method according to claim 6, characterized by The vehicle comprises the vehicle lamp control system in claim 10 or the electronic device in claim 11. The computer program is executed by the processor to implement the method in any one of claims 1 to 9. The vehicle comprises the vehicle lamp control system in claim 10 or the electronic device in claim 11. 10. A vehicle light control system based on vehicle speed, characterized by, 11. An electronic device, comprising: 12. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, 13. A vehicle characterized by comprising:
Citation Information
Patent Citations
Driving state determination method and device, vehicle and storage medium
CN110712648A
Adjusting method and adjusting system for irradiation height of dipped headlight
CN113147569A
Automobile headlamp angle automatic adjustment control system and method
CN113928213A
Vehicle dipped headlight control method and device, vehicle controller and storage medium
CN116101158A
Self-adaptive headlamp system based on motion posture perception and control method
CN116494863A