A light switching method, apparatus and system

By installing light intensity and slope detection sensors on vehicles, automatic headlight switching is achieved, solving the problem of drivers not being able to switch lights in time, improving the timeliness and accuracy of headlight switching, and reducing traffic accidents.

CN115315046BActive Publication Date: 2026-04-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2022-06-30
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, vehicle headlight switching relies on manual operation by the driver, which can lead to untimely switching, impaired driver vision, and a high risk of traffic accidents. Furthermore, existing smart devices are expensive, difficult to install, susceptible to weather conditions, and have low sensitivity.

Method used

By installing light intensity and slope detection sensors on the vehicle, combined with automatic mode, the system automatically switches between high and low beams, adjusting the lights in real time based on light intensity and slope information to ensure that the driver's vision is not affected.

Benefits of technology

It achieves automated and timely light switching, reduces traffic accidents, is highly applicable, unaffected by weather conditions, and has high accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115315046B_ABST
    Figure CN115315046B_ABST
Patent Text Reader

Abstract

The application provides a light switching method, device and system. The light switching method, device and system can automatically switch the light of a vehicle to high beam or low beam and improve driving safety by collecting detection information when the light of the vehicle is in an automatic mode and switching the light of the vehicle based on the detection information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle lighting, and in particular to a lighting switching method, device and system. Background Technology

[0002] When driving at night, drivers typically use high beams to ensure they can see clearly ahead. However, when meeting oncoming traffic or overtaking, they usually switch to low beams to avoid interfering with the other driver. During uphill and downhill driving, as well as when meeting oncoming traffic, the headlights of approaching vehicles and reflected light from the road surface can all impair the driver's vision. If the driver fails to manually switch between high and low beams in time, it can lead to serious traffic accidents. Summary of the Invention

[0003] To address the problems in the aforementioned related technologies, this application proposes a headlight switching method, device, and system. By automatically switching the high and low beams of the vehicle headlights in automatic mode based on monitoring information, the driver's vision is not affected, ensuring safe driving and reducing the occurrence of traffic accidents.

[0004] This application provides a method for switching lights, including:

[0005] Collect detection information when the vehicle's lights are in automatic mode;

[0006] The vehicle's lights are switched based on the detection information.

[0007] In some embodiments, the detection information includes: light intensity, and switching the vehicle's lights based on the detection information includes:

[0008] Compare the light intensity with the set light intensity;

[0009] When the light intensity is greater than the first set light intensity, the vehicle's lights are switched to low beam.

[0010] When the light intensity is less than the second set light intensity, the vehicle's lights are switched to high beams;

[0011] The first set light intensity is greater than or equal to the second set light intensity.

[0012] In some embodiments, the detection information includes: slope angle information, and switching the vehicle's lights based on the detection information includes:

[0013] Based on the slope angle information, determine whether the vehicle is going uphill;

[0014] When the vehicle is going uphill, switch the vehicle's lights to high beam.

[0015] When the vehicle is going downhill, switch the vehicle's lights to low beam.

[0016] In some embodiments, determining whether the vehicle is going uphill based on the slope angle information includes:

[0017] Compare the ramp angle with the set ramp angle;

[0018] When the ramp angle is continuously greater than or equal to the set ramp angle for a period of time, the vehicle is determined to be going uphill.

[0019] The set ramp angle is greater than or equal to 0° and less than 90°.

[0020] In some embodiments, the method further includes:

[0021] Detect the ambient light intensity;

[0022] Based on the ambient light intensity, it is determined whether to enable the automatic mode. Specifically, the automatic mode is enabled when the ambient light intensity is lower than the ambient light intensity threshold.

[0023] This application also provides an electronic device, including: a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it performs any of the light switching methods described above.

[0024] This application also provides a lighting switching device, including:

[0025] The acquisition module is used to collect detection information when the vehicle's lights are in automatic mode;

[0026] The headlight switching module switches the vehicle's headlights based on the detected information.

[0027] This application also provides a lighting switching system, including the electronic device and sensor described above, wherein the sensor is connected to the electronic device.

[0028] The electronic device includes a chip and an A / D conversion module;

[0029] The sensor is used to measure detection information and transmit the detection information to the A / D conversion module;

[0030] The A / D conversion module transmits the detection information to the chip.

[0031] In some embodiments, the sensor includes: a slope detection sensor and / or a light intensity sensor.

[0032] This application also provides a storage medium storing a computer program that can be executed by one or more processors and can be used to implement the light switching method described in any of the above claims.

[0033] This application achieves automated headlight switching by automatically switching between high and low beams of the vehicle in automatic mode based on monitoring information, so as to ensure safe driving without affecting the driver's vision. This improves the timeliness of vehicle headlight switching and can reduce the occurrence of traffic accidents.

[0034] The headlight switching device of this application can be designed and installed after the vehicle leaves the factory, and is not affected by weather conditions. It has strong applicability and high accuracy. Attached Figure Description

[0035] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings.

[0036] Figure 1 This is a flowchart of the light switching method according to an embodiment of this application;

[0037] Figure 2 This is a structural diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0040] If the application documents contain similar descriptions such as "first, second, third", the following explanation shall be added: In the following description, the terms "first, second, third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0042] To address the problems existing in related technologies, this application provides a lighting switching method. This method is applied to an electronic device, which may be a server, mobile terminal, computer, cloud platform, etc. The lighting switching device provided in this application can achieve its functions by having the electronic device's processor call program code, which can be stored in a computer storage medium.

[0043] See Figure 1 , Figure 1 This is a flowchart of a light switching method provided in an embodiment of this application, which includes the following steps:

[0044] Step S101: Collect detection information when the vehicle's lights are in automatic mode.

[0045] Automatic mode is the opposite of manual mode. Manual mode means that the driver determines the next step to be taken based on the current or anticipated vehicle status and then performs the corresponding operation.

[0046] In some embodiments, the vehicle lights are in manual mode, meaning that the driver determines whether to switch to high beams or low beams based on the current or anticipated ambient light intensity or other vehicle operating information, and performs the operation of switching the lights to high beams or low beams.

[0047] Most vehicles on the market currently have manual lighting. This single mode relies solely on the driver's judgment and operation to switch lights, which is prone to errors and can easily lead to untimely light switching, hindering the driver's normal driving and increasing the risk of traffic accidents.

[0048] In some embodiments, the vehicle's lights are in automatic mode, that is, the vehicle obtains the current or estimated light intensity of the environment in which the vehicle is located, or other vehicle operation-related information, such as about to pass through a tunnel or there are pedestrians at a certain distance ahead, through electronic devices, and determines and executes the switching of the lights to high beam or low beam according to preset logic.

[0049] Currently, the integrated intelligent high and low beam headlights devices for vehicles in China are highly intelligent but expensive, making them affordable only for a small number of high-end cars. Furthermore, these devices are only designed and installed on vehicles currently in production, making installation difficult on already manufactured vehicles, and in some cases, retrofitting is impossible. Moreover, these devices rely on onboard radar systems, which, while providing relatively accurate data processing, are susceptible to weather conditions and lack testing for prohibited objects, potentially leading to misjudgments of pedestrians. Additionally, due to radar performance limitations, the system's reaction time has a significant delay, and its sensitivity needs improvement.

[0050] In some embodiments, the switching between the manual and automatic modes described above can be performed manually by the driver or automatically by the vehicle operating system.

[0051] In some embodiments, the automatic mode is determined by detecting the ambient light intensity, wherein the automatic mode is activated when the ambient light intensity is lower than the ambient light intensity threshold.

[0052] In some embodiments, the detection information includes, but is not limited to, vehicle operating status information, which is information related to the driver's field of vision, including, but not limited to, ambient light intensity and road gradient.

[0053] In some embodiments, the detection information may also include vehicle prediction information, such as channels on the proposed route and biometric information at a preset distance in front of the vehicle.

[0054] In the above embodiments, the detection information affects the brightness within the driver's field of vision.

[0055] In some embodiments, the acquisition and detection information is achieved through electronic devices, including but not limited to sensors, which include various types, including but not limited to light sensors and angle sensors.

[0056] In some embodiments, the detection information may also be used for program budgeting or calculation, for example, based on the current light intensity, the distance to the channel on the proposed route, and the relevant information of the aforementioned channel, to calculate the light intensity at a preset time or preset location, as candidate reference information for switching vehicle lights.

[0057] Step S102: Switch the vehicle's lights based on the detection information.

[0058] In some embodiments, the detection information is one or more types.

[0059] In some embodiments, the detection information includes: light intensity, and switching the vehicle's lights based on the detection information includes:

[0060] Compare the light intensity with the set light intensity;

[0061] When the light intensity is greater than the first set light intensity, the vehicle's lights are switched to low beam.

[0062] When the light intensity is less than the second set light intensity, the vehicle's lights are switched to high beams;

[0063] The first set light intensity is greater than or equal to the second set light intensity.

[0064] In some embodiments, the inspection information includes: ramp angle information, and switching the vehicle's lights based on the detection information includes:

[0065] Based on the slope angle information, determine whether the vehicle is going uphill;

[0066] When the vehicle is going uphill, switch the vehicle's lights to high beam.

[0067] When the vehicle is going downhill, switch the vehicle's lights to low beam.

[0068] In some embodiments, determining whether the vehicle is going uphill based on the slope angle information includes:

[0069] Compare the ramp angle with the set ramp angle;

[0070] When the ramp angle is continuously greater than or equal to the set ramp angle for a period of time, the vehicle is determined to be going uphill.

[0071] The set ramp angle is greater than or equal to 0° and less than 90°.

[0072] In some embodiments, the detection information includes the aforementioned light intensity information and slope angle information, and in addition to the cases described above where the vehicle's lights are switched based on the detection information, it also includes:

[0073] When the vehicle is going uphill and the light intensity is greater than the first set light intensity, the vehicle's headlights are switched to low beam.

[0074] As previously stated, the light switching method provided in this application can be implemented by various types of electronic devices, such as terminals. The following description uses a server as an example of an electronic device. Figure 2 The electronic device structure shown in this embodiment includes a processor 210, a memory 220, an external communication interface 230, and a user interface 240. The various components in the electronic device are coupled together via a bus system 250. It is understood that the bus system 250 is used to implement communication between these components. In addition to a data bus, the bus system 250 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 2 The general labeled all buses as Bus System 250.

[0075] The processor 210 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), a microcontroller, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0076] In some embodiments, the user interface 240 includes output means that enable the presentation of media content, including speakers and / or visual displays. The user interface 240 also includes input means, including user interface components that facilitate user input, such as microphones, touch screen displays, cameras, other input buttons and controls.

[0077] In some embodiments, a user can switch between automatic and manual modes of the vehicle's lights via an input device.

[0078] In some embodiments, users can learn about relevant information regarding vehicle headlight switching through the output device, including but not limited to the conditions for headlight switching and the execution result of headlight switching.

[0079] The memory 220 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. Memory includes, for example, one or more storage devices physically located away from the processor.

[0080] The memory 220 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 220 described in this application embodiment is intended to include any suitable type of memory.

[0081] In some embodiments, memory 220 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0082] In some embodiments, the lighting switching device provided in this application can be implemented in software. Figure 2A headlight switching device stored in memory 220 is shown. This device can be software in the form of programs and plug-ins, including the following software modules: an acquisition module 2211 for acquiring detection information when the vehicle's lights are in automatic mode; and a headlight switching module 2212 for switching the vehicle's lights based on the detection information. These modules are logically connected and can therefore be arbitrarily combined or further separated according to the functions they implement.

[0083] In some embodiments, the acquisition module 2211 includes an A / D conversion module, which converts the detection information of analog quantities into detection information of digital quantities.

[0084] In some embodiments, the lighting switching module 2212 includes a chip, which includes a microcontroller.

[0085] This application also provides a lighting switching system, including the electronic device and sensor as described above, wherein the sensor is connected to the electronic device and is used to measure detection information and transmit the detection information to the electronic device.

[0086] In some embodiments, the sensor includes: a slope detection sensor and / or a light intensity sensor.

[0087] This application also provides a storage medium storing a computer program that can be executed by one or more processors and can be used to implement the light switching method described in any of the above claims.

[0088] Example 1

[0089] This application provides a lighting switching system for use in a vehicle, including a light intensity sensor and an electronic device. The light intensity sensor is connected to the electronic device, which includes a microcontroller and an A / D conversion module. The A / D conversion module is integrated into the microcontroller. The light intensity sensor measures light intensity information and transmits the light intensity information to the A / D conversion module. The A / D conversion module converts the analog information into digital information and transmits it to the microcontroller. The microcontroller controls the lights according to the light intensity information.

[0090] The light intensity sensor is digital, comprising a thermistor and a photoresistor. It communicates via an I2C bus, converting light intensity values ​​into voltage values. These voltage values ​​are then conditioned and converted back to voltage, supporting four external voltage inputs. The photoresistor outputs a voltage signal between 0 and 5V. When the output voltage of the light intensity sensor reaches a certain value, an alarm is triggered. The higher the voltage, the more prominent the alarm, such as an illuminated indicator light, thus protecting the circuit.

[0091] The working process of the lighting switching system in this embodiment is as follows:

[0092] When the light intensity is lower than the ambient light intensity threshold, the vehicle lights will automatically turn on. The aforementioned activation is automatic by the system, and the ambient light intensity threshold is preset by the driver or the system.

[0093] After activating the automatic mode, the driver can manually switch from automatic to manual mode. When switching from automatic to manual mode, the automatic mode will be automatically reset.

[0094] After activating the vehicle's automatic headlight mode, the system determines the light intensity. If the light intensity is greater than a first preset light intensity, the system switches the vehicle's headlights to low beam. If the light intensity is less than a second preset light intensity, the system switches the vehicle's headlights to high beam. The first preset light intensity is greater than or equal to the second preset light intensity.

[0095] Example 2

[0096] This application provides a lighting switching system for vehicles, including a slope detection sensor and an electronic device. The slope detection sensor is connected to the electronic device, which includes a microcontroller and an A / D conversion module. The A / D conversion module is integrated into the microcontroller. The slope detection sensor measures the slope angle information and transmits the light intensity information to the A / D conversion module. The A / D conversion module converts the analog information into digital information and transmits it to the microcontroller. The microcontroller controls the lights based on the light intensity information and the slope angle information.

[0097] The slope detection sensor is a single-axis tilt sensor, which converts the slope angle into a voltage value. The system uses an 8-bit ADCPCF8591 to check the output value of the single-axis tilt sensor and convert it into the corresponding slope angle value. When a vehicle is detected traveling at a continuous tilt angle of 5° or greater, it is determined that the vehicle is going uphill. The aforementioned angle value can be set to meet the condition of being greater than or equal to 0° and less than 90°. Since the output of the single-axis tilt sensor has a sine function relationship with the direction of gravity, the horizontal direction and the vehicle's travel direction are combined to determine that one direction in the horizontal direction is the x-axis, which forms one side of the slope angle. The slope angle is the angle between the horizontal direction and the slope. When the vehicle is continuously going downhill, the single-axis tilt sensor tilts in the opposite direction and is in an invalid state, so no signal is sent to the microcontroller, and the vehicle is determined to be going downhill.

[0098] The working process of the lighting switching system in this embodiment is as follows:

[0099] When the light intensity is low and the driver's visibility is unclear, the driver can manually turn on the vehicle's lights in automatic mode. After turning on automatic mode, the driver can manually switch to manual mode. When switching from automatic to manual mode, the automatic mode will be automatically reset.

[0100] After activating the automatic mode of the vehicle lights, the system first determines whether the vehicle is going uphill. When the system detects that the vehicle is traveling at a tilt angle of 5° or greater, it determines that the vehicle is going uphill and switches the vehicle lights to high beam. When the single-axis tilt sensor does not send a signal to the microcontroller, it determines that the vehicle is going downhill and switches the vehicle lights to low beam.

[0101] Example 3

[0102] This application provides a headlight switching system. Compared with Embodiment 3, the difference lies in that the slope detection sensor is not a single-axis tilt sensor. In this embodiment, the slope detection sensor detects the angle between the road where the vehicle is located and the horizontal direction. The angle is formed by rotating the side formed by the orthographic projection of the road in the horizontal direction towards the vehicle's travel direction. When the angle is continuously greater than 0° and less than 90°, the vehicle is determined to be going uphill, and the vehicle headlights are switched to high beam; when the angle is greater than 90°, the vehicle is determined to be going downhill, and the vehicle headlights are switched to low beam.

[0103] Example 4

[0104] This application provides a lighting switching system for vehicles, including a light intensity sensor, a slope detection sensor, and electronic equipment. The light intensity sensor and the slope detection sensor are respectively connected to the electronic equipment. The electronic equipment includes a microcontroller and an A / D conversion module, with the A / D conversion module integrated into the microcontroller. The light intensity sensor measures light intensity information and transmits it to the A / D conversion module. The slope detection sensor measures slope angle information and transmits it to the A / D conversion module. The A / D conversion module converts the analog information into digital information and transmits it to the microcontroller. The microcontroller controls the lights based on the light intensity information and the slope angle information.

[0105] The light intensity sensor is the same as in Embodiment 1, and will not be described again here.

[0106] The ramp detection sensor is a single-axis tilt sensor, the same as in Embodiment 2, and will not be described again here.

[0107] The working process of the lighting switching system in this embodiment is as follows:

[0108] When the light intensity is lower than the ambient light intensity threshold, the vehicle lights will automatically turn on. The ambient light intensity threshold is preset by the driver or the system.

[0109] The automatic mode can also be activated manually by the driver. After activating the automatic mode, the driver can manually switch from automatic mode to manual mode. When switching from automatic mode to manual mode, the automatic mode will be automatically reset.

[0110] After activating the vehicle's automatic headlight mode, first determine if the vehicle is going uphill. If so, switch the headlights to high beam. Next, determine the light intensity. If the light intensity is greater than a first preset light intensity, switch the headlights to low beam. If the light intensity is less than a second preset light intensity, switch the headlights to high beam. The first preset light intensity is greater than or equal to the second preset light intensity.

[0111] Example 5

[0112] This application provides a lighting switching system for use in a vehicle, including a light intensity sensor, an infrared heat detector, a slope detection sensor, and electronic equipment. The far-infrared detector, light intensity sensor, and slope detection sensor are respectively connected to the electronic equipment. The difference between this embodiment and embodiment four is that it also includes a far-infrared detector. The infrared heat detector is used to detect living objects, such as pedestrians, in front of the vehicle.

[0113] Compared with Embodiment 4, the working process of this embodiment also includes switching the vehicle lights to low beam when the infrared detector detects a living object and the electronic device determines that the relevant set conditions are met.

[0114] In some embodiments, instruments for detecting other information are also included to detect relevant information as conditional information for vehicle headlight switching.

[0115] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0116] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0117] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0118] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0119] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0120] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0121] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a controller to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0122] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for switching lights, characterized in that, include: When the vehicle's lights are in automatic mode, detection information is collected. The automatic mode is the opposite of the manual mode, which refers to the driver determining the next step to be taken based on the current or anticipated vehicle status and then performing the corresponding operation. The detection information includes vehicle prediction information, which includes the passage on the planned route and biometric information at a preset distance in front of the vehicle. The vehicle's lights are switched based on the detection information; The method further includes: Detect the ambient light intensity; Based on the ambient light intensity, it is determined whether to activate the automatic mode. Specifically, the automatic mode is activated when the ambient light intensity is lower than the ambient light intensity threshold. After the automatic mode is activated, the driver can manually switch from the automatic mode to the manual mode. When switching from the automatic mode to the manual mode, the automatic mode will be automatically reset to zero. The method further includes: calculating the light intensity at a preset time or preset location based on the current ambient light intensity, the distance between the vehicle and the passage on the proposed route, and relevant information of the passage on the proposed route, as candidate reference information for switching vehicle lights; The detection information includes: slope angle information, and the switching of the vehicle's lights based on the detection information includes: Based on the slope angle information, determine whether the vehicle is going uphill; When the vehicle is going uphill, switch the vehicle's lights to high beam. When the vehicle is going downhill, switch the vehicle's lights to low beam. The slope angle information is detected by a slope detection sensor, which includes a single-axis tilt sensor. When the slope detection sensor is the single-axis tilt sensor, its output is related to the direction of gravity by a sin function, and the slope angle is the angle between the horizontal direction and the slope. When the vehicle is continuously going downhill, the single-axis tilt sensor tilts in the opposite direction and is in an invalid state. If no signal is received from the single-axis tilt sensor, it is determined that the vehicle is going downhill.

2. The method according to claim 1, characterized in that, Determining whether the vehicle is going uphill based on the slope angle information includes: Compare the ramp angle with the set ramp angle; When the ramp angle is continuously greater than or equal to the set ramp angle for a period of time, the vehicle is determined to be going uphill. The set ramp angle is greater than 0° and less than 90°.

3. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the light switching method as described in any one of claims 1 to 2.

4. A lighting switching device, characterized in that, include: The acquisition module is used to collect detection information when the vehicle's lights are in automatic mode; the detection information includes vehicle prediction information and slope angle information; the vehicle prediction information includes the passage on the proposed route and biological information at a preset distance in front of the vehicle. A headlight switching module is used to switch the vehicle's headlights based on the detection information; The light switching device is used to implement the light switching method as described in any one of claims 1 to 2 by having the processor of the electronic device in claim 3 call program code.

5. A lighting switching system, characterized in that, Includes the electronic device and sensor as described in claim 3, wherein the sensor is connected to the electronic device. The electronic device includes a chip and an A / D conversion module, used to perform the light switching method as described in any one of claims 1 to 2; The sensor is used to measure detection information and transmit the detection information to the A / D conversion module; The A / D conversion module transmits the detection information to the chip.

6. The lighting switching system according to claim 5, characterized in that, The sensors include: a slope detection sensor and a light intensity sensor.

7. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the light switching method as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Automobile provided with driving auxiliary device

    CN103171484A

  • Intelligent light control method and device

    CN113246845A

  • Intelligent adjustment control device and method for automobile headlamp

    CN113650553A

  • High beam and low beam automatic switching device

    CN210822020U