All-programmable strip-shaped light source
By using a fully programmable bar light source system and utilizing a CPU to control the bar light source array, the problem of limited light source adjustment is solved, and flexible adjustment of various light source effects is achieved.
Patent Information
- Application Number
- CN202423049508.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2034-12-10
AI Technical Summary
Existing light source adjustment methods are limited and cannot meet the needs of various light sources.
The system employs a fully programmable bar light source system. Through the connection between the host computer and the main control component and the light source component, the general-purpose I/O ports of the CPU are used to independently control the bar light source array, thereby achieving a variety of light source effects.
It enables independent control of each group of bar light source arrays, allowing for the acquisition of various light source results to meet different needs and improving the flexibility and adjustability of the light source.
Smart Images

Figure CN223729971U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the light source control technical field of machine vision industry, specifically relates to a full programmable bar light source. BACKGROUND
[0002] Bar light source is a kind of optical equipment widely used in industrial lighting field, because of its unique bar design, it can provide continuous uniform, soft light, has great flexibility in irradiation angle and intensity;The combination of multiple bar light sources also provides a variety of ways for lighting in professional field.It is indispensable lighting tool in various professional fields.
[0003] In the prior art, light source is generally for point light source, bar light source, linear light source etc., but its adjustment is generally carried out by adjusting the light source as a whole, and the obtained light source is relatively single. INVENTION CONTENTS
[0004] Therefore, the utility model provides a full programmable bar light source to solve the problem that the light source after existing adjustment is relatively single.
[0005] The utility model provides a full programmable bar light source, including host computer, main control component and light source component, the host computer is connected with main control component, main control component is connected with light source component, light source component is programmable light source component;
[0006] The host computer is suitable for sending communication protocol and control instruction to the main control component;
[0007] The main control component includes the main control circuit with CPU, and the main control circuit is connected with the host computer and the light source component respectively, and the CPU is suitable for verifying the communication protocol, and is also suitable for receiving the control instruction and generating the control signal according to the control instruction;
[0008] The light source component includes multiple groups of bar light source arrays connected with the general IO port of CPU respectively, and the CPU is suitable for sending the control signal to the bar light source array through the general IO port.
[0009] The application sends the control signal to the corresponding bar light source array through the general IO port of CPU, can independently control each group of bar light source array, can obtain multiple results of light source by adjusting, and meets the demand of different light source.
[0010] In an alternative embodiment, the main control component further includes a 485 interface, and the main control circuit is connected with the host computer through the 485 interface, and the 485 interface is suitable for transmitting the communication protocol and control instruction sent by the host computer. Remote data transmission can be carried out through the 485 interface.
[0011] In an alternative embodiment, the master control assembly further comprises a storage chip with an SPI interface, which is connected to the CPU. The control signals generated by the CPU can be stored.
[0012] In an alternative embodiment, the communication protocol is the standard Modbus protocol.
[0013] In an alternative embodiment, the power supply of the master control assembly is obtained from the light source assembly. By obtaining the power supply from the light source assembly, the power adapter and power cord required by the master control assembly can be reduced, thereby simplifying the overall design and wiring, and saving space.
[0014] In an alternative embodiment, the model of the light source assembly is WS2812.
[0015] In an alternative embodiment, the 485 interface is connected to the host computer through a 485 interface circuit.
[0016] In an alternative embodiment, the master control assembly further comprises a debugging interface, and the master control circuit is connected to the host computer through the debugging interface. The debugging interface can be used for development and debugging operations.
[0017] In an alternative embodiment, the CPU is an embedded CPU.
[0018] In an alternative embodiment, the model of the CPU is APM32F103. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings described below are some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.
[0020] Figure 1 The electrical connection schematic diagram of the embodiment of the present application;
[0021] Figure 2 The light source assembly schematic diagram of the embodiment of the present application;
[0022] Figure 3 The master control assembly PCB design schematic diagram of the embodiment of the present application;
[0023] Figure 4 The light source assembly and master control assembly assembly schematic diagram of the embodiment of the present application.
[0024] Explanation of reference signs:
[0025] 1, master control assembly; 2, light source assembly. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present application more clear, the technical scheme of the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts fall within the scope of protection of the present application.
[0027] The embodiments of the present application will be described below in combination with Figures 1 to 4 .
[0028] According to the embodiments of the present application, a full programmable bar light source is provided, which comprises a host computer, a master control assembly 1 and a light source assembly 2. The host computer is connected with the master control assembly 1. The master control assembly 1 is connected with the light source assembly 2. The light source assembly 2 is a programmable light source assembly 2. The master control assembly 1 and the light source assembly 2 constitute the electrical part of the full programmable bar light source. The light source assembly 2 can be designed according to actual requirements. The master control assembly 1 can be designed with a certain universality, which can be adapted to the design of various light source assemblies 2. Figure 2 The light source assembly 2 has a size of 100mm*200mm.
[0029] The host computer is suitable for sending communication protocols and control instructions to the master control assembly 1. A host computer software can be arranged on the host computer. The host computer software sends the communication protocols and control instructions to the master control assembly 1.
[0030] The master control assembly 1 comprises a master control circuit with a CPU. The master control circuit is connected with the host computer and the light source assembly 2 respectively. The CPU is suitable for verifying the communication protocols and is also suitable for receiving the control instructions and generating control signals according to the control instructions.
[0031] The light source assembly 2 comprises a plurality of groups of bar light source arrays which are connected with the general IO ports of the CPU respectively. The CPU is suitable for sending the control signals to the bar light source arrays through the general IO ports respectively. Ten groups of control signals can be output to the bar light source arrays for light source control. The bar light source arrays can be composed of light source particles. The number of controllable bar light source arrays can be increased by modifying the model of the CPU.
[0032] The application sends control signals to corresponding bar light source arrays through the general IO port of the CPU, can independently control each group of bar light source arrays, and can obtain various results of light sources by adjustment to meet different requirements for light sources.
[0033] On the basis of the conventional bar light source design, the application adds the characteristics of the programmable light source assembly 2 to realize the full programmable function of the bar light source, for example, a single bar light source array can realize single red, single green, single blue and combined color, each color can realize 256-level adjustment, and then each point can realize 256*256*256 combinations of output. In an extreme situation, the bar light source can be used as a low-resolution display assembly to realize various light source requirements of machine vision practitioners.
[0034] Figure 4 The assembly diagram of the light source assembly 2 and the main control assembly 1 is shown, and the size of the light source assembly 2 is 100mm*200mm. The light source assembly 2 is arranged with 10 rows and 25 columns of LED particles with a size of 5mm in diameter. The row and column spacing of the particles on the light source assembly 2 is 8mm.
[0035] The light source assembly 2 can be composed of high-density direct insertion LED arrays, is suitable for large-format size detection, can be freely combined, the irradiation angle can also be freely adjusted, and can replace the ring light in some cases. The bar light source has the advantages of high uniformity of illumination, high brightness, good heat dissipation, long service life, high product stability, simple installation, random angle adjustment, and flexible size design.
[0036] In an optional embodiment, the main control assembly 1 further comprises a 485 interface, the main control circuit is connected with the upper computer through the 485 interface, and the 485 interface is suitable for transmitting the communication protocol and control instruction sent by the upper computer. Remote data transmission can be performed through the 485 interface.
[0037] In an optional embodiment, the main control assembly 1 further comprises a storage chip with an SPI interface, and the storage chip is connected with the CPU. The control signals generated by the CPU can be stored.
[0038] In an optional embodiment, the communication protocol is a standard Modbus protocol.
[0039] In an optional embodiment, the power supply of the main control assembly 1 is obtained from the light source assembly 2. By obtaining the power supply from the light source assembly 2, the power adapter and power cord required by the main control assembly 1 can be reduced, thereby simplifying the overall design and wiring and saving space.
[0040] In an optional embodiment, the model of the light source assembly 2 is WS2812. In an optional embodiment, the model of the light source assembly 2 is WS2812.
[0041] In an alternative embodiment, the 485 interface is connected to the host computer through a 485 interface circuit.
[0042] In an alternative embodiment, the master control assembly 1 further comprises a debugging interface, and the master control circuit is connected to the host computer through the debugging interface. The debugging interface can be used for development and debugging operations. The debugging interface can be a USB debugging interface.
[0043] In an alternative embodiment, the CPU is an embedded CPU.
[0044] In an alternative embodiment, the model of the CPU is APM32F103.
[0045] Although the embodiments of the present application are described in conjunction with the drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the appended claims.
Claims
1. A fully programmable bar light source, characterized by, The application relates to a programmable light source assembly (2) comprising a host computer, a main control assembly (1) and a light source assembly (2), wherein the host computer is connected with the main control assembly (1), the main control assembly (1) is connected with the light source assembly (2), and the light source assembly (2) is a programmable light source assembly (2). The host computer is adapted to send a communication protocol and a control instruction to the main control assembly (1). The main control assembly (1) comprises a main control circuit with a CPU, the main control circuit is connected with the host computer and the light source assembly (2) respectively, the CPU is adapted to verify the communication protocol, receive the control instruction and generate a control signal according to the control instruction. The light source assembly (2) comprises a plurality of groups of bar light source arrays which are connected with the general IO port of the CPU respectively, and the CPU is adapted to send the control signal to the bar light source arrays through the general IO port respectively.
2. The fully programmable bar light source of claim 1, wherein, The main control assembly (1) further comprises a 485 interface, the main control circuit is connected with the host computer through the 485 interface, and the 485 interface is adapted to transmit the communication protocol and the control instruction sent by the host computer.
3. The fully programmable bar light source of claim 1, wherein, The main control assembly (1) further comprises a storage chip with an SPI interface, and the storage chip is connected with the CPU.
4. The fully programmable bar light source of claim 1, wherein, The communication protocol is a standard Modbus protocol.
5. The fully programmable bar light source of claim 1, wherein, The power supply of the main control assembly (1) is obtained from the light source assembly (2).
6. The fully programmable bar light source of claim 1, wherein, The model of the light source assembly (2) is WS2812.
7. The fully programmable bar light source of claim 2, wherein, The 485 interface is connected with the host computer through a 485 interface circuit.
8. The fully programmable bar light source of claim 1, wherein, The main control assembly (1) further comprises a debugging interface, and the main control circuit is connected with the host computer through the debugging interface.
9. The fully programmable bar light source of claim 1, wherein, The CPU is an embedded CPU.
10. The fully programmable bar light source of claim 1, wherein, The model of the CPU is APM32F103.