Rearview mirror control method and device, vehicle and storage medium
By obtaining a glare light signal on the rearview mirror and adjusting the reflectivity, the problem of reflex light in the dim environment interfere with driving in the dim environment, and achieve higher driving safety and comfort.
Patent Information
- Application Number
- CN202310939575.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
On dim roads, the strong light reflected by the rearview mirror will interfere with the driver's field of view, resulting in discomfort. The existing automatic anti-glare rearview mirror has a single function and is less intelligent.
By obtaining a glare light signal on the rearview mirror, the target voltage is determined, and the reflectivity of the rearview mirror is adjusted according to the target voltage to adapt to different light environments.
In different driving environments, automatically adjust the rearview mirror reflectivity to ensure that the reflex light is comfortable to the driver and improve driving safety and comfort.
Smart Images

Figure CN119370018A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a control method, device, vehicle and storage medium for a rearview mirror. Background Art
[0002] When a vehicle is driving on a dark road, if the vehicle behind turns on the high beam, the strong light from the rear will be reflected into the driver's eyes through the inside and outside rearview mirrors, causing discomfort and loss of vision for the driver, interfering with the driver's normal driving. In order to improve driving safety, automatic anti-glare inside and outside rearview mirrors are usually used. The anti-glare function of the rearview mirror controlled by the whole vehicle can only realize the anti-glare function on and off, with a single function and low intelligence. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a control method, device, vehicle and storage medium for a rearview mirror.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for controlling a rearview mirror is provided, the method comprising:
[0005] Acquire a glare intensity signal corresponding to a rearview mirror of the vehicle, wherein the glare intensity signal is used to characterize the light intensity of the light irradiated on the rearview mirror;
[0006] Determining a target voltage according to the glare light intensity signal;
[0007] The rearview mirror is controlled according to the target voltage to adjust the reflectivity of the rearview mirror.
[0008] Optionally, determining the target voltage according to the glare intensity signal includes:
[0009] Determining a signal noise of the glare light intensity signal, wherein the signal noise of the glare light intensity signal is used to indicate a signal quality of the glare light intensity signal;
[0010] The target voltage is determined according to the glare intensity signal and the signal noise.
[0011] Optionally, determining the target voltage according to the glare intensity signal and the signal noise includes:
[0012] When the signal noise of the glare light intensity signal is less than a preset noise threshold, the target voltage corresponding to the glare light intensity signal is determined according to a first preset relationship, wherein the first preset relationship includes a corresponding relationship between the light intensity and the voltage.
[0013] Optionally, the first preset relationship is determined in the following manner:
[0014] Acquire a plurality of sample light intensities and a sample voltage corresponding to each of the sample light intensities, wherein when the sample voltage corresponding to the sample light intensities is applied to the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than a first preset light intensity threshold;
[0015] The first preset relationship is obtained by fitting the multiple sample light intensities and the multiple sample voltages.
[0016] Optionally, determining the target voltage according to the glare intensity signal and the signal noise further includes:
[0017] When the signal noise of the glare light intensity signal is greater than or equal to the preset noise threshold, determining the target reflectivity interval corresponding to the glare light intensity signal according to a second preset relationship, wherein the second preset relationship includes a corresponding relationship between light intensity and reflectivity interval;
[0018] The target voltage corresponding to the target reflectivity interval is determined according to a third preset relationship, where the third preset relationship includes a corresponding relationship between the reflectivity interval and the voltage.
[0019] Optionally, obtaining a glare intensity signal corresponding to a rearview mirror of the vehicle includes:
[0020] Acquire a target image by using a camera disposed on the rearview mirror;
[0021] The glare intensity signal is determined according to the brightness information of the target image.
[0022] Optionally, the method further comprises:
[0023] Acquiring an ambient light intensity signal, wherein the ambient light intensity signal indicates the light intensity of the environment in which the vehicle is located;
[0024] When the light intensity indicated by the ambient light intensity signal is less than a second preset light intensity threshold, turning on the anti-glare function;
[0025] The step of obtaining the glare intensity signal corresponding to the rearview mirror of the vehicle includes:
[0026] When the anti-glare function is turned on, the glare intensity signal is obtained.
[0027] According to a second aspect of an embodiment of the present disclosure, a control device for a rearview mirror is provided, the device comprising:
[0028] A first acquisition module is configured to acquire a glare intensity signal corresponding to a rearview mirror of the vehicle, wherein the glare intensity signal is used to represent the light intensity of the light irradiated on the rearview mirror;
[0029] a determination module, configured to determine a target voltage according to the glare intensity signal;
[0030] The control module is configured to control the rearview mirror according to the target voltage to adjust the reflectivity of the rearview mirror.
[0031] Optionally, the determining module is configured to:
[0032] Determining a signal noise of the glare light intensity signal, wherein the signal noise of the glare light intensity signal is used to indicate a signal quality of the glare light intensity signal;
[0033] The target voltage is determined according to the glare intensity signal and the signal noise.
[0034] Optionally, the determining module is configured to:
[0035] When the signal noise of the glare light intensity signal is less than a preset noise threshold, the target voltage corresponding to the glare light intensity signal is determined according to a first preset relationship, wherein the first preset relationship includes a corresponding relationship between the light intensity and the voltage.
[0036] Optionally, the first preset relationship is determined in the following manner:
[0037] Acquire a plurality of sample light intensities and a sample voltage corresponding to each of the sample light intensities, wherein when the sample voltage corresponding to the sample light intensities is applied to the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than a first preset light intensity threshold;
[0038] The first preset relationship is obtained by fitting the multiple sample light intensities and the multiple sample voltages.
[0039] Optionally, the determining module is configured to:
[0040] When the signal noise of the glare light intensity signal is greater than or equal to the preset noise threshold, determining the target reflectivity interval corresponding to the glare light intensity signal according to a second preset relationship, wherein the second preset relationship includes a corresponding relationship between light intensity and reflectivity interval;
[0041] The target voltage corresponding to the target reflectivity interval is determined according to a third preset relationship, where the third preset relationship includes a corresponding relationship between the reflectivity interval and the voltage.
[0042] Optionally, the first acquisition module includes:
[0043] An acquisition submodule is configured to acquire a target image through a camera disposed on the rearview mirror;
[0044] The determination submodule is configured to determine the glare intensity signal according to the brightness information of the target image.
[0045] Optionally, the device further comprises:
[0046] A second acquisition module is configured to acquire an ambient light intensity signal, wherein the ambient light intensity signal indicates the light intensity of the environment in which the vehicle is located;
[0047] An activation module is configured to activate the anti-glare function when the light intensity indicated by the ambient light intensity signal is less than a second preset light intensity threshold;
[0048] The first acquisition module is configured as follows:
[0049] When the anti-glare function is turned on, the glare intensity signal is obtained.
[0050] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising:
[0051] processor;
[0052] a memory for storing processor-executable instructions;
[0053] The processor is configured to execute the steps of the method described in the first aspect of the present disclosure.
[0054] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the rearview mirror control method provided by the first aspect of the present disclosure are implemented.
[0055] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0056] The present disclosure first obtains a glare intensity signal corresponding to the rearview mirror of the vehicle, wherein the glare intensity signal is used to characterize the light intensity of the light irradiated on the rearview mirror, and then determines a target voltage according to the glare intensity signal, and controls the rearview mirror according to the target voltage, thereby adjusting the reflectivity of the rearview mirror. The present disclosure automatically adjusts the reflectivity of the rearview mirror under different glare light intensities, thereby ensuring that the reflected light of the rearview mirror is more comfortable for the human eye in different driving environments, and can improve the safety and comfort of vehicle driving.
[0057] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0059] Figure 1 is a flow chart of a method for controlling a rearview mirror according to an exemplary embodiment;
[0060] Figure 2 is a flow chart of another method for controlling a rearview mirror according to an exemplary embodiment;
[0061] Figure 3 is a flow chart of another method for controlling a rearview mirror according to an exemplary embodiment;
[0062] Figure 4 is a block diagram of a control device for a rearview mirror according to an exemplary embodiment;
[0063] Figure 5 is a block diagram of another control device for a rearview mirror according to an exemplary embodiment;
[0064] Figure 6 is a block diagram of another control device for a rearview mirror according to an exemplary embodiment;
[0065] Figure 7 It is a schematic diagram of a functional block diagram of a vehicle showing an exemplary embodiment. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0067] Before introducing the control method, device, vehicle and storage medium of the rearview mirror shown in the embodiments of the present disclosure, the application scenarios of the embodiments of the present disclosure are first introduced.
[0068] The application scenario of the present disclosure is that when a vehicle is driving in a dark environment such as at night, dusk, on a cloudy day, in a tunnel, or in a garage, if the rear vehicle turns on the high beam, the strong light from the rear side will be reflected into the driver's eyes through the inside and outside rearview mirrors, causing discomfort and loss of vision to the driver, interfering with the driver's normal driving. The executor of the present disclosure may be the vehicle's whole vehicle central computing domain controller VCCD, which performs anti-glare control of the vehicle's rearview mirror through the whole vehicle VCCD, and uses the whole vehicle light sensor and / or rearview camera to obtain the ambient light intensity around the vehicle and the glare intensity of the rearview mirror. There is no need to install an ambient light sensor, a glare sensor, and a circuit board in the rearview mirror, which can reduce the weight, volume, and cost of the rearview mirror. The rearview mirror in the present disclosure may include an interior rearview mirror and / or an exterior rearview mirror. When the rearview mirror includes an interior rearview mirror and an exterior rearview mirror, the interior rearview mirror and the exterior rearview mirror may be independently controlled.
[0069] Figure 1 is a flow chart of a method for controlling a rearview mirror according to an exemplary embodiment. Figure 1 As shown, the method may include the following steps.
[0070] In step 101, a glare intensity signal corresponding to a rearview mirror of a vehicle is obtained, where the glare intensity signal is used to characterize the light intensity of light projected on the rearview mirror.
[0071] For example, a target image can be captured by a camera installed on a rearview mirror, and then the brightness information of the target image can be converted into a glare light intensity signal through formula conversion, wherein the camera can be a camera installed on an interior rearview mirror, and the glare light intensity signal can be used to characterize the light intensity of the light projected on the rearview mirror. In this way, the glare light intensity is obtained by using the original camera in the rearview mirror, and there is no need to install an additional glare sensor on the rearview mirror, which can reduce the thickness of the lens of the rearview mirror and make the appearance more refined.
[0072] In step 102, a target voltage is determined according to the glare intensity signal.
[0073] In step 103 , the rearview mirror is controlled according to the target voltage to adjust the reflectivity of the rearview mirror.
[0074] For example, applying different voltages at both ends of the rearview mirror will cause the rearview mirror lens to change color, thereby changing the reflectivity of the rearview mirror. The correspondence between glare illumination intensity and voltage can be established in advance. For different glare illumination intensities, the target voltage corresponding to the glare illumination intensity can be determined according to the correspondence, and the pressure applied to both ends of the rearview mirror can be adjusted to the target voltage to adjust the reflectivity of the rearview mirror. In this way, under different glare illumination intensities, the illumination intensity of the glare projected on the rearview mirror after reflection is more comfortable for the human eye, avoiding the impact of glare on the driver, and improving the safety and comfort of vehicle driving.
[0075] In some embodiments, the target voltage corresponding to the glare light intensity signal can be determined by stepless dimming. First, multiple sets of sample data can be obtained in advance through actual measurement, and each set of sample data can include a sample light intensity and a sample voltage corresponding to the sample light intensity, wherein when a sample voltage corresponding to the sample light intensity is applied to both ends of the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than the first preset light intensity threshold, that is, the sample voltage can ensure that the light corresponding to the sample light intensity is more comfortable for the human eye after being reflected by the rearview mirror. Based on the discrete points corresponding to the multiple sets of sample data, a linear or nonlinear interpolation algorithm can be used to obtain a variation function of the glare light intensity signal-voltage signal, and a voltage signal corresponding to the glare light intensity signal can be output according to the variation function and returned to the controller to control the color change of the rearview mirror.
[0076] In other embodiments, the target voltage corresponding to the glare light intensity signal can be determined by a multi-level dimming method. First, multiple light intensity intervals can be pre-defined, and a preset correspondence relationship between each light intensity interval and a voltage value can be established, wherein the number of light intensity intervals can be set according to actual conditions, and each light intensity interval can correspond to a voltage value. After obtaining the glare light intensity indicated by the glare light intensity signal, the target light intensity interval in which the glare light intensity is located can be determined first, and then the voltage value corresponding to the target light intensity interval can be searched in the preset correspondence relationship, and the voltage value is used as the target voltage.
[0077] It should be noted that the dimming method to be used can be determined based on the computing power of the on-board chip and the quality of the glare light intensity signal. If the computing power of the on-board chip is low, a multi-level dimming method can be used to determine the target voltage corresponding to the glare light intensity signal. If the computing power of the on-board chip is high and the quality of the glare light intensity signal is good, a stepless dimming method can be used to determine the target voltage corresponding to the glare light intensity signal. If the computing power of the on-board chip is high and the quality of the glare light intensity signal is poor, a multi-level dimming method can be used to determine the target voltage corresponding to the glare light intensity signal.
[0078] In summary, the present disclosure first obtains a glare light intensity signal corresponding to the rearview mirror of the vehicle, wherein the glare light intensity signal is used to characterize the light intensity of the light projected on the rearview mirror, and then determines a target voltage according to the glare light intensity signal, and controls the rearview mirror according to the target voltage, thereby adjusting the reflectivity of the rearview mirror. The present disclosure automatically adjusts the reflectivity of the rearview mirror under different glare light intensities, thereby ensuring that the reflected light of the rearview mirror is more comfortable for the human eye in different driving environments, and can improve the safety and comfort of vehicle driving.
[0079] Figure 2 is a flow chart of another method for controlling a rearview mirror according to an exemplary embodiment. Figure 2 As shown, step 102 can be implemented in the following manner:
[0080] In step 1021, the signal noise of the glare light intensity signal is determined, and the signal noise of the glare light intensity signal is used to indicate the signal quality of the glare light intensity signal.
[0081] In step 1022, a target voltage is determined according to the glare intensity signal and the signal noise.
[0082] For example, the signal noise of the glare light intensity signal can be used to indicate the signal quality of the glare light intensity signal. The smaller the signal noise of the glare light intensity signal, the better the signal quality of the glare light intensity signal. The larger the signal noise of the glare light intensity signal, the worse the signal quality of the glare light intensity signal. When the signal noise of the glare light intensity signal is small, the glare light intensity signals in different scenes have obvious distinction. When the signal noise of the glare light intensity signal is large, the glare light intensity signal is only clearly distinguished in individual scenes. Therefore, the signal noise of the glare light intensity signal corresponding to the rearview mirror of the vehicle can be obtained, and the appropriate adjustment method can be determined according to the signal noise, and the target voltage corresponding to the glare light intensity signal can be determined according to the adjustment method.
[0083] According to an embodiment shown in the present disclosure, when the signal noise of the glare light intensity signal is less than a preset noise threshold, a stepless dimming scheme can be adopted to determine the target voltage corresponding to the glare light intensity signal according to a first preset relationship, wherein the first preset relationship may include a corresponding relationship between light intensity and voltage.
[0084] The first preset relationship can be determined in the following manner:
[0085] Step A, obtaining a plurality of sample light intensities and a sample voltage corresponding to each sample light intensity, wherein when the sample voltage corresponding to the sample light intensity is applied to the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than a first preset light intensity threshold.
[0086] Step B: obtaining a first preset relationship by fitting a plurality of sample light intensities and a plurality of sample voltages.
[0087] For example, actual measurements can be conducted based on the photochromic lenses of the internal and external rearview mirrors. Applying different voltages at both ends of the lenses will cause the rearview mirror lenses to change color. The light intensity projected onto the mirror surface under different glares is measured respectively. A varying voltage is applied according to the light intensity. The lenses will produce different color changing effects. The light intensity on the mirror surface, the value of the glare sensor, and the corresponding voltage value under the appropriate color changing effect can be recorded respectively. Among them, the light intensity on the mirror surface can be understood as the light intensity after being reflected by the rearview mirror lens, the value of the glare sensor can characterize the light intensity projected on the rearview mirror surface, and the voltage value is the voltage applied to both ends of the rearview mirror lens. The appropriate color changing effect can be understood as the light reflected into the human eye by the rearview mirror surface under the color changing effect is more comfortable for the human eye. For example, when the light intensity on the mirror surface is less than the first preset light intensity threshold, it can be considered that the current mirror surface has achieved an appropriate color changing effect.
[0088] In some embodiments, a plurality of sample illumination intensities measured and a sample voltage corresponding to each sample illumination intensity can be obtained, and a linear or nonlinear interpolation algorithm can be used to obtain a variation function of glare illumination intensity-voltage, and the variation function can be used as a first preset relationship. After obtaining the glare light intensity signal, a voltage signal corresponding to the glare light intensity can be output through the variation function and returned to the controller to control the color change of the rearview mirror. In this way, when the quality of the glare light intensity signal is good, the reflectivity of the rearview mirror can be continuously adjusted under different glare light intensities, thereby more accurately controlling the color change effect of the rearview mirror, and ensuring that the light reflected by the rearview mirror is within the range comfortable to the human eye under different glare light intensities, thereby improving driving safety.
[0089] According to another embodiment shown in the present disclosure, when the signal noise of the glare light intensity signal is greater than or equal to the preset noise threshold, the target reflectivity interval corresponding to the glare light intensity signal can be determined according to the second preset relationship, wherein the second preset relationship includes the corresponding relationship between the light intensity and the reflectivity. The target voltage corresponding to the target reflectivity interval is determined according to the third preset relationship, wherein the third preset relationship includes the corresponding relationship between the reflectivity interval and the voltage.
[0090] For example, when the signal quality of the glare light intensity signal is poor, a multi-level dimming solution can be adopted. First, the target reflectivity interval corresponding to the glare light intensity signal is determined according to the second preset relationship, and then the target voltage corresponding to the target reflectivity interval is determined according to the third preset relationship. When the number of target reflectivity intervals is large enough, due to the delay in the color change of the rearview mirror, continuous stepless dimming can be approximately simulated.
[0091] In some embodiments, the corresponding relationship between glare illumination intensity and reflectivity can be established as the second preset relationship by measuring and recording the light intensity on the mirror surface, the value of the glare sensor, and the corresponding voltage value under the appropriate color change effect. In the second preset relationship, the reflectivity of the rearview mirror corresponding to the glare illumination intensity can ensure that the glare is comfortable to the human eye after being reflected by the rearview mirror lens. In addition, multiple different reflectivity intervals can be pre-determined based on the reflectivity-voltage change curve of the rearview mirror color-changing glass by calibration. For a specific reflectivity interval, a fixed voltage value is pre-set to obtain a third preset relationship, that is, in the third preset relationship, multiple reflectivities in each reflectivity interval correspond to the same voltage value.
[0092] After obtaining the glare light intensity signal, the reflectivity corresponding to the glare light intensity can be searched in the second preset relationship according to the glare light intensity indicated by the glare light intensity signal, and the target reflectivity interval of the reflectivity can be determined, and then the target voltage corresponding to the target reflectivity interval can be searched in the third preset relationship.
[0093] Figure 3 is a flow chart of another method for controlling a rearview mirror according to an exemplary embodiment. Figure 3 As shown, the method also includes:
[0094] In step 104, an ambient light intensity signal is acquired, where the ambient light intensity signal indicates the light intensity of the environment in which the vehicle is located.
[0095] In step 105, when the light intensity indicated by the ambient light intensity signal is less than a second preset light intensity threshold, the anti-glare function is turned on.
[0096] Accordingly, one implementation of step 101 may be:
[0097] When the anti-glare function is turned on, the glare intensity signal corresponding to the vehicle's rearview mirror is obtained.
[0098] For example, an ambient light intensity signal of the vehicle's environment can be obtained through an ambient light sensor, wherein the ambient light sensor can be an independent sensor installed on the vehicle body, or a five-in-one sunlight and rainfall sensor, etc., which is not specifically limited in the present disclosure. By using the original ambient light sensor of the vehicle, there is no need to install an additional ambient light sensor on the rearview mirror, which can reduce the volume, weight and cost of the rearview mirror. If the light intensity indicated by the ambient light intensity signal is less than the second preset light intensity threshold, it means that the current ambient light is weak, and the glare reflected on the rearview mirror entering the human eye will cause discomfort, so the anti-glare function can be turned on. When the anti-glare function is turned on, steps 101 to 103 can be executed.
[0099] In summary, the present disclosure first obtains a glare light intensity signal corresponding to the rearview mirror of the vehicle, wherein the glare light intensity signal is used to characterize the light intensity of the light projected on the rearview mirror, and then determines a target voltage according to the glare light intensity signal, and controls the rearview mirror according to the target voltage, thereby adjusting the reflectivity of the rearview mirror. The present disclosure automatically adjusts the reflectivity of the rearview mirror under different glare light intensities, thereby ensuring that the reflected light of the rearview mirror is more comfortable for the human eye in different driving environments, and can improve the safety and comfort of vehicle driving.
[0100] Figure 4 is a block diagram of a control device for a rearview mirror according to an exemplary embodiment. Figure 4 As shown, the device 200 includes:
[0101] The first acquisition module 201 is configured to acquire a glare intensity signal corresponding to a rearview mirror of the vehicle, where the glare intensity signal is used to represent the intensity of light projected on the rearview mirror.
[0102] The determination module 202 is configured to determine a target voltage according to the glare intensity signal.
[0103] The control module 203 is configured to control the rearview mirror according to the target voltage to adjust the reflectivity of the rearview mirror.
[0104] In some embodiments, the determination module 202 is configured to:
[0105] The signal noise of the glare light intensity signal is determined, and the signal noise of the glare light intensity signal is used to indicate the signal quality of the glare light intensity signal.
[0106] The target voltage is determined based on the glare intensity signal and signal noise.
[0107] In some other embodiments, the determination module 202 is configured to:
[0108] When the signal noise of the glare light intensity signal is less than a preset noise threshold, a target voltage corresponding to the glare light intensity signal is determined according to a first preset relationship, where the first preset relationship includes a corresponding relationship between light intensity and the target voltage.
[0109] In some other embodiments, the first preset relationship is determined by:
[0110] A plurality of sample light intensities and a sample voltage corresponding to each sample light intensity are obtained, wherein when the sample voltage corresponding to the sample light intensity is applied to the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than a first preset light intensity threshold.
[0111] A first preset relationship is obtained by fitting the plurality of sample light intensities and the plurality of sample voltages.
[0112] In some other embodiments, the determination module 202 is configured to:
[0113] When the signal noise of the glare light intensity signal is greater than or equal to the preset noise threshold, the target reflectivity interval corresponding to the glare light intensity signal is determined according to the second preset relationship, and the second preset relationship includes the correspondence between the light intensity and the reflectivity interval.
[0114] The target voltage corresponding to the target reflectivity interval is determined according to a third preset relationship, where the third preset relationship includes a corresponding relationship between the reflectivity interval and the voltage.
[0115] Figure 5 is a block diagram of another control device for a rearview mirror according to an exemplary embodiment. Figure 5 As shown, the first acquisition module 201 includes:
[0116] The acquisition submodule 2011 is configured to acquire a target image through a camera disposed on the rearview mirror.
[0117] The determination submodule 2012 is configured to determine the glare intensity signal according to the brightness information of the target image.
[0118] Figure 6 is a block diagram of another control device for a rearview mirror according to an exemplary embodiment. Figure 6 As shown, the device 200 also includes:
[0119] The second acquisition module 204 is configured to acquire an ambient light intensity signal, where the ambient light intensity signal indicates the light intensity of the environment in which the vehicle is located.
[0120] The activation module 205 is configured to activate the anti-glare function when the light intensity indicated by the ambient light intensity signal is less than a second preset light intensity threshold.
[0121] Accordingly, the first acquisition module 201 is configured as follows:
[0122] When the anti-glare function is turned on, the glare intensity signal corresponding to the vehicle's rearview mirror is obtained.
[0123] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0124] In summary, the present disclosure first obtains a glare light intensity signal corresponding to the rearview mirror of the vehicle, wherein the glare light intensity signal is used to characterize the light intensity of the light projected on the rearview mirror, and then determines a target voltage according to the glare light intensity signal, and controls the rearview mirror according to the target voltage, thereby adjusting the reflectivity of the rearview mirror. The present disclosure automatically adjusts the reflectivity of the rearview mirror under different glare light intensities, thereby ensuring that the reflected light of the rearview mirror is more comfortable for the human eye in different driving environments, and can improve the safety and comfort of vehicle driving.
[0125] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the rearview mirror control method provided by the present disclosure are implemented.
[0126] Figure 7 600 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 600 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 600 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
[0127] Reference Figure 6 , the vehicle 600 may include various subsystems, for example, an infotainment system 610, a perception system 620, a decision control system 630, a drive system 640, and a computing platform 650. The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 600 may be interconnected by wire or wireless means.
[0128] In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, and a navigation system, among others.
[0129] The perception system 620 may include several sensors for sensing information about the environment around the vehicle 600. For example, the perception system 620 may include a global positioning system (the global positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera.
[0130] The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
[0131] The drive system 640 may include components that provide powered motion for the vehicle 600. In one embodiment, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. The engine is capable of converting energy provided by the energy source into mechanical energy.
[0132] Some or all functions of the vehicle 600 are controlled by a computing platform 650. The computing platform 650 may include at least one processor 651 and a memory 652, and the processor 651 may execute instructions 653 stored in the memory 652.
[0133] The processor 651 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.
[0134] The memory 652 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0135] In addition to the instructions 653 , the memory 652 may also store data, such as road maps, route information, and data such as the location, direction, and speed of the vehicle. The data stored in the memory 652 may be used by the computing platform 650 .
[0136] In the embodiment of the present disclosure, the processor 651 can execute instruction 653 to complete all or part of the steps of the above-mentioned rearview mirror control method.
[0137] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned rearview mirror control method when executed by the programmable device.
[0138] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0139] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for controlling a rearview mirror, characterized in that: The method comprises: Acquire a glare intensity signal corresponding to a rearview mirror of the vehicle, wherein the glare intensity signal is used to characterize the light intensity of the light irradiated on the rearview mirror; Determining a target voltage according to the glare light intensity signal; The rearview mirror is controlled according to the target voltage to adjust the reflectivity of the rearview mirror.
2. The method according to claim 1, characterized in that Determining the target voltage according to the glare intensity signal comprises: Determining a signal noise of the glare light intensity signal, wherein the signal noise of the glare light intensity signal is used to indicate a signal quality of the glare light intensity signal; The target voltage is determined according to the glare intensity signal and the signal noise.
3. The method according to claim 2, characterized in that Determining the target voltage according to the glare intensity signal and the signal noise comprises: When the signal noise of the glare light intensity signal is less than a preset noise threshold, the target voltage corresponding to the glare light intensity signal is determined according to a first preset relationship, wherein the first preset relationship includes a corresponding relationship between the light intensity and the voltage.
4. The method according to claim 3, characterized in that: The first preset relationship is determined in the following manner: Acquire a plurality of sample light intensities and a sample voltage corresponding to each of the sample light intensities, wherein when the sample voltage corresponding to the sample light intensities is applied to the rearview mirror, the light intensity of the light reflected by the rearview mirror is less than a first preset light intensity threshold; The first preset relationship is obtained by fitting the multiple sample light intensities and the multiple sample voltages.
5. The method according to claim 3, characterized in that: The determining the target voltage according to the glare intensity signal and the signal noise further comprises: When the signal noise of the glare light intensity signal is greater than or equal to the preset noise threshold, determining the target reflectivity interval corresponding to the glare light intensity signal according to a second preset relationship, wherein the second preset relationship includes a corresponding relationship between light intensity and reflectivity interval; The target voltage corresponding to the target reflectivity interval is determined according to a third preset relationship, where the third preset relationship includes a corresponding relationship between the reflectivity interval and the voltage.
6. The method according to claim 1, characterized in that The step of obtaining the glare intensity signal corresponding to the rearview mirror of the vehicle includes: Acquire a target image by using a camera disposed on the rearview mirror; The glare intensity signal is determined according to the brightness information of the target image.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Acquiring an ambient light intensity signal, wherein the ambient light intensity signal indicates the light intensity of the environment in which the vehicle is located; When the light intensity indicated by the ambient light intensity signal is less than a second preset light intensity threshold, turning on the anti-glare function; The step of obtaining the glare intensity signal corresponding to the rearview mirror of the vehicle includes: When the anti-glare function is turned on, the glare intensity signal is obtained.
8. A control device for a rearview mirror, characterized in that: The device comprises: A first acquisition module is configured to acquire a glare intensity signal corresponding to a rearview mirror of the vehicle, wherein the glare intensity signal is used to represent the light intensity of the light irradiated on the rearview mirror; a determination module, configured to determine a target voltage according to the glare intensity signal; The control module is configured to control the rearview mirror according to the target voltage to adjust the reflectivity of the rearview mirror.
9. A vehicle, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.