Method and device for adjusting visual field of electronic rearview mirror
By monitoring vehicle driving data in real time and dynamically adjusting the field of view of the electronic rearview mirror, it solves the problems of inflexible field of view adjustment and risk of blind spots in the existing technology, achieving wider field of view coverage and improving driving safety.
Patent Information
- Application Number
- CN202410887553.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-27
AI Technical Summary
It is difficult for existing electronic rearview mirrors to adjust the field of view in real time and accurately following the driver's intention, leading to the risk of blind spots in the field of view. Moreover, the adjustment range of traditional rearview mirrors is limited and it is difficult to cover the blind spots when the vehicle is driving dynamically.
By obtaining real-time driving data, including vehicle speed, steering wheel angle, steering wheel angle rate and road curvature, the corresponding sensitivity is calculated, the real-time field of view adjustment index is determined, and the display field of view of the electronic rearview mirror is dynamically adjusted to ensure that the field of view covers the driver's needs. area of observation.
It achieves wider visual coverage in high-risk situations such as lane changes, turns and complex intersections, significantly reduces the probability of collisions and accidents, and improves driving safety and comfort.
Smart Images

Figure CN118700943A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method and device for adjusting the field of view of an electronic rearview mirror. Background Art
[0002] During vehicle driving, obtaining the rear information of the current vehicle is an important factor in ensuring driving safety, wherein the rear information includes the rear view and side rear view of the current vehicle. The vehicle's rearview mirror is a basic tool for obtaining rear information, and the types of rearview mirrors include traditional rearview mirrors with fixed mirror angles and electronic rearview mirrors. However, in the prior art, the rear information obtained through the above rearview mirrors has certain limitations, specifically:
[0003] Traditional rearview mirrors usually have a fixed mirror angle, or rely on the preset position of the mechanical structure to adjust the mirror angle. The adjusted mirror angle range is limited, making it difficult to cover the blind spots around the vehicle when it is driving dynamically. It lacks flexibility and is prone to accidents.
[0004] The electronic rearview mirror can capture the scene outside the vehicle through the camera to optimize the rear information displayed. However, it is difficult for the electronic rearview mirror to adjust the corresponding field of view of the electronic rearview mirror in real time and accurately according to the driver's intention, resulting in the field of view not being able to immediately cover the area that the driver needs to observe most, and there is a certain risk of blind spots.
[0005] Therefore, how to provide a solution to the above-mentioned technical problems is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0006] In view of this, an embodiment of the present application provides a method and device for adjusting the field of view of an electronic rearview mirror to solve the problem in the prior art that the field of view of an electronic rearview mirror is adjusted without flexibility and real-time performance, resulting in the risk of blind spots.
[0007] According to a first aspect of an embodiment of the present application, a method for adjusting the field of view of an electronic rearview mirror is provided, comprising:
[0008] Acquire the real-time driving data of the target vehicle, including vehicle speed, steering wheel angle, steering wheel angle rate and road curvature;
[0009] Based on the real-time driving data, the vehicle speed sensitivity corresponding to the vehicle speed, the steering wheel angle sensitivity corresponding to the steering wheel angle degree, the steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and the road curvature sensitivity corresponding to the road curvature are obtained respectively;
[0010] Based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity, a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror is obtained;
[0011] Determine a target display field of view and a target scaling factor corresponding to the target display field of view based on a real-time field of view adjustment index, wherein the target display field of view includes a target horizontal field of view and a target vertical field of view;
[0012] According to the target zoom factor, the target display field of view is displayed on the in-vehicle display screen corresponding to the current electronic rearview mirror.
[0013] According to a second aspect of an embodiment of the present application, there is provided a device for adjusting the field of view of an electronic rearview mirror, comprising:
[0014] An acquisition module is configured to acquire real-time driving data of a target vehicle, the real-time driving data including vehicle speed, steering wheel angle, steering wheel angle rate and road curvature;
[0015] The first processing module is configured to obtain, based on the real-time driving data, a vehicle speed sensitivity corresponding to the vehicle speed, a steering wheel angle sensitivity corresponding to the steering wheel angle degree, a steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and a road curvature sensitivity corresponding to the road curvature;
[0016] a second processing module configured to obtain a real-time field of view adjustment index for adjusting a display field of view of the electronic rearview mirror based on vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity;
[0017] A third processing module is configured to determine a target display field of view and a target scaling factor corresponding to the target display field of view based on the real-time field of view adjustment index, the target display field of view including a target horizontal field of view and a target vertical field of view;
[0018] The display module is configured to display the target display field of view on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target scaling factor.
[0019] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0020] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0021] Compared with the prior art, the embodiments of the present application have the following beneficial effects: obtaining real-time driving data of a target vehicle, the real-time driving data including vehicle speed, steering wheel angle, steering wheel angle rate and road curvature, determining vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity through real-time driving data, and obtaining a real-time field of view adjustment index for adjusting the display field of view of an electronic rearview mirror according to the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity, determining a target display field of view and a target scaling factor corresponding to the target display field of view according to the real-time field of view adjustment index, and scaling the target display field of view according to the target scaling factor. The display field of view is displayed on the in-vehicle display screen corresponding to the current electronic rearview mirror; it can ensure the continuity of the lateral and rear fields of view when the target vehicle is driving by real-time monitoring of road curvature, steering wheel angle and corner rate, and vehicle speed; it can also timely and dynamically adjust the electronic rearview mirror field of view when the target vehicle makes a large-angle turn or a sharp turn during driving, thereby providing the driver with a wider field of view, effectively reducing blind spots and reducing the risk of collision, especially in high-risk situations such as lane changes, turns and complex intersections, improving the warning efficiency of potential threats, significantly reducing the probability of collisions and accidents, ensuring the safety of driving routes, and being more adaptable to actual driving conditions, thereby improving driving safety and the driver's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 It is a flow chart of a method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application;
[0024] Figure 2 It is a flowchart of another method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application;
[0025] Figure 3 is a schematic diagram of a device for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application;
[0026] Figure 4 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0028] A method and device for adjusting the field of view of an electronic rearview mirror according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0029] In the prior art, there is the technology of steering-linked rearview mirrors, which mostly rely on the preset position of the mechanical structure for adjustment. However, the adjustment range corresponding to the method of adjusting according to the preset position of the mechanical structure is limited, and lacks flexibility, and cannot make accurate responses according to actual driving conditions such as turning speed and steering angle. In addition, with the development of autonomous driving technology, the requirements for real-time perception and accurate analysis capabilities of the vehicle's surrounding environment have been improved, and the traditional static rearview mirror field of view configuration has been difficult to meet the needs of intelligent and personalized driving assistance.
[0030] In addition to the above-mentioned traditional rearview mirrors that can be adjusted according to the preset position of the mechanical structure, electronic rearview mirrors are also widely used in the prior art. Electronic rearview mirrors use high-definition cameras to capture image data around the vehicle, transmit the image data to the controller, and optimize the electronic rearview mirror field of view through image processing technology. The optimized electronic rearview mirror field of view is displayed on the in-vehicle display screen. However, the prior art is not enough to completely solve the needs of drivers in complex driving environments. For example, when the driver is turning or driving on continuous curves, the driver needs to frequently change the direction of sight to adapt to the changing road conditions. Conventional electronic rearview mirror field of view adjustment is usually based on a preset program or the driver manually sets the adjustment angle. It is difficult to adjust the display content of the electronic rearview mirror in real time and accurately according to the driver's steering intention, resulting in the electronic rearview mirror field of view cannot immediately cover the area that the driver needs to observe most, and there is a safety hazard of blind spots in the field of view.
[0031] Based on the above problems, the present application provides an intelligent system that combines road information with steering wheel angle and angle rate and vehicle speed to dynamically adjust the field of view of the electronic rearview mirror. The system integrates real-time navigation data, including the curvature of the road ahead, curves, intersections, etc., as well as information on changes in driving direction, and combines vehicle angle and speed information. It can not only respond to the driver's operating intentions in real time and expose blind spot risks in advance, but also reduce frequent field of view adjustments when driving on straight roads, achieving wider applicability and personalized customization, thereby greatly improving driving safety, convenience and comfort, and at the same time, improving the vehicle's environmental perception ability.
[0032] Figure 1 FIG. 1 is a flow chart of a method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application. The adjustment method can be executed by a cloud or vehicle controller. Figure 1 As shown, the method for adjusting the visual field of the electronic rearview mirror comprises the following steps:
[0033] S101, obtaining real-time driving data of a target vehicle;
[0034] Among them, real-time driving data includes vehicle speed, steering wheel angle, steering wheel angle rate and road curvature.
[0035] S102, based on the real-time driving data, respectively obtaining a vehicle speed sensitivity corresponding to the vehicle speed, a steering wheel angle sensitivity corresponding to the steering wheel angle degree, a steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and a road curvature sensitivity corresponding to the road curvature;
[0036] S103, obtaining a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity;
[0037] The target display field of view includes the target horizontal field of view and the target vertical field of view.
[0038] S104, determining a target display field of view and a target scaling factor corresponding to the target display field of view based on the real-time field of view adjustment index;
[0039] S105, displaying the target display field of view on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target scaling factor.
[0040] In the exemplary embodiment of the present application, the real-time driving data of the target vehicle is obtained, and the real-time driving data includes vehicle speed, steering wheel angle, steering wheel angle rate and road curvature. Among them, the steering wheel angle is the angle at which the driver operates the steering wheel; the steering wheel angle rate is the angular velocity of the steering wheel rotation, that is, the angle rate; the steering wheel angle rate can be used to judge the driver's intention and the dynamic response of the target vehicle; the road curvature can be used to assist in judging the driving direction of the vehicle.
[0041] By real-time monitoring of the road curvature, vehicle speed, vehicle steering wheel angle and steering wheel angle rate of the road on which the vehicle is currently traveling, that is, using the road curvature as a parameter for adjusting the field of view of the electronic rearview mirror, it is possible to predict whether the road ahead is a curve or a straight road. Therefore, when the road curvature is integrated as an indicator for adjusting the field of view of the electronic rearview mirror, frequent switching of the field of view on a straight road can be avoided, thereby improving the driver's attention and thus improving driving safety. In addition, by using the vehicle speed, vehicle steering wheel angle and steering wheel angle rate as parameters for adjusting the field of view of the electronic rearview mirror, the driver's driving intention can be reflected, thereby realizing the adjustment of the electronic rearview mirror display field of view based on the driver's driving intention, effectively reducing the blind spot of the field of view, especially in high-risk situations such as lane changes, turns and complex intersections, and improving the early warning efficiency of potential threats.
[0042] In addition, real-time driving data can be converted into data that is more suitable for dynamic adjustment of the electronic rearview mirror field of view, thereby obtaining vehicle speed sensitivity corresponding to vehicle speed, steering wheel angle sensitivity corresponding to steering wheel angle degree, steering wheel angle rate sensitivity corresponding to steering wheel angle rate, and road curvature sensitivity corresponding to road curvature.
[0043] Among them, vehicle speed sensitivity is used to characterize the degree to which the vehicle speed requires adjustment of the display field of view of the electronic rearview mirror, steering wheel angle sensitivity is used to characterize the degree to which the steering wheel angle requires adjustment of the display field of view of the electronic rearview mirror, steering wheel angle rate sensitivity is used to characterize the degree to which the steering wheel angle rate requires adjustment of the display field of view of the electronic rearview mirror, and road curvature rate sensitivity is used to characterize the degree to which the road curvature requires adjustment of the display field of view of the electronic rearview mirror.
[0044] Since each sensitivity can reflect the degree of need for field of view adjustment of each data, the above sensitivities can be used as reference indicators for field of view adjustment of the electronic rearview mirror, and the accuracy of field of view adjustment can be guaranteed.
[0045] In addition, after obtaining the sensitivity corresponding to each real-time driving data, the real-time field of view adjustment index can be determined according to a certain algorithm or rule. For example, data information can be fused according to a multimodal fusion algorithm, that is, the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity are fused according to the multimodal fusion algorithm to obtain a real-time field of view adjustment index for adjusting the display field of the electronic rearview mirror. Due to the referenceability of the above-mentioned sensitivities as reference indicators for adjusting the field of view of the electronic rearview mirror, the referenceability of the real-time field of view adjustment index obtained after the fusion of each sensitivity is guaranteed, thereby ensuring the accuracy of the target display field of view determined according to the real-time field of view adjustment index, so that blind spots can be effectively reduced, especially in high-risk situations such as lane changes, turns and complex intersections, the warning efficiency of potential threats is improved, the probability of collisions and accidents is significantly reduced, and the driving path safety is ensured.
[0046] In addition, the target display implementation includes a target horizontal field of view and a target vertical field of view, so that according to the real-time field of view adjustment index, the road information in the electronic rearview mirror that needs to be displayed and the range of the corresponding area in the horizontal and vertical directions can be determined, and the target display field of view is displayed on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target zoom factor, so that the driver can understand the driving environment of the target vehicle in real time through the in-vehicle display screen connected to the electronic rearview mirror.
[0047] Among them, the target scaling factor is used to adjust the size of the target display field of view, and the appropriate scaling factor can be determined according to the display range of the target display field of view and the size of the in-vehicle display screen. For example, assuming that the target horizontal field of view and the target vertical field of view are 6 meters and 5 meters respectively, and the length and width of the in-vehicle display screen are 17.8cm×12.7cm respectively, the target scaling factor required to adjust the actual target display field of view to the size displayed on the in-vehicle display screen can be determined according to the size of the target horizontal field of view and the target vertical field of view and the length and width of the in-vehicle display screen, thereby ensuring that the target display field of view displayed on the in-vehicle display screen is neither too crowded nor too sparse.
[0048] According to the technical solution provided in the embodiment of the present application, by real-time monitoring of road curvature, steering wheel angle and angle rate, and vehicle speed, a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror is obtained. Since each sensitivity can reflect the degree of need for field of view adjustment of each data, the referenceability of the above-mentioned sensitivities as reference indicators for electronic rearview mirror field of view adjustment is guaranteed, and the referenceability of the real-time field of view adjustment index obtained after the fusion of each sensitivity is guaranteed, and the accuracy of the target display field of view determined according to the real-time field of view adjustment index is achieved, so that the steering field of the rearview mirror can be adjusted in time, effectively reducing blind spots and reducing collision risks, especially in high-risk situations such as lane changes, turns and complex intersections, the early warning efficiency of potential threats is improved, the probability of collision and accidents is significantly reduced, and the driver is ensured to be safe and reliable. driving path safety; in addition, through the above real-time driving data, it is possible to predict straight roads and curves, avoid frequent switching of fields of view on straight roads, and reduce driver distraction; when adjusting the steering field of view, the rearview mirror field of view is dynamically adjusted according to the turning angle and vehicle speed, ensuring the continuity of the lateral field of view when turning, thereby improving driving safety; in addition, real-time driving data can reflect the driver's driving intention, and dynamically adjust the display field of view of the electronic rearview mirror based on real-time driving data, so that no matter in bad weather and light changes, such as rain, fog, and night, it can provide a clear field of view, reduce the impact of the environment on vision, and provide a wider field of view when turning at large angles and sharp turns, and the field of view is narrowed when driving in a straight line. The dynamic field of view adjustment is highly adaptable, which comprehensively optimizes the driving decision reaction time and accuracy, and improves the driving experience in all weather and all road conditions.
[0049] In some embodiments, obtaining real-time driving data of a target vehicle includes:
[0050] Obtain the real-time initial vehicle speed of the target vehicle;
[0051] The initial steering wheel angle degree and initial steering wheel angle rate are acquired in real time through the steering wheel angle sensor of the target vehicle;
[0052] Based on the real-time navigation information, determine the initial road curvature corresponding to the road the target vehicle is currently traveling on;
[0053] The initial vehicle speed, initial steering wheel angle, initial steering wheel angle rate and initial road curvature are respectively mapped to corresponding preset value ranges to obtain real-time driving data.
[0054] Specifically, the real-time initial vehicle speed of the target vehicle can be obtained through a speed sensor on the target vehicle, or the real-time initial vehicle speed of the target vehicle can be analyzed in real time by receiving navigation data. The vehicle speed can be expressed as v, and the unit of the vehicle speed is kilometers per hour.
[0055] In addition, the initial steering wheel angle degree and initial steering wheel angle rate can be collected in real time through the steering wheel angle sensor of the target vehicle, wherein the steering wheel angle sensor is a device capable of detecting the steering wheel rotation angle, and can convert the steering wheel rotation angle of the target vehicle into an electrical signal in real time, thereby obtaining the initial steering wheel angle degree and initial steering wheel angle rate. The steering wheel angle degree can be expressed as θ, in degrees (deg), the steering wheel angle rate can be expressed as ω, in degrees / second (deg / s), and the road curvature can be expressed as k, in 1 / m.
[0056] In addition, the initial road curvature corresponding to the target vehicle's driving road can be determined through real-time navigation information, wherein the initial road curvature is the curvature of the geometric features corresponding to the driving road. The initial road curvature can be obtained directly from the navigation information, or related data can be processed in combination with the navigation information to obtain the initial road curvature.
[0057] Since the original value ranges of the initial vehicle speed, the initial steering wheel angle, the initial steering wheel angle rate and the initial road curvature may be different, in order to facilitate subsequent data processing and analysis, the initial vehicle speed, the initial steering wheel angle, the initial steering wheel angle rate and the initial road curvature can be mapped to the corresponding preset value ranges respectively, which can also be understood as normalizing the above-mentioned real-time driving data to obtain the vehicle speed, steering wheel angle, steering wheel angle rate and road curvature.
[0058] As an example, the preset value range may be: vehicle speed v∈[0, 120], steering wheel angle θ∈[-1, 1], steering wheel angle rate ω∈[-1, 1], road curvature k∈[-1, 1].
[0059] According to the technical solution provided in the embodiment of the present application, the initial vehicle speed, initial steering wheel angle, initial steering wheel angle rate and initial road curvature can be monitored in real time, so as to obtain various real-time driving data that are all within the corresponding preset value range, providing comprehensive driving information of the target vehicle.
[0060] In some embodiments, based on vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity, and road curvature sensitivity, a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror is obtained, including:
[0061] According to the predetermined weight values corresponding to the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity, respectively, the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity are weighted averaged to obtain the real-time field of view adjustment index.
[0062] Specifically, this embodiment can perform weighted average of vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity according to predetermined weight values corresponding to vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature to obtain a real-time field of view adjustment index.
[0063] Among them, the real-time field of view adjustment index reflects the actual demand of the driver for field of view based on the real-time driving data. According to the real-time field of view adjustment index, the target display field of view of the current electronic rearview mirror can be determined.
[0064] Specifically, the real-time field of view adjustment index can be obtained by the following formula:
[0065] F=ω1*K(v)+ω2*S(θ)+ω3*G(ω rel )+ω4*f(k);
[0066] Among them, F represents the real-time field of view adjustment index, ω1 represents the weight value of vehicle speed sensitivity, ω2 represents the weight value of steering wheel angle sensitivity, ω3 represents the weight value of steering wheel angle rate sensitivity, ω4 represents the weight value of road curvature sensitivity, K(v) represents vehicle speed sensitivity, S(θ) represents steering wheel angle sensitivity, G(ω rel ) represents the steering wheel angle rate sensitivity, f(k) represents the road curvature sensitivity, and each weight value can be adjusted according to the different vehicle models of the target vehicle or the actual vehicle adjustment effect.
[0067] Furthermore, the real-time field of view adjustment index can be determined by other multimodal fusion algorithms, for example, a coefficient is assigned to each real-time driving data, each coefficient is multiplied by the corresponding real-time driving data, and then the multiplication result is squared to obtain a square result, and each square result is added to obtain the square sum of the real-time driving data, and the square sum is used as the real-time field of view adjustment index.
[0068] Furthermore, based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity, a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror is obtained, which may include:
[0069] Based on the vehicle speed in the real-time driving data, the vehicle speed sensitivity corresponding to the vehicle speed is obtained by the following formula:
[0070]
[0071] Based on the steering wheel angle in the real-time driving data, the steering wheel angle sensitivity is obtained by the following formula:
[0072]
[0073] Based on the steering wheel angle rate in the real-time driving data, the steering wheel angle rate sensitivity is obtained by the following formula:
[0074]
[0075] Based on the road curvature in real-time driving data, the road curvature sensitivity is obtained by the following formula:
[0076] f(k)=a*k 3 +b;
[0077] Among them, K(v) represents the vehicle speed sensitivity, k1 represents the rate of change of vehicle speed sensitivity, v represents the vehicle speed, and v0 represents the original vehicle speed corresponding to the vehicle speed sensitivity of 0, that is, a larger k1 makes the vehicle speed sensitivity function steeper and the sensitivity changes more rapidly;
[0078] S(θ) represents the steering wheel angle sensitivity, k2 represents the rate of change of the steering wheel angle sensitivity, θ represents the steering wheel angle degree, and θ0 represents the original steering wheel angle degree corresponding to the steering wheel angle sensitivity of 0, that is, a larger k2 makes the steering wheel angle sensitivity function steeper and the sensitivity changes more rapidly;
[0079] G(ω_rel) represents the steering wheel angle rate sensitivity, k3 represents the rate of change of the steering wheel angle rate sensitivity, ω_rel represents the steering wheel angle rate, and ω_rel0 represents the original steering wheel angle rate corresponding to the steering wheel angle rate sensitivity of 0, that is, a larger k3 makes the steering wheel angle sensitivity function steeper and the sensitivity changes more rapidly;
[0080] f(k) represents the sensitivity to road curvature, a represents the road curvature coefficient, k represents the road curvature, and b represents the error term.
[0081] According to the technical solution provided in the embodiment of the present application, a real-time field of view adjustment index for adjusting the target display field of view of the electronic rearview mirror in real time can be obtained, thereby adjusting the target display field of view of the electronic rearview mirror in real time, ensuring that the driver can see the most critical road condition information in any driving environment, thereby improving driving safety and comfort.
[0082] In some embodiments, determining the target display field of view and the target zoom factor corresponding to the target display field of view based on the real-time field of view adjustment indicator includes:
[0083] Based on the real-time field of view adjustment index, a first target horizontal field of view is determined through a linear regression model corresponding to the horizontal field of view, and the linear regression model corresponding to the horizontal field of view corresponds to a first intercept, a first slope and a first error value;
[0084] Based on the real-time field of view adjustment index, the vertical field of view of the first target is determined by a linear regression model corresponding to the vertical field of view, and the linear regression model corresponding to the vertical field of view corresponds to a second intercept, a second slope, and a second error value;
[0085] Based on the real-time field of view adjustment index, a first target scaling factor is determined by a linear regression model corresponding to the scaling factor, and the linear regression model corresponding to the scaling factor corresponds to a third intercept, a third slope and a third error value;
[0086] The first target horizontal field of view, the first target vertical field of view and the first target zoom factor are optimized to obtain the target horizontal field of view, the target vertical field of view and the target zoom factor.
[0087] Specifically, the real-time field of view adjustment index can be interpreted in several different dimensions. In the embodiment of the present application, it is divided into three dimensions, namely horizontal field of view, vertical field of view and zoom factor, for example, and is exemplified.
[0088] The target field of view is determined according to the real-time field of view adjustment index through a linear regression model. Different dimensions correspond to different linear regression models. Different first target display fields of view are determined according to different linear regression models. Each linear regression model has an intercept, a slope and an error value.
[0089] That is, for the horizontal field of view, there is a linear regression model corresponding to the horizontal field of view, the target is adjusted according to the real-time field of view, and the first target horizontal field of view is determined by the linear regression model corresponding to the horizontal field of view, and the linear regression model corresponding to the horizontal field of view corresponds to the first intercept, the first slope and the first error value;
[0090] Among them, the first intercept represents the initial value of the horizontal field of view when the real-time field of view adjustment index is 0, the first slope represents the rate of change of the horizontal field of view when the real-time field of view adjustment index changes, and the first error value represents the error range between the model prediction and the actual value;
[0091] The formula of the linear regression model corresponding to the horizontal field of view is expressed as:
[0092] ΔX=β 0X +β 1X *F+∈ X ;
[0093] Among them, ΔX represents the horizontal field of view of the first target, β 0X represents the first intercept, β 1X represents the first slope, F represents the real-time field of view adjustment index, ∈ X represents the first error value, which indicates the random disturbance not explained by the linear regression model corresponding to the horizontal field of view.
[0094] For the vertical field of view, there is a linear regression model corresponding to the vertical field of view, the target is adjusted according to the real-time field of view, and the vertical field of view of the first target is determined by the linear regression model corresponding to the vertical field of view. The linear regression model corresponding to the vertical field of view corresponds to the second intercept, the second slope and the second error value;
[0095] Similarly, the second intercept represents the initial value of the vertical field of view when the real-time field of view adjustment index is 0, the second slope represents the rate of change of the vertical field of view when the real-time field of view adjustment index changes, and the second error value represents the error range between the model prediction and the actual value;
[0096] The formula of the linear regression model corresponding to the vertical field of view is expressed as:
[0097] ΔY=β 0Y +β 1Y *F+∈ Y ;
[0098] Among them, ΔY represents the vertical field of view of the first target, β 0Y represents the second intercept, β 1Y represents the second slope, F represents the real-time field of view adjustment index, ∈ Y represents the second error value, which indicates the random disturbance not explained by the linear regression model corresponding to the vertical field of view.
[0099] For the scaling factor, there is a linear regression model corresponding to the scaling factor, the target is adjusted according to the real-time field of view, the first scaling factor is determined by the linear regression model corresponding to the scaling factor, and the linear regression model corresponding to the scaling factor corresponds to a third intercept, a third slope and a third error value;
[0100] Similarly, the third intercept represents the initial value of the scaling factor when the real-time field of view adjustment index is 0, the third slope represents the rate of change of the scaling factor when the real-time field of view adjustment index changes, and the third error value represents the error range between the model prediction and the actual value.
[0101] The formula of the linear regression model corresponding to the scaling coefficient is expressed as:
[0102] β=β 0β +β 1β *F+∈ β ;
[0103] Where β represents the first target scaling factor, β 0β represents the third intercept, β 1β represents the third slope, F represents the real-time field of view adjustment index, ∈ β represents the third error value, which represents the random disturbance not explained by the linear regression model corresponding to the scaling coefficient.
[0104] The first target horizontal field of view, the first target vertical field of view and the first target zoom factor may be affected by model errors, real-time data fluctuations or other factors. Therefore, it is necessary to optimize the first target horizontal field of view, the first target vertical field of view and the first target zoom factor. After optimization, the target horizontal field of view, the target vertical field of view and the target zoom factor are obtained.
[0105] According to the technical solution provided in the embodiment of the present application, the first target value can be calculated through a linear regression model, and the first target value can be optimized to obtain the optimal target horizontal field of view, target vertical field of view and target zoom factor, so as to determine the target display field of view and the corresponding target zoom factor based on the real-time field of view adjustment index.
[0106] In some embodiments, before determining the first target horizontal field of view based on the real-time field of view adjustment index through a linear regression model corresponding to the horizontal field of view, the method further includes:
[0107] Obtaining training sample data and the number of training samples of all training sample data, each training sample data including a horizontal field of view sample, a vertical field of view sample, a zoom factor sample corresponding to the training sample data, and a field of view adjustment index sample determined based on the horizontal field of view sample, the vertical field of view sample and the zoom factor sample;
[0108] According to a preset horizontal adjustment algorithm, a first intercept and a first slope are determined based on horizontal field of view samples, the number of training samples, and field of view adjustment index samples;
[0109] According to a preset vertical adjustment algorithm, a second intercept and a second slope are determined based on the vertical field of view samples, the number of training samples, and the field of view adjustment index samples;
[0110] According to a preset scaling adjustment algorithm, a third intercept and a third slope are determined based on the scaling coefficient samples, the number of training samples, and the field of view adjustment index samples.
[0111] Specifically, according to the requirements of the real-time field of view adjustment index, the training sample data and the total number of training samples are obtained, and each training sample data includes the following key elements: the horizontal field of view sample, the vertical field of view sample, the zoom factor sample corresponding to the training sample data, and the field of view adjustment index sample determined based on the above samples.
[0112] The training sample data may be the recorded historical driving data of the target vehicle and the historical display field of view corresponding to the historical driving data, or may be determined by obtaining real-time data and feedback information from the current driver of the target vehicle.
[0113] According to the preset horizontal adjustment algorithm, the first intercept and the first slope are determined according to the horizontal field of view samples, the number of training samples and the field of view adjustment index samples, wherein the preset horizontal adjustment algorithm can be evaluated by the least squares method and minimized the sum of squares of the prediction errors to obtain the first intercept and the first slope corresponding to the linear regression model corresponding to the horizontal field of view.
[0114] The preset level adjustment algorithm is expressed by the following formula:
[0115]
[0116] Among them, β 0X represents the first intercept, β 1X represents the first slope, m represents the number of training samples, i represents the current sample number, y iX Represents the current horizontal field of view sample, β 0Xi Indicates the current first intercept corresponding to the current horizontal field of view sample, β 1Xi Indicates the current first slope corresponding to the current horizontal field of view sample, F iX Indicates the field of view adjustment index sample corresponding to the current sample.
[0117] According to the preset vertical adjustment algorithm, the second intercept and the second slope are determined according to the vertical field of view samples, the number of training samples and the field of view adjustment index samples, wherein the preset vertical adjustment algorithm can be evaluated by least squares method and minimized the sum of squares of prediction errors to obtain the second intercept and second slope corresponding to the linear regression model corresponding to the vertical field of view.
[0118] The preset vertical adjustment algorithm is expressed by the following formula:
[0119]
[0120] Among them, β 0Y represents the second intercept, β 1Y represents the second slope, m represents the number of training samples, i represents the current sample number, y iY represents the current vertical field of view sample, β 0Yi Indicates the current second intercept corresponding to the current vertical field of view sample, β 1Yi Indicates the current second slope corresponding to the current vertical field of view sample, F iY Indicates the field of view adjustment index sample corresponding to the current sample.
[0121] According to the preset scaling adjustment algorithm, the third intercept and the third slope are determined according to the scaling coefficient sample, the number of training samples and the field of view adjustment index sample, wherein the preset scaling adjustment algorithm can be evaluated by the least squares method and minimized the sum of squares of the prediction error to obtain the third intercept and the third slope corresponding to the linear regression model corresponding to the scaling coefficient.
[0122] The preset vertical adjustment algorithm is expressed by the following formula:
[0123]
[0124] Among them, β 0β represents the third intercept, β 1β represents the third slope, m represents the number of training samples, i represents the current sample number, y iβ represents the current scaling factor sample, β 0βi Indicates the current third intercept corresponding to the current scaling factor sample, β 1βi Indicates the current third slope corresponding to the current scaling factor sample, F iβ Indicates the field of view adjustment index sample corresponding to the current sample.
[0125] According to the technical solution provided in the embodiment of the present application, it is possible to determine the first intercept and the first slope of the linear regression model corresponding to the horizontal field of view according to a preset horizontal adjustment algorithm, determine the second intercept and the second slope of the linear regression model corresponding to the vertical field of view according to a preset vertical adjustment algorithm, and determine the third intercept and the third slope of the linear regression model corresponding to the zoom factor according to a preset zoom adjustment algorithm, thereby facilitating the determination of the first target horizontal field of view, the first target vertical field of view and the first target zoom factor.
[0126] In some embodiments, optimizing the first target horizontal field of view, the first target vertical field of view, and the first target zoom factor to obtain the target horizontal field of view, the target vertical field of view, and the target zoom factor includes:
[0127] Determine the maximum field of view corresponding to the electronic rearview mirror, the maximum field of view value including the left horizontal maximum field of view value, the right horizontal maximum field of view value, the left vertical maximum field of view value, the right vertical maximum field of view value, the left maximum zoom coefficient and the right maximum zoom coefficient;
[0128] Determine the minimum value among the left maximum horizontal visual field value, the right maximum horizontal visual field value and the first target horizontal visual field as the second target horizontal visual field;
[0129] The minimum value among the left maximum vertical field of view, the right maximum vertical field of view and the first target vertical field of view is determined as the second target vertical field of view;
[0130] Determine the minimum value among the left maximum scaling factor, the right maximum scaling factor and the first target scaling factor as the second target scaling factor;
[0131] Based on the second target horizontal field of view, the second target vertical field of view and the second target zoom factor, a target horizontal field of view, a target vertical field of view and a target zoom factor are determined.
[0132] Specifically, the maximum field of view value corresponding to the electronic rearview mirror is determined, wherein the maximum field of view value is determined by the technical limitations and performance parameters of the electronic rearview mirror, and the maximum field of view value includes the left horizontal maximum field of view value, the right horizontal maximum field of view value, the left vertical maximum field of view value, the right vertical maximum field of view value, the left maximum zoom coefficient and the right maximum zoom coefficient, which define the maximum range that the electronic rearview mirror can display in the horizontal and vertical directions, and the maximum range that can be zoomed on the in-vehicle display screen corresponding to the electronic rearview mirror.
[0133] The minimum value among the left maximum horizontal field of view, the right maximum horizontal field of view and the first target horizontal field of view is determined as the second target horizontal field of view. The mathematical expression for determining the second target horizontal field of view is:
[0134] ΔX′=min(max_leftX,max_rightX,ΔX);
[0135] Among them, ΔX′ represents the horizontal field of view of the second target, max_leftX represents the maximum horizontal field of view on the left side, max_rightX represents the maximum horizontal field of view on the right side, and ΔX represents the horizontal field of view of the first target.
[0136] The minimum value among the left vertical maximum field of view, the right vertical maximum field of view and the first target vertical field of view is determined as the second target vertical field of view. The mathematical expression for determining the second target vertical field of view is:
[0137] ΔY′=min(max_leftY,max_rightY,ΔY);
[0138] Among them, ΔY′ represents the second target vertical field of view, max_leftY represents the maximum vertical field of view on the left, max_rightY represents the maximum vertical field of view on the right, and ΔY represents the first target vertical field of view.
[0139] Determine a minimum value among the left maximum scaling coefficient, the right maximum scaling coefficient and the first target scaling coefficient as a second target scaling coefficient;
[0140] β′=min(max_leftβ,max_rightβ,β);
[0141] Among them, β′ represents the second target scaling coefficient, max_leftβ represents the maximum scaling coefficient on the left, max_rightβ represents the maximum scaling coefficient on the right, and β represents the first target scaling coefficient.
[0142] Optimization is performed again according to the second target horizontal field of view, the second target vertical field of view and the second target zoom factor to determine the target horizontal field of view, the target vertical field of view and the target zoom factor.
[0143] Further, the second target horizontal field of view, the second target vertical field of view, and the second target zoom factor may be used as the target horizontal field of view, the target vertical field of view, and the target zoom factor.
[0144] According to the technical solution provided in the embodiment of the present application, a more reasonable and usable second target horizontal field of view, second target vertical field of view and second target zoom factor are determined to ensure a better driving experience and driving safety under the premise of comprehensive coverage of the electronic rearview mirror's field of view and clear and discernible images.
[0145] In some embodiments, determining the target horizontal field of view, the target vertical field of view, and the target zoom factor based on the second target horizontal field of view, the second target vertical field of view, and the second target zoom factor includes:
[0146] Obtain the historical target display field of view corresponding to the previous moment and the historical target zoom factor corresponding to the historical target display field of view, where the historical target display field of view includes the historical target horizontal field of view and the historical target vertical field of view;
[0147] The historical target horizontal field of view and the second target horizontal field of view are weighted averaged by a preset first weight factor to obtain the target horizontal field of view;
[0148] The target vertical field of view is obtained by weightedly averaging the historical target vertical field of view and the second target vertical field of view through a preset second weight factor;
[0149] The target scaling factor is obtained by performing a weighted average of the historical target scaling factor and the second target scaling factor using a preset third weight factor.
[0150] When displaying the target display field of view on the in-vehicle display, in order to provide a more natural and comfortable visual experience, the field of view and the zoom factor need to be adjusted smoothly and dynamically.
[0151] Specifically, in order to perform smooth dynamic adjustment, the historical data corresponding to the previous moment is obtained, and the historical data includes the historical target display field of view and the historical target zoom factor corresponding to the historical target display field of view. The historical target display field of view includes the historical target horizontal field of view and the historical target vertical field of view, which can define the horizontal and vertical area ranges that can be observed on the in-vehicle display screen at the previous moment.
[0152] In order to fuse historical data with the real-time target display field of view, a weighted average method may be used to smoothly replace the historical data with the target display field of view and display it on the in-vehicle display screen.
[0153] The historical target horizontal field of view and the second target horizontal field of view are weighted averaged by the preset first weight factor to obtain the target horizontal field of view, which can be expressed as the following formula:
[0154] ΔX″=δ1*ΔX t-1 +(1-δ1)*ΔX′;
[0155] Where ΔX″ represents the horizontal field of view of the target after smoothing, δ1 represents the first weight factor, which determines the degree of smoothness in the horizontal direction. The value range of δ1 is δ1∈(0,1), ΔX t-1 represents the historical target horizontal field of view at the previous moment, and ΔX′ is the second target horizontal field of view.
[0156] The target vertical field of view is obtained by weighted averaging the historical target vertical field of view and the second target vertical field of view through the preset second weight factor, which can be expressed as the following formula:
[0157] ΔY″=δ2*ΔY t-1 +(1-δ2)*ΔY′;
[0158] Among them, ΔY″ represents the vertical field of view of the target after smoothing, δ2 represents the second weight factor, which determines the degree of smoothness in the vertical direction. The value range of δ2 is δ1∈(0,1), ΔY t-1 represents the vertical field of view of the historical target at the previous moment, and ΔY′ is the vertical field of view of the second target.
[0159] The historical target scaling factor and the second target scaling factor are weighted averaged by the preset third weight factor to obtain the target scaling factor, which can be expressed as the following formula:
[0160] β″=δ3*β t-1 +(1-δ3)*β′;
[0161] Among them, β″ represents the target scaling factor after smoothing, δ3 represents the third weight factor, which determines the degree of smoothness of scaling, and the value range of δ3 is δ1∈(0,1), β t-1 represents the historical target scaling factor of the previous moment, and β′ is the second target scaling factor.
[0162] According to the technical solution provided in the embodiment of the present application, through the first weight factor and the second weight factor, the target display field of view can be displayed on the in-vehicle display screen in a smooth manner and in accordance with current needs. Through the third weight factor, the size of the image or interface element can be accurately controlled, thereby providing users with a more natural and comfortable visual experience, and can match the steering field of view adjustment of the electronic rearview mirror of the target vehicle with different vehicle speeds, steering wheel angles, and steering wheel angle rates under different road curvatures.
[0163] Figure 2FIG. 1 is a flow chart of another method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application. Figure 2 As shown, the method for adjusting the field of view of an electronic rearview mirror includes a data acquisition module, a dynamic steering field of view control module and a data output module. The data acquisition module is used to obtain the vehicle speed, steering wheel angle, steering wheel angle rate and road curvature in real time, and transmit the obtained vehicle speed, steering wheel angle, steering wheel angle rate and road curvature to the dynamic steering field of view control module. The dynamic steering field of view control module maps the vehicle speed, steering wheel angle, steering wheel angle rate and road curvature to a preset value range, respectively, and inputs the above data into a corresponding sensitivity function to obtain the sensitivity corresponding to each real-time driving data. Through the weighted average algorithm of multimodal fusion, the weighted average calculation is performed on each sensitivity to obtain a real-time field of view adjustment index, and the first target horizontal field of view, the first target vertical field of view and the first target zoom factor are determined according to the real-time field of view adjustment index. The first target horizontal field of view, the first target vertical field of view and the first target zoom factor are passed to the data output module to perform parameter constraints and smoothing on the first target horizontal field of view, the first target vertical field of view and the first target zoom factor according to actual conditions to obtain the target horizontal field of view, the target vertical field of view and the target zoom factor, so that the electronic rearview mirror displays the target display field of view on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target zoom factor.
[0164] According to the technical solution provided by the embodiment of the present application, it is possible to judge the road conditions of the real-time driving road in combination with navigation information, and monitor the vehicle speed, steering wheel angle and steering wheel angle rate in real time, and adjust the steering field of the electronic rearview mirror in time, effectively reducing blind spots and reducing collision risks. Especially in high-risk situations such as lane changes, turns and complex intersections, the early warning efficiency of potential threats is improved, the probability of collisions and accidents is significantly reduced, and driving safety is ensured. It is also possible to judge whether the target vehicle is on a curve or a straight road in real time according to the curvature of the road, thereby avoiding frequent switching of the electronic rearview mirror field of view. Through smoothing, the electronic rearview mirror field of view can be smoothly transitioned, reducing the risk of driver distraction. When adjusting the steering field of view, the rearview mirror field of view is quickly adjusted according to the vehicle speed and the steering wheel angle, ensuring the continuity of the side field of view when turning, and improving driving safety. Through data smoothing, the visual discomfort caused by excessive mutation of the field of view parameters is reduced, visual fatigue is reduced, and driving comfort and continuous driving endurance are improved. In addition, by integrating multi-source data and using dynamic field of view adjustment strategies, a highly intelligent steering assistance function is provided for the electronic rearview mirror system. Multi-source information fusion and dynamic steering algorithm processing are used in combination with navigation information and vehicle information. The steering field of view is dynamically adjusted through a weighted fusion algorithm. Combined with road curvature and accurately quantified vehicle speed and steering sensitivity, the frequent adjustment of the field of view when not necessary is reduced, driving continuity is improved, and the steering field of view can respond quickly according to the current driving situation rather than a simple linear relationship, thereby enhancing the adaptability and accuracy of the electronic rearview mirror field of view adjustment.
[0165] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0166] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0167] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0168] Figure 3 Schematic diagram of an electronic rearview mirror field of view adjustment device provided in an embodiment of the present application. Figure 3 As shown, the electronic rearview mirror field of view adjustment device includes: an acquisition module 301, a first processing module 302, a second processing module 303, a third processing module 304, and a display module 305, wherein:
[0169] The acquisition module 301 is configured to acquire real-time driving data of the target vehicle, the real-time driving data including vehicle speed, steering wheel angle, steering wheel angle rate and road curvature;
[0170] The first processing module 302 is configured to obtain, based on the real-time driving data, a vehicle speed sensitivity corresponding to the vehicle speed, a steering wheel angle sensitivity corresponding to the steering wheel angle degree, a steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and a road curvature sensitivity corresponding to the road curvature;
[0171] The second processing module 303 is configured to obtain a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity;
[0172] The third processing module 304 is configured to determine the target display field of view and the target scaling factor corresponding to the target display field of view based on the real-time field of view adjustment index, the target display field of view including the target horizontal field of view and the target vertical field of view;
[0173] The display module 305 is configured to display the target display field of view on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target zoom factor.
[0174] In some embodiments, the acquisition module 301 is configured to: obtain the real-time initial vehicle speed of the target vehicle; collect the initial steering wheel angle degree and the initial steering wheel angle rate in real time through the steering wheel angle sensor of the target vehicle; determine the initial road curvature corresponding to the current road of the target vehicle based on the real-time navigation information; map the initial vehicle speed, the initial steering wheel angle degree, the initial steering wheel angle rate and the initial road curvature to the corresponding preset value ranges, respectively, to obtain real-time driving data.
[0175] In some embodiments, the second processing module 303 is configured to: perform weighted averaging of the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity according to predetermined weight values corresponding to the vehicle speed sensitivity, steering wheel angle sensitivity, steering wheel angle rate sensitivity and road curvature sensitivity, so as to obtain a real-time field of view adjustment index.
[0176] In some embodiments, the third processing module 304 is configured to: determine the horizontal field of view of the first target based on the real-time field of view adjustment index through the linear regression model corresponding to the horizontal field of view, and the linear regression model corresponding to the horizontal field of view corresponds to the first intercept, the first slope and the first error value; determine the vertical field of view of the first target based on the real-time field of view adjustment index through the linear regression model corresponding to the vertical field of view, and the linear regression model corresponding to the vertical field of view corresponds to the second intercept, the second slope and the second error value; determine the first target zoom factor based on the real-time field of view adjustment index through the linear regression model corresponding to the zoom factor, and the linear regression model corresponding to the zoom factor corresponds to the third intercept, the third slope and the third error value; optimize the first target horizontal field of view, the first target vertical field of view and the first target zoom factor to obtain the target horizontal field of view, the target vertical field of view and the target zoom factor.
[0177] In some embodiments, before the third processing module 304 determines the horizontal field of view of the first target based on the real-time field of view adjustment index through the linear regression model corresponding to the horizontal field of view, it is also configured to: obtain training sample data and the number of training samples of all training sample data, each training sample data including a horizontal field of view sample, a vertical field of view sample, a zoom factor sample and a field of view adjustment index sample determined based on the horizontal field of view sample, the vertical field of view sample and the zoom factor sample corresponding to the training sample data; determine a first intercept and a first slope based on the horizontal field of view sample, the number of training samples and the field of view adjustment index sample according to a preset horizontal adjustment algorithm; determine a second intercept and a second slope based on the vertical field of view sample, the number of training samples and the field of view adjustment index sample according to a preset vertical adjustment algorithm; determine a third intercept and a third slope based on the zoom factor sample, the number of training samples and the field of view adjustment index sample according to a preset zoom adjustment algorithm.
[0178] In some embodiments, the third processing module 304 is configured to: determine the maximum field of view value corresponding to the electronic rearview mirror, the maximum field of view value including the left horizontal maximum field of view value, the right horizontal maximum field of view value, the left vertical maximum field of view value, the right vertical maximum field of view value, the left maximum zoom coefficient and the right maximum zoom coefficient; determine the minimum value among the left horizontal maximum field of view value, the right horizontal maximum field of view value and the first target horizontal field of view as the second target horizontal field of view; determine the minimum value among the left vertical maximum field of view value, the right vertical maximum field of view value and the first target vertical field of view as the second target vertical field of view; determine the minimum value among the left maximum zoom coefficient, the right maximum zoom coefficient and the first target zoom coefficient as the second target zoom coefficient; determine the target horizontal field of view, the target vertical field of view and the target zoom coefficient based on the second target horizontal field of view, the second target vertical field of view and the second target zoom coefficient.
[0179] In some embodiments, the third processing module 304 is configured to: obtain the historical target display field of view corresponding to the previous moment and the historical target zoom factor corresponding to the historical target display field of view, the historical target display field of view including the historical target horizontal field of view and the historical target vertical field of view; weighted average the historical target horizontal field of view and the second target horizontal field of view through a pre-set first weight factor to obtain the target horizontal field of view; weighted average the historical target vertical field of view and the second target vertical field of view through a pre-set second weight factor to obtain the target vertical field of view; weighted average the historical target zoom factor and the second target zoom factor through a pre-set third weight factor to obtain the target zoom factor.
[0180] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0181] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.
[0182] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0183] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.
[0184] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0185] If the integrated module / 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 readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0186] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for adjusting the visual field of an electronic rearview mirror, characterized in that: include: Acquire real-time driving data of the target vehicle, wherein the real-time driving data includes vehicle speed, steering wheel angle, steering wheel angle rate and road curvature; Based on the real-time driving data, respectively obtaining a vehicle speed sensitivity corresponding to the vehicle speed, a steering wheel angle sensitivity corresponding to the steering wheel angle degree, a steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and a road curvature sensitivity corresponding to the road curvature; Based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity, obtaining a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror; Based on the real-time field of view adjustment index, determining a target display field of view and a target scaling factor corresponding to the target display field of view, wherein the target display field of view includes a target horizontal field of view and a target vertical field of view; According to the target zoom factor, the target display field of view is displayed on the in-vehicle display screen corresponding to the current electronic rearview mirror.
2. The method according to claim 1, characterized in that Obtain real-time driving data of the target vehicle, including: Obtain the real-time initial vehicle speed of the target vehicle; The initial steering wheel angle degree and initial steering wheel angle rate are acquired in real time by using the steering wheel angle sensor of the target vehicle; Based on the real-time navigation information, determine the initial road curvature corresponding to the road the target vehicle is currently traveling on; The initial vehicle speed, the initial steering wheel angle, the initial steering wheel angle rate and the initial road curvature are respectively mapped into corresponding preset value ranges to obtain the real-time driving data.
3. The method according to claim 1, characterized in that Based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity, a real-time field of view adjustment index for adjusting the display field of view of the electronic rearview mirror is obtained, including: According to the predetermined weight values corresponding to the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity, respectively, the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity are weighted averaged to obtain the real-time field of view adjustment index.
4. The method according to claim 1, characterized in that: Determining a target display field of view and a target scaling factor corresponding to the target display field of view based on the real-time field of view adjustment index includes: Based on the real-time field of view adjustment index, determining a first target horizontal field of view through a linear regression model corresponding to the horizontal field of view, wherein the linear regression model corresponding to the horizontal field of view corresponds to a first intercept, a first slope and a first error value; Based on the real-time field of view adjustment index, determining the first target vertical field of view through a linear regression model corresponding to the vertical field of view, wherein the linear regression model corresponding to the vertical field of view corresponds to a second intercept, a second slope, and a second error value; Based on the real-time field of view adjustment index, determining a first target scaling factor through a linear regression model corresponding to the scaling factor, wherein the linear regression model corresponding to the scaling factor corresponds to a third intercept, a third slope, and a third error value; The first target horizontal field of view, the first target vertical field of view, and the first target zoom factor are optimized to obtain a target horizontal field of view, a target vertical field of view, and a target zoom factor.
5. The method according to claim 4, characterized in that Based on the real-time field of view adjustment index, before determining the first target horizontal field of view through a linear regression model corresponding to the horizontal field of view, the method further includes: Acquire training sample data and the number of training samples of all the training sample data, each of the training sample data comprising a horizontal field of view sample, a vertical field of view sample, a zoom factor sample corresponding to the training sample data, and a field of view adjustment index sample determined based on the horizontal field of view sample, the vertical field of view sample and the zoom factor sample; Determine a first intercept and a first slope based on the horizontal field of view samples, the number of training samples and the field of view adjustment index samples according to a preset horizontal adjustment algorithm; Determine a second intercept and a second slope based on the vertical field of view sample, the number of training samples and the field of view adjustment index sample according to a preset vertical adjustment algorithm; According to a preset scaling adjustment algorithm, a third intercept and a third slope are determined based on the scaling coefficient sample, the number of training samples and the field of view adjustment index sample.
6. The method according to claim 4, characterized in that Optimizing the first target horizontal field of view, the first target vertical field of view, and the first target zoom factor to obtain a target horizontal field of view, a target vertical field of view, and a target zoom factor, including: Determine the maximum field of view value corresponding to the electronic rearview mirror, wherein the maximum field of view value includes a left horizontal maximum field of view value, a right horizontal maximum field of view value, a left vertical maximum field of view value, a right vertical maximum field of view value, a left maximum zoom coefficient, and a right maximum zoom coefficient; Determine the minimum value among the left maximum horizontal visual field value, the right maximum horizontal visual field value and the first target horizontal visual field as the second target horizontal visual field; Determine the minimum value among the left maximum vertical field of view value, the right maximum vertical field of view value, and the first target vertical field of view as the second target vertical field of view; Determine a minimum value among the left maximum scaling coefficient, the right maximum scaling coefficient and the first target scaling coefficient as a second target scaling coefficient; The target horizontal field of view, the target vertical field of view, and the target zoom factor are determined based on the second target horizontal field of view, the second target vertical field of view, and the second target zoom factor.
7. The method according to claim 6, characterized in that Determining the target horizontal field of view, the target vertical field of view, and the target zoom factor based on the second target horizontal field of view, the second target vertical field of view, and the second target zoom factor includes: Acquire a historical target display field of view corresponding to a previous moment and a historical target zoom factor corresponding to the historical target display field of view, wherein the historical target display field of view includes a historical target horizontal field of view and a historical target vertical field of view; The historical target horizontal field of view and the second target horizontal field of view are weighted averaged by a preset first weight factor to obtain a target horizontal field of view; The historical target vertical field of view and the second target vertical field of view are weighted averaged by a preset second weight factor to obtain a target vertical field of view; The historical target scaling factor and the second target scaling factor are weighted averaged by a preset third weight factor to obtain a target scaling factor.
8. An electronic rearview mirror field of view adjustment device, characterized in that: include: An acquisition module is configured to acquire real-time driving data of a target vehicle, wherein the real-time driving data includes vehicle speed, steering wheel angle, steering wheel angle rate and road curvature; a first processing module configured to obtain, based on the real-time driving data, a vehicle speed sensitivity corresponding to the vehicle speed, a steering wheel angle sensitivity corresponding to the steering wheel angle degree, a steering wheel angle rate sensitivity corresponding to the steering wheel angle rate, and a road curvature sensitivity corresponding to the road curvature; a second processing module configured to obtain a real-time field of view adjustment index for adjusting a display field of view of an electronic rearview mirror based on the vehicle speed sensitivity, the steering wheel angle sensitivity, the steering wheel angle rate sensitivity and the road curvature sensitivity; A third processing module is configured to determine a target display field of view and a target scaling factor corresponding to the target display field of view based on the real-time field of view adjustment index, wherein the target display field of view includes a target horizontal field of view and a target vertical field of view; The display module is configured to display the target display field of view on the in-vehicle display screen corresponding to the current electronic rearview mirror according to the target zoom factor.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Automobile rearview mirror image enhancement processing method and device and storage medium
CN120235767A
