Diode seal printing detection method
Through the combination of PLC module and photosensitive sensor, the laser status of the laser marking machine is monitored and automated in real time, solving the problems of instability and low manual monitoring efficiency of traditional laser marking systems, and achieving high-quality and efficient laser tapping Standard process.
Patent Information
- Application Number
- CN202410885984.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-11-22
AI Technical Summary
Traditional laser marking systems have problems with marking accuracy and quality due to unstable factors, and rely on manual monitoring efficiency and uncertainty, which cannot meet the requirements of modern industry for high quality and high efficiency.
The combination of PLC module and photosensitive sensor is used to monitor the laser status of the laser marking machine in real time. By configuring the laser intensity threshold and marking parameters, we automatically judge and respond to the laser status to achieve real-time monitoring and fault detection.
It improves the stability and accuracy of laser marking, reduces manual intervention, improves the accuracy and consistency of detection, ensures the safe operation of the equipment, and has good integration and scalability.
Smart Images

Figure CN119001888A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image detection technology, and in particular to a diode seal printing detection method. Background Art
[0002] With the advancement of science and technology and the increasing sophistication of industrial production, laser marking technology has played an important role in various industrial manufacturing fields with its unique advantages, such as non-contact processing and high-precision marking. Whether it is marking tiny parts of electronic products or marking large parts in the automotive and machinery industries, laser marking has demonstrated its excellent performance.
[0003] However, in actual production, laser marking systems do not always operate stably and efficiently. Due to various unstable factors inside or outside the system, such as power supply fluctuations, mechanical vibrations, ambient temperature changes, and possible aging or failure of the laser generator itself, the intensity of the laser output may become unstable or even completely absent. Once these problems occur, they will directly affect the accuracy and quality of the marking. The mark may become unclear or even completely missing, resulting in the product failing to meet the expected quality standards.
[0004] What’s more serious is that this instability not only affects the overall quality of the product, but also has a serious impact on production efficiency. The production line may be frequently shut down for inspection due to unstable marking quality, which disrupts the production rhythm and significantly reduces production efficiency. At the same time, unqualified products need to be reworked or scrapped, which undoubtedly increases the company’s production costs. In a highly competitive market, unstable product quality and delayed delivery may lead to a decline in customer satisfaction, which in turn leads to an increase in customer complaints, causing immeasurable losses to the company’s reputation and market position.
[0005] Faced with these problems, traditional laser marking systems often rely on the operator's experience and visual inspection to ensure the quality of marking. The operator needs to pay attention to the marking process at all times and judge the stability of the laser output by observing the marking effect with the naked eye. However, this method is highly subjective and uncertain. The experience and judgment criteria of different operators may vary, resulting in different evaluations of the same marking effect. In addition, long visual inspections are not only inefficient, but also prone to fatigue and misjudgment of operators, thereby increasing the possibility of errors.
[0006] Therefore, the traditional laser marking system that relies on manual monitoring can no longer meet the stringent requirements of modern industrial production for high quality and high efficiency. Enterprises need to find a more advanced and reliable solution to ensure the stability and accuracy of laser marking in order to improve product quality, reduce production costs and gain an advantage in market competition. Summary of the invention
[0007] In order to solve the above technical problems, the present application provides a diode seal printing detection method.
[0008] The technical solution provided in this application is described below:
[0009] The present application provides a diode stamp printing detection method for detecting a laser marking machine, wherein the laser marking machine is provided with a photosensitive sensor, and the photosensitive sensor is used to detect the marking laser emitted by the laser marking machine. The method comprises:
[0010] Initializing the PLC module, including configuring the laser intensity threshold, the photosensitive sensor state and the marking parameters;
[0011] The input signal from the light sensor is continuously monitored through the PLC module;
[0012] The input signal is converted into a digital signal by an analog / digital converter and sent to the PLC module;
[0013] The PLC module determines the state of the laser according to the digital signal;
[0014] The PLC module performs corresponding operations according to the obtained state of the laser.
[0015] Optionally, the PLC module determines the state of the laser according to the digital signal, including:
[0016] The PLC module compares the received digital signal with the pre-set laser intensity threshold;
[0017] If the laser intensity of the digital signal is within the threshold range of the laser intensity, determining that the laser state is normal;
[0018] If the laser intensity of the digital signal is lower than the laser intensity threshold, determining that the laser state is too weak;
[0019] If the laser intensity of the digital signal is 0, the laser state is determined to be no laser.
[0020] Optionally, the PLC module performs corresponding operations according to the obtained laser state, including:
[0021] If the laser status is determined to be normal, the number of successful markings is updated;
[0022] If it is determined that the laser state is too weak, the number of missed markings is updated;
[0023] If the laser state is determined to be no laser, the number of missed markings is updated.
[0024] Optionally, the PLC module determines the state of the laser according to the digital signal, including:
[0025] identifying a start point and an end point of a laser pulse in the digital signal;
[0026] Measure the time interval between adjacent start and end points;
[0027] Based on the above steps, the entire digital signal is traversed to obtain a time interval data set;
[0028] Traversing each numerical point in the time interval data set and identifying abnormal values;
[0029] When there is an abnormal value, the corresponding laser state is determined to be no laser.
[0030] Optionally, the marking parameters include a marking frequency, and the PLC module performs corresponding operations according to the obtained laser state, including:
[0031] The multiple of the abnormal value and the marking frequency is calculated, and the number of missed markings is updated according to the multiple.
[0032] Optionally, also include:
[0033] All abnormal values and multiples of the marking frequency are accumulated, and the number of missed markings is updated according to the multiples.
[0034] It can be seen from the above technical solutions that this application has the following advantages:
[0035] This diode stamp printing detection method has the following significant advantages:
[0036] 1. Since this method uses PLC modules and photosensitive sensors for real-time monitoring, it can quickly and accurately capture the laser status of the laser marking machine. This real-time monitoring ensures that any sudden changes in the laser marking process can be detected and responded to in a timely manner.
[0037] 2. By configuring the laser intensity threshold, photosensor status and marking parameters in the PLC module, the method can adapt to different laser marking requirements and working environments. This flexibility enables the detection method to be easily adapted to a variety of application scenarios without complex hardware changes.
[0038] 3. Combining the logic control function of the PLC module and the signal conversion capability of the analog / digital converter, this method realizes the automation of the detection process. This not only reduces the need for manual intervention, but also improves the accuracy and consistency of detection. In addition, the PLC module can also perform intelligent analysis based on historical data and current status to optimize future marking processes.
[0039] 4. By monitoring the laser status, this method can trigger an alarm or stop the marking operation when the laser intensity is abnormal, thereby ensuring the safe operation of the equipment. This fault detection mechanism helps prevent potential damage or safety issues and improves the reliability of the entire system.
[0040] 5. Since this method is based on modular design, it can be easily integrated into the existing laser marking system. At the same time, this method is also scalable and can enhance its functions by adding more sensors or functional modules, such as adding detection of laser wavelength, polarization state and other parameters.
[0041] In summary, this diode stamp printing detection method provides strong support for the application of laser marking machines by real-time monitoring of laser status, providing flexible configuration options, realizing automated and intelligent processing, ensuring fault detection and safety, and having good integration and scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A schematic diagram of an embodiment of a diode stamp printing detection method provided in this application;
[0044] Figure 2 This is a flow chart of an embodiment of determining the state of the laser according to the digital signal in the present application. DETAILED DESCRIPTION
[0045] See also Figure 1 The present application first provides an embodiment of a diode stamp printing detection method, which comprises:
[0046] The method of this embodiment is used to detect a laser marking machine. The laser marking machine is provided with a photosensitive sensor, and the photosensitive sensor is used to detect the marking laser emitted by the laser marking machine. The method includes:
[0047] S101, initializing the PLC module, wherein the initialization includes configuring the laser intensity threshold, the photosensitive sensor state and the marking parameters;
[0048] In this step, the programmable logic controller (PLC) module is initialized to ensure that it can work normally according to the preset parameters and requirements. The initialization process involves configuring the laser intensity threshold, photosensor status, and marking parameters.
[0049] Configure laser intensity thresholds: Set the upper and lower thresholds of laser intensity according to the specifications of the laser marking machine and the marking requirements. These thresholds will be used to determine whether the laser intensity is normal in the future.
[0050] Configure the photosensitive sensor status: Confirm the initial status of the photosensitive sensor, including the sensor's sensitivity, working mode, etc. Ensure that the sensor can accurately detect the laser signal emitted by the laser marking machine.
[0051] Configure marking parameters: Set the marking parameters of the laser marking machine, such as laser power, marking speed, marking depth, etc. These parameters will directly affect the marking effect and efficiency.
[0052] S102, continuously monitoring the input signal from the photosensor through the PLC module;
[0053] In this step, the PLC module continuously monitors the input signals from the photosensor. These signals represent the real-time status of the laser emitted by the laser marking machine.
[0054] Establish communication connection: Ensure that a reliable communication connection is established between the PLC module and the light sensor so as to receive the sensor's input signal in real time.
[0055] Continuously monitor signals: The PLC module continuously receives input signals from the photosensitive sensor through cyclic scanning or interrupt service routines. These signals can be analog signals, indicating parameters such as the intensity of the laser.
[0056] S103, converting the input signal into a digital signal through an analog / digital converter, and sending the digital signal to the PLC module;
[0057] Since PLC modules usually process digital signals more conveniently and accurately, an analog / digital converter (ADC) is required to convert the analog signal output by the photosensitive sensor into a digital signal.
[0058] Signal conversion: The analog / digital converter receives the analog signal from the light sensor and converts it into a digital signal. The accuracy and speed of the conversion depend on the specifications and performance of the converter.
[0059] Send to PLC module: The converted digital signal is sent to the PLC module through the communication interface for further processing and analysis.
[0060] S104, the PLC module determines the state of the laser according to the digital signal;
[0061] In this step, the PLC module determines the state of the laser emitted by the laser marking machine based on the received digital signal.
[0062] The PLC module analyzes and processes the received digital signal to extract key parameters such as laser intensity. Based on the extracted parameters and the preset laser intensity threshold and other standards, the PLC module determines the laser status, such as normal, too strong, too weak or no laser.
[0063] S105: The PLC module performs corresponding operations according to the obtained laser state.
[0064] According to the determined laser status, the PLC module performs corresponding operations to ensure the smooth progress and safety of the marking process.
[0065] If the laser status is normal, the PLC module continues to perform the marking operation and controls the laser marking machine to mark according to the preset parameters and trajectory.
[0066] If the laser status is abnormal (such as too strong, too weak or no laser), the PLC module triggers the alarm device (such as an audible and visual alarm), stops the marking operation, and records the abnormal information for subsequent analysis and processing. At the same time, it waits for the operator to intervene to troubleshoot and repair the problem. In some cases, the PLC module can also try to automatically adjust the parameters of the laser marking machine to restore normal status.
[0067] In a specific embodiment, the PLC module analyzes the digital signal to extract the laser intensity from the digital signal and compares it with a preset laser intensity threshold to determine the laser state, specifically including:
[0068] The PLC module compares the received digital signal with the pre-set laser intensity threshold;
[0069] If the laser intensity of the digital signal is within the threshold range of the laser intensity, determining that the laser state is normal;
[0070] If the laser intensity of the digital signal is lower than the laser intensity threshold, determining that the laser state is too weak;
[0071] If the laser intensity of the digital signal is 0, the laser state is determined to be no laser.
[0072] In this embodiment, the PLC module analyzes the digital signal received from the analog / digital converter to determine the status of the laser.
[0073] PLC module analyzes digital signal to determine laser status
[0074] The PLC module receives a digital signal representing the laser intensity from the analog / digital converter through a communication interface.
[0075] The PLC module compares the received digital signal with the pre-set laser intensity thresholds. These thresholds are usually set according to the specifications of the laser marking machine, the characteristics of the material, and the marking requirements.
[0076] If the laser intensity represented by the digital signal is within the preset laser intensity threshold range, the PLC module will determine that the laser status is normal, which means that the laser marking machine is marking at the appropriate power.
[0077] If the laser intensity of the digital signal is lower than the set minimum laser intensity threshold, the PLC module will determine that the laser state is too weak. This situation may indicate that the laser power is insufficient, the optical path is blocked, or the photosensor sensitivity is insufficient.
[0078] If the laser intensity of the digital signal is 0, that is, no laser signal is detected, the PLC module will determine that the laser state is no laser. This may be caused by the laser not being started, the laser beam being completely blocked, or a sensor failure.
[0079] According to the determined laser status, the PLC module will perform corresponding operations. For example, when the laser status is normal, the marking process will continue; when the laser status is too weak or there is no laser, the PLC module can trigger an alarm, stop the marking process and record the error information so that the operator can intervene in time.
[0080] Through this real-time laser status monitoring and response mechanism, the embodiment can ensure the stability and safety of the laser marking process while improving the marking quality and efficiency.
[0081] Based on the above embodiment, if the laser state is determined to be normal, the number of successful markings is updated;
[0082] If it is determined that the laser state is too weak, the number of missed markings is updated;
[0083] If the laser state is determined to be no laser, the number of missed markings is updated.
[0084] Based on the above embodiment, when the PLC module determines the state of the laser, it can update the corresponding counter according to the different states to track the number of successful markings and missed markings during the laser marking process. The following is a detailed description of this logic and a possible Python code implementation:
[0085] Before starting the marking process, the counters of successful marking times and missed marking times need to be initialized to 0.
[0086] If the laser status is determined to be normal, it means that the current marking operation is successfully completed, and the counter of the number of successful marking times should be updated.
[0087] If the laser state is determined to be too weak or no laser, it means that the current marking operation has not been successfully completed, and the counter of the number of missed markings should be updated.
[0088] The values of these counters can be recorded and reported during or after the marking process to provide operators with an understanding of the performance of the marking process and any problems that may exist.
[0089] In an optional embodiment, the PLC module determines the state of the laser according to the digital signal, including:
[0090] S201, identifying the starting point and the ending point of the laser pulse in the digital signal;
[0091] In this step, the PLC module analyzes the received digital signal to determine the start and end points of the laser pulse. This can be done by monitoring the level changes of the signal, for example, a transition from a low level to a high level may indicate the beginning of a laser pulse, while a transition from a high level to a low level indicates the end of a laser pulse.
[0092] S202, measuring the time interval between adjacent start points and end points;
[0093] Once the start and end points of the laser pulse are identified, the PLC module measures the time interval between them. This time interval represents the duration of the laser pulse. For stable laser output, these time intervals are relatively consistent.
[0094] S203, based on the above steps, traverse the entire digital signal to obtain a time interval data set;
[0095] In this step, the PLC module will traverse the entire digital signal and repeat steps S201 and S202 to collect the time interval data of all laser pulses. These data constitute a time interval data set for subsequent analysis.
[0096] S204, traversing each numerical point in the time interval data set and identifying abnormal values;
[0097] Next, the PLC module goes through each value point in the time interval data set to identify any outliers. Outliers may be values that deviate significantly from the other data points, indicating a problem with the laser output. Identification of outliers can be accomplished through various statistical methods, such as setting a threshold or using standard deviation.
[0098] S205: When an abnormal value exists, the corresponding laser state is determined to be no laser.
[0099] If an outlier is detected in the time interval data set, the PLC module determines that the corresponding laser state is "no laser". This means that at the time when the outlier occurred, the laser output may have been interrupted or unstable. Such a judgment helps to detect problems with the laser system in a timely manner and can trigger safety measures such as alarms or shutdowns.
[0100] In general, this embodiment monitors the state of the laser by analyzing the laser pulse time interval in the digital signal, providing an effective way to detect the stability and continuity of the laser output.
[0101] Based on this embodiment, the multiple of the abnormal value and the marking frequency can also be calculated, and the number of missed markings can be updated according to the multiple, or the multiples of all abnormal values and the marking frequency can be accumulated, and the number of missed markings can be updated according to the multiple.
[0102] Based on this embodiment, the situation of missed marking can be further analyzed by calculating the multiple of the abnormal value and the marking frequency, and the number of missed markings can be updated accordingly. The following are two possible methods:
[0103] Method 1: Calculate the multiple of a single outlier and the marking frequency and update the number of missed markings
[0104] Determine the marking frequency: First, you need to know the standard frequency of laser marking, that is, the frequency at which the laser pulse should appear under normal circumstances.
[0105] Calculate the multiple: For each detected abnormal value, calculate its ratio to the normal laser pulse time interval. If this ratio is not an integer, it can be considered that the laser pulse is missed or redundant. If this ratio is an integer and greater than 1, it may mean that the corresponding multiple minus 1 laser pulse is missed.
[0106] Update the number of missed markings: Update the number of missed markings according to the calculated multiple. For example, if the ratio is 2, it may mean that one laser pulse was missed, so the number of missed markings is increased by 1.
[0107] Method 2: Accumulate all abnormal values and multiples of the marking frequency and update the number of missed markings
[0108] Similar to method 1, the ratio of each abnormal value to the normal laser pulse time interval is first calculated. Then, these ratios are accumulated to obtain a total multiple.
[0109] If the total multiple is not an integer, it can be rounded off or rounded down / up according to the actual situation to determine the number of missed markings.
[0110] Update the number of missed marks based on the total multiple after processing. For example, if the total multiple is 4.6, it is rounded to 5, which may mean that a total of 5 laser pulses were missed.
[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0112] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A diode stamp printing detection method, characterized in that: Used to detect a laser marking machine, the laser marking machine is provided with a photosensitive sensor, the photosensitive sensor is used to detect the marking laser emitted by the laser marking machine, the method comprises: Initializing the PLC module, including configuring the laser intensity threshold, the photosensitive sensor state and the marking parameters; The input signal from the light sensor is continuously monitored through the PLC module; The input signal is converted into a digital signal by an analog / digital converter and sent to the PLC module; The PLC module determines the state of the laser according to the digital signal; The PLC module performs corresponding operations according to the obtained state of the laser.
2. The diode stamp printing detection method according to claim 1, characterized in that: The PLC module determines the state of the laser according to the digital signal, including: The PLC module compares the received digital signal with the pre-set laser intensity threshold; If the laser intensity of the digital signal is within the threshold range of the laser intensity, determining that the laser state is normal; If the laser intensity of the digital signal is lower than the laser intensity threshold, determining that the laser state is too weak; If the laser intensity of the digital signal is 0, the laser state is determined to be no laser.
3. The diode stamp printing detection method according to claim 2, characterized in that: The PLC module performs corresponding operations according to the obtained laser state, including: If the laser status is determined to be normal, the number of successful markings is updated; If it is determined that the laser state is too weak, the number of missed markings is updated; If the laser state is determined to be no laser, the number of missed markings is updated.
4. The diode stamp printing detection method according to claim 1, characterized in that: The PLC module determines the state of the laser according to the digital signal, including: identifying a start point and an end point of a laser pulse in the digital signal; Measure the time interval between adjacent start and end points; Based on the above steps, the entire digital signal is traversed to obtain a time interval data set; Traversing each numerical point in the time interval data set and identifying abnormal values; When there is an abnormal value, the corresponding laser state is determined to be no laser.
5. The diode stamp printing detection method according to claim 4, characterized in that: The marking parameters include the marking frequency, and the PLC module performs corresponding operations according to the obtained laser state, including: The multiple of the abnormal value and the marking frequency is calculated, and the number of missed markings is updated according to the multiple.
6. The diode stamp printing detection method according to claim 5, characterized in that: Also includes: All abnormal values and multiples of the marking frequency are accumulated, and the number of missed markings is updated according to the multiples.
