Light source control device and optical detector

By using a heat dissipation housing with built-in circuit boards and functional modules in the light source controller, combined with heat dissipation methods such as fans and ventilation holes, the problems of large size and high cost of traditional light source controllers are solved, and efficient heat dissipation is achieved.

CN224503775UActive Publication Date: 2026-07-14HANGZHOU CHANGCHUAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
HANGZHOU CHANGCHUAN TECH CO LTD
Filing Date
2025-06-26
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Traditional heat dissipation methods for light source controllers result in large size and high cost. How can we provide a heat dissipation method that is small in size and low in cost?

Method used

The heat sink housing houses the circuit board and functional modules. The target device is fixed to the inner wall of the heat sink housing. Heat dissipation is achieved by combining a fan and ventilation holes. Thermal grease is filled between the power transistor and the heat sink housing.

Benefits of technology

This achieves a heat dissipation effect that reduces costs without increasing size, ensuring the normal operation of the light source controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224503775U_ABST
    Figure CN224503775U_ABST
Patent Text Reader

Abstract

The application relates to a light source control device and an optical detector, the light source control device comprising a heat dissipation shell and a light source controller, the light source controller comprising a circuit board and a functional module, the circuit board being arranged in the heat dissipation shell, the functional module being mounted on the circuit board, and a target device needing heat dissipation in the functional module being further fixed to the inner wall of the heat dissipation shell and dissipating heat through the heat dissipation shell. The target device needing heat dissipation is directly fixed to the heat dissipation shell for heat dissipation, the volume of the light source controller is not increased, and the manufacturing cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical inspection technology, and in particular to a light source control device and an optical inspection instrument. Background Technology

[0002] The light source controller supplies power to the light source, controls its brightness and illumination status, enabling the camera to capture stable images at high speed. Since the light source controller needs to be housed within a casing, traditional light source controllers rely on heat sinks to dissipate heat and prevent damage from overheating. This method results in a larger size and increased manufacturing costs. Therefore, providing a compact and cost-effective heat dissipation method is a pressing issue that needs to be addressed. Utility Model Content

[0003] Therefore, it is necessary to provide a light source control device and optical inspection instrument that achieves a small size and low cost heat dissipation method to address the above problems.

[0004] The first aspect of this application provides a light source control device, including: a heat dissipation housing and a light source controller. The light source controller includes a circuit board and a functional module. The circuit board is disposed inside the heat dissipation housing, and the functional module is mounted on the circuit board. The target device in the functional module that needs to be dissipated is also fixed to the inner wall of the heat dissipation housing, and heat dissipation is achieved through the heat dissipation housing.

[0005] In one embodiment, the target device includes a power transistor that is fixed to the heat sink housing by screws, and thermal grease is filled between the power transistor and the heat sink housing.

[0006] In one embodiment, the light source control device further includes a fan disposed outside the heat dissipation housing, the heat dissipation housing having ventilation holes, the fan dissipating heat from the outer surface of the heat dissipation housing when turned on, and dissipating heat from the interior of the heat dissipation housing through the ventilation holes.

[0007] In one embodiment, the functional module includes a communication module, a main control module, and a drive module. The communication module is connected to a host computer, the main control module is connected to the communication module and the drive module, and the drive module is connected to a light source. The communication module receives configuration parameters from the host computer and sends them to the main control module. The main control module outputs a drive signal to the drive module. The drive module receives the drive signal and supplies power to the light source.

[0008] In one embodiment, the functional module further includes a trigger signal input module connected to the main control module. The trigger signal input module sends a trigger signal to the main control module. After receiving the trigger signal, the main control module outputs a drive signal to control the drive module to supply pulse current to the light source.

[0009] In one embodiment, the communication module, the main control module, and the trigger signal input module are mounted on the front side of the circuit board; the power transistor in the drive module is mounted on the back side of the circuit board, and other devices are mounted on the front side of the circuit board.

[0010] In one embodiment, the driving module includes a DAC analog voltage output unit, an analog switch unit, and a current driving circuit. The DAC analog voltage output unit is connected to the main control module and the analog switch unit. The analog switch unit is connected to the DAC analog voltage output unit and the current driving circuit. The current driving circuit is connected to the light source. The DAC analog voltage output unit outputs a corresponding analog voltage to the analog switch unit. When the analog switch unit is turned on, it delivers the analog voltage to the current driving circuit. The current driving circuit provides constant current or pulsed current power to the light source according to the analog voltage.

[0011] In one embodiment, the current drive circuit includes an operational amplifier, resistors R2, R4, R5, R6, R7, R8, and R9, capacitors C4 and C7, and a power transistor. The non-inverting input of the operational amplifier is grounded through resistor R4 and connected to the first terminal of resistor R7. The second terminal of resistor R7 is connected to the power input terminal. The inverting input of the operational amplifier is connected to the analog switch unit through resistor R2 and to the output terminal of the operational amplifier through capacitor C4. The output terminal of the operational amplifier is connected to the control terminal of the power transistor through resistor R6. The first terminal of the power transistor is connected to the light source, and the second terminal of the power transistor is connected to the inverting input of the operational amplifier through resistor R8 and grounded through resistor R9. Resistor R5 and capacitor C7 are connected in series to the first and second terminals of the power transistor.

[0012] In one embodiment, the light source controller includes multiple output channels, the number of analog switch units and the number of current drive circuits are the same as the number of output channels, each analog switch unit is connected to the DAC analog voltage output unit and connected to the corresponding current drive circuit, and each current drive circuit is connected to the corresponding light source through the output channel.

[0013] A second aspect of this application provides an optical inspection instrument, including a light source and the aforementioned light source control device.

[0014] The aforementioned light source control device and optical inspection instrument house the circuit board of the light source controller within a heat dissipation housing. The functional modules of the light source controller are mounted on the circuit board, and the target devices requiring heat dissipation within the functional modules are fixed to the inner wall of the heat dissipation housing for heat dissipation. Directly fixing the target devices requiring heat dissipation to the heat dissipation housing for heat dissipation does not increase the size of the light source controller and reduces manufacturing costs. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the structure of the light source control device in one embodiment;

[0016] Figure 2 This is a structural block diagram of the light source controller in one embodiment;

[0017] Figure 3 This is a schematic diagram of the structure of the light source controller in one embodiment;

[0018] Figure 4 This is a schematic diagram of the structure of a simulated switching unit and current drive circuit in one embodiment;

[0019] Figure 5 This is a schematic diagram of the front layout of the circuit board in one embodiment;

[0020] Figure 6 This is a schematic diagram of the reverse layout of the circuit board in one embodiment;

[0021] Figure 7 This is a schematic diagram of the structure of a multi-channel light source controller in one embodiment;

[0022] Figure 8 and Figure 9 This is a schematic diagram of the installation of the MOS transistor in one embodiment. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

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

[0025] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0026] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising,” “including,” or “having,” etc., specify the presence of the stated feature, whole, operation, component, part, or combination thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, operations, components, parts, or combinations thereof.

[0027] In one embodiment, such as Figure 1 As shown, a light source control device is provided, including a light source controller 100 and a heat dissipation housing 200. The light source controller 100 includes a circuit board and a functional module. The circuit board is disposed inside the heat dissipation housing 200, and the functional module is mounted on the circuit board. The target device in the functional module that needs to be dissipated is also fixed to the inner wall of the heat dissipation housing 200, and the heat dissipation is achieved through the heat dissipation housing 200.

[0028] The heat dissipation housing 200 can be made of aluminum or other metal, serving not only to shield against external radiation but also as a crucial means of heat dissipation. The number and type of functional modules in the light source controller 100 are not unique and will vary depending on actual testing needs. The type of target device requiring heat dissipation can also be determined based on actual requirements, such as power transistors, main control chips, etc. The target device can be fixed to the heat dissipation housing 200 by screws, welding, adhesive, or snap-fit. In this embodiment, the target device includes a power transistor, which is fixed to the heat dissipation housing 200 by screws, and thermal grease can be filled between the power transistor and the heat dissipation housing 200. When the light source controller 100 is operating, the power transistor is the primary source of heat. By tightly attaching the power transistor to the heat dissipation housing 200, applying thermal grease, and then fixing it with screws, the heat from the power transistor can be dissipated through the heat dissipation housing 200.

[0029] Furthermore, the light source control device also includes a fan 300 disposed outside the heat sink housing 200. The heat sink housing 200 has ventilation holes. When turned on, the fan 300 dissipates heat from the outer surface of the heat sink housing 200 and dissipates heat from the interior of the heat sink housing 200 through the ventilation holes. Specifically, the heat sink housing 200 can be designed as a cuboid structure, with the side containing the power transistor as the top surface. Ventilation holes can be opened on two opposite sides of the heat sink housing 200. The fan 300 is placed outside the heat sink housing 200 for heat dissipation, facilitating the airflow to carry away heat through the upper and lower layers of the circuit board. Since the power transistor is fixed to the heat sink housing 200, the heat from the power transistor can be quickly transferred to the heat sink housing 200, and then the external fan 300 carries away the heat from the heat sink housing 200.

[0030] In one embodiment, such as Figure 2 As shown, the functional modules include a communication module 110, a main control module 120, and a drive module 130. The communication module 110 is connected to a host computer, the main control module 120 is connected to both the communication module 110 and the drive module 130, and the drive module 130 is connected to the light source 400. The communication module 110 receives configuration parameters from the host computer and sends them to the main control module 120. The main control module 120 outputs drive signals to the drive module 130. The drive module 130 receives the drive signals and supplies power to the light source 400. The drive module 130 can provide constant current or pulsed current power to the light source 400 based on the drive signals.

[0031] The light source controller 100 may include multiple output channels (e.g., 8 output channels), each connected to a corresponding light source 400. The drive module 130 provides constant current or pulsed current power to the light source 400 of the corresponding output channel according to the received drive signal. Specifically, the host computer sends configuration parameters to the main control module 120 via the communication module 110 according to the actual optical detection needs, configuring the output type and output parameters. The output type includes two modes: constant current output or pulsed current output. The output parameters include output channel selection (selecting which channels to output), output delay time (used to control the output rise time, for camera photography), output current magnitude, output duration, and trigger mode (selecting the corresponding trigger mode based on the output channel, such as 1-to-1, 1-to-many, or 2-to-many). The main control module 120 controls the drive module 130 to output according to the configured parameters. The drive module 130 is the core module of the light source controller 100, responsible for current output. The communication module 110 is responsible for communicating with the host computer and supports multiple communication methods such as CAN communication, serial communication (e.g., RS232), and network communication. If multiple light source controllers 100 are used together, the communication module 110 can choose CAN communication, allowing dozens of light source controllers 100 to operate simultaneously with a single CAN communication line, resulting in very low cost. For high-speed communication, the communication module 110 can choose network communication, supporting speeds from 10Mbps to 100Mbps. In this embodiment, the communication module 110 uses an RS232 bus to communicate with the host computer. The main control module 120 can be a main control chip such as an FPGA, CPU, or MCU; in this embodiment, the main control module 120 is an MCU.

[0032] In one embodiment, such as Figure 3 As shown, the functional module also includes a trigger signal input module 140 connected to the main control module 120. The trigger signal input module 140 sends a trigger signal to the main control module 120. After receiving the trigger signal, the main control module 120 outputs a drive signal to control the drive module 130 to supply pulse current to the light source.

[0033] Specifically, the trigger signal input module 140 is connected to the main control module 120 via an I / O interface. The main control module 120 determines the output type based on the configuration parameters. In constant current output mode, after the host computer sends the configuration parameters to the main control module 120 via the communication module 110, the main control module 120 outputs a drive signal to the drive module 130, controlling the drive module 130 to provide constant current power to the light source 400. In pulse current output mode, after the host computer sends the configuration parameters to the main control module 120 via the communication module 110, the main control module 120 waits for the trigger signal from the trigger signal input module 140. Upon receiving the trigger signal, it outputs a drive signal, controlling the drive module 130 to provide pulse current power to the light source 400.

[0034] In pulse current mode, the main control module 120 needs to receive trigger signals and set trigger modes. Taking the light source controller 100, which includes 8 output channels, as an example, there are three trigger modes: the first is 1-to-1 triggering, where each trigger signal corresponds to one output channel; the second is 1-to-4 triggering, where 2 trigger signals control 8 output channels; and the third is 1-to-8 triggering, where 1 trigger signal controls 8 output channels. The trigger signal input module 140 can use an optocoupler isolation module to transmit signals. To transmit signals to the main control module 120 as quickly as possible, the trigger signal input module 140 uses a high-speed optocoupler chip. Specifically, the trigger signal input module 140 can be connected to a camera, transmitting trigger signals to the main control module 120 based on the signals output by the camera, causing the light source 400 to perform strobe illumination, thereby extending the lifespan of the light source 400.

[0035] Furthermore, the drive module 130 is connected to the corresponding light source 400 through different output channels; the main control module 120 outputs a drive signal to the drive module 130 according to the received configuration parameters, controlling the drive module 130 to provide constant current power to the light source 400 of the corresponding output channel, or the main control module 120 outputs a drive signal to the drive module 130 according to the received configuration parameters and trigger signal, controlling the drive module 130 to provide pulse current power to the light source 400 of the corresponding output channel. This supports power supply control for multiple light sources, meeting the needs of different optical testing scenarios.

[0036] In one embodiment, continue to refer to Figure 3The driving module 130 includes a DAC analog voltage output unit 132, an analog switch unit 134, and a current drive circuit 136. The DAC analog voltage output unit 132 is connected to the main control module 120 and the analog switch unit 134. The analog switch unit 134 is connected to the DAC analog voltage output unit 132 and the current drive circuit 136. The current drive circuit 136 is connected to the light source 400. The DAC analog voltage output unit 132 outputs a corresponding analog voltage to the analog switch unit 134. When the analog switch unit 134 is turned on, it delivers the analog voltage to the current drive circuit 136. The current drive circuit 136 provides constant current or pulsed current power to the light source 400 according to the analog voltage. The communication module 110 can be connected to the main control module 120 via a UART interface. The DAC analog voltage output unit 132 can be connected to the main control module 120 via an SPI interface. The DAC analog voltage output unit 132 outputs an analog voltage according to the drive signal sent by the main control module 120. The analog switch unit 134 can be connected to the main control module 120 via an I / O interface. In constant current output mode, the main control module 120 controls the analog switch unit 134 to remain closed, connecting the DAC analog voltage output unit 132 to the current drive circuit 136, thus providing constant current power to the light source 400. In pulse current output mode, after receiving a trigger signal, the main control module 120 controls the on / off duration of the analog switch unit 134 according to the configuration parameters, providing pulse current power to the light source 400. In different output modes, the analog voltage output by the DAC analog voltage output unit 132 is transmitted to the current drive circuit 136, which converts the analog voltage into analog current to drive the light source 400 to emit light. The magnitude of the analog voltage output by the DAC analog voltage output unit 132 can be adjusted according to actual needs to achieve multi-channel high-power output.

[0037] It should be noted that when the light source controller 100 includes multiple output channels, each output channel may be equipped with an analog switch unit 134 and a current drive circuit 136 to achieve constant current or pulse current power supply for different output channels; alternatively, the same current drive circuit 136 may be connected to different output channels to control the current drive circuit 136 to provide constant current or pulse current power supply to different output channels. In this embodiment, the number of analog switch units 134 and current drive circuits 136 is the same as the number of output channels. Each analog switch unit 134 is connected to the DAC analog voltage output unit 132 and to the corresponding current drive circuit 136. Each current drive circuit 136 is connected to the corresponding light source 400 through an output channel.

[0038] In addition, the light source controller 100 also includes a storage module 150 connected to the main control module 120. The storage module 150 can be a FLASH memory or other types of memory. The storage module 150 can be connected to the main control module 120 via an SPI interface and can be used to store configuration parameters and other data.

[0039] In one embodiment, such as Figure 4 As shown, taking the main control module 120 as an MCU as an example, the analog switch unit 134 includes an analog switch U1 and a resistor R1. The control terminal IN of the analog switch U1 is connected to the main control module 120 through the I / O interface (terminal MCU_SW_00) and grounded through the resistor R1. The first input terminal NO of the analog switch U1 is connected to the DAC analog voltage output unit 132 through the terminal DAC_OUT_00. The second input terminal NC of the analog switch U1 is connected to the power input terminal VDD. The output terminal COM of the analog switch U1 is connected to the current drive circuit 136 through the terminal COM00. Further, the analog switch unit 134 also includes capacitors C1, C2, and C3. The first input terminal NO of the analog switch U1 is also grounded through capacitor C2, the second input terminal NC of the analog switch U1 is also grounded through capacitor C1, and the output terminal COM of the analog switch U1 is also grounded through capacitor C3. The capacitors are used to filter the input or output power, improving power supply reliability and circuit stability. Specifically, the output terminal COM of the analog switch U1 is filtered by capacitor C3 and then connected to the current drive circuit 136 through the COM00 terminal.

[0040] Furthermore, the current drive circuit 136 includes an operational amplifier U2, resistors R2, R4, R5, R6, R7, R8, and R9, capacitors C4 and C7, and a power transistor Q1. The non-inverting input of the operational amplifier U2 is grounded through resistor R4 and connected to the first terminal of resistor R7. The second terminal of resistor R7 is connected to the power input terminal VDD. The inverting input of the operational amplifier U2 is connected to the analog switch unit 134 through resistor R2, specifically to the output terminal COM of the analog switch U1. The inverting input of the operational amplifier U2 is connected to the output terminal of the operational amplifier U2 through capacitor C4. The output terminal of the operational amplifier U2 is connected to the control terminal of the power transistor Q1 through resistor R6. The first terminal of the power transistor Q1 is connected to the light source 400. The second terminal of the power transistor Q1 is connected to the inverting input of the operational amplifier U2 through resistor R8 and grounded through resistor R9. Resistor R5 and capacitor C7 are connected in series to the first and second terminals of the power transistor Q1. Specifically, resistor R9 is a sampling resistor. Resistor R5 and capacitor C7 are connected in series, with the other end of resistor R5 connected to the first terminal of power transistor Q1, and the other end of capacitor C7 connected to the second terminal of power transistor Q1. In this embodiment, power transistor Q1 is a MOSFET, with the gate as the control terminal, the drain as the first terminal, and the source as the second terminal. Furthermore, the current drive circuit 136 also includes capacitors C6 and C8. The non-inverting input terminal of operational amplifier U2 is grounded through capacitor C6, and the second terminal of resistor R7 is grounded through capacitor C8.

[0041] In addition, such as Figure 3 As shown, the drive module 130 also includes a temperature measuring circuit 138 connected to the main control module 120. The temperature measuring circuit 138 can be connected to the main control module 120 via an IIC interface. The temperature measuring circuit 138 detects the temperature of the drive module 130, and the main control module 120 determines whether the temperature exceeds the limit or is abnormal. If an abnormality is detected, the drive module 130 will be shut down in time, and an alarm will be triggered via communication to prevent danger from occurring.

[0042] The maximum output current of the drive module 130 is designed to support pulse current output with adjustable output time. An analog switch U1 is added to the circuit for switching control. The main control module 120 outputs a high level according to the configured output time through the timer I / O interface (MCU_SW_00), controlling the output terminal COM of the analog switch U1 to connect to the first input terminal NO. At this time, the voltage at terminal COM00 is equal to the analog voltage output by the DAC analog voltage output unit 132. The current can then be calculated using the virtual short and virtual open characteristic formulas of the operational amplifier U2. The internal timer of the main control module 120 starts counting, and outputs a low level when the set time is reached, controlling the output terminal COM of the analog switch U1 to connect to the second input terminal NC to receive VDD DC power. The voltage at terminal COM00 is then equal to the VDD voltage value. The VDD value is transmitted to the inverting input terminal of the operational amplifier U2 through the COM00 terminal. Since the VDD value is greater than the input voltage of the non-inverting input terminal of the operational amplifier U2, the output of the operational amplifier U2 is 0, so the current is 0A. The light source 400 has no current and appears to be in an off state.

[0043] The output current of the driver module 130 is large, and the main heat generation is concentrated in the internal power transistor. Therefore, heat dissipation of the power transistor is very important. By keeping the power transistor in close contact with the heat sink 200, the heat of the power transistor can be dissipated through the heat sink 200, which can ensure the high current output scenario.

[0044] It is understandable that the above functional modules in the light source controller 100 are not distributed in a unique way on the circuit board. In one embodiment, such as... Figure 5 As shown, the communication module 110, main control module 120, and trigger signal input module 140 are mounted on the front of the circuit board; the power transistor in the drive module 130 is mounted on the back of the circuit board, and other components are mounted on the front of the circuit board. Specifically, the DAC analog voltage output unit 132, analog switch unit 134, current drive circuit 136 (except for the internal power transistor), and temperature measurement circuit 138 in the drive module 130 can all be located on the front of the circuit board, while the power transistor inside the current drive circuit 136 is soldered to the back of the circuit board for heat dissipation.

[0045] In other embodiments, such as Figure 6 As shown, large components such as capacitors in the functional modules can also be placed on the reverse side of the circuit board, making the component arrangement on the circuit board more compact and reducing the area occupied by the light source controller 100.

[0046] Taking the light source controller 100, which includes 8 output channels, as an example, Figure 6 and Figure 7As shown, each output channel corresponds to an analog switch unit 134 and a current drive circuit 136. The power transistors (specifically MOSFETs: MOS-1 to MOS-8) in the eight current drive circuits 136 are all located on the reverse side of the circuit board, while the other components in the analog switch unit 134 and the current drive circuit 136 are located on the front side of the circuit board. The main control module 120 communicates with the DAC analog voltage output unit 132 via an SPI interface. The DAC analog voltage output unit 132 generates an analog voltage and supplies it to the corresponding analog switch unit 134. The main control module 120 performs PWM on / off control on each analog switch unit 134 via a high-speed I / O port. Further, as... Figure 8 and Figure 9 As shown, the power transistors (specifically MOS transistors: MOS-1 to MOS-8) in the current drive circuit 136 can be designed as vertical and circular hole types, which can be easily fixed to the heat sink housing 200 by screws.

[0047] The aforementioned light source controller communicates with the host computer via a communication module 110 (e.g., RS232 bus). The main function of the light source controller is to control the light source's on / off state and brightness. First, it selects between constant current mode and pulse current mode for output based on configuration requirements. In constant current mode, current is continuously output until the host computer shuts off the current output via the communication module 110. In this mode, the output channel (selected from eight channels) and current magnitude need to be set. In pulse current mode, the current waveform is a square wave. The output channel (selected from eight channels), current magnitude, trigger mode (selected from three trigger modes), output current time, and trigger delay time need to be set. After setting these parameters, it waits for a trigger signal. Once the main control module 120 receives the trigger signal, the corresponding output channel can output current according to the configured parameters. In constant current mode, setting the current magnitude and output channel controls the output current of the corresponding channel; in pulse mode, the output channel outputs current after the trigger signal arrives. This light source controller incorporates power transistor heat dissipation measures, enabling multi-channel high-power output scenarios.

[0048] In addition, if the main control module 120 detects an abnormal state during operation, it will stop the relevant functions, save the relevant data, and the alarm service will analyze the data to determine the type of alarm, such as self-test failure, system abnormality, hardware abnormality, temperature abnormality, etc. Then, it will save the alarm information and feed it back to the user through communication and human-machine interaction services to remind the user to deal with it in a timely manner.

[0049] In one embodiment, an optical inspection instrument is also provided, including a light source and the aforementioned light source control device. The light source may specifically be an LED matrix light source. The optical inspection instrument may also include a host computer and a camera. The host computer may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The portable wearable device may be a smartwatch, smart bracelet, head-mounted device, etc.

[0050] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0051] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the utility model patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A light source control device, characterized in that, include: The heat dissipation housing and the light source controller include a circuit board and a functional module. The circuit board is disposed inside the heat dissipation housing, and the functional module is mounted on the circuit board. The target device in the functional module that needs to be dissipated is also fixed to the inner wall of the heat dissipation housing, and heat dissipation is achieved through the heat dissipation housing.

2. The light source control device according to claim 1, characterized in that, The target device includes a power transistor, which is fixed to the heat sink housing by screws, and thermal grease is filled between the power transistor and the heat sink housing.

3. The light source control device according to claim 1, characterized in that, It also includes a fan disposed outside the heat dissipation housing, the heat dissipation housing having ventilation holes, the fan dissipating heat from the outer surface of the heat dissipation housing when turned on, and dissipating heat from the inside of the heat dissipation housing through the ventilation holes.

4. The light source control device according to any one of claims 1 to 3, characterized in that, The functional module includes a communication module, a main control module, and a drive module. The communication module is connected to a host computer, the main control module is connected to the communication module and the drive module, and the drive module is connected to a light source. The communication module receives configuration parameters from the host computer and sends them to the main control module, and the main control module outputs drive signals to the drive module. The driving module receives the driving signal and supplies power to the light source.

5. The light source control device according to claim 4, characterized in that, The functional module also includes a trigger signal input module connected to the main control module. The trigger signal input module sends a trigger signal to the main control module. After receiving the trigger signal, the main control module outputs a drive signal to control the drive module to supply pulse current to the light source.

6. The light source control device according to claim 5, characterized in that, The communication module, the main control module, and the trigger signal input module are mounted on the front side of the circuit board; the power transistor in the drive module is mounted on the back side of the circuit board, and other components are mounted on the front side of the circuit board.

7. The light source control device according to claim 4, characterized in that, The driving module includes a DAC analog voltage output unit, an analog switch unit, and a current driving circuit. The DAC analog voltage output unit is connected to the main control module and the analog switch unit. The analog switch unit is connected to the DAC analog voltage output unit and the current driving circuit. The current driving circuit is connected to the light source. The DAC analog voltage output unit outputs a corresponding analog voltage to the analog switch unit. When the analog switch unit is turned on, it delivers the analog voltage to the current driving circuit. The current driving circuit provides constant current or pulsed current power to the light source according to the analog voltage.

8. The light source control device according to claim 7, characterized in that, The current drive circuit includes an operational amplifier, resistors R2, R4, R5, R6, R7, R8, and R9, capacitors C4 and C7, and a power transistor. The non-inverting input of the operational amplifier is grounded through resistor R4 and connected to the first terminal of resistor R7. The second terminal of resistor R7 is connected to the power input. The inverting input of the operational amplifier is connected to the analog switch unit through resistor R2 and to the output of the operational amplifier through capacitor C4. The output of the operational amplifier is connected to the control terminal of the power transistor through resistor R6. The first terminal of the power transistor is connected to the light source. The second terminal of the power transistor is connected to the inverting input of the operational amplifier through resistor R8 and grounded through resistor R9. Resistor R5 and capacitor C7 are connected in series to the first and second terminals of the power transistor.

9. The light source control device according to claim 7, characterized in that, The light source controller includes multiple output channels. The number of analog switch units and current drive circuits is the same as the number of output channels. Each analog switch unit is connected to the DAC analog voltage output unit and to the corresponding current drive circuit. Each current drive circuit is connected to the corresponding light source through an output channel.

10. An optical inspection instrument, characterized in that, It includes a light source and a light source control device as described in any one of claims 1 to 9.