Light source control circuit
Through the design of double-digital-to-analog converter and multiple output fine-tuning circuits, the problem of weak interaction capabilities between the light source controller and the PLC device in the machine vision system is solved, and precise control of multi-channel light sources is achieved, which improves the flexibility and efficiency of the system.
Patent Information
- Application Number
- CN202421931550.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2034-08-09
AI Technical Summary
In machine vision systems, the interaction ability of light source controllers and PLCs is weak, which affects the quality of image capture and the accuracy of subsequent processing.
The double-digital-to-analog converter design and multiple output fine-tuning circuits are adopted, combined with DAC fine-tuning circuits, load real-time feedback circuits, sliding varistors and field effect tubes, to achieve accurate and independent control of multi-channel light sources and enhance external IO interaction capabilities.
It realizes precise control of multi-channel light sources, improves the performance and flexibility of machine vision systems, expands the application range of light source controllers, and adapts to various industrial environments and task requirements.
Smart Images

Figure CN223231362U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of control circuits, in particular to a light source control circuit. Background Art
[0002] In the machine vision industry, light controllers play a crucial role, especially when performing delicate visual inspection tasks. The quality of light controllers directly impacts image capture quality and subsequent processing accuracy. Therefore, a high-precision and reliable light control circuit design is a key factor in improving machine vision system performance.
[0003] Machine vision systems typically use visual cameras to capture images. However, these cameras typically have limited input / output (IO) resources. This limits their ability to interact with other devices, such as PLCs (Programmable Logic Controllers). Clearly, existing technologies still require improvement and advancement. Utility Model Content
[0004] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a light source control circuit for solving the problem of weak interactive capability in the machine vision system in the prior art.
[0005] In order to achieve the above-mentioned objectives, the present invention adopts the following technical solutions: a light source control circuit, including a main controller, a light source control module and an output fine-tuning module, the light source control module including a first digital-to-analog converter and a second digital-to-analog converter, the output fine-tuning module including a first output fine-tuning circuit, a second output fine-tuning circuit, a third output fine-tuning circuit, a fourth output fine-tuning circuit, a fifth output fine-tuning circuit, a sixth output fine-tuning circuit, a seventh output fine-tuning circuit and an eighth output fine-tuning circuit: the main controller is respectively connected to the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit and the fourth output fine-tuning circuit through the first digital-to-analog converter, and the main controller is respectively connected to the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit through the second digital-to-analog converter.
[0006] In one embodiment of the present invention, a DAC fine-tuning circuit is further included, and each of the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit, the fourth output fine-tuning circuit, the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit is correspondingly connected to one of the DAC fine-tuning circuits.
[0007] The beneficial effect of the above embodiment is that each output fine-tuning circuit is equipped with an independent output fine-tuning circuit, which further refines the control of each channel and provides more precise current and voltage regulation to meet more precise light source control requirements.
[0008] In one embodiment of the present invention, the output fine-tuning circuit includes a nineteenth resistor and a fourth capacitor, one end of the nineteenth resistor is connected to the OUTA terminal of the second digital-to-analog converter, and the other end is grounded, and the fourth capacitor is connected in parallel to both ends of the nineteenth resistor.
[0009] The beneficial effect of the above embodiment is that the combination of the nineteenth resistor and the fourth capacitor provides a stable output at the OUTA terminal, reducing voltage fluctuations, which helps to maintain a constant light source intensity and avoid brightness fluctuations caused by voltage changes.
[0010] In one embodiment of the present invention, a load real-time feedback circuit is also included, and each of the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit, the fourth output fine-tuning circuit, the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit is correspondingly connected to one of the load real-time feedback circuits.
[0011] The beneficial effect of the above embodiment is that the load real-time feedback circuit provides instant feedback for each fine-tuning circuit, ensuring the stability and reliability of the light source performance. This feedback mechanism allows the circuit to automatically adjust the output according to the actual load to ensure optimal performance.
[0012] In one embodiment of the present invention, the load real-time feedback circuit includes a fifty-third signal amplifier, an eighth dual diode, a 229th resistor and a 245th resistor, and the OUTA end of the first digital-to-analog converter is connected to the light source through the 229th resistor, the eighth dual diode and the 245th resistor in sequence, and the OUTA end of the first digital-to-analog converter is also grounded through the eighth dual diode.
[0013] In one embodiment of the present invention, it further includes a 213th sliding rheostat, a thirteenth amplifier and a sixth field-effect transistor, wherein the non-inverting input terminal of the thirteenth amplifier is connected to the sliding contact of the 213th sliding rheostat, the inverting input terminal of the thirteenth amplifier is connected to the terminal of the 213th sliding rheostat, and the output terminal of the thirteenth amplifier is connected to the light source through the sixth field-effect transistor.
[0014] The beneficial effects of the above embodiment are: the 213th sliding resistor and the thirteenth amplifier increase the user's flexibility in controlling the light source intensity, support manual or automatic adjustment of the light source intensity under different lighting environments, and make the system more user-friendly.
[0015] In one embodiment of the present invention, a first resistor is further included, the gate of the sixth field effect transistor is connected to the output end of the thirteenth amplifier, the drain of the sixth field effect transistor is connected to the light source, and the source of the sixth field effect transistor is grounded through the first resistor.
[0016] The beneficial effects of the above embodiment are: the use of the sixth field effect transistor, through its efficient switching characteristics, provides fast-response light source control, which is particularly critical for high-speed dynamic applications; at the same time, the stability and safety of the current are guaranteed under the blocking effect of the first resistor.
[0017] In one embodiment of the present invention, a serial memory is further included, wherein the NSS pin of the serial memory is connected to pin 65 of the main controller, the DAOUT pin of the serial memory is connected to pin 53 of the main controller, the DAIN pin of the serial memory is connected to pin 54 of the main controller, and the CLK pin of the serial memory is connected to pin 47 of the main controller.
[0018] The beneficial effect of the above embodiment is that the serial memory enables the light source control circuit to store multiple operating modes and settings, which facilitates users to quickly switch configurations according to different situations, thereby enhancing the applicability and flexibility of the device.
[0019] In one embodiment of the present invention, a light source trigger circuit is further included. The light source trigger circuit includes a sixth switch diode and a seventh optocoupler. The sixth switch diode and the seventh optocoupler are sequentially connected to the 98th pin of the main controller.
[0020] In one embodiment of the present invention, a transceiver receiving circuit connected to the main controller is further included.
[0021] The beneficial effects of the above embodiments are: the integration of the transceiver receiving circuit improves the communication efficiency between the main controller and other system components, supports more complex control instructions and data exchange, and is particularly critical for realizing automated and networked control systems.
[0022] As described above, the light source control circuit of the present invention has the following beneficial effects: adopting a dual digital-to-analog converter design and multiple output fine-tuning circuits, the light source control circuit can realize precise and independent control of multi-channel light sources to meet complex lighting needs, and the added external IO interaction capability enables the light source controller to communicate more flexibly with PLC and other equipment to adapt to the needs of the automation control system; it not only improves the performance of the machine vision system, but also expands the application scope of the light source controller, so that it can better adapt to various industrial environments and task requirements, and improves the flexibility and efficiency of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0024] Figure 1 A circuit diagram of the light source control circuit provided by the utility model;
[0025] Figure 2 This is a fine-tuning circuit diagram of the light source control circuit provided by the utility model;
[0026] Figure 3 This is a fine-tuning circuit diagram of the light source control circuit provided by the utility model;
[0027] Figure 4 This is a load real-time feedback circuit diagram of the light source control circuit provided by the utility model;
[0028] Figure 5 A partial circuit diagram of the light source control circuit provided by the utility model;
[0029] Figure 6 A partial circuit diagram of the light source control circuit provided by the utility model;
[0030] Figure 7 A partial circuit diagram of the light source control circuit provided by the utility model;
[0031] Figure 8 This is a transceiver receiving circuit diagram of the light source control circuit provided by the utility model.
[0032] Component number description
[0033] U2 is the main controller;
[0034] U42 is a first digital-to-analog converter;
[0035] U3 is the second digital-to-analog converter;
[0036] R19 is the nineteenth resistor;
[0037] C4 is the fourth capacitor;
[0038] U53 is the fifty-third signal amplifier;
[0039] D8 is the eighth dual diode;
[0040] R229 is the 229th resistor;
[0041] R245 is the 245th resistor;
[0042] R213 is the 213th sliding rheostat;
[0043] U13A is the thirteenth amplifier;
[0044] U6 is the sixth field effect transistor;
[0045] R1 is the first resistor;
[0046] U4 is a serial memory. DETAILED DESCRIPTION
[0047] The present invention provides a light source control circuit. To make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
[0048] In the description of this utility model, it should be understood that the terms "upper, lower, left, and right" and the like indicating directions or positions are based on the directions or positions shown in the accompanying drawings and are intended solely to facilitate and simplify the description of this utility model and are not to be construed as limiting the scope of this utility model. Furthermore, the terms "installation" and "connection" are to be understood broadly, and those skilled in the art will be able to understand the specific meanings of these terms in this utility model based on the specific circumstances.
[0049] See also Figures 1 to 8 The utility model provides a light source control circuit, including a main controller U2, a light source control module and an output fine-tuning module, the light source control module including a first digital-to-analog converter U42 and a second digital-to-analog converter U3, the output fine-tuning module including a first output fine-tuning circuit, a second output fine-tuning circuit, a third output fine-tuning circuit, a fourth output fine-tuning circuit, a fifth output fine-tuning circuit, a sixth output fine-tuning circuit, a seventh output fine-tuning circuit and an eighth output fine-tuning circuit: the main controller U2 is connected to the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit and the fourth output fine-tuning circuit respectively through the first digital-to-analog converter U42, and the main controller U2 is connected to the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit respectively through the second digital-to-analog converter U3.
[0050] The system further includes a DAC fine-tuning circuit. Each of the first, second, third, fourth, fifth, sixth, seventh, and eighth output fine-tuning circuits is connected to a corresponding DAC fine-tuning circuit. This means that each output fine-tuning circuit is equipped with an independent DAC fine-tuning circuit, further refining the control of each channel and providing more precise current and voltage regulation to meet more sophisticated light source control requirements. Specifically, one of the DAC fine-tuning circuits includes a nineteenth resistor R19 and a fourth capacitor C4. One end of the nineteenth resistor R19 is connected to the OUTA terminal of the second digital-to-analog converter U3, and the other end is grounded. The fourth capacitor C4 is connected in parallel across the nineteenth resistor R19. The combination of the nineteenth resistor R19 and the fourth capacitor C4 provides a stable output at the OUTA terminal, reducing voltage fluctuations, helping to maintain constant light source intensity and avoiding brightness fluctuations caused by voltage changes.
[0051] It also includes a load real-time feedback circuit, and each of the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit, the fourth output fine-tuning circuit, the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit is correspondingly connected with a load real-time feedback circuit. The load real-time feedback circuit provides instant feedback for each fine-tuning circuit to ensure the stability and reliability of the light source performance. This feedback mechanism allows the circuit to automatically adjust the output according to the actual load to ensure optimal performance.
[0052] In detail, one of the load real-time feedback circuits includes a fifty-third signal amplifier U53, an eighth dual diode D8, a 229th resistor R229 and a 245th resistor R245, and the OUTA end of the first digital-to-analog converter is connected to the light source through the 229th resistor R229, the eighth dual diode D8 and the 245th resistor R245 in sequence, and the OUTA end of the first digital-to-analog converter is also grounded through the eighth dual diode D8.
[0053] Specifically, it also includes a 213th sliding rheostat R213, a thirteenth amplifier U13A and a sixth field effect transistor U6, the non-inverting input end of the thirteenth amplifier U13A is connected to the sliding contact of the 213th sliding rheostat R213, the inverting input end of the thirteenth amplifier U13A is connected to the terminal of the 213th sliding rheostat R213, and the output end of the thirteenth amplifier U13A is connected to the light source through the sixth field effect transistor; the 213th sliding rheostat R213 and the thirteenth amplifier U13A increase the user's flexibility in controlling the light source intensity, support manual or automatic adjustment of the light source intensity under different lighting environments, and make the system more user-friendly.
[0054] More specifically, a first resistor R1 is further included. The gate of the sixth field-effect transistor U6 is connected to the output of the thirteenth amplifier U13A, the drain of the sixth field-effect transistor U6 is connected to the light source, and the source of the sixth field-effect transistor U6 is grounded via the first resistor R1. The sixth field-effect transistor U6 utilizes its efficient switching characteristics to provide fast-response light source control, which is particularly critical for high-speed dynamic applications. Furthermore, the blocking effect of the first resistor R1 ensures current stability and safety.
[0055] In this embodiment, a serial memory U4 is further included. The NSS pin of the serial memory is connected to pin 65 of the main controller U2, the DAOUT pin of the serial memory is connected to pin 53 of the main controller U2, the DAIN pin of the serial memory is connected to pin 54 of the main controller U2, and the CLK pin of the serial memory is connected to pin 47 of the main controller U2. It can be understood that the serial memory U4 enables the light source control circuit to store multiple operating modes and settings, making it easier for users to quickly switch configurations according to different situations, thereby enhancing the applicability and flexibility of the device.
[0056] It also includes a light source trigger circuit, which includes a sixth switching diode and a seventh optocoupler, and the sixth switching diode and the seventh optocoupler are connected to the 98th pin of the main controller U2 in sequence; in detail, it also includes a transceiver receiving circuit connected to the main controller U2. The integration of the transceiver receiving circuit improves the communication efficiency between the main controller U2 and other system components, supports more complex control instructions and data exchange, and is particularly critical for realizing automated and networked control systems.
[0057] In summary, the light source control circuit of the present invention utilizes a dual digital-to-analog converter design and multiple output fine-tuning circuits. This light source control circuit is capable of achieving precise and independent control of multi-channel light sources, meeting complex lighting requirements. The added external I / O interaction capability enables the light source controller to more flexibly communicate with devices such as PLCs, adapting to the needs of automated control systems. This not only improves the performance of machine vision systems but also expands the application scope of the light source controller, enabling it to better adapt to various industrial environments and task requirements, thereby enhancing the flexibility and efficiency of the entire system. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and possesses high industrial application value.
[0058] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and the utility model concept of the present invention, and all these changes or substitutions should fall within the scope of protection of the present invention.
Claims
1. A light source control circuit, characterized in that: It includes a main controller, a light source control module and an output fine-tuning module. The light source control module includes a first digital-to-analog converter and a second digital-to-analog converter. The output fine-tuning module includes a first output fine-tuning circuit, a second output fine-tuning circuit, a third output fine-tuning circuit, a fourth output fine-tuning circuit, a fifth output fine-tuning circuit, a sixth output fine-tuning circuit, a seventh output fine-tuning circuit and an eighth output fine-tuning circuit: The main controller is connected to the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit and the fourth output fine-tuning circuit respectively through the first digital-to-analog converter, and the main controller is connected to the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit respectively through the second digital-to-analog converter.
2. The light source control circuit according to claim 1, characterized in that: It also includes a DAC fine-tuning circuit, and each of the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit, the fourth output fine-tuning circuit, the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit is correspondingly connected to one of the DAC fine-tuning circuits.
3. The light source control circuit according to claim 2, characterized in that: The DAC fine-tuning circuit includes a nineteenth resistor and a fourth capacitor. One end of the nineteenth resistor is connected to the OUTA terminal of the second digital-to-analog converter, and the other end is grounded. The fourth capacitor is connected in parallel to both ends of the nineteenth resistor.
4. The light source control circuit according to claim 3, characterized in that: It also includes a load real-time feedback circuit, and each of the first output fine-tuning circuit, the second output fine-tuning circuit, the third output fine-tuning circuit, the fourth output fine-tuning circuit, the fifth output fine-tuning circuit, the sixth output fine-tuning circuit, the seventh output fine-tuning circuit and the eighth output fine-tuning circuit is correspondingly connected to one of the load real-time feedback circuits.
5. The light source control circuit according to claim 4, characterized in that: The load real-time feedback circuit includes a fifty-third signal amplifier, an eighth dual diode, a 229th resistor and a 245th resistor. The OUTA end of the first digital-to-analog converter is connected to the light source through the 229th resistor, the eighth dual diode and the 245th resistor in sequence. The OUTA end of the first digital-to-analog converter is also grounded through the eighth dual diode.
6. The light source control circuit according to claim 5, characterized in that: It also includes a 213th sliding rheostat, a thirteenth amplifier and a sixth field effect transistor, wherein the non-inverting input terminal of the thirteenth amplifier is connected to the sliding contact of the 213th sliding rheostat, the inverting input terminal of the thirteenth amplifier is connected to the terminal of the 213th sliding rheostat, and the output terminal of the thirteenth amplifier is connected to the light source through the sixth field effect transistor.
7. The light source control circuit according to claim 6, wherein: It also includes a first resistor, the gate of the sixth field effect tube is connected to the output end of the thirteenth amplifier, the drain of the sixth field effect tube is connected to the light source, and the source of the sixth field effect tube is grounded through the first resistor.
8. The light source control circuit according to claim 1, wherein: It also includes a serial memory, the NSS pin of the serial memory is connected to pin 65 of the main controller, the DAOUT pin of the serial memory is connected to pin 53 of the main controller, the DAIN pin of the serial memory is connected to pin 54 of the main controller, and the CLK pin of the serial memory is connected to pin 47 of the main controller.
9. The light source control circuit according to claim 1, wherein: It also includes a light source trigger circuit, which includes a sixth switch diode and a seventh optical coupler. The sixth switch diode and the seventh optical coupler are connected to the 98th pin of the main controller in sequence.
10. The light source control circuit according to claim 9, characterized in that: It also includes a transceiver receiving circuit connected to the main controller.