Automatic debugging and testing platform architecture for process technology
Through the multi-layer architecture process automatic testing platform, the problem of insufficient data sharing and universality of the existing automated testing system is solved, and the rapid construction of the automated testing system and fault record management are realized, reducing the development cycle and Labor costs.
Patent Information
- Application Number
- CN202411250080.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-29
AI Technical Summary
Most of the existing automated testing systems are stand-alone versions, which cannot realize real-time data sharing and convenient upload of testing data in multiple stalls. The versatility and modular functions are not strong, data maintenance and sharing are difficult, and product failure records are incomplete, which has increased. Labor costs and development cycles.
The process-based automatic testing platform adopts a multi-layer architecture, including the process-based automatic testing platform layer, control instruction set layer, modular testing program layer, debugging process layer and product testing layer, and manages the modular instruction set , debugging programs and product knowledge base to realize the construction of automated debugging programs and fault recording and query.
It realizes paperless adjustment and testing records, simplifies data search and analysis, shortens the development cycle of automated testing systems and product testing process compilation cycle, and improves the system's universality and troubleshooting efficiency.
Smart Images

Figure CN119045787A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated debugging technology, and in particular to a process-based automatic debugging platform architecture. Background Art
[0002] After all electronic products are assembled, their functions and performance indicators need to be debugged and / or adjusted. There are two methods of adjustment: manual adjustment and automatic adjustment. Manual adjustment is to build a test booth in the way of "manual + general instrument", relying on the adjustment personnel to manually operate according to the adjustment steps and manually record the adjustment data. Automatic adjustment relies on automated adjustment software, industrial robots, etc., to automatically adjust step by step according to the pre-set procedures, and automatically record the adjustment results.
[0003] Most of the existing automated commissioning systems are stand-alone versions. If you want to build multiple booths, you need multiple computers. Each computer needs to install a stand-alone program. The commissioning software and data cannot be shared in real time, and it is inconvenient to upload the commissioning data to the data center. It is not related to the entire debugging and testing process of the product, and cannot be associated with the commissioning process and commissioning process. The generality and modular functions are not strong. Data maintenance, sharing, and secondary development are inconvenient. The product fault tree is not recorded or the records are incomplete, and paper records are inconvenient to find. The requirements for commissioning personnel are relatively high, which increases labor costs. General programs are not shared, and the development cycle of the automated commissioning system is long. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a process-based automatic debugging platform architecture.
[0005] The objective of the present invention is achieved through the following technical solutions: a process-based automatic debugging platform architecture, which adopts a multi-layer architecture, including a process-based automatic debugging platform layer, the process-based automatic debugging platform layer is connected to a control instruction set layer, the control instruction set layer is connected to a modular debugging program layer, the modular debugging program layer is connected to a debugging process layer, and the debugging process layer is connected to a product debugging layer; the process-based automatic debugging platform layer is used to manage modular instruction sets, modular debugging programs, debugging processes, and product knowledge bases; the control instruction set layer is used to manage instrument instruction sets, equipment instruction sets, product instruction sets, and debugging fixture instruction sets; the modular debugging program layer is used to build an automated debugging program according to data output by the control instruction set layer; the debugging process layer is used to compile a debugging process according to debugging details, product specifications, screening specifications, and automated debugging programs, build a debugging route, approve process flow, and manage debugging process versions; the product debugging layer is used to build a debugging environment according to the compiled debugging process and debug the product to be tested.
[0006] Preferably, the automated tuning program includes a product minimum tuning unit, and the product minimum tuning unit includes at least one of a power tuning program, an envelope characteristic tuning program, a sensitivity tuning program, a dynamic range tuning program, a frequency range tuning program, and a voltage tuning program.
[0007] Preferably, the control instruction set layer encapsulates an instrument instruction set, a device instruction set, a product instruction set, and a debugging fixture instruction set. When the modular debugging program layer constructs an automated debugging program, the encapsulated instruction set is called.
[0008] Preferably, the modular debugging program layer encapsulates different automated debugging programs constructed each time, and when the debugging process layer needs to use an existing automated debugging program to compile a debugging process and build a debugging route, it is directly called.
[0009] Preferably, if an unpackaged instruction set is required when constructing an automated debugging program, a target instruction set is constructed and packaged into a control instruction set layer.
[0010] Preferably, the debugging of different products to be tested includes manual debugging and / or automatic debugging; the product knowledge base is used for knowledge recording and knowledge query. When manual debugging is performed, if the product to be tested fails during the debugging, testing, trial, and maintenance process, the fault phenomenon is entered into the database through the product knowledge base; when automatic debugging is performed, if the product to be tested fails, the fault phenomenon is automatically recorded and stored in the database; when the fault is resolved, the troubleshooting process and fault handling method are entered.
[0011] Preferably, the knowledge query includes the following steps: when a fault phenomenon occurs, first search whether the fault phenomenon has been recorded, and if the fault phenomenon has been recorded, automatically push the corresponding fault handling method.
[0012] The beneficial effects of the present invention are: 1) Make commissioning records paperless, making it easier to search and analyze commissioning data.
[0013] 2) The instrument and equipment instruction set, product instruction set, and tooling and fixture instruction set use function or modular encapsulation to achieve rapid construction of an automated debugging system with strong versatility.
[0014] 3) The underlying instruction set debugging commands are shared on the server, shortening the development cycle of the automated debugging program.
[0015] 4) Share automated debugging programs to shorten the product debugging process preparation cycle.
[0016] 5) Change the traditional debugging method so that testers and debuggers can use it reasonably.
[0017] 6) Fault knowledge collection effectively shortens product debugging and troubleshooting time. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is the principle block diagram of the process-based automatic commissioning platform architecture; Figure 2 Prepare flow chart for commissioning process; Figure 3 This is a schematic diagram of the automated debugging program exe file; Figure 4 This is a schematic diagram of manual pop-up debugging; Figure 5 This is a schematic diagram of the automated commissioning window; Figure 6 This is a block diagram of the hardware composition of the automated commissioning system. DETAILED DESCRIPTION
[0019] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0020] See also Figure 1-Figure 6 The present invention provides a technical solution: a process-based automatic debugging platform architecture, which adopts a multi-layer architecture, including a process-based automatic debugging platform layer, the process-based automatic debugging platform layer is connected to a control instruction set layer, the control instruction set layer is connected to a modular debugging program layer, the modular debugging program layer is connected to a debugging process layer, and the debugging process layer is connected to a product debugging layer; the process-based automatic debugging platform layer is used to manage modular instruction sets, modular debugging programs, debugging processes, and product knowledge bases; the control instruction set layer is used to manage instrument instruction sets, equipment instruction sets, product instruction sets, and debugging fixture instruction sets; the modular debugging program layer is used to build an automated debugging program according to data output by the control instruction set layer; the debugging process layer is used to compile a debugging process according to debugging details, product specifications, screening specifications, and automated debugging programs, build a debugging route, approve process flow, and manage debugging process versions; the product debugging layer is used to build a debugging environment according to the compiled debugging process and debug the product to be tested.
[0021] In this embodiment, a five-layer architecture is adopted, from bottom to top, the first layer is the process-based automatic debugging platform layer, the second layer is the control instruction set layer, the third layer is the modular debugging program layer, the fourth layer is the debugging process layer, and the fifth layer is the product debugging layer. The debugging process layer is used to compile the debugging process according to the design document requirements such as debugging details, product specifications, and screening specifications (not limited to the listed design document requirements, and the corresponding file requirements can be replaced according to the actual work scenario) and the automatic debugging program, build the debugging route, approve the process flow, and manage the debugging process version In some embodiments, the automated tuning program includes a product minimum tuning unit, and the product minimum tuning unit includes at least one of a power tuning program, an envelope characteristic tuning program, a sensitivity tuning program, a dynamic range tuning program, a frequency range tuning program, and a voltage tuning program.
[0022] In this embodiment, the minimum product debugging unit is not limited to the several debugging programs listed, and the debugging programs can be increased or reduced according to the actual working scenario.
[0023] In some embodiments, the control instruction set layer encapsulates an instrument instruction set, a device instruction set, a product instruction set, and a debugging fixture instruction set. When the modular debugging program layer constructs an automated debugging program, the encapsulated instruction set is called.
[0024] In this embodiment, the control instruction set layer is not limited to the several instruction sets listed, and the instruction set can be increased or decreased according to the actual working scenario. By encapsulating the instrument instruction set, device instruction set, product instruction set, and debugging fixture instruction set, the platform can call the control instruction set of the instrument, device, product, and fixture when building the automated debugging program and automatically debugging the product to be tested. The commonly used SCPI instructions for controlling instruments are shown in Table 1, and the variables can be modified according to the debugging situation.
[0025] Table 1 Instrument control command table When using the C# programming language, you can encapsulate common instruction sets into a *.cs class file by type. When writing a program, you can directly call the relevant functions in the *.cs class file, such as 3310XiLie.cs. An example of an instrument control function in a *.cs class file is shown in Code 1.
[0026] Code 1 Class file encapsulation sample code When the instrument model is 3310D and 3300C, the above program can be executed. When the above load_OpenTest function is called, the load test function of the electronic load will be turned on. Model, ConnectionMode, Address, and djl are variables, and the parameters can be modified according to the actual situation when calling.
[0027] In some embodiments, the modular debugging program layer encapsulates different automated debugging programs built each time, and when the debugging process layer needs to use an existing automated debugging program to compile a debugging process and build a debugging route, it is directly called.
[0028] In this embodiment, through the construction of the second-layer instruction set class function program, more and more functions are used as public resources, and the development of general automatic debugging programs will become faster and faster. The development steps of the output voltage automatic debugging program are shown in Table 2. When developing the program, the modular program is built by calling the instruction set function library to form the minimum debugging unit. Different development software has different packaging forms. For example, in C#, the output voltage debugging can generate an *.exe executable file.
[0029] Table 2 General automation debugging program packaging example The encapsulated single general automated debugging program can be directly called and used during the debugging process, route compilation, and automated debugging process construction to automatically generate an automated debugging program.
[0030] In some embodiments, if an unpackaged instruction set is required when building an automated debugging program, a target instruction set is built and packaged into a control instruction set layer.
[0031] The following is an example of debugging a product under test. The debugging process is shown in Table 3. The generated automatic debugging program is as follows: Figure 3 As shown, the debugging process of the product to be tested has a total of 7 steps, namely size, weight, static test, program download, power test, sensitivity test, and output voltage test. When setting up the process flow, process 1 is size, and the size test module .exe file is bound to the execution program; process 2 is weight, and the weight test module .exe file is bound to the execution program; process 3 is static test, and the XXXX static test module .exe file is bound to the execution program; process 4 is program download, and the automatic program download module .exe file is bound to the execution program; process 5 is power test, and the automatic power test module .exe file is bound to the execution program; process 6 is sensitivity test, and the automatic sensitivity test module .exe file is bound to the execution program; process 7 is output voltage test, and the automatic output voltage test module .exe file is bound to the execution program.
[0032] Table 3 Flow chart of the product under test in the example The established debugging and testing process is bound to the production order through the product drawing number. During production, the debugging and testing personnel carry out debugging and testing work according to the debugging and testing process flow.
[0033] In some embodiments, the debugging of different products to be tested includes manual debugging and / or automatic debugging; the product knowledge base is used for knowledge recording and knowledge query. When manual debugging is performed, if the product to be tested fails during the debugging, testing, trial, and maintenance process, the fault phenomenon is entered into the database through the product knowledge base; when automatic debugging is performed, if the product to be tested fails, the fault phenomenon is automatically recorded and stored in the database; when the fault is resolved, the troubleshooting process and fault handling method are entered.
[0034] In this embodiment, corresponding to the fifth layer in the overall architecture, the product commissioning layer, the commissioning process is bound to the production order, and the commissioning personnel set up the commissioning booth according to the commissioning process and carry out the commissioning work according to the process flow. Figure 4 As shown in the figure, due to the size, weight, and static commissioning, full automatic commissioning cannot be performed. After the operator clicks the execution program, a commissioning dialog box pops up, as shown in the figure below. After commissioning, the operator fills in the test value and clicks the OK button. The test data is stored in the database. Figure 5 As shown, program download, power test, sensitivity test, and output voltage test can be fully automatically tested. Click the execute program or continuous execute program button, and the program will automatically carry out the test according to the previously defined modular program. It only displays the test progress and test results. After the test, the test data is automatically stored in the server database. For knowledge recording: During manual commissioning, if a fault occurs during product commissioning, testing, experimentation, and maintenance, the fault phenomenon can be entered into the database through the knowledge base management function. During automated commissioning, the automated commissioning system automatically records the fault phenomenon and stores it in the database. When the product is repaired, the troubleshooting process and handling methods are manually entered. For knowledge query: Through the software algorithm, enter the corresponding fault phenomenon in the search box, and the platform will automatically push the corresponding handling method to shorten the maintenance and troubleshooting time. The hardware block diagram of the automated commissioning system is shown below. Figure 6 As shown, the server is used for data storage. Each terminal computer is equipped with the process-based automatic commissioning platform software or accessed through a browser. The instruction set program, general modular program, and commissioning process on the server can be created, modified, and packaged. During product commissioning, the commissioning personnel carry out commissioning work according to the commissioning process bound to the production order, and record the fault phenomenon and troubleshooting process. The commissioning process construction and commissioning process are as follows: 1. Build the commissioning process according to the task. If there is a general automatic commissioning program, select and use it directly. If there is no general automatic commissioning program, develop a modular automatic commissioning program according to the commissioning content and generate an exe executable file.
[0035] 2. When developing a modular automated debugging program, if there is a required instruction set program, it can be directly called and used. If there is no instruction set program, an instruction set function library can be developed as needed to generate a cs class file.
[0036] 3. After the process-based debugging and testing process is established, the process will be approved and released according to the needs of the factory.
[0037] 4. After the production plan is issued, it will be bound to the corresponding process-based debugging and testing technology according to the product drawing number.
[0038] 5. When debugging products, the debugging personnel shall set up the debugging booth according to the debugging process and carry out the debugging work until the process is completed.
[0039] 6. During the commissioning process, the commissioning data is stored in the server database in real time.
[0040] 7. During the commissioning process, if any fault occurs, record the fault.
[0041] In some embodiments, the knowledge query includes the following steps: when a fault phenomenon occurs, first search whether the fault phenomenon has been recorded, and if the fault phenomenon has been recorded, automatically push the corresponding fault handling method.
[0042] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A process-based automatic debugging platform architecture, characterized by: A multi-layer architecture is adopted, including a process-based automatic debugging platform layer, the process-based automatic debugging platform layer is connected to the control instruction set layer, the control instruction set layer is connected to the modular debugging program layer, the modular debugging program layer is connected to the debugging process layer, and the debugging process layer is connected to the product debugging layer; the process-based automatic debugging platform layer is used to manage modular instruction sets, modular debugging programs, debugging processes, and product knowledge bases; the control instruction set layer is used to manage instrument instruction sets, equipment instruction sets, product instruction sets, and debugging fixture instruction sets; the modular debugging program layer is used to build an automated debugging program based on the data output by the control instruction set layer; the debugging process layer is used to compile a debugging process based on debugging details, product specifications, screening specifications, and automated debugging programs, build a debugging route, approve the process flow, and manage the debugging process version; The product debugging layer is used to build a debugging environment according to the prepared debugging process and debug the product to be tested.
2. The process-based automatic debugging platform architecture according to claim 1 is characterized by: The automated tuning program includes a minimum product tuning unit, and the minimum product tuning unit includes at least one of a power tuning program, an envelope characteristic tuning program, a sensitivity tuning program, a dynamic range tuning program, a frequency range tuning program, and a voltage tuning program.
3. The process-based automatic debugging platform architecture according to claim 1 is characterized by: The control instruction set layer encapsulates an instrument instruction set, a device instruction set, a product instruction set, and a debugging fixture instruction set. When the modular debugging program layer constructs an automated debugging program, the encapsulated instruction set is called.
4. The process-based automatic debugging platform architecture according to claim 1 is characterized by: The modular debugging program layer encapsulates different automated debugging programs built each time. When the debugging process layer needs to use an existing automated debugging program to compile a debugging process and build a debugging route, it is directly called.
5. The process-based automatic debugging platform architecture according to claim 3 is characterized by: If an unpackaged instruction set is required when building an automated debugging program, build the target instruction set and package it into the control instruction set layer.
6. The process-based automatic debugging platform architecture according to claim 1 is characterized by: When debugging different products to be tested, it includes manual debugging and / or automatic debugging; the product knowledge base is used for knowledge recording and knowledge query. When manual debugging is performed, if the product to be tested fails during debugging, testing, experimentation, and maintenance, the fault phenomenon is entered into the database through the product knowledge base; when automatic debugging is performed, if the product to be tested fails, the fault phenomenon is automatically recorded and stored in the database; when the fault is resolved, the troubleshooting process and fault handling method are entered.
7. The process-based automatic debugging platform architecture according to claim 6 is characterized by: The knowledge query includes the following steps: when a fault phenomenon occurs, first search whether the fault phenomenon has been recorded, and if the fault phenomenon has been recorded, automatically push the corresponding fault handling method.
Citation Information
Cited By
Electric cabinet automatic detection program construction method and system based on modular programming
CN120871810A
