Automatic light intensity adjusting and shielding system and method for vehicle lamp test
By designing an automatically adjusted light intensity shielding system in the headlight test, the tester's problems of eye damage and light observation in high-brightness environments are solved, and the light is automatically adjusted, improving the safety and accuracy of the test.
Patent Information
- Application Number
- CN202510332679.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-05-13
AI Technical Summary
In existing headlight tests, testers often work in high-brightness environments, which can easily lead to eye damage and reduced vision. At the same time, traditional occlusion materials may block light observation or ignite at high temperatures, increasing fire risk.
A light intensity automatic adjustment shielding system for car light testing is designed, including a light intensity sensing module, an intelligent control module and a light transmittance execution module. The light intensity is collected in real time by the brightness sensor, the difference analysis module calculates the light intensity deviation and change rate, the transmittance correction module generates the transmittance correction amount through the fuzzy PID control algorithm, the control command output module generates the PWM control signal, and the dimming glass component adjusts the transmittance according to the signal.
It realizes automatic light transmission adjustment of the car light lines, reduces eye damage to the tester, improves the safety and adaptability of the test environment, and enhances the accuracy and efficiency of the test.
Smart Images

Figure CN119997313A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile lamp testing, and in particular to a system and method for automatically adjusting and shielding light intensity for automobile lamp testing. Background Art
[0002] In the existing development process of car lights, testers often directly observe and debug the light of the car lights without proper shielding. The brightness of the car lights is extremely high, so testers must work under strong light. This environment is particularly obvious at night or in dark room testing, which makes testers face direct exposure to high-brightness light. Engineers continue to work in such an environment, which inevitably increases the risk of eye damage. Therefore, the existing technology has the following defects:
[0003] (1) The lack of proper shielding causes the tester's eyes to be frequently exposed to extremely high brightness, which can not only easily cause retinal damage, but also may lead to eye fatigue and temporary blurred vision. The eyesight of testers working in such an environment for a long time will be seriously affected, which will greatly reduce work efficiency and test accuracy.
[0004] (2) If traditional fixed shielding materials are used, such as opaque or low-transmittance shielding materials, they may completely block the tester's observation of the light from the headlights. In this way, the tester cannot accurately judge the lighting effect and changes of the lamps, which in turn affects the accuracy and reliability of the test results. In addition, if thin and light-transmitting materials are used, these materials may become hot or even ignite under long-term strong light exposure, increasing the risk of fire in the test environment. Especially under high-temperature test conditions, this risk becomes more prominent, significantly affecting the safety of the test environment.
[0005] The above problems need to be solved urgently. Summary of the invention
[0006] The purpose of the present invention is to overcome at least one technical problem existing in the prior art, and to provide a system and method for automatically adjusting and shielding the light intensity for testing vehicle lights.
[0007] On the one hand, an embodiment of the present invention provides a light intensity automatic adjustment and shielding system for vehicle lamp testing, the system comprising: a light intensity sensing module, an intelligent control module and a transmittance execution module; the light intensity sensing module is integrated with a brightness sensor, the brightness sensor is used to collect the light intensity of the sample under test in real time; the intelligent control module is integrated with a difference analysis module, a transmittance correction module and a control instruction output module; the difference analysis module is used to calculate the light intensity based on the light intensity of the sample under test transmitted by the brightness sensor and a preset light intensity threshold, and obtain the light intensity. Deviation value and light intensity change rate; the transmittance correction module is used to calculate and generate a transmittance correction amount based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm; the control instruction output module is used to obtain a PWM control signal based on the transmittance correction amount through a preset PWM duty cycle and transmittance formula; the transmittance execution module integrates a driving module and a dimming glass component; the driving module is used to analyze the PWM control signal and generate an electrical signal form suitable for controlling the dimming glass component; the dimming glass component is used to adjust the transmittance based on the electrical signal sent by the driving module.
[0008] Furthermore, the light intensity sensing module also integrates a microcontroller and a feedback circuit, the feedback circuit input is electrically connected to the brightness sensor output, the feedback circuit output is electrically connected to the microcontroller input, and the microcontroller output is electrically connected to the brightness sensor input; the brightness sensor is used to collect ambient light intensity; the feedback circuit is used to generate an error signal based on comparing the ambient light intensity with a preset ideal ambient light intensity; the microcontroller is used to adaptively adjust the gain parameter of the photosensitive element in the brightness sensor based on the error signal, so that the brightness sensor automatically adjusts its sensitivity according to changes in ambient light.
[0009] Furthermore, the microcontroller is pre-burned with a least mean square algorithm for calculating the error value under the current gain setting based on the error signal, and changing the gain according to a preset step size and direction until the error value reaches a preset minimum value.
[0010] Furthermore, the system also includes a human-computer interaction module, in which a physical button or a virtual control interface with a forced stop function is integrated, which is used to stop the automatic dimming function of the system.
[0011] Furthermore, the transmittance correction module is used to calculate and generate a transmittance correction amount based on the deviation value of the light intensity and the light intensity change rate through a fuzzy PID control algorithm, including: dividing 5 fuzzy sets based on the domain, and defining the membership function corresponding to the fuzzy set as a triangular function; mapping the deviation value of the light intensity and the light intensity change rate to the fuzzy set to complete the fuzzification operation; establishing a fuzzy rule base; using the center of gravity method to traverse all fuzzy rules in the fuzzy rule base, calculate the weight and weighted value of each fuzzy rule, and then calculate the transmittance correction amount.
[0012] Furthermore, the preset PWM duty cycle and transmittance formula is:
[0013] Duty cycle=10+(80×(1.0-ΔT));
[0014] Wherein, the Duty cycle represents the PWM duty cycle value, and ΔT represents the transmittance correction amount.
[0015] Furthermore, an overshoot suppression module is integrated in the intelligent control module, the input end of the overshoot suppression module is electrically connected to the output end of the control instruction output module, and the output end of the overshoot suppression module is electrically connected to the input end of the driving module; the overshoot suppression module is used to avoid the transmittance jumping directly from the current value to the target value by smoothly adjusting the PWM duty cycle when the transmittance switches rapidly based on the soft start / soft stop algorithm pre-burned in the overshoot suppression module.
[0016] Furthermore, a temperature compensation module is also integrated in the transmittance execution module, and the input end of the temperature compensation module is electrically connected to the output end of the driving module, and the output end of the temperature compensation module is electrically connected to the input end of the dimming glass component; the temperature compensation module is used to collect the surface temperature of the dimming glass component in real time based on the temperature sensor integrated in the temperature compensation module, and dynamically correct the electrical signal generated by the driving module based on the surface temperature.
[0017] Furthermore, the driving module is used to analyze the PWM control signal to generate an electrical signal suitable for controlling the dimming glass component, including: when the dimming glass component is an electrically controlled polymer dimming glass, changing the electric field strength applied to the electrically controlled polymer based on the PWM control signal; when the dimming glass component is a liquid crystal dimming glass, changing the voltage applied to the liquid crystal layer based on the PWM control signal.
[0018] In a second aspect, an embodiment of the present invention provides a method for automatically adjusting and shielding the light intensity for testing a vehicle lamp, and the method is applied to the above-mentioned automatic adjusting and shielding system for testing the light intensity for testing a vehicle lamp, and is characterized in that the method comprises: collecting the light intensity of the test sample in real time through a brightness sensor; a difference analysis module calculates the light intensity deviation value and the light intensity change rate based on the light intensity of the test sample transmitted by the brightness sensor, the light intensity and a preset light intensity threshold value; a transmittance correction module calculates and generates a transmittance correction amount based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm; a control instruction output module obtains a PWM control signal based on the transmittance correction amount through a preset PWM duty cycle and transmittance formula; a driving module analyzes the PWM control signal and generates an electrical signal form suitable for controlling the dimming glass component; and the dimming glass component adjusts the transmittance based on the electrical signal sent by the driving module.
[0019] On the other hand, the present invention further provides a computer-readable storage medium, wherein one or more instructions are stored in the computer-readable storage medium, and the computer instructions are used to enable the computer to execute the above-mentioned method for automatically adjusting and shielding the light intensity for vehicle lamp testing.
[0020] On the other hand, the present invention provides an electronic device, comprising: a memory and a processor; the memory stores at least one program instruction; the processor loads and executes the at least one program instruction to implement the above-mentioned method for automatically adjusting and shielding the light intensity for vehicle light testing.
[0021] The beneficial effects of the present invention are:
[0022] (1) Convenient to use: Through the coordinated work of brightness sensors, microcontrollers, and intelligent light-transmitting glass, the brightness of the headlights can be automatically adjusted, making it easier for engineers to check the brightness, simplifying the testing process and improving usage efficiency.
[0023] (2) Solved the problem of light damage: effectively reduced the damage caused by car lights to development and testing personnel, ensuring the safety and comfort of personnel.
[0024] (3) Enhanced adaptability of the test environment: It can automatically adjust the light transmittance according to changes in ambient brightness, allowing testers to work safely under different lighting conditions.
[0025] (4) Improved development accuracy: By precisely controlling light intensity, it helps improve the accuracy and reliability of vehicle lighting performance testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0027] Figure 1 This is a structural diagram of an automatic light intensity adjustment and shielding system for vehicle lamp testing provided in Example 1 of the present invention.
[0028] Figure 2 This is a structural diagram of another light intensity automatic adjustment and shielding system for vehicle lamp testing provided in Example 1 of the present invention.
[0029] Figure 3 This is a structural diagram of another light intensity automatic adjustment and shielding system for vehicle lamp testing provided in Example 1 of the present invention.
[0030] Figure 4 This is a flow chart of a method for automatically adjusting and shielding the light intensity for vehicle lamp testing provided in Example 2 of the present invention.
[0031] Figure 5 This is a partial block diagram of an electronic device provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0032] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the operations as sequential processes, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0033] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0034] The present invention will now be described in detail with reference to the accompanying drawings. This figure is a simplified schematic diagram, which only illustrates the basic structure of the present invention in a schematic manner, and therefore only shows the components related to the present invention.
[0035] Example 1
[0036] For ease of understanding, the working principle of the system is generally described before describing the embodiments of the present invention in detail: The present invention aims to reduce the damage of the headlights to the eyes of the development and test personnel by adding an automatically adjusted headlight light shielding system, thereby improving the safety and comfort of the test process. Specifically, the brightness sensor is used to sense the light intensity of the sample under test, i.e., the headlight sample. The sensor has a highly sensitive photosensitive element, which can not only accurately capture the visible light emitted by the sample, but also the invisible light part. In addition, the sensor is designed with a focus on response speed and accuracy, and can read and record the current light data in a very short time. In addition, it adopts a dynamic adjustment mechanism when working, which can automatically adjust the sensitivity according to the changes in ambient light, ensure that consistent and reliable brightness information can be provided under different test environments, monitor the brightness changes of the headlight samples in real time, and provide accurate data support for subsequent brightness control. Intelligent computing module (such as MCU): After the light intensity sensor collects the light intensity information, it transmits the data to the intelligent computing module in real time. The intelligent computing module has a built-in advanced algorithm to analyze and calculate the received brightness information and judge the difference between the current light conditions and the preset standards. According to the calculation results, appropriate light transmission adjustment control instructions are generated and sent to the intelligent dimming glass. The efficient computing power of the intelligent computing module ensures that the system responds quickly, and the best light regulation effect can be maintained at any time even in an environment with frequent light changes. Intelligent dimming glass: Intelligent dimming glass uses electrically controlled polymers or liquid crystal materials, which play a key role in the present invention. After receiving the control signal sent by the intelligent computing module, the light transmittance of the glass will change rapidly. Under strong light conditions, the light transmittance is automatically reduced to reduce the stimulation of strong light to the tester; in a weak light environment, the light transmittance of the glass increases to provide the required light support for the tester. Through its light transmittance regulation, the brightness is automatically adjusted to ensure that the brightness of the headlight test environment is always maintained at a safe and appropriate level. Effectively protect the tester from strong light stimulation, reduce the damage of strong light to the eyes, and ensure the health of the tester; realize automatic adjustment of light intensity without manual operation, reduce human operation errors, and improve test efficiency; can accurately adjust the light intensity according to different ambient light and light changes of headlight samples, provide more stable and accurate light conditions for headlight testing, and help improve the accuracy of the test.
[0037] The specific implementation is as follows:
[0038] like Figure 1 As shown, it is a structural diagram of a light intensity automatic adjustment and shielding system for vehicle lamp testing provided by the present invention.
[0039] As an example, the system includes: a light intensity perception module 1, an intelligent control module 2 and a transmittance execution module 3; the light intensity perception module 1 is integrated with a brightness sensor 100, and the brightness sensor 100 is used to collect the light intensity of the sample under test in real time; the intelligent control module 2 is integrated with a difference analysis module 200, a transmittance correction module 210 and a control instruction output module 220; the difference analysis module 200 is used to calculate the light intensity deviation value and the light intensity change rate based on the light intensity of the sample under test transmitted by the brightness sensor 100 and the preset light intensity threshold; The transmittance correction module 210 is used to calculate and generate a transmittance correction value based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm; the control instruction output module 220 is used to obtain a PWM control signal based on the transmittance correction value through a preset PWM duty cycle and transmittance formula; the transmittance execution module 3 integrates a driving module 300 and a dimming glass component 310; the driving module 300 is used to analyze the PWM control signal and generate an electrical signal form suitable for controlling the dimming glass component 310; the dimming glass component 310 is used to adjust the transmittance based on the electrical signal sent by the driving module.
[0040] In some feasible implementations, the light intensity sensing module 1 further integrates a microcontroller 110 and a feedback circuit 120, wherein the input end of the feedback circuit 120 is electrically connected to the output end of the brightness sensor 100, the output end of the feedback circuit 120 is electrically connected to the input end of the microcontroller 110, and the output end of the microcontroller 110 is electrically connected to the input end of the brightness sensor 100; the brightness sensor 100 is used to collect the ambient light intensity; the feedback circuit 120 is used to generate an error signal based on the comparison between the ambient light intensity and the preset ideal ambient light intensity; the microcontroller 110 is used to adaptively adjust the gain parameter of the photosensitive element in the brightness sensor 100 based on the error signal, so that the brightness sensor 100 automatically adjusts its sensitivity according to the change of the ambient light. Among them, the microcontroller 110 is pre-burned with a minimum mean square algorithm, which is used to calculate the error value under the current gain setting based on the error signal, and change the gain according to the preset step size and direction until the error value reaches the preset minimum value.
[0041] Specifically, the feedback circuit 120 is designed as follows: the feedback circuit 120 is responsible for collecting the sensor output signal and comparing it with the reference signal. Taking the common feedback circuit based on an operational amplifier as an example, by reasonably configuring components such as resistors and capacitors, the electrical signal (such as a voltage signal) output by the sensor is introduced into the input end of the operational amplifier, and compared with a reference voltage representing an ideal lighting condition to generate an error signal. This error signal can intuitively reflect the difference between the light intensity detected by the current sensor and the expected value. Adaptive algorithms such as the least mean square (LMS) algorithm are used. In the light detection scenario, the algorithm will continuously adjust the gain parameters of the photosensitive element according to the error signal transmitted by the feedback circuit, so that the sensor output signal is as close to the ideal value as possible. Specifically, the algorithm will calculate the error size under the current gain setting, and change the gain according to a certain step size and direction until the error is minimized. That is, when the brightness sensor 100 is working, it will not only collect the light intensity of the sample to be tested, such as the light intensity of the headlight to be tested, but also collect the ambient light intensity. The brightness sensor 100 uses a dynamic adjustment mechanism when working, which can automatically adjust its sensitivity according to the changes in ambient light, ensuring that consistent and reliable brightness information can be provided in different test environments. Through this automated perception process, the sensor can monitor the brightness changes of the headlight samples in real time, providing accurate data support for subsequent brightness control, thereby protecting testers from the stimulation of strong light. The application of this technology has greatly improved the safety and convenience of the headlight development process.
[0042] In some feasible implementations, the system further includes a human-computer interaction module, in which a physical button or a virtual control interface with a forced stop function is integrated, which is used to stop the automatic dimming function of the system. That is, when the light of the car lights does not need to be adjusted, the automatic dimming function can be stopped by activating the "stop monitoring" button. At this time, the smart dimming glass does not work and does not perform any light shielding operation.
[0043] In some feasible implementations, the transmittance correction module 210 is used to calculate and generate a transmittance correction amount based on the deviation value of the light intensity and the light intensity change rate through a fuzzy PID control algorithm, including: dividing 5 fuzzy sets based on the domain, and defining the membership function corresponding to the fuzzy set as a triangular function; mapping the deviation value of the light intensity and the light intensity change rate to the fuzzy set to complete the fuzzification operation; establishing a fuzzy rule base; using the center of gravity method to traverse all fuzzy rules in the fuzzy rule base, calculate the weight and weighted value of each fuzzy rule, and then calculate the transmittance correction amount.
[0044] Specifically, first, we need to define fuzzy sets based on actual needs (such as “negative large NB”, “negative small NS”, “zero Z”, “positive small PS”, “positive large PB”), and assign actual values to them; secondly, we need to convert the actual input values ΔL and ΔL rateMapped to the fuzzy set, where ΔL is the deviation value of light intensity, ΔL rate is the light intensity change rate; a fuzzy rule base is established based on the defined 25 control rules (5×5 combinations). The fuzzy rules are shown in Table 1 below;
[0045] Table 1:
[0046]
[0047] Among them, VB means very large, B means large, M means medium, S means small, and VS means very small.
[0048] The center of gravity method is used to calculate the precise control quantity: the transmittance correction value ΔT. The calculation of the center of gravity method involves the weighted average of all fuzzy outputs.
[0049] It should be noted that since the fuzzy PID control algorithm is already very mature in the prior art, the specific steps of fuzzification, rule base establishment and defuzzification involved in the fuzzy PID algorithm will not be described here. The establishment of the fuzzy library is based on the rules obtained by relevant technical personnel through continuous practice. It can be modified for different application scenarios and is not restricted here.
[0050] In some feasible implementations, the preset PWM duty cycle and transmittance formula is:
[0051] Duty cycle=10+(80×1.0-ΔT));
[0052] Wherein, the Duty cycle represents the PWM duty cycle value, ΔT represents the transmittance correction amount, ΔT∈[-1,1].
[0053] In some feasible implementations, as shown in Figure 2, an overshoot suppression module 230 is also integrated in the intelligent control module, and the input end of the overshoot suppression module 230 is electrically connected to the output end of the control instruction output module 220, and the output end of the overshoot suppression module 230 is electrically connected to the input end of the driving module 300; the overshoot suppression module 230 is used to avoid the transmittance from directly jumping from the current value to the target value by smoothly adjusting the PWM duty cycle when the transmittance switches rapidly based on the soft start / soft stop algorithm pre-burned in the overshoot suppression module. Specifically, in the process of light intensity adjustment, if a sudden change occurs, it will lead to a decrease in the acceptance of the human eye. Therefore, in the process of light intensity adjustment, by introducing a soft start / soft stop algorithm, it is possible to effectively avoid the human eye from perceiving a sudden change in brightness and improve visual comfort. The method includes the following steps: (a) calculating the single-step increment: dividing the total change into 10 steps to achieve linear gradient. If the current duty cycle is 20% and the target duty cycle is 80%, each step increases by 6% ((80-20) / 10=6); (b) updating the duty cycle in a loop; (c) delay control, such as pausing for 5ms after each step adjustment, so that the total adjustment time is 10 steps × 5ms = 50ms. This method can leave enough time for the driver module to stabilize, and the total change time of 50ms during the dimming process meets the human eye's perception threshold for brightness changes (about 30-100ms).
[0054] In some possible implementations, such as Figure 3 As shown, the transmittance execution module 3 is also integrated with a temperature compensation module 320, the input end of the temperature compensation module 320 is electrically connected to the output end of the driving module 300, and the output end of the temperature compensation module 320 is electrically connected to the input end of the dimming glass component 310; the temperature compensation module 320 is used to collect the surface temperature of the dimming glass component in real time based on the temperature sensor integrated in the temperature compensation module, and dynamically correct the electrical signal generated by the driving module based on the surface temperature. Specifically, since the surface temperature of the dimming glass component 310 is too high, the aging of the material will be accelerated. Therefore, by setting the temperature compensation module 320 and then controlling the voltage value or electric field strength value output by the driving module 300 to the dimming glass component 310, the aging speed of the dimming glass component 310 can be greatly reduced. More specifically, when the detected surface temperature of the dimming glass component 310 is greater than the preset temperature threshold (such as 50°C), the voltage value or electric field strength value output by the driving module 300 is reduced to 0.95 times the original value.
[0055] In some feasible implementations, the driving module 300 is used to analyze the PWM control signal to generate an electrical signal form suitable for controlling the dimming glass component 310, including: when the dimming glass component is an electrically controlled polymer dimming glass, the electric field strength applied to the electrically controlled polymer is changed based on the PWM control signal; when the dimming glass component is a liquid crystal dimming glass, the voltage applied to the liquid crystal layer is changed based on the PWM control signal. Specifically, when the dimming glass component 310 is an electrically controlled polymer dimming glass: if it is an electrically controlled polymer dimming glass, when the driving circuit receives the control instruction, it will change the electric field strength applied to the electrically controlled polymer according to the instruction. Under the action of the electric field, the molecular structure of the electrically controlled polymer will change, thereby changing the absorption and scattering characteristics of light, and then realizing the adjustment of the transmittance. For example, when the electric field intensity increases, the arrangement of the polymer molecules changes, so that the glass transmittance decreases. When the dimming glass component 310 is a liquid crystal dimming glass: for the liquid crystal dimming glass, the driving circuit changes the voltage applied to the liquid crystal layer according to the control instruction. The orientation of liquid crystal molecules will change under different voltages. When the orientation of liquid crystal molecules changes, the polarization state and propagation direction of light passing through the liquid crystal layer will also change, thereby adjusting the transmittance. For example, under low voltage, the liquid crystal molecules are arranged disorderly, light scattering is serious, and the glass transmittance is low; under high voltage, the liquid crystal molecules are arranged in an orderly manner, light can pass smoothly, and the glass transmittance is high.
[0056] That is, the smart dimming glass uses electrically controlled polymers or liquid crystal materials, and when it receives a control signal, the light transmittance of the glass changes rapidly. This process can respond to different lighting conditions in real time, ensuring that the brightness of the vehicle light test environment is always maintained at a safe and appropriate level. For example, in strong light conditions, the smart dimming glass will automatically reduce the light transmittance to reduce the stimulation of strong light to the tester. At the same time, in a weak light environment, the light transmittance of the glass increases to provide the tester with the required light support.
[0057] The intelligent dimming technology described in the above implementation not only improves the comfort and safety of work, but also helps to improve the accuracy and efficiency of testing. Overall, through the light transmittance regulation of intelligent dimming glass, automatic brightness adjustment becomes an efficient and reliable solution, optimizing the development and testing process of vehicle lights.
[0058] It is worth mentioning that all modules involved in this embodiment are logical units. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0059] Example 2
[0060] See also Figure 4 , this embodiment provides a flow chart of a method for automatically adjusting and shielding the light intensity for vehicle lamp testing.
[0061] As an example, the method is applied to the automatic light intensity adjustment and shielding system for vehicle lamp testing described in Example 1, and the method includes:
[0062] S1. Collect the light intensity of the sample under test in real time through the brightness sensor.
[0063] S2. The difference analysis module calculates the light intensity deviation value and the light intensity change rate based on the light intensity of the sample under test transmitted by the brightness sensor and the preset light intensity threshold.
[0064] S3. The transmittance correction module calculates and generates a transmittance correction amount based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm.
[0065] S4. The control instruction output module obtains a PWM control signal based on the transmittance correction amount through a preset PWM duty cycle and transmittance formula.
[0066] S5. The driving module analyzes the PWM control signal to generate an electrical signal suitable for controlling the dimming glass component.
[0067] S6. The dimming glass assembly adjusts the light transmittance based on the electrical signal sent by the driving module.
[0068] It is not difficult to find that this embodiment is a method embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
[0069] Example 3
[0070] The embodiment of the present invention further provides a storage medium, on which a method for automatically adjusting and shielding the intensity of light used for testing a vehicle lamp is stored, and when the program for automatically adjusting and shielding the intensity of light used for testing a vehicle lamp is executed by a processor, the steps of the method for automatically adjusting and shielding the intensity of light used for testing a vehicle lamp as described above are implemented. Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0071] Example 4
[0072] See also Figure 5 An embodiment of the present invention further provides an electronic device, comprising: a memory and a processor; the memory stores at least one program instruction; the processor loads and executes the at least one program instruction to implement the method for automatically adjusting and shielding the light intensity for testing a vehicle lamp provided in Example 2.
[0073] The memory 702 and the processor 701 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 701 and the memory 702 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 701 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 701.
[0074] The processor 701 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 702 can be used to store data used by the processor 701 when performing operations.
[0075] The above is only an embodiment of the present invention. The common sense such as the known specific structure and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field of the invention before the application date or priority date, can know all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the scope of protection of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.
Claims
1. A light intensity automatic adjustment shielding system for vehicle lamp testing, characterized in that: The system comprises: a light intensity sensing module, an intelligent control module and a light transmittance execution module; The light intensity sensing module is integrated with a brightness sensor, and the brightness sensor is used to collect the light intensity of the sample under test in real time; The intelligent control module is integrated with a difference analysis module, a transmittance correction module and a control instruction output module; The difference analysis module is used to calculate the light intensity deviation value and light intensity change rate based on the light intensity of the sample under test transmitted by the brightness sensor and the light intensity and a preset light intensity threshold; The transmittance correction module is used to calculate and generate a transmittance correction value based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm; The control instruction output module is used to obtain a PWM control signal based on the transmittance correction amount through a preset PWM duty cycle and transmittance formula; The light transmittance execution module is integrated with a driving module and a dimming glass component; The driving module is used to analyze the PWM control signal to generate an electrical signal suitable for controlling the dimming glass component; The dimming glass assembly is used to adjust light transmittance based on the electrical signal sent by the driving module.
2. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The light intensity sensing module further integrates a microcontroller and a feedback circuit, wherein the input end of the feedback circuit is electrically connected to the output end of the brightness sensor, the output end of the feedback circuit is electrically connected to the input end of the microcontroller, and the output end of the microcontroller is electrically connected to the input end of the brightness sensor; The brightness sensor is used to collect the ambient light intensity; The feedback circuit is used to generate an error signal based on the comparison between the ambient light intensity and a preset ideal ambient light intensity; The microcontroller is used to adaptively adjust the gain parameter of the photosensitive element in the brightness sensor based on the error signal, so that the brightness sensor automatically adjusts its sensitivity according to the change of ambient light.
3. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 2, characterized in that: The microcontroller is pre-programmed with a least mean square algorithm for calculating the error value under the current gain setting based on the error signal, and changing the gain according to a preset step size and direction until the error value reaches a preset minimum value.
4. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The system further comprises a human-computer interaction module, in which a physical button or a virtual control interface with a forced stop function is integrated, which is used to stop the automatic dimming function of the system.
5. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The transmittance correction module is used to calculate and generate a transmittance correction value based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm, including: Divide 5 fuzzy sets based on the domain, and define the membership function corresponding to the fuzzy set as a triangular function; Mapping the light intensity deviation value and light intensity change rate to a fuzzy set to complete a fuzzification operation; Establish fuzzy rule base; The centroid method is used to traverse all fuzzy rules in the fuzzy rule base, calculate the weight and weighted value of each fuzzy rule, and then calculate the transmittance correction amount.
6. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The preset PWM duty cycle and transmittance formula is: Duty cycle=10+(80×(1.0-ΔT)); Wherein, the Duty cycle represents the PWM duty cycle value, and ΔT represents the transmittance correction amount.
7. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: An overshoot suppression module is also integrated in the intelligent control module, the input end of the overshoot suppression module is electrically connected to the output end of the control instruction output module, and the output end of the overshoot suppression module is electrically connected to the input end of the driving module; The overshoot suppression module is used to prevent the transmittance from directly jumping from the current value to the target value by smoothly adjusting the PWM duty cycle when the transmittance switches rapidly based on the soft start / soft stop algorithm pre-burned in the overshoot suppression module.
8. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The transmittance execution module is also integrated with a temperature compensation module, the input end of the temperature compensation module is electrically connected to the output end of the driving module, and the output end of the temperature compensation module is electrically connected to the input end of the dimming glass component; The temperature compensation module is used to collect the surface temperature of the dimming glass component in real time based on the temperature sensor integrated in the temperature compensation module, and dynamically correct the electrical signal generated by the driving module based on the surface temperature.
9. The automatic light intensity adjustment and shielding system for vehicle lamp testing according to claim 1, characterized in that: The driving module is used to analyze the PWM control signal to generate an electrical signal suitable for controlling the dimming glass component, including: When the dimming glass component is an electrically controlled polymer dimming glass, the electric field intensity applied to the electrically controlled polymer is changed based on the PWM control signal; When the dimming glass component is a liquid crystal dimming glass, the voltage applied to the liquid crystal layer is changed based on the PWM control signal.
10. A method for automatically adjusting and shielding the intensity of a light used for testing a vehicle lamp, the method being applied to the system for automatically adjusting and shielding the intensity of a light used for testing a vehicle lamp as claimed in any one of claims 1 to 9, characterized in that: The method comprises: The light intensity of the sample under test is collected in real time through the brightness sensor; The difference analysis module calculates the light intensity deviation value and light intensity change rate based on the light intensity of the sample under test transmitted by the brightness sensor and the light intensity and a preset light intensity threshold; The transmittance correction module calculates and generates a transmittance correction value based on the light intensity deviation value and the light intensity change rate through a fuzzy PID control algorithm; The control instruction output module obtains a PWM control signal based on the transmittance correction amount through a preset PWM duty cycle and transmittance formula; The driving module analyzes the PWM control signal to generate an electrical signal suitable for controlling the dimming glass component; The dimming glass assembly adjusts light transmittance based on the electrical signal sent by the driving module.
Citation Information
Patent Citations
Constant-light control system based on fuzzy algorithm
CN103619102A
Environment light intensity adaptive shading safety goggle structure and control method
CN109633926A
LED driving control system with adjustable pulse energy and control method
CN115052388A
Method and system for intelligently controlling LED illumination intensity
CN116437516A
COB LED display screen intelligent uniform light regulation and control system
CN119007632A
Cited By
Electronic control color-changing film light intensity adjusting system on surface of self-closed-loop car lamp and control method
CN120521173A