Detection control system and method of device, controller and galvanometer control equipment

Through the integration of multiple detection interfaces and modules, full coverage detection of the device is achieved, solving the problems of low efficiency and insufficient accuracy in traditional detection methods, and improving detection efficiency and accuracy.

CN120295274APending Publication Date: 2025-07-11GUANGDONG LYRIC ROBOT INTELLIGENT AUTOMATION CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510381925.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

Traditional device detection methods are cumbersome and prone to artificial errors, making it difficult to achieve full coverage detection, resulting in low detection efficiency and insufficient accuracy.

Method used

采用多个检测接口和检测子模块,结合数字处理模块和控制模块,实现对多个待测模块的同步信号处理和逻辑判断,确定故障模块。

Benefits of technology

It improves detection efficiency and fault detection accuracy, realizes full coverage of parameters, and reduces human error and detection time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295274A_ABST
    Figure CN120295274A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a device detection control system and method, a controller and galvanometer control equipment, and belongs to the technical field of device detection. The device comprises a plurality of to-be-detected modules and a plurality of detection interfaces. The detection control system comprises a detection module which comprises a digital processing module and detection sub-modules in one-to-one correspondence with detection interfaces, the detection sub-modules are used for receiving detection signals corresponding to the detection interfaces, and the digital processing module is connected with all the detection sub-modules to preprocess the detection signals to obtain a plurality of level signals; the control module is used for receiving all level signals sent by the digital processing module, and the level signals correspond to the module to be tested; performing logic judgment on all the level signals to obtain a logic judgment result; and determining a target to-be-detected module which is logically judged as an abnormal signal according to the logical judgment result, and determining the target to-be-detected module as a fault module. According to the embodiment of the invention, the comprehensive coverage detection of the device can be realized, and the fault detection precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of device detection, and particularly to a detection control system, method, controller, and galvanometer control device for a device. Background Art

[0002] In the field of control card detection, traditional methods mainly rely on measuring the I / O port levels point by point with an oscilloscope or performing functional verification by actually installing on the device. However, the process of measuring the I / O port levels point by point is extremely cumbersome, requiring the tester to test each interface individually, which not only consumes a large amount of time but also easily leads to measurement errors due to human factors, seriously affecting the detection efficiency. Moreover, due to the differences in interfaces and working environments of different devices, it is difficult to solve the compatibility problems between different devices. This detection method is difficult to ensure comprehensive coverage of all possible fault situations, resulting in insufficient detection coverage. Summary of the Invention

[0003] The main purpose of the embodiments of this application is to propose a detection control system, method, controller, and galvanometer control device for a device, so as to achieve comprehensive coverage detection of the device and improve the accuracy of fault detection.

[0004] To achieve the above object, in the first aspect of the embodiments of this application, a detection control system for a device is proposed. The device includes a plurality of modules to be tested and a plurality of detection interfaces; the detection control system for the device includes:

[0005] A detection module, including a digital processing module and detection sub-modules corresponding to the detection interfaces one by one. The detection sub-module is used to receive the detection signals corresponding to the detection interfaces, and the digital processing module is connected to all the detection sub-modules to preprocess the detection signals to obtain a plurality of level signals;

[0006] A control module, communicatively connected to the detection module. The control module is used to receive all the level signals sent by the digital processing module, where the level signals correspond to the modules to be tested; perform a logical judgment on all the level signals to obtain a logical judgment result; determine the target module to be tested with a logical judgment result of an abnormal signal according to the logical judgment result, and determine the target module to be tested as a faulty module.

[0007] In some embodiments, it further includes a display module. The control module includes a static storage interface, and the display module is connected to the control module through the static storage interface to display the logical judgment result.

[0008] In some embodiments, the module to be tested includes a laser module, a galvanometer module, an I / O module, and an encoder module. The detection interface includes a laser detection interface, a galvanometer detection interface, an I / O detection interface, and an encoder detection interface. The detection sub-module includes a laser detection module, a galvanometer detection module, an I / O detection module, and an encoder detection module. The laser module is connected to the laser detection module through the laser detection interface. The galvanometer module is connected to the galvanometer detection module through the galvanometer detection interface. The I / O module is connected to the I / O detection module through the I / O detection interface. The encoder module is connected to the encoder detection module through the encoder detection interface.

[0009] In some embodiments, the detection module further includes a clock module for generating a clock signal, and the clock module is connected to the digital processing module to distribute the clock signal.

[0010] In some embodiments, a power protection module is further included. The power protection module includes a first power protection sub-module and a second power protection sub-module. The first power protection sub-module is connected to the digital processing module to provide a first power supply voltage. The second power protection sub-module is connected to the control module to provide a second power supply voltage.

[0011] In some embodiments, the detection interface further includes a communication interface and a network interface. The device is connected to the control module through the communication interface for communication, and the device is connected to the control module through the network interface for data transmission.

[0012] A second aspect of the embodiments of the present application provides a detection control method for a device, which is applied to the detection control system of the device as described in the first aspect. The device includes a plurality of modules to be tested and a plurality of detection interfaces. The method includes:

[0013] Receiving all level signals sent by the digital processing module, where the level signals correspond to the modules to be tested.

[0014] Performing a logical judgment on all the level signals to obtain a logical judgment result.

[0015] Determining a target module to be tested for which the logical judgment result is an abnormal signal according to the logical judgment result, and determining the target module to be tested as a faulty module.

[0016] In some embodiments, the detection control system further includes a data storage module, and the data storage module stores preset level signals for each of the modules to be tested. The performing a logical judgment on all the level signals to obtain a logical judgment result includes:

[0017] For each target module to be measured, determine whether there is a target level signal corresponding to the target module to be measured in the level signal;

[0018] When there is a target level signal corresponding to the target module to be measured in the level signal, determine a target preset level signal corresponding to the target level signal in the data storage module;

[0019] Compare the target level signal with the target preset level signal;

[0020] When the target level signal is inconsistent with the target preset level signal, determine the target level signal as an abnormal signal,

[0021] Or,

[0022] When the target level signal is consistent with the target preset level signal, determine the target level signal as a normal signal;

[0023] Obtain a logical judgment result according to the signal judgment result of each target module to be measured.

[0024] In some embodiments, after determining whether there is a target level signal corresponding to the target module to be measured in the level signal, the method further includes:

[0025] When there is no target level signal corresponding to the target module to be measured in all the level signals, determine the target module to be measured as a target module to be measured.

[0026] A third aspect of the embodiments of the present application provides a controller, the controller includes a memory and a processor, wherein, a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is used to execute the detection and control method of the device according to any one of the embodiments of the second aspect of the present application.

[0027] A fourth aspect of the embodiments of the present application provides a galvanometer control device, including the controller according to the third aspect.

[0028] The detection control system, method, controller and galvanometer control device of the device proposed in the embodiments of the present application have the following beneficial effects: The device in the embodiments of the present application includes a plurality of modules to be tested and a plurality of detection interfaces. The detection control system includes a detection module and a control module. Among them, the detection module includes a digital processing module and detection sub-modules corresponding to the detection interfaces one by one, so as to connect different modules to be tested through the detection sub-modules, so that the testing of multiple modules to be tested can be realized simultaneously. The detection sub-module is used to receive the detection signals corresponding to the detection interfaces, and the digital processing module is connected to all detection sub-modules to preprocess the detection signals to remove the noise and unnecessary signal components in the signals, and obtain a plurality of level signals, realizing the synchronous processing of all detection signals, improving the speed and efficiency of signal processing, improving the signal quality. The control module is communicatively connected to the detection module and is used to receive all the level signals sent by the digital processing module, where the level signals correspond to the modules to be tested; perform logical judgments on all the level signals to synchronously complete the status determination of all detection modules in the device, obtain the logical judgment results, realize the logical judgment of all detection modules, further realize the parameter full-coverage detection of the device, and then determine the target module to be tested with an abnormal signal according to the logical judgment results, and determine the target module to be tested as a faulty module, realizing the accurate judgment of the faulty module and improving the fault detection accuracy. The device in the embodiments of the present application is provided with a plurality of detection interfaces, and the detection control system integrates a plurality of detection sub-modules corresponding to the detection interfaces, which can perform parameter full-coverage detection on the device, improve the detection efficiency and the fault detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is the framework schematic diagram of the detection control system of the device provided by the embodiments of the present application;

[0030] Figure 2 is the flowchart of the specific method of the detection control method of the device provided by an embodiment of the present application;

[0031] Figure 3 is the flowchart of the specific method for performing logical judgments on all level signals provided by an embodiment of the present application;

[0032] Figure 4 is the flowchart of the detection control method provided by another embodiment of the present application;

[0033] Figure 5 is the schematic diagram of the hardware structure of the controller provided by the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0034] In order to make the objectives, technical solutions, and advantages of the present application clearer and more understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0035] It should be noted that although functional module division is carried out in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order from the module division in the device or the order in the flowchart. Terms such as "first" and "second" in the specification, claims, and the above-mentioned drawings are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0037] A detection and control method for a device provided in an embodiment of the present application can be applied to a terminal, can also be applied to a server side, or can also be software running on a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, or a smart watch, etc.; the server side can be configured as an independent physical server, can also be configured as a server cluster or a distributed system composed of multiple physical servers, or can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms; the software can be an application implementing the above method, etc., but is not limited to the above forms.

[0038] Embodiments of the present application can be used in numerous general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer controllers, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and so on. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0039] In the field of galvanometer control card detection, traditional methods mainly rely on an oscilloscope to measure the I / O port levels point by point or conduct functional verification by actually installing on the device. However, the process of measuring the I / O port levels point by point is extremely cumbersome, requiring the tester to individually test each interface. This not only consumes a large amount of time but also easily causes measurement errors due to human factors, seriously affecting the detection efficiency. Moreover, due to differences in the interfaces and working environments of different devices, it is difficult to solve the compatibility problems between different devices. This detection method is difficult to ensure comprehensive coverage of all possible fault situations, resulting in insufficient detection coverage.

[0040] In addition, the traditional detection method lacks a unified standard in its process. Different testers may adopt different operation steps and judgment criteria, making it difficult to ensure the consistency and reliability of the logical judgment results. Moreover, due to the lack of a standardized process, it is also difficult to solve the compatibility problems between different devices, which further limits the universality and generality of the detection method.

[0041] To solve the above problems, this embodiment provides a detection control system, method, controller, and galvanometer control device for a device. The device in the embodiments of the present application includes multiple modules to be tested and multiple detection interfaces. The detection control system includes a detection module and a control module. Among them, the detection module includes a digital processing module and detection sub-modules corresponding one-to-one to the detection interfaces, so as to connect different modules to be tested through the detection sub-modules, thereby enabling the simultaneous testing of multiple modules to be tested. The detection sub-module is used to receive the detection signals corresponding to the detection interfaces. The digital processing module is connected to all detection sub-modules to preprocess the detection signals to remove the noise and unnecessary signal components in the signals, obtain multiple level signals, realize the synchronous processing of all detection signals, improve the speed and efficiency of signal processing, improve the signal quality. The control module is communicatively connected to the detection module and is used to receive all the level signals sent by the digital processing module, where the level signals correspond to the modules to be tested; perform a logical judgment on all the level signals to synchronously complete the status determination of all detection modules in the device, obtain a logical judgment result, realize the logical judgment of all detection modules, further realize the parameter full-coverage detection of the device, and then determine the target module to be tested with a logical judgment result as an abnormal signal according to the logical judgment result, and determine the target module to be tested as a faulty module, realize the accurate judgment of the faulty module, and improve the fault detection accuracy. The device in the embodiments of the present application is provided with multiple detection interfaces, and the detection control system is integrated with multiple detection sub-modules corresponding to the detection interfaces, which can perform parameter full-coverage detection on the device, improve the detection efficiency and the fault detection accuracy.

[0042] Please refer to Figure 1 , Figure 1 which is the frame schematic diagram of the detection control system for the device provided by the embodiments of the present application.

[0043] The device includes multiple modules 110 to be tested and multiple detection interfaces 120. Among them, the device in the embodiments of the present application can be a device for controlling the movement of a controller such as a galvanometer control card, a laser welder, or a laser cutter.

[0044] In some embodiments, the detection control system of the device includes a detection module 200 and a control module 300. The following is a detailed description of these two modules.

[0045] The detection module 200 includes a digital processing module 210 and detection sub-modules 220 that correspond one-to-one with the detection interfaces 120. The detection sub-modules 220 are used to receive the detection signals corresponding to the detection interfaces 120. That is, the detection sub-modules 220 are connected to the modules under test 110 of the device through the detection interfaces 120, further realizing the detection of the working states of all the modules under test 110. The digital processing module 210 is connected to all the detection sub-modules 220 to preprocess the detection signals, convert the analog signals into digital signals, and be able to remove the noise and unnecessary signal components in the signals, obtaining multiple level signals, realizing the efficient processing of the signals, and improving the signal quality.

[0046] It should be noted that the digital processing module 210 in the embodiment of the present application is an FPGA (Field Programmable Gate Array) digital processing module 210. During the process of the digital processing module 210 preprocessing the detection signals, the FPGA first converts the external analog signals into digital signals, and then performs filtering processing on the converted detection signals to ensure that the signals will not generate phase distortion after filtering processing, so as to be able to reduce the noise and improve the signal quality. And the parallel processing ability of the FPGA enables it to process multiple signal streams simultaneously, greatly improving the speed and efficiency of signal processing.

[0047] The control module 300 is communicatively connected to the detection module 200. The control module 300 is used to receive all the level signals sent by the digital processing module 210. Among them, the level signals correspond to the modules under test 110, which is convenient for subsequently determining the working states of the modules under test 110 connected to the detection sub-modules 220 by analyzing the level signals, realizing the full-coverage detection of the modules under test 110 of the device, and then performing logical judgment on all the level signals to judge whether the functions of the device under test are normal, determining the target module under test 110 with abnormal signals in the logical judgment, and determining the target module under test 110 as a faulty module, realizing the accurate judgment of the faulty module, and avoiding the situation of insufficient coverage or fuzzy fault location.

[0048] It can be understood that the control module 300 in the embodiment of the present application includes an MCU (Micro Controller Unit) microprocessor 310.

[0049] It should be noted that after determining the target module under test 110 as a faulty module, the embodiment of the present application will also perform module positioning on the faulty module to determine the specific position of the module under test 110 with a fault in the device, realizing the accurate positioning of the faulty module, facilitating the subsequent maintenance by the staff, and reducing the maintenance cost.

[0050] In some embodiments, the detection and control system further includes a display module 400. The control module 300 includes a static storage interface, where the static storage interface is an FSMC (Flexible Static Memory Controller) interface. The display module 400 can be directly connected to the control module 300 through the static storage interface to display the logical judgment result. The entire process does not require an additional image processing chip, omits the intermediate driver chip in the traditional display module 400, and realizes the real-time display of the logical judgment result, improving the display stability.

[0051] It should be noted that the display module 400 in the embodiments of the present application includes a TFT LCD (Thin Film Transistor Liquid Crystal Display). The TFT LCD is directly connected to the control module 300 through the FSMC interface, and an independent backlight drive circuit is designed to ensure the display stability.

[0052] It can be understood that the existing control cards use segment displays or OLED (Organic Light-Emitting Diode) screens, which only support simple status indication. However, the embodiments of the present application achieve visualization through a high-resolution display and hardware direct connection detection, and do not require an additional image processing chip to reduce power consumption and cost.

[0053] In some embodiments, the module 110 to be tested includes a laser module, a galvanometer module, an I / O module, and an encoder module. Among them, the laser module is responsible for turning on and off the laser, ensuring that the laser beam is emitted according to a predetermined time and pattern. The galvanometer module is used to adjust the rotation angle of the galvanometer to adjust the position of the laser beam on the workbench. The I / O module is used to provide various input and output interfaces for communication with other devices. The encoder module is used to provide a feedback signal of the galvanometer position to achieve closed-loop control. The detection interface 120 includes a laser detection interface 120, a galvanometer detection interface 120, an I / O detection interface 120, and an encoder detection interface 120. The detection sub-module 220 includes a laser detection module 200, a galvanometer detection module 200, an I / O detection module 200, and an encoder detection module 200. The laser module is connected to the laser detection module 200 through the laser detection interface 120 to detect the working state of the laser module through the laser detection module 200. The galvanometer module is connected to the galvanometer detection module 200 through the galvanometer detection interface 120 to detect the working state of the galvanometer module through the galvanometer detection module 200. The I / O module is connected to the I / O detection module 200 through the I / O detection interface 120 to detect the working state of the I / O module through the I / O detection module 200. The encoder module is connected to the encoder detection module 200 through the encoder detection interface 120 to detect the working state of the encoder module through the encoder detection module 200, so as to achieve a comprehensive detection of each module 110 to be tested of the device.

[0054] Specifically, the module 110 to be tested further includes a power output module. The power output module is used to provide a stable power supply for the device to ensure that each module 110 to be tested in the device can work normally. The detection interface 120 further includes a power output interface. The detection sub-module 220 further includes a power detection module 200. The power output module is connected to the power detection module 200 through the detection interface 120 to detect the power supply of the device through the power detection module 200, ensuring that the device can operate stably and efficiently.

[0055] In some embodiments, the detection module 200 further includes a clock module 230. The clock module 230 is used to generate a clock signal. The clock module 230 is connected to the digital processing module 210 to distribute the clock signal. Through the clock module 230, the frequency and phase of the clock signal can be dynamically adjusted to ensure the stability and synchronization of the clock signal, so as to provide a stable working timing for the digital processing module 210.

[0056] It should be noted that the detection module 200 in the embodiments of the present application further includes a Flash module. The Flash module is used to store the configuration data and program code of the FPGA to achieve the storage of user data and avoid data loss after power off.

[0057] In some embodiments, the detection and control system further includes a power protection module 500. The power protection module 500 includes a first power protection sub-module 510 and a second power protection sub-module 520. The first power protection sub-module 510 is connected to the digital processing module 210 to provide a first power voltage, so as to be able to provide a stable voltage for the digital processing module 210, realize over-voltage protection and over-current protection for the digital processing module 210, and avoid damage caused by voltage fluctuations. The second power protection sub-module 520 is connected to the control module 300 to provide a second power voltage, realize over-voltage protection and over-current protection for the control module 300, and achieve protection for the control module 300.

[0058] In some embodiments, the detection interface 120 further includes a communication interface and a network interface. Among them, the communication interface can be an RS422 interface, an RS485 interface, a synchronous serial communication interface, etc., and the network interface can be an Ethernet interface, an optical fiber interface, etc. The embodiments of the present application do not make specific limitations.

[0059] The device is connected to the control module 300 through the communication interface for communication, so as to be able to effectively resist interference signals from the outside world, realize long-distance transmission between the device and the control module 300, and improve data transmission efficiency. And the device is connected to the control module 300 through the network interface for data transmission, so as to realize high-speed data transmission between devices.

[0060] It should be noted that taking the device as a galvanometer control card as an example, the galvanometer control card in the embodiments of the present application integrates an RS422 interface and an Ethernet interface, can automatically identify the host computer communication protocol and switch to the corresponding channel, and realize data interaction with the host computer.

[0061] It can be understood that traditional control cards rely more on a single interface, and there are problems of low speed and poor compatibility. However, the galvanometer control card in the embodiments of the present application supports multi-threaded data interaction through a dual physical channel and protocol adaptive design.

[0062] In some embodiments, the control module 300 further includes an MCU clock module 320 and a reset module 330. Among them, the MCU clock module 320 is used to provide timing signals for the processor in the control module 300, ensure that each logic unit and module in the processor can run synchronously, so as to provide a stable clock signal to ensure the stability and reliability of the clock signal. The reset module 330 is used to initialize the processor to a known initial state to ensure that the processor can operate normally when starting up or when an error occurs.

[0063] Please refer to Figure 2 , Figure 2 is a flowchart of the specific method of the detection and control method of the device provided by an embodiment of the present application. Apply but not limited to the aboveFigure 1 The control module 300 in the detection and control system of the device shown. In some embodiments, the detection and control method of the device includes but is not limited to steps S101 to S103.

[0064] Step S101: Receive all the level signals sent by the digital processing module 210, where the level signals correspond to the module under test 110.

[0065] Step S102: Perform a logical judgment on all the level signals to obtain a logical judgment result.

[0066] Step S103: Determine the target module under test 110 for which the logical judgment is an abnormal signal according to the logical judgment result, and determine the target module under test 110 as a faulty module.

[0067] In steps S101 to S103 of some embodiments, in the embodiments of the present application, all the level signals sent by the digital processing module 210 are received first, where the level signals correspond to the module under test 110, which is convenient for subsequently judging the working state of the module under test 110 through the level signals. After receiving all the level signals, a logical judgment is performed on all the level signals. Specifically, it is judged whether the module under test 110 is normal by detecting the presence, absence, high or low of the level input to each module under test 110, so as to determine the target module under test 110 with an abnormal signal in the logical judgment, and determine the target module under test 110 as a faulty module, ensuring comprehensive coverage detection of the device, realizing accurate judgment of abnormal signals, and facilitating subsequent positioning of the faulty module.

[0068] It can be understood that in the embodiments of the present application, by detecting the high, low, presence or absence of the level, it is possible to quickly judge whether there is a fault in the I / O interface, and the device and system in the embodiments of the present application can quickly complete the detection of a large number of I / Os by integrating multiple interfaces, improving the detection efficiency and reducing the time for troubleshooting problems.

[0069] In some embodiments, after determining the target module under test 110 as a faulty module, the control module 300 also sends the logical judgment result to the display module 400 for display through the display module 400, realizing visual display of the entire process of logical judgment.

[0070] Please refer to Figure 3 , Figure 3 is a flowchart of a specific method for performing a logical judgment on all level signals provided in an embodiment of the present application. The method includes but is not limited to steps S201 to S206.

[0071] It should be noted that the detection and control system further includes a data storage module, and the data storage module stores the preset level signals for each module under test 110.

[0072] Step S201: For each target module to be tested 110, determine whether there is a target level signal corresponding to the target module to be tested 110 in the level signal.

[0073] Step S202: When there is a target level signal corresponding to the target module to be tested 110 in the level signal, determine the target preset level signal corresponding to the target level signal in the data storage module.

[0074] Step S203: Compare the target level signal with the target preset level signal.

[0075] Step S204: When the target level signal is inconsistent with the target preset level signal, determine the target level signal as an abnormal signal.

[0076] Step S205: When the target level signal is consistent with the target preset level signal, determine the target level signal as a normal signal.

[0077] Step S206: Obtain a logical judgment result according to the signal judgment result of each target module to be tested 110.

[0078] In steps S201 to S206 of some embodiments, for each target module to be tested 110, this application embodiment will determine whether there is a target level signal corresponding to the target module to be tested 110 in the level signal. When there is a target level signal corresponding to the target module to be tested 110 in the level signal, it indicates that the control module 300 has received the target level signal corresponding to the target module to be tested 110, that is, the target module to be tested 110 has a level input. At this time, determine the target preset level signal corresponding to the target level signal in the data storage module, and then compare the target level signal with the target preset level signal to determine whether the target level signal is consistent with the preset level signal. When the target level signal is inconsistent with the target preset level signal, it indicates that the target level signal does not match the expectation, then determine the target level signal as an abnormal signal to achieve accurate judgment of the abnormal signal and facilitate subsequent positioning of the faulty module. When the target level signal is consistent with the target preset level signal, it indicates that the target level signal is consistent with the expectation, and the target level signal can be directly determined as a normal signal. Finally, according to the signal judgment result of each target module to be tested 110, that is, according to whether the signal corresponding to each target module to be tested 110 is an abnormal signal or a normal signal, generate a logical judgment result to achieve the collection of normal signals and abnormal signals and facilitate subsequent positioning of the faulty module.

[0079] Please refer to Figure 4 , Figure 4 which is the flowchart of the detection control method provided by another embodiment of this application. The method includes but is not limited to step S301.

[0080] It should be noted that step S301 occurs after determining whether there is a target level signal corresponding to the target DUT 110 in the level signals.

[0081] Step S301: When there is no target level signal corresponding to the target DUT 110 in all the level signals, the target DUT 110 is determined as the target DUT 110.

[0082] In step S301 of some embodiments, after determining whether there is a target level signal corresponding to the target DUT 110 in the level signals, when there is no target level signal corresponding to the target DUT 110 in all the level signals, it indicates that the control module 300 has not received the level signal sent by the target DUT 110, that is, the target DUT 110 has no level input. At this time, the target DUT 110 is directly determined as the target DUT 110.

[0083] It should be noted that in the process of logically judging all the level signals in the embodiments of the present application, it is determined whether the DUT 110 is normal by detecting the presence, absence, high level, and low level of the levels input by each DUT 110. Specifically, the control module 300 first detects whether each DUT 110 has a level input, and determines the DUT 110 without level input as a faulty module. For the DUT 110 with level input, it is detected whether the level signal corresponding to the DUT 110 is consistent with the preset level signal. If the detected level signal is consistent with the preset level signal, for example, after setting a high level, a high level is detected; after setting a low level, a low level is detected, then it is determined that the working state of the DUT 110 is normal. If the detected level signal does not match the preset level signal, for example, after setting a high level, a low level is detected, then it is determined that the working state of the DUT 110 is abnormal, so that all the DUTs 110 of the testing device can be tested synchronously, ensuring a comprehensive coverage detection of the device.

[0084] Refer to Figure 5 , Figure 5 which is a schematic hardware structure diagram of the controller 900 provided by the embodiments of the present application.

[0085] Next, in conjunction with Figure 5 the hardware structure of the controller 900 will be described in detail. The controller 900 includes: a processor 910, a memory 920, an input / output interface 930, a communication interface 940, and a bus 950.

[0086] The processor 910 can be implemented in the form of a general - purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0087] The memory 920 can be implemented in the form of a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a Random Access Memory (RAM), etc. The memory 920 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 920 and are called by the processor 910 to execute the detection and control method of the device in the embodiments of the present application;

[0088] The input / output interface 930 is used to implement information input and output;

[0089] The communication interface 940 is used to implement communication interaction between this device and other devices. It can communicate through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); and the bus 950 is used to transmit information between various components of the device (such as the processor 910, the memory 920, the input / output interface 930, and the communication interface 940);

[0090] Among them, the processor 910, the memory 920, the input / output interface 930, and the communication interface 940 are communicatively connected to each other inside the device through the bus 950.

[0091] The embodiments of the present application also provide a storage medium, which is a computer - readable storage medium. The computer - readable storage medium stores a computer program. When the computer program is executed by a computer, the computer is used to execute the detection and control method of the device in the above - mentioned embodiments of the present application.

[0092] In some embodiments, the present embodiment also provides a galvanometer control device, including the controller 900 as Figure 5 shown. Among them, the galvanometer control device has the same beneficial effects as the detection and control method of the device, and details are not described herein again.

[0093] A memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include memories remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0094] The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art will know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0095] Those skilled in the art can understand that Figures 1 to 5 the technical solutions shown do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or combine certain steps, or different steps.

[0096] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0097] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof.

[0098] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0099] It should be understood that in this application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects and indicates that three relationships can exist. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (piece) of the following" or its similar expression refers to any combination of these items, including any combination of single item (piece) or plural items (pieces). For example, at least one (piece) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0100] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.

[0101] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0102] In addition, each functional unit in various embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0103] When 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 this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions for causing a controller (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes: various media that can store programs such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.

[0104] The preferred embodiments of the embodiments of this application have been described above with reference to the accompanying drawings, but this does not limit the scope of the rights of the embodiments of this application. Any modifications, equivalent replacements, and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of this application shall fall within the scope of the rights of the embodiments of this application.

Claims

1. A detection and control system for a device, characterized in that, The device includes multiple modules to be tested and multiple detection interfaces; The detection control system of the device includes: A detection module, including a digital processing module and detection sub-modules corresponding one-to-one to the detection interfaces. The detection sub-modules are used to receive detection signals corresponding to the detection interfaces, and the digital processing module is connected to all the detection sub-modules to preprocess the detection signals to obtain multiple level signals; A control module, communicatively connected to the detection module. The control module is used to receive all the level signals sent by the digital processing module, where the level signals correspond to the modules to be tested; perform a logical judgment on all the level signals to obtain a logical judgment result; determine a target module to be tested whose logical judgment is an abnormal signal according to the logical judgment result, and determine the target module to be tested as a faulty module.

2. The detection and control system of the device according to claim 1, characterized in that, It further includes a display module. The control module includes a static storage interface, and the display module is connected to the control module through the static storage interface to display the logical judgment result.

3. The detection and control system of the device according to claim 1, characterized in that, The modules to be tested include a laser module, a galvanometer module, an I / O module, and an encoder module. The detection interfaces include a laser detection interface, a galvanometer detection interface, an I / O detection interface, and an encoder detection interface. The detection sub-modules include a laser detection module, a galvanometer detection module, an I / O detection module, and an encoder detection module; the laser module is connected to the laser detection module through the laser detection interface, the galvanometer module is connected to the galvanometer detection module through the galvanometer detection interface, the I / O module is connected to the I / O detection module through the I / O detection interface, and the encoder module is connected to the encoder detection module through the encoder detection interface.

4. The detection and control system of the device according to claim 1, characterized in that The detection module further includes a clock module, which is used to generate a clock signal, and the clock module is connected to the digital processing module to distribute the clock signal.

5. The detection and control system of the device according to claim 1, characterized in that, It further includes a power protection module, which includes a first power protection sub-module and a second power protection sub-module. The first power protection sub-module is connected to the digital processing module to provide a first power supply voltage, and the second power protection sub-module is connected to the control module to provide a second power supply voltage.

6. The detection and control system of the device according to claim 1, characterized in that, The detection interface further includes a communication interface and a network interface. The device is connected to the control module through the communication interface for communication, and the device is connected to the control module through the network interface for data transmission.

7. A detection and control method for a device, characterized in that, A detection control system applied to the device according to any one of claims 1 to 6. The device includes multiple modules to be tested and multiple detection interfaces; the method includes: Receiving all the level signals sent by the digital processing module, where the level signals correspond to the modules to be tested; Performing a logical judgment on all the level signals to obtain a logical judgment result; Determining a target module to be tested whose logical judgment is an abnormal signal according to the logical judgment result, and determining the target module to be tested as a faulty module.

8. The detection and control method of the device according to claim 7, characterized in that, The detection and control system further includes a data storage module, and the data storage module stores preset level signals for each of the modules to be tested. The logical judgment of all the level signals to obtain a logical judgment result includes: For each target module to be tested, determining whether there is a target level signal corresponding to the target module to be tested in the level signals; When there is a target level signal corresponding to the target module to be tested in the level signals, determining a target preset level signal corresponding to the target level signal in the data storage module; Comparing the target level signal with the target preset level signal; When the target level signal is inconsistent with the target preset level signal, determining the target level signal as an abnormal signal, Or, When the target level signal is consistent with the target preset level signal, determining the target level signal as a normal signal; Obtaining a logical judgment result according to the signal judgment results of each target module to be tested.

9. The detection and control method of the device according to claim 8, characterized in that After determining whether there is a target level signal corresponding to the target module to be tested in the level signals, the method further includes: When there is no target level signal corresponding to the target module to be tested in all the level signals, determining the target module to be tested as the target module to be tested.

10. A controller, characterized in that, The controller includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is used to execute the detection and control method of the device according to any one of claims 7 to 9.

11. A galvanometer control device, characterized in that, Including the controller according to claim 10.

Citation Information

Cited By

  • Multi-protocol galvanometer monitoring system, protocol conversion data acquisition box and monitoring method

    CN121711410A