Rainfall illumination sensor illumination measurement precision adjusting system
Through a system consisting of an industrial control host, light source controller, light source, rain and light sensor products, stepper motor and PLC controller, the problem of inaccurate measurement caused by hardware differences of photosensitive diodes is solved, the precision adjustment of rain and light sensors and accuracy calibration before delivery are realized, and driving safety is improved.
Patent Information
- Application Number
- CN202423079650.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2034-12-13
AI Technical Summary
Due to hardware differences between photodiodes, the output results of rainfall light sensors vary during the production process, affecting measurement accuracy. Light measurement accuracy needs to be adjusted before shipment.
The system consists of an industrial control host, light source controller, light source, rainfall and light sensor products, stepper motor and PLC controller. The light source controller adjusts the brightness of the light source, the PLC controller adjusts the adjustable resistor and the stepper motor calibrates the photodiode. Combined with a black box and accordion cover, precision adjustment is performed in a completely dark environment, and the results are judged by the industrial control host.
The light measurement accuracy of the rain and light sensors has been adjusted to ensure the accuracy of the measurement results of each sensor when it leaves the factory, improving the driving experience.
Smart Images

Figure CN223485210U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of rain and light sensors, and in particular to a system for adjusting the accuracy of light measurement in rain and light sensors. Background Technology
[0002] Rain and light sensors are typically installed in cars to automatically turn on headlights and windshield wipers, providing convenience for drivers in low-light and rainy conditions, preventing driver distraction, and improving driving safety.
[0003] Rain and light sensors typically use photodiodes to sense light intensity and adjust the on / off status of vehicle interior lights. Due to inherent hardware differences between different photodiodes, variations in output results may occur during the manufacturing process of rain and light sensors. Therefore, the light measurement accuracy of the rain and light sensors needs to be adjusted for the photodiodes before leaving the factory. Utility Model Content
[0004] To address the aforementioned problems, this invention provides a system for adjusting the accuracy of illumination measurement using a rain and light sensor.
[0005] The present invention adopts the following technical solution:
[0006] A system for adjusting the accuracy of illumination measurement using a rainfall and illumination sensor includes: an industrial control host, a light source controller, a light source, a rainfall and illumination sensor product, a stepper motor, and a PLC controller; wherein:
[0007] The rain and light sensor product includes a photodiode, and the power supply circuit containing the photodiode includes an adjustable resistor.
[0008] The industrial control host is connected to the light source controller and the PLC controller for communication, and is used to send control commands to the light source controller and the PLC controller.
[0009] The light source controller is electrically connected to the light source and is used to adjust the brightness of the light source according to the control commands sent by the industrial control host.
[0010] The light source is used to provide illumination for the rain gauge light sensor product in a completely dark environment;
[0011] The PLC controller is electrically connected to the stepper motor;
[0012] The stepper motor is connected to the adjustment mechanism of the adjustable resistor in the rain and light sensor product, and is used to adjust the resistance value of the adjustable resistor according to the control instructions sent by the PLC controller.
[0013] The PLC controller is electrically connected to the photodiode in the rain and light sensor product to detect the voltage across the photodiode.
[0014] Furthermore, the industrial control host and the light source controller are connected via RS232.
[0015] Furthermore, the industrial control host and the PLC controller are connected via Ethernet.
[0016] Furthermore, the light sources include white light and infrared light.
[0017] Furthermore, it also includes a black box, a straight accordion cover, cylinders, and solenoid valves;
[0018] The input end of the solenoid valve is connected to the PLC controller, and the output end of the solenoid valve is connected to the input end of the cylinder.
[0019] The output end of the cylinder is connected to a straight-line accordion cover, which is used to control the opening and closing of the straight-line accordion cover;
[0020] The black box is a sealed structure with an opening and is light-proof. The light source and the rain and light sensor products are installed inside the black box.
[0021] A straight accordion cover is installed at the opening of the black box to open or close the opening according to the control of the cylinder.
[0022] Furthermore, it also includes: an industrial control host communicating with the rain and light sensor product, used to receive a message sent by the rain and light sensor product containing the voltage values across the photodiode, and to determine whether the rain and light sensor is qualified based on whether the brightness value converted from the voltage value matches the brightness value contained in the control command sent to the light source controller.
[0023] Furthermore, the industrial control host and the rain and light sensor products are connected via CAN bus or LIN bus.
[0024] Furthermore, it also includes a display connected to the industrial control host for displaying the results.
[0025] This utility model adopts the above technical solution to realize the adjustment of the illumination measurement accuracy of the rain and light sensor before it leaves the factory, so that each rain and light sensor can obtain accurate results and improve the driving experience. Attached Figure Description
[0026] Figure 1 The diagram shown is a schematic diagram of the system in an embodiment of this utility model.
[0027] Figure 2 The diagram shown is a structural schematic of some devices in the system according to an embodiment of this utility model. Detailed Implementation
[0028] To further illustrate the various embodiments, the present invention provides accompanying drawings. These drawings are part of the disclosure of the present invention and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these drawings, those skilled in the art should be able to understand other possible implementations and the advantages of the present invention. Components in the drawings are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0029] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments.
[0030] This embodiment discloses a system for adjusting the accuracy of illumination measurement using a rain gauge and illumination sensor, such as... Figure 1 and Figure 2 As shown, it includes: industrial control host 1, light source controller 2, light source 3, rain and light sensor product 4, stepper motor 5, and PLC controller 6.
[0031] It should be noted that the rain and light sensor product 4 mentioned in this embodiment is a semi-finished product and has not undergone final packaging. That is, the photodiode is exposed to the air and there is no optical element cover on it.
[0032] In the rain and light sensor product 4 of this embodiment, the power supply circuit containing the photodiode includes an adjustable resistor. By adjusting the adjustable resistor, the voltage across the photodiode can be adjusted.
[0033] The brightness value of light source 3 should have a fixed correspondence with the voltage value of the photodiode. Different brightness values correspond to different voltage values. In this way, the brightness value of the external light can be obtained by converting the detected voltage value of the photodiode.
[0034] The industrial control host 1 is communicatively connected to the light source controller 2, and is used to send control commands to the light source controller 2. In this embodiment, the industrial control host 1 and the light source controller 2 are connected via RS232 (serial port), and the control commands sent to the light source controller 2 include the required brightness value of the light source 3 (e.g., 1000 brightness). Both the industrial control host 1 and the light source controller 2 use existing equipment; for example, the industrial control host 1 can be a PC.
[0035] The light source controller 2 is electrically connected to the light source 3 and is used to adjust the brightness of the light source 3 according to the control commands sent by the industrial control host 1. In this embodiment, in order to simulate the natural light outside the vehicle, the light source 3 is set to be composed of both white light and infrared light.
[0036] The above-described structure of industrial control host 1 + light source controller 2 + light source 3 enables the simulation of natural light with fixed brightness.
[0037] To avoid the influence of ambient light on the test, this embodiment requires the test to be conducted in a completely dark environment, meaning that both the light source 3 and the rain and light sensor product 4 are placed in complete darkness. To achieve this completely dark environment, this embodiment also includes a black box 7, a bellows-shaped cover 8, a cylinder 10, and a solenoid valve 11. The input of the solenoid valve 11 is connected to the PLC controller 6, and the output of the solenoid valve 11 is connected to the input of the cylinder 10. The output of the cylinder 10 (i.e., the piston) is connected to the bellows-shaped cover 8 to control its opening and closing. The black box 7 is a sealed structure with an opening (such as a square opening) that blocks light; both the light source 3 and the rain and light sensor product 4 are installed inside the black box 7. The bellows-shaped cover 8 is installed at the opening of the black box 7 and is used to open or close the opening according to the control of the cylinder 10. With the above structure, during the test, the accordion cover 8 can be controlled to block the opening, so that the entire test is conducted in a completely dark environment; before and after the test, the accordion cover 8 can be controlled to open the opening, so that the user can easily replace the next rain and light sensor product 4 used for testing.
[0038] The industrial control host 1 is communicatively connected to the PLC controller 6 and is used to send control commands to the PLC controller 6. In this embodiment, the control commands sent by the industrial control host 1 to the PLC controller 6 are used to prompt the PLC controller 6 to start working.
[0039] The PLC controller 6 is electrically connected to the stepper motor 5. The stepper motor 5 is connected to the adjustment mechanism of the adjustable resistor in the rain and light sensor product 4, and is used to adjust the resistance value of the adjustable resistor according to the control commands sent by the PLC controller 6.
[0040] The PLC controller 6 is electrically connected to the photodiode in the rain and light sensor product 4 to detect the voltage across the photodiode.
[0041] With the structure of the above-mentioned PLC controller 6 + stepper motor 5 + rain and light sensor product 4, the PLC controller 6 adjusts the adjustable resistor through the stepper motor 5 while measuring the voltage across the photodiode until the measured voltage is equal to the voltage corresponding to the brightness value of the light source 3 (e.g., 1000 brightness corresponds to 5V voltage). At this point, the photodiode is calibrated, improving the accuracy of light measurement.
[0042] Furthermore, to test the accuracy of the illumination measurement based on the adjusted photodiode, this embodiment also includes: an industrial control host 1 communicating with the rain and light sensor product 4 to receive a message containing the voltage values across the photodiode sent by the rain and light sensor product 4, converting the voltage values in the message into brightness values, and then comparing them with the brightness values contained in the control commands sent to the light source controller 2 (whether they match or the difference is less than a set difference threshold), thereby determining whether the hardware function of the rain and light sensor is qualified. The industrial control host 1 and the rain and light sensor product 4 can be connected via a CAN bus or a LIN bus; in this embodiment, they are connected via a CAN bus. It should be noted that the aforementioned message is generated by the microprocessor (MCU) contained in the rain and light sensor product 4. When this test is required, the industrial control host 1 sends a corresponding command to the microprocessor through the PLC controller 6. After receiving the command, the microprocessor executes the operation of collecting the voltage values across the photodiode, generating a message, and sending it to the industrial control host 1 via the CAN bus.
[0043] Furthermore, this embodiment also includes a display 9 connected to the industrial control host 1 to display the results for the user's convenience in making a judgment.
[0044] Although the present invention has been specifically shown and described in conjunction with preferred embodiments, those skilled in the art should understand that various changes in form and detail may be made to the present invention without departing from the spirit and scope of the present invention as defined in the appended claims, and all such changes shall be within the scope of protection of the present invention.
Claims
1. A system for adjusting the accuracy of illumination measurement using a rainfall and illumination sensor, characterized in that, include: Industrial control host, light source controller, light source, rain and light sensor products, stepper motors and PLC controllers; among which: The rain and light sensor product includes a photodiode, and the power supply circuit containing the photodiode includes an adjustable resistor. The industrial control host is connected to the light source controller and the PLC controller for communication, and is used to send control commands to the light source controller and the PLC controller. The light source controller is electrically connected to the light source and is used to adjust the brightness of the light source according to the control commands sent by the industrial control host. The light source is used to provide illumination for the rain gauge light sensor product in a completely dark environment; The PLC controller is electrically connected to the stepper motor; The stepper motor is connected to the adjustment mechanism of the adjustable resistor in the rain and light sensor product, and is used to adjust the resistance value of the adjustable resistor according to the control instructions sent by the PLC controller. The PLC controller is electrically connected to the photodiode in the rain and light sensor product to detect the voltage across the photodiode.
2. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 1, characterized in that: The industrial control host and the light source controller are connected via RS232.
3. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 1, characterized in that: The industrial control host and the PLC controller are connected via Ethernet.
4. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 1, characterized in that: The light sources include white light and infrared light.
5. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 1, characterized in that: It also includes a black box, a single-line accordion cover, cylinders, and solenoid valves; The input end of the solenoid valve is connected to the PLC controller, and the output end of the solenoid valve is connected to the input end of the cylinder. The output end of the cylinder is connected to a straight-line accordion cover, which is used to control the opening and closing of the straight-line accordion cover; The black box is a sealed structure with an opening and is light-proof. The light source and the rain and light sensor products are installed inside the black box. A straight accordion cover is installed at the opening of the black box to open or close the opening according to the control of the cylinder.
6. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 1, characterized in that: Also includes: The industrial control host communicates with the rain and light sensor product to receive messages sent by the rain and light sensor product containing the voltage values across the photodiode. It then determines whether the rain and light sensor is qualified based on whether the brightness value converted from the voltage value matches the brightness value contained in the control command sent to the light source controller.
7. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 6, characterized in that: The industrial control host and the rain and light sensor products are connected via CAN bus or LIN bus.
8. The system for adjusting the illumination measurement accuracy of a rain gauge and illumination sensor according to claim 6, characterized in that: It also includes a display that connects to the industrial control host to show the results.