In-vehicle rearview mirror control method and device, electronic equipment and storage medium
By obtaining the front and rear light intensity of the vehicle in real time and controlling the reflectivity of the rearview mirror, the glare problem caused by strong light reflection in night or low-light environments is solved, and driving safety is improved.
Patent Information
- Application Number
- CN202510101322.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In night or low-light environments, the strong light behind the vehicle is reflected into the driver's eyes through the rearview mirror, causing dazzling phenomena and affecting driving safety.
By obtaining the light intensity values at the front and rear bodies of the target vehicle in real time, determining the target voltage value, and controlling the reflectivity of the rearview mirror in the vehicle based on this voltage value to reduce glare.
It effectively reduces the probability of glare and improves safety during driving.
Smart Images

Figure CN119796061A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a method, device, electronic equipment and storage medium for controlling an interior rearview mirror of a vehicle. Background Art
[0002] The interior mirror is usually installed in the center of the front windshield of the car to help the driver observe the road conditions behind and to the sides, ensuring safe and smooth driving. Through effective vision, the interior mirror can assist the driver to promptly detect the movements of surrounding vehicles and pedestrians during lane changes, reversing and driving, thereby reducing the risk of accidents.
[0003] However, at night or in low light conditions, strong light from behind the vehicle (especially the high beam or neon lights of the vehicle behind) will be reflected into the driver's eyes through the rearview mirror, causing dazzle. Dazzle usually causes temporary visual blur or glare, affecting the driver's vision, increasing the risk of collision with the vehicle ahead, and thus affecting driving safety. Summary of the invention
[0004] The problem solved by the present invention is how to reduce the probability of occurrence of glare, thereby improving the safety during automobile driving.
[0005] In order to solve the above problems, the present invention provides a method, device, electronic device and storage medium for controlling an interior rearview mirror.
[0006] In a first aspect, the present invention provides a method for controlling an interior rearview mirror of a vehicle, comprising:
[0007] Acquire the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle in real time to obtain a first light intensity value and a second light intensity value;
[0008] Determine a target voltage value according to the first light intensity value and the second light intensity value;
[0009] The interior rearview mirror is controlled according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0010] Optionally, determining the target voltage value according to the first illumination intensity value and the second illumination intensity value comprises: determining the target voltage value according to a first difference between the second illumination intensity value and the first illumination intensity value when the second illumination intensity value is greater than or equal to the first illumination intensity value;
[0011] When the second light intensity value is less than the first light intensity value, the target voltage value is determined to be a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0012] Optionally, when the second illumination intensity value is greater than or equal to the first illumination intensity value, determining the target voltage value according to a first difference between the second illumination intensity value and the first illumination intensity value includes:
[0013] In the case where the first difference is greater than a first preset threshold, determining the target voltage value to be a second voltage threshold, wherein the second voltage threshold is a maximum flow voltage of the color-changing electrolyte in the interior rearview mirror;
[0014] When the first difference is less than or equal to the first preset threshold, the target voltage value is determined according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference.
[0015] Optionally, when the first difference is less than or equal to the first preset threshold, determining the target voltage value according to the first preset threshold, a first voltage threshold, a second voltage threshold and the first difference includes:
[0016] Determine a difference between the second voltage threshold and the first voltage threshold to obtain a second difference;
[0017] Determine a ratio of the first difference and the first preset threshold to obtain a first ratio;
[0018] The target voltage value is determined according to the first ratio and the second difference.
[0019] Optionally, before determining the target voltage value according to the first light intensity value and the second light intensity value, the vehicle interior rearview mirror control method further includes:
[0020] When the first light intensity is less than or equal to a second preset threshold, generating a low beam turn-on signal;
[0021] In response to the low beam on signal, the low beam is turned on by the vehicle light controller and enters an anti-glare state.
[0022] Optionally, controlling the interior rearview mirror according to the target voltage value includes:
[0023] Obtaining a vehicle identification serial number stored on the body of the target vehicle, and generating a key serial number according to the vehicle identification serial number and a target algorithm;
[0024] Obtain the algorithm software serial number stored in the application layer software;
[0025] When the key serial number is consistent with the algorithm software serial number, a voltage having a magnitude of the target voltage value is applied to the interior rearview mirror so as to cause a reversible reduction reaction of the color-changing electrolyte in the interior rearview mirror.
[0026] Optionally, the interior rearview mirror control method further includes:
[0027] Detecting the driving state of the target vehicle;
[0028] When the driving state is a reversing state, the target voltage value is determined as a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is a minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0029] In a second aspect, the present invention provides a vehicle interior rearview mirror control device, comprising:
[0030] An acquisition unit, used to acquire in real time the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle to obtain a first light intensity value and a second light intensity value;
[0031] a determining unit, configured to determine a target voltage value according to the first light intensity value and the second light intensity value;
[0032] A control unit is used to control the interior rearview mirror according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0033] In a third aspect, the present invention provides an electronic device, including a memory and a processor;
[0034] The memory is used to store computer programs;
[0035] The processor is used to implement the vehicle interior rearview mirror control method as described in the first aspect when executing the computer program.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for controlling an interior rearview mirror as described in the first aspect is implemented.
[0037] The beneficial effects of the interior rearview mirror control method, device, electronic device and storage medium of the present invention are: obtaining the light intensity at the front side of the target vehicle body to obtain a first light intensity value, the first light intensity value reflects the brightness of the front environment of the vehicle body, obtaining the light intensity at the rear side of the target vehicle body to obtain a second light intensity value, the second light intensity value reflects the influence of the lights of the rear vehicle, the first light intensity value and the second light intensity value directly affect the driver's visual experience, according to the difference between the first light intensity value and the second light intensity value, the interior rearview mirror is controlled according to the target voltage value, a voltage of the target voltage value is applied to the interior rearview mirror, as the voltage is applied, the ions in the color-changing electrolyte migrate, thereby changing the reflectivity of the interior rearview mirror, when the light intensity behind the vehicle is too large, the reflectivity of the interior rearview mirror can be adjusted in time according to the light intensity before and after the target vehicle, the probability of glare is reduced, and the safety of the car driving process is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of the position of a vehicle interior rearview mirror in a car according to an embodiment of the present invention;
[0039] Figure 2 A schematic flow chart of a method for controlling an interior rearview mirror of a vehicle according to an embodiment of the present invention;
[0040] Figure 3 This is a schematic diagram of a target vehicle driving on a road according to an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of an optional process of activating the anti-glare function of an interior rearview mirror according to an embodiment of the present invention;
[0042] Figure 5 This is another optional schematic diagram of the process of activating the anti-glare function of the interior rearview mirror according to an embodiment of the present invention;
[0043] Figure 6 A schematic structural diagram of a vehicle interior rearview mirror control device according to an embodiment of the present invention;
[0044] Figure 7 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0046] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0047] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0048] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0049] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0050] The vehicle interior rearview mirror control method of the present invention can be applied to a vehicle equipped with a vehicle interior rearview mirror. For example, Figure 1 Figure 1 is a schematic diagram of the position of the interior rearview mirror in a car. Figure 1 As shown, the positions of exemplary interior rearview mirrors are as follows:
[0051] The interior rearview mirror is usually installed in the center of the car's windshield, near the top. During driving, this installation position allows the driver to easily observe the traffic conditions behind the car through the interior rearview mirror without affecting the line of sight. The rearview mirror can help the driver observe the vehicles and road conditions behind the car, improving driving safety; before changing lanes or overtaking, the rearview mirror enables the driver to confirm the traffic conditions behind to avoid accidents; the driver can also monitor the safety and behavior of the rear seat passengers through the rearview mirror, especially when carrying children; the use of the rearview mirror can also help the driver notice potential theft, such as suspicious vehicles following.
[0052] When driving at night, if two vehicles are driving on the road ahead and behind, and the vehicle behind (corresponding to Figure 1 The B car) uses high-intensity headlights (such as xenon lamps or LED headlights). When these lights hit the front car (corresponding to Figure 1 When the light is reflected in the rearview mirror of a medium-sized car (such as a Chinese car), it may cause dazzle, that is, the rearview mirror will reflect the strong light into the driver's eyes, thereby affecting the driver's vision and judgment, and thus affecting driving safety.
[0053] In view of the problems existing in the above-mentioned related technologies, the present embodiment provides a method, device, electronic device and storage medium for controlling an interior rearview mirror.
[0054] like Figure 2 As shown, an embodiment of the present invention provides a method for controlling an interior rearview mirror, comprising:
[0055] S100, acquiring in real time the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle to obtain a first light intensity value and a second light intensity value;
[0056] Specifically, the target vehicle is traveling on the road. Figure 3 As shown, an interior rearview mirror is installed near the top of the center of the windshield of the target vehicle. During the driving process of the vehicle, the light intensity at the front body of the target vehicle and the light intensity at the rear body of the target vehicle are obtained in real time.
[0057] The light intensity at the front side of the target vehicle body can be collected by a photosensitive sensor arranged at the front side of the target vehicle body. The photosensitive sensor can be specifically arranged near the headlight of the target vehicle and mainly collects the ambient light intensity at the body.
[0058] The light intensity at the rear body of the target vehicle can be obtained by a sensor arranged at the rear of the target vehicle, and the sensor can be a 360-degree panoramic camera.
[0059] The light intensity at the front side of the target vehicle reflects the brightness of the environment in front of the vehicle body, such as the light intensity at the front side of the target vehicle body when the intensity of sunlight, street lamps, etc. shine on the target vehicle body. This light intensity is less affected by the target vehicle's own headlights (the first light intensity value can be the light intensity in front of the vehicle body obtained before the target vehicle's headlights are turned on). The light intensity at the rear side of the vehicle body is usually affected by the lights of the rear vehicle, such as brake lights, high beams, etc. The first light intensity value and the second light intensity value directly affect the driver's visual experience.
[0060] S200, determining a target voltage value according to the first light intensity value and the second light intensity value;
[0061] Specifically, when the first light intensity value and the second light intensity value are obtained at the same time, the target voltage value is determined according to the difference between the first light intensity value and the second light intensity value.
[0062] S300: Control the interior rearview mirror according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0063] Specifically, a color-changing electrolyte is provided in the interior rearview mirror. In the electrochromic rearview mirror, two sheets of transparent conductive material are used to sandwich a layer of color-changing electrolyte. When a certain voltage is applied, the electrolyte reacts to change its color from transparent to dark, which can effectively reduce the reflection of light. According to the first light intensity value and the second light intensity value, the most suitable voltage value, that is, the target voltage value, is calculated, and a voltage of the target voltage value is applied to the interior rearview mirror. As the voltage is applied, the ions in the color-changing electrolyte migrate, thereby changing the reflectivity of the interior rearview mirror, making the rearview mirror darker and reducing glare.
[0064] In this embodiment, the light intensity at the front body of the target vehicle is obtained to obtain a first light intensity value, which reflects the brightness of the environment in front of the vehicle body. The light intensity at the rear body of the target vehicle is obtained to obtain a second light intensity value. When the second light intensity value is high, it reflects the influence of the lights of the rear vehicle. The first light intensity value and the second light intensity value directly affect the driver's visual experience. The target voltage value is determined according to the difference between the first light intensity value and the second light intensity value. The interior rearview mirror is controlled according to the target voltage value, and a voltage of the target voltage value is applied to the interior rearview mirror. As the voltage is applied, ions in the color-changing electrolyte migrate, so that when the light intensity behind the vehicle is too large, the reflectivity of the interior rearview mirror can be adjusted in time according to the light intensity before and after the target vehicle, thereby reducing the probability of glare and improving the safety of the car during driving.
[0065] Optionally, determining the target voltage value based on the first light intensity value and the second light intensity value includes: when the second light intensity value is greater than or equal to the first light intensity value, determining the target voltage value based on a first difference between the second light intensity value and the first light intensity value; when the second light intensity value is less than the first light intensity value, determining the target voltage value to be a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0066] Specifically, when the second light intensity value is greater than or equal to the first light intensity value, that is, the light intensity behind the target vehicle is greater than or equal to the light intensity in front, there is a greater possibility of causing glare. At this time, the target voltage value is determined according to the first difference between the second light intensity value and the first light intensity value, the first difference = the second light intensity value - the first light intensity value. The target voltage value is determined according to the first difference, and the interior rearview mirror is controlled according to the target voltage value to adjust the reflectivity of the rearview mirror.
[0067] When the second light intensity value is less than the first light intensity value, the light intensity in front is greater, while the light intensity in the rear is weaker, and in this case, no glare will be caused, and the reflectivity of the rearview mirror does not need to be adjusted. Therefore, the target voltage value can be determined as a preset value.
[0068] It should be noted that the minimum flow voltage at which the color-changing electrolyte can effectively change color is the first voltage threshold. When the voltage connected to the interior rearview mirror is less than the first voltage threshold, the ions in the color-changing electrolyte will not migrate and the reflectivity of the interior rearview mirror will not change. When the voltage connected to the interior rearview mirror is greater than or equal to the first voltage threshold, the electrolyte will begin to change significantly.
[0069] The preset value is a pre-set value. Since the preset value is less than the first voltage threshold, when the voltage connected to the interior rearview mirror is the preset value (that is, the target voltage value is determined to be the preset value), the ions in the color-changing electrolyte will not migrate and the reflectivity of the interior rearview mirror will not change.
[0070] In this embodiment, when the light intensity behind the target vehicle is strong, the target voltage value is determined based on the first difference, and the reflectivity of the rearview mirror inside the vehicle is actively reduced to reduce the glare caused by the strong light of the rear vehicle, so that the driver can maintain a focused and clear vision. When the light intensity behind the target vehicle is weak, the reflectivity of the rearview mirror is maintained to ensure that the driver can clearly see the situation behind.
[0071] Optionally, when the second light intensity value is greater than or equal to the first light intensity value, the target voltage value is determined according to a first difference between the second light intensity value and the first light intensity value, including: when the first difference is greater than a first preset threshold, determining the target voltage value as a second voltage threshold, wherein the second voltage threshold is the maximum flow voltage of the color-changing electrolyte in the interior rearview mirror; when the first difference is less than or equal to the first preset threshold, determining the target voltage value according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference.
[0072] Specifically, the first difference is the difference between the second light intensity value and the first light intensity value. When the first difference is greater than the first preset threshold, it means that the light intensity at the rear body of the target vehicle is much greater than the light intensity at the front body of the target vehicle. At this time, it is necessary to minimize the reflectivity of the interior rearview mirror to ensure the safety of the vehicle during driving.
[0073] However, the maximum voltage applied to the interior rearview mirror is limited and cannot exceed the second voltage threshold. When the voltage applied to the interior rearview mirror exceeds the second voltage threshold, the excessively high voltage will burn the interior rearview mirror and cannot be restored. Therefore, when the first difference is greater than the first preset threshold, the target voltage value is determined to be the second voltage threshold, so that the reflectivity of the interior rearview mirror is reduced to the greatest extent, thereby minimizing the probability of glare.
[0074] When the first difference is less than or equal to the first preset threshold, the target voltage value is determined to be between the first voltage threshold and the second voltage threshold, and different first differences correspond to different target voltage values, that is, the corresponding adjustment degree of the reflectivity of the interior rearview mirror is also different. Specifically, at this time, the target voltage value is determined according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference.
[0075] Optionally, when the first difference is less than or equal to the first preset threshold, the target voltage value is determined according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference, and the target voltage value is determined according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference, including: determining the difference between the second voltage threshold and the first voltage threshold to obtain a second difference; determining the ratio of the first difference and the first preset threshold to obtain a first ratio; determining the target voltage value according to the first ratio and the second difference.
[0076] Specifically, it should be noted that at this time the first difference is greater than zero, and the first difference is less than the preset threshold. At this time, the target voltage value is between the first voltage threshold and the second voltage threshold (including the first voltage threshold or the second voltage threshold). There is a mapping relationship between the first difference and the target voltage value. The larger the first difference, the larger the target voltage value.
[0077] At this time, when determining the target voltage value, first subtract the first voltage threshold from the second voltage threshold to obtain the second difference, then determine the ratio of the first difference to the first preset threshold to obtain the first ratio, and determine the target voltage value based on the first ratio and the second difference.
[0078] Alternatively, the target voltage value can be determined by the following formula:
[0079]
[0080] Optionally, before determining the target voltage value based on the first light intensity value and the second light intensity value, the interior rearview mirror control method also includes: generating a low beam turn-on signal when the first light intensity is less than or equal to a second preset threshold value; in response to the low beam turn-on signal, turning on the low beam through the vehicle light controller and entering an anti-glare state.
[0081] Specifically, the first controller enters the anti-glare state, that is, the first controller determines the target voltage value according to the first light intensity value and the second light intensity value, and controls the interior rearview mirror according to the target voltage value to adjust the reflectivity of the interior rearview mirror, that is, to judge whether to start the anti-glare function of the target vehicle. The judgment and activation of the anti-glare function are performed by the first controller in the target vehicle. Since glare mainly occurs at night or when the ambient light is dark, the first controller is mainly activated at night or when the ambient light is dark. It is judged whether the current target vehicle is at night or the ambient light is dark by the relationship between the first light intensity and the second preset threshold value. If the first light intensity is less than the second preset threshold value, the current target vehicle is at night or the ambient light is dark. At this time, it is necessary to turn on the low beam and turn on the first controller, that is, the low beam start signal; in response to the low beam start signal, turn on the low beam and turn on the first controller set in the target vehicle.
[0082] Optionally, the low beam on signal can also be manually issued by the driver, that is, when the driver turns on the low beam button, the low beam on signal is generated. At this time, in response to the low beam on signal, the low beam can still be turned on and the first controller arranged in the target vehicle can be turned on.
[0083] Optionally, controlling the interior rearview mirror according to the target voltage value includes: obtaining a vehicle identification serial number stored on the body end of the target vehicle, and generating a key serial number according to the vehicle identification serial number and a target algorithm; obtaining an algorithm software serial number stored in an application layer software; and when the key serial number is consistent with the algorithm software serial number, applying a voltage of the target voltage value to the interior rearview mirror so as to cause a reversible reduction reaction of the color-changing electrolyte in the interior rearview mirror.
[0084] Specifically, when the interior rearview mirror is controlled according to the target voltage value, the vehicle identification serial number stored on the body end of the target vehicle is first verified. After the verification is passed, a voltage equal to the target voltage value is applied to the interior rearview mirror to adjust the reflectivity through a reversible reduction reaction of the color-changing electrolyte in the interior rearview mirror. Otherwise, no voltage is applied to the interior rearview mirror, that is, the reflectivity cannot be adjusted.
[0085] Each vehicle has a different vehicle identification serial number. Verifying the vehicle identification serial number means starting the anti-glare function only for the authenticated target vehicle, that is, applying a voltage of a target voltage value to the authenticated target vehicle to control the interior rearview mirror.
[0086] Obtain the vehicle identification serial number stored on the body of the target vehicle, and generate a key serial number based on the obtained vehicle identification serial number and the target algorithm. If it is an authenticated vehicle, the key serial number generated by its corresponding vehicle identification serial number under the target algorithm is consistent with the algorithm software serial number stored in the application layer software. Therefore, whether the target vehicle is an authenticated vehicle can be determined by whether the key serial number is consistent with the algorithm software serial number.
[0087] Optionally, the interior rearview mirror control method also includes: detecting the driving state of the target vehicle; when the driving state is a reversing state, determining the target voltage value as a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0088] Specifically, when the vehicle is in a reversing state, in order to provide the driver with the best field of view, the color of the interior rearview mirror cannot be changed and the reflectivity of the interior rearview mirror cannot be reduced. Therefore, when the driving state of the target vehicle is a reversing state, the target voltage value is determined to be a preset value. The preset value is a pre-set value. Since the preset value is less than the first voltage threshold, when the voltage connected to the interior rearview mirror is the preset value (that is, the target voltage value is determined to be the preset value), the ions in the color-changing electrolyte will not migrate and the reflectivity of the interior rearview mirror will not change.
[0089] Optionally, the preset value may be zero, that is, the target voltage value is determined to be zero at this time, that is, no voltage is applied to the interior rearview mirror;
[0090] Preferably, the preset value may be a non-zero value that is closer to the first voltage threshold, so that when the anti-glare function is subsequently turned on, the voltage applied to the interior rearview mirror changes less, thereby increasing the life of the interior rearview mirror.
[0091] The present invention also provides a method for activating the anti-glare function of the interior rearview mirror. The target vehicle to which the method is applied includes a headlight ambient light photosensor, a vehicle body low beam lighting activation controller (HCM), a vehicle computer domain controller (ZCU), and a signal is transmitted to the front door drive module (PDM). The front door drive module (PDM) can output the corresponding rated voltage and current to the interior rearview mirror. The electrochromic electrolyte in the EC lens of the interior rearview mirror undergoes a reversible reduction reaction under the action of voltage, and the reflectivity of the EC lens changes, thereby realizing the anti-glare function. The headlight ambient light photosensor collects the light intensity at the front side of the target vehicle. This method is as follows Figure 4 As shown, including the following:
[0092] Step S400: The headlight ambient light photosensitive sensor collects the light intensity at the front side of the target vehicle (corresponding to the first light intensity value), and then proceeds to step S401;
[0093] Step S401: The headlight controller HCM determines whether it is daytime or nighttime according to the first light intensity value. If the first light intensity is less than or equal to the second preset threshold, it is determined to be nighttime, otherwise it is daytime;
[0094] Step S402: When the headlight controller HCM determines that it is daytime, the low beam is kept off and the operation instruction is kept running. When the headlight controller HCM determines that it is night, the operation instruction is turned on and the low beam is turned on. At the same time, the signal for turning on the low beam is transmitted to the body domain controller ZCU, and the body domain controller ZCU enters the standby state and enters step S405;
[0095] Step S403: Determine whether the anti-glare function soft switch instruction is turned on (initial setting is normally open), and proceed to step S405;
[0096] Step S404: Determine whether the target vehicle is in reverse gear (R gear), and proceed to step S405;
[0097] Step S405: When the vehicle body domain controller ZCU receives the anti-glare function soft switch on signal and the low beam on signal at the same time and the target vehicle is not in reverse gear, the anti-glare on instruction enters the pre-operation state and enters step S406;
[0098] Step S406: the anti-glare function activation instruction of the body domain controller ZCU is transmitted to the front door module controller PDM, and the front door module controller enters the pre-operation state, and then proceeds to step S407;
[0099] Step S407: the front door module controller drives the output voltage to the interior rearview mirror, and the interior rearview mirror enters the anti-glare pre-operation state, and then proceeds to step S408;
[0100] Step S408: Under the action of voltage, the electrochromic electrolyte in the interior rearview mirror undergoes a reversible reduction reaction, and the anti-glare function is achieved through the change of reflectivity.
[0101] The present invention also provides another optional method for activating the anti-glare function of the interior rearview mirror. The target vehicle to which this method is applied includes a headlight ambient light photosensor, a 360-degree panoramic camera light source sensor on the exterior of the vehicle body, a vehicle-end low-beam lighting activation controller (HCM), and a vehicle domain controller (ZCU). The signal is transmitted to the front door drive module (PDM). The front door drive module (PDM) can output the corresponding rated voltage and current to the interior rearview mirror. The electrochromic electrolyte in the EC lens of the interior rearview mirror undergoes a reversible reduction reaction under the action of voltage, and the reflectivity of the EC lens changes, thereby realizing the anti-glare function. The headlight ambient light photosensor collects the light intensity at the front side of the target vehicle. This method is as follows Figure 5 As shown, including the following:
[0102] Step S500: The headlight ambient light photosensitive sensor collects the light intensity at the front side of the target vehicle (corresponding to the first light intensity value), and then proceeds to step S501;
[0103] Step S501: The headlight controller HCM determines whether it is daytime or nighttime according to the first light intensity value. If the first light intensity is less than or equal to the second preset threshold, it is determined to be nighttime, otherwise it is daytime;
[0104] Step S502: When the headlight controller HCM determines that it is daytime, the low beam is kept off and the operation instruction is kept running. When the headlight controller HCM determines that it is night, the operation instruction is turned on and the low beam is turned on. At the same time, the signal for turning on the low beam is transmitted to the body domain controller ZCU, and the body domain controller ZCU enters the standby state and enters step S506;
[0105] Step S503: Determine whether the anti-glare function soft switch instruction is turned on (initial setting is normally open), and proceed to step S506;
[0106] Step S504: Determine whether the target vehicle is in reverse gear (R gear), and proceed to step S506;
[0107] Step S505: The light source sensor of the 360-degree panoramic camera outside the vehicle body collects the light intensity (second light intensity value) at the rear side of the target vehicle body, and then proceeds to step S506;
[0108] Step S506: When the vehicle body domain controller ZCU receives the anti-glare function soft switch on signal and the low beam on signal at the same time, the target vehicle is not in reverse gear and the second light intensity value is set, the anti-glare on instruction enters the pre-operation state and enters step S507;
[0109] Step S507: The body domain controller ZCU determines the size of the first light intensity value and the second light intensity value through an algorithm. When the first light intensity value ≤ the second light intensity value, the body domain controller ZCU triggers the MCU chip to enter the anti-glare algorithm standby state and enters step S508; when the first light intensity value > the second light intensity value, the body domain controller ZCU does not trigger any instructions, and the running instructions remain in a continuous state.
[0110] Step S508: the MCU chip anti-glare algorithm runs, the application layer software is activated, and the application layer software identifies and obtains the anti-glare algorithm software serial number;
[0111] Step S509: the application layer software simultaneously identifies and obtains the VIN serial number of the vehicle body, and generates the current key serial number through the VIN serial number of the vehicle body and the anti-glare algorithm;
[0112] Step S510: The application layer software automatically compares the anti-glare algorithm software serial number with the currently generated key serial number to see if they are consistent. If they are consistent, the process goes to step S511; if they are inconsistent, the process goes to step S512;
[0113] Step S511: Generate a license serial number, continue to run the anti-glare instruction, and enter step S513;
[0114] Step S512: Automatically clean up the discarded serial numbers and continue with the previous instruction.
[0115] Step S513: Bind the application software to the license serial number, and proceed to step S514;
[0116] Step S514: the license serial number is saved in the storage medium of the vehicle body domain controller ZCU, the anti-glare operation command signal is transmitted to the front door module controller PDM, the front door module enters the pre-operation state, and the process proceeds to step S515;
[0117] Step S515: the front door module controller drives the output voltage to the interior rearview mirror, and the interior rearview mirror enters the anti-glare pre-operation state, and then proceeds to step S516;
[0118] Step S516: Under the action of voltage, the electrochromic electrolyte in the interior rearview mirror undergoes a reversible reduction reaction, and the anti-glare function is achieved through the change of reflectivity.
[0119] like Figure 6 As shown, an embodiment of the present invention provides a vehicle interior rearview mirror control device 600, comprising:
[0120] An acquisition unit 610 is used to acquire the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle in real time to obtain a first light intensity value and a second light intensity value;
[0121] A determination unit 620, configured to determine a target voltage value according to the first light intensity value and the second light intensity value;
[0122] The control unit 630 is used to control the interior rearview mirror according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0123] Optionally, the determination unit is also used to determine the target voltage value based on the first light intensity value and the second light intensity value in the following manner: when the second light intensity value is greater than or equal to the first light intensity value, the target voltage value is determined based on a first difference between the second light intensity value and the first light intensity value; when the second light intensity value is less than the first light intensity value, the target voltage value is determined to be a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0124] Optionally, the determination unit is also used to determine the target voltage value according to a first difference between the second light intensity value and the first light intensity value in the following manner when the second light intensity value is greater than or equal to the first light intensity value: when the first difference is greater than a first preset threshold, determine the target voltage value as a second voltage threshold, wherein the second voltage threshold is the maximum flow voltage of the color-changing electrolyte in the interior rearview mirror; when the first difference is less than or equal to the first preset threshold, determine the target voltage value according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference.
[0125] Optionally, the determination unit is also used to determine the target voltage value according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference in the following manner when the first difference is less than or equal to the first preset threshold: determine the difference between the second voltage threshold and the first voltage threshold to obtain a second difference; determine the ratio of the first difference and the first preset threshold to obtain a first ratio; determine the target voltage value according to the first ratio and the second difference.
[0126] Optionally, the device is also used to generate a low beam turn-on signal when the first light intensity is less than or equal to a second preset threshold before determining the target voltage value based on the first light intensity value and the second light intensity value; in response to the low beam turn-on signal, turn on the low beam through the vehicle light controller and enter an anti-glare state.
[0127] Optionally, the control unit is also used to control the interior rearview mirror according to the target voltage value in the following manner: obtaining the vehicle identification serial number stored on the body end of the target vehicle, and generating a key serial number based on the vehicle identification serial number and the target algorithm; obtaining the algorithm software serial number stored in the application layer software; and when the key serial number is consistent with the algorithm software serial number, applying a voltage of the target voltage value to the interior rearview mirror to cause a reversible reduction reaction of the color-changing electrolyte in the interior rearview mirror.
[0128] Optionally, the device is also used to detect the driving state of the target vehicle; when the driving state is a reversing state, the target voltage value is determined as a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
[0129] like Figure 7 As shown, an electronic device 700 provided by an embodiment of the present invention includes a memory 710 and a processor 720; the memory 710 is used to store a computer program; the processor 720 is used to implement the vehicle communication system as described above when executing the computer program.
[0130] In other words, an electronic device 700 includes a memory 710 and a processor 720 coupled to the memory 710; the memory 710 is configured to store a computer program; and the processor 720 is configured to perform the following operations when executing the computer program:
[0131] Acquire the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle in real time to obtain a first light intensity value and a second light intensity value;
[0132] Determine a target voltage value according to the first light intensity value and the second light intensity value;
[0133] The interior rearview mirror is controlled according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0134] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for controlling an interior rearview mirror is implemented.
[0135] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:
[0136] Acquire the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle in real time to obtain a first light intensity value and a second light intensity value;
[0137] Determine a target voltage value according to the first light intensity value and the second light intensity value;
[0138] The interior rearview mirror is controlled according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
[0139] An electronic device 700 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 700 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 700 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described herein and / or required.
[0140] The electronic device 700 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0141] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0142] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for controlling an interior rearview mirror, characterized in that: include: Acquire the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle in real time to obtain a first light intensity value and a second light intensity value; Determine a target voltage value according to the first light intensity value and the second light intensity value; The interior rearview mirror is controlled according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
2. The method for controlling an interior rearview mirror according to claim 1, characterized in that: The determining the target voltage value according to the first light intensity value and the second light intensity value includes: When the second light intensity value is greater than or equal to the first light intensity value, determining the target voltage value according to a first difference between the second light intensity value and the first light intensity value; When the second light intensity value is less than the first light intensity value, the target voltage value is determined to be a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is the minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
3. The method for controlling an interior rearview mirror according to claim 2, characterized in that: In a case where the second illumination intensity value is greater than or equal to the first illumination intensity value, determining the target voltage value according to a first difference between the second illumination intensity value and the first illumination intensity value includes: In the case where the first difference is greater than a first preset threshold, determining the target voltage value to be a second voltage threshold, wherein the second voltage threshold is a maximum flow voltage of the color-changing electrolyte in the interior rearview mirror; When the first difference is less than or equal to the first preset threshold, the target voltage value is determined according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference.
4. The method for controlling an interior rearview mirror according to claim 3, characterized in that: When the first difference is less than or equal to the first preset threshold, determining the target voltage value according to the first preset threshold, the first voltage threshold, the second voltage threshold and the first difference includes: Determine a difference between the second voltage threshold and the first voltage threshold to obtain a second difference; Determine a ratio of the first difference and the first preset threshold to obtain a first ratio; The target voltage value is determined according to the first ratio and the second difference.
5. The method for controlling an interior rearview mirror according to claim 1, characterized in that: Before determining the target voltage value according to the first light intensity value and the second light intensity value, the vehicle interior rearview mirror control method further includes: When the first light intensity is less than or equal to a second preset threshold, generating a low beam turn-on signal; In response to the low beam on signal, the low beam is turned on by the vehicle light controller and enters an anti-glare state.
6. The method for controlling an interior rearview mirror according to claim 1, characterized in that: The controlling the interior rearview mirror according to the target voltage value comprises: Obtaining a vehicle identification serial number stored on the body of the target vehicle, and generating a key serial number according to the vehicle identification serial number and a target algorithm; Obtain the algorithm software serial number stored in the application layer software; When the key serial number is consistent with the algorithm software serial number, a voltage having a magnitude of the target voltage value is applied to the interior rearview mirror so as to cause a reversible reduction reaction of the color-changing electrolyte in the interior rearview mirror.
7. The method for controlling an interior rearview mirror according to claim 1, characterized in that: The vehicle interior rearview mirror control method further includes: Detecting the driving state of the target vehicle; When the driving state is a reversing state, the target voltage value is determined as a preset value, wherein the preset value is less than a first voltage threshold, and the first voltage threshold is a minimum flow voltage of the color-changing electrolyte in the interior rearview mirror.
8. A vehicle interior rearview mirror control device, characterized in that: include: An acquisition unit, used to acquire in real time the light intensity at the front side of the target vehicle and the light intensity at the rear side of the target vehicle to obtain a first light intensity value and a second light intensity value; a determining unit, configured to determine a target voltage value according to the first light intensity value and the second light intensity value; A control unit is used to control the interior rearview mirror according to the target voltage value to adjust the reflectivity of the interior rearview mirror.
9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the vehicle interior rearview mirror control method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the method for controlling the interior rearview mirror of any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Control method and control system of anti-dazzling rearview mirror
CN112776716A
Vehicle and method for controlling anti-dazzling rearview mirror
CN113459953A
Inner rear-view mirror control method, device and system, vehicle and electronic equipment
CN115805868A
Reflectivity adjusting method and device, vehicle and computer readable storage medium
CN117922431A
Vehicle-mounted anti-dazzling rearview system and vehicle
CN221090665U