A proportional valve automatic test system and test method applied to laser cutting

By designing an automated testing system for laser-cut proportional valves, and combining it with a pneumatic circuit unit, a control unit, and a host computer, automated testing of proportional valves was achieved. This solved the problems of long testing cycles and lack of standardized results, improved testing efficiency and equipment stability, and ensured the performance accuracy of the proportional valves.

CN116609051BActive Publication Date: 2026-01-02JINAN BODOR LASER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310423379.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2026-01-02
Estimated Expiration
2043-04-14

AI Technical Summary

Technical Problem

Existing technologies for proportional valves suffer from problems such as long testing cycles, lack of standardized test results, and the need to utilize testing equipment and personnel, resulting in low testing efficiency and difficulty in ensuring equipment stability.

Method used

Design an automatic testing system for proportional valves used in laser cutting, including an air circuit unit, a control unit, and a host computer. Through the combination of an air pump, a solenoid valve, a proportional valve, and a pressure sensor, the control unit and the host computer are used to achieve automated testing and generate test reports.

Benefits of technology

The testing process has been standardized, reducing manual intervention, shortening the testing cycle, improving testing efficiency and equipment stability, ensuring the accuracy of proportional valve performance testing, and avoiding problems such as laser cutting head damage or unsatisfactory cutting results due to substandard quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116609051B_ABST
    Figure CN116609051B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of gas valve detection, and specifically provides a proportional valve automatic test system and test method applied to laser cutting. The system comprises a gas circuit unit, and the gas circuit unit is connected with an upper computer through a control unit. The control unit receives control signals of the upper computer to control opening and closing of the electromagnetic valve and the proportional valve, and outputs corresponding stable voltage signals to the proportional valve according to the received control signals to control the proportional valve to output gas with a set gas pressure. A gas pressure sensor collects a gas pressure signal of the gas output by the proportional valve and converts the gas pressure signal into a voltage signal, which is transmitted to the upper computer through the control unit. The upper computer receives test parameters set through a display interface, processes the received test parameters, outputs control signals to the control unit according to the processed information, and is also used for analyzing and comparing the received data collected by the gas pressure sensor with the information processed from the test parameters to output a chart. The performance of the proportional valve can be accurately tested, and the stability of the equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of gas valve detection, in particular to a proportional valve automatic test system and test method applied to laser cutting. BACKGROUND

[0002] With the development of science and technology, laser cutting is more and more important in the industrial field, and plays an extremely important role in the fields of automobile, ship, aviation, nuclear industry, machinery manufacturing, steel, textile, petroleum, etc. Among them, the electromagnetic valve and the proportional valve are mainly used for the control of the auxiliary gas of the laser cutting machine tool, controlling nitrogen, oxygen, air, and the application of proportional valve for accurate control of gas pressure can play the following roles: blowing off the metal slag in the cutting area; cooling the cutting area; playing the role of protective gas to prevent the metal surface from being oxidized; oxygen is generally used for cutting carbon steel plate, and has the effect of helping to melt; and low-pressure oxygen is usually used for punching before cutting the plate; air is usually used for cutting non-metallic plates.

[0003] There are many types and models of proportional valves and electromagnetic valves in the current market. In order to achieve the purpose of reducing cost and increasing efficiency, proportional valves need to be tested, and only when the service life and accuracy of the proportional valve meet the use standard can it be used on mass production equipment.

[0004] The traditional method of testing proportional valve is to install proportional valve and electromagnetic valve on the equipment for continuous blowing cutting test. Such test method has the defects of long test period, non-standard test result, and occupation of test equipment and test personnel. Therefore, it is necessary to provide a proportional valve automatic test system and test method applied to laser cutting. SUMMARY

[0005] The traditional method of testing proportional valve is to install proportional valve and electromagnetic valve on the equipment for continuous blowing cutting test. Such test method has the defects of long test period, non-standard test result, and occupation of test equipment and test personnel. Therefore, it is necessary to provide a proportional valve automatic test system and test method applied to laser cutting.

[0006] In a first aspect, the present application provides a proportional valve automatic test system applied to laser cutting, comprising a gas path unit, the gas path unit is connected with an upper computer through a control unit;

[0007] The gas path unit comprises a gas pump, an electromagnetic valve, a proportional valve and a gas pressure sensor connected in sequence;

[0008] The control unit is used for receiving the control signal of the upper computer to control the opening and closing of the electromagnetic valve and the proportional valve, and outputting the corresponding stable voltage signal to the proportional valve according to the received control signal to control the proportional valve to output the set gas pressure;

[0009] a gas pressure sensor for collecting the gas pressure signal of the output gas of the proportional valve and converting the gas pressure signal into a voltage signal transmitted to the host computer through the control unit;

[0010] the host computer for receiving the test parameters set through the display interface, processing the received test parameters, outputting the control signal to the control unit according to the processed information, and analyzing and comparing the data collected by the gas pressure sensor with the processed information of the test parameters and outputting the test results in the form of a chart.

[0011] As a preferred technical solution of the present application, the system further comprises a driving unit connected with the gas circuit unit and the control unit respectively for supplying power to the gas circuit unit and the control unit.

[0012] As a preferred technical solution of the present application, the control unit comprises a first control board card and a gas pressure control module.

[0013] the host computer for processing the received test parameters, inputting the generated power control signal of the gas circuit unit to the driving unit through the first control board card, and outputting the generated proportional valve control signal to the gas pressure control module.

[0014] the gas pressure control module for processing the received proportional valve control signal, outputting the stable voltage required by the proportional valve to the proportional valve of the gas circuit unit, and controlling the proportional valve to output the set stable gas pressure.

[0015] As a preferred technical solution of the present application, the gas pressure control module comprises a controller, a voltage processing unit and an adjustment compensation unit.

[0016] the voltage processing unit connected with the adjustment compensation unit;

[0017] the voltage processing unit and the adjustment compensation unit connected with the controller respectively;

[0018] the controller for receiving the proportional valve control signal output by the host computer, processing the proportional valve control signal, outputting the voltage value required by the proportional valve to the adjustment compensation unit for storage, and outputting the corresponding voltage control signal to the voltage processing unit;

[0019] the voltage processing unit for receiving the voltage control signal output by the controller, outputting the corresponding voltage signal according to the received voltage control signal, and outputting the stable voltage to the proportional valve in combination with the compensation voltage output by the adjustment compensation unit.

[0020] The adjusting compensation unit is used for detecting the voltage signal output by the voltage processing unit, comparing the detected voltage signal with the voltage value, and calculating a compensation voltage for corresponding voltage compensation of the voltage output by the voltage processing unit according to the detected voltage drop feature quantity and the voltage value required by the proportional valve operation when the detected voltage is reduced.

[0021] As a preferred technical solution of the present application, the driving unit comprises a switching power supply and an intermediate relay.

[0022] The switching power supply is connected with the control unit and used for providing power supply for the control unit.

[0023] The switching power supply is connected with the gas circuit unit through the intermediate relay.

[0024] The intermediate relay is connected with the control unit and used for receiving the control signal of the control unit to realize switching control of the intermediate relay and thus realize power supply of the switching power supply to the gas circuit unit.

[0025] As a preferred technical solution of the present application, the host computer comprises a parameter receiving unit, a parameter processing unit, a data receiving unit and a data processing unit.

[0026] The parameter receiving unit is used for receiving the parameters set through the display interface.

[0027] The parameter processing unit is used for processing the received parameters and outputting a power supply control signal and a proportional valve control signal to the control unit.

[0028] The data receiving unit is used for receiving the collected data returned by the air pressure sensor.

[0029] The data processing unit is used for processing the received data and describing and analyzing the corresponding processed data, and outputting the data with additional description as a chart.

[0030] As a preferred technical solution of the present application, the data processing unit comprises a data cleaning sub-module, a data arrangement sub-module and a data analysis processing sub-module.

[0031] The data cleaning sub-module is used for calling a data cleaning process by using a data cleaning function to clean the data.

[0032] The data arrangement sub-module is used for arranging and saving the effective data after cleaning.

[0033] The data analysis processing sub-module is used for describing and analyzing the saved corresponding data, and outputting the data with additional description as a chart.

[0034] As a preferred technical scheme of the present application, the host computer further comprises a test report generation unit configured to integrate all test data in combination with the proportional valve operation scene parameters, associate a preset report template, and generate a test report.

[0035] In a second aspect, the present application provides a proportional valve automatic test method applied to laser cutting, comprising the following steps:

[0036] The test parameters are input through the host computer display interface;

[0037] The host computer processes the received test parameters and outputs a power control signal and a proportional valve control signal to the control unit. The control unit controls the proportional valve and the electromagnetic valve to perform on-off cycling in response to the power control signal of the host computer, and controls the proportional valve to output stable air pressure in response to the proportional valve control signal of the host computer. Meanwhile, the host computer receives data feedback from the air pressure sensor;

[0038] The host computer processes the received data and saves, analyzes, and judges the cleaned data to finally generate a chart.

[0039] As a preferred technical scheme of the present application, the step of processing the received data and saving, analyzing, and judging the cleaned data to finally generate a chart in the host computer comprises:

[0040] Step 31: using a data cleaning function to call a data cleaning process;

[0041] Step 32: calling a repeated value judgment function to analyze the data content. If multiple data collection results at the same time appear simultaneously, only the first appearing data is retained, and the remaining data is deleted as repeated values, and the next step is entered. If there is no repetition, the next step is entered;

[0042] Step 33: judging whether the data is a problem value. If there is a problem value, the next step is entered. If there is no problem value, the element is considered as clean data, and step 32 is returned for analysis and processing of the next element;

[0043] Step 34: processing the problem value and returning to the previous step to judge whether there is still a problem;

[0044] The step of processing the problem value comprises:

[0045] If step 33 returns a missing value, a missing value filling function is used to fill the previous data of the missing value to fill the missing value forward, and the next data of the missing value is used to fill the missing value backward;

[0046] If step 33 returns as an abnormal value, a check data type function is used, and then a type conversion function is used to convert the data type to a preset type.

[0047] If step 33 returns as an invalid value, a sampling function is used to sample the value in the clean data to replace the value in the invalid value function.

[0048] Step 34: If this step is entered again, the problem value is directly deleted using a delete problem value function, and then step 32 is returned to analyze and process the next element.

[0049] As a preferred technical solution of the present application, the host computer performs data cleaning processing on the received data and arranges and saves the cleaned data for analysis and judgment, and the step of arranging and saving the cleaned data in the step of finally generating a chart includes:

[0050] The cleaned data is processed in a format to be converted into uniform floating point data;

[0051] The number of data rows obtained is analyzed to establish a sequence corresponding to the number of rows;

[0052] The data is sequentially placed in different arrays, with the first column data in the same row being placed in the current set value array, the second column data being placed in the current feedback value array, and so on, until all data is uniformly placed.

[0053] From the above technical solution, it can be seen that the present application has the following advantages: 1) By setting the number of cycles to control the opening and closing of the proportional valve solenoid valve, the test process can be standardized when the set number of times is reached.

[0054] 2) There is no need for a test personnel to specially test the proportional valve, avoiding the cumbersome steps of on-machine testing by the test personnel, and the test personnel can simultaneously test other projects, ensuring the quality of work while saving the cost of human resources.

[0055] 3) Previously, on-machine testing could only test one type of proportional valve at a time, but the current solution can simultaneously test several different types of proportional valves and simultaneously test their performance, greatly shortening the test period and allowing faster output of test reports.

[0056] 4) The performance of the proportional valve can be more accurately tested to ensure the stability of the equipment and prevent problems such as damage to the laser cutting head or unsatisfactory cutting results caused by poor quality of the proportional valve.

[0057] In addition, the design principle of the present application is reliable, the structure is simple, and it has very wide application prospects.

[0058] Therefore, compared with the prior art, the present application has outstanding substantial characteristics and significant progress, and the beneficial effects of its implementation are also obvious. Attached Figure Description

[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0060] Figure 1 This is a schematic block diagram of a system according to an embodiment of the present invention.

[0061] Figure 2 This is a schematic flowchart of a method according to an embodiment of the present invention.

[0062] Figure 3 This is a schematic diagram of a data cleaning process according to an embodiment of the present invention.

[0063] Figure 4 This is a schematic diagram of the interface of the first control board according to an embodiment of the present invention.

[0064] In the diagram, 100-air circuit unit, 101-air pump, 102-solenoid valve, 103-proportional valve, 104-air pressure sensor, 200-control unit, 201-first control board, 202-air pressure control module, 300-host computer, 400-drive unit, 401-switching power supply, 402-intermediate relay. Detailed Implementation

[0065] This invention utilizes a control unit identical to that of a laser cutting device to precisely control the control unit using analog signals, stabilizing its output voltage within the required range of ±0.01V. Furthermore, it employs a simulated cutting head's pneumatic circuit unit to collect air pressure data, maximally simulating the conditions required during laser cutting and creating a closed-loop connection test effect. This results in a system specifically designed for standard testing of proportional valves and solenoid valves used in laser cutting. To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions in the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort should fall within the scope of protection of this invention.

[0066] Figure 1 This is a schematic block diagram of an automatic testing system for proportional valves applied to laser cutting, provided by an embodiment of the present invention. The system includes a pneumatic circuit unit 100, which is connected to a host computer 300 via a control unit 200.

[0067] The gas path unit 100 comprises a gas pump 101, an electromagnetic valve 102, a proportional valve 103 and a gas pressure sensor 104 connected in sequence;

[0068] The control unit 200 is used for receiving the control signal of the host computer 300 to control the opening and closing of the electromagnetic valve 102 and the proportional valve 103, and outputting the corresponding stable voltage signal to the proportional valve to control the output of the proportional valve to set the gas pressure of the gas;

[0069] The gas pressure sensor 104 is used for collecting the gas pressure signal of the proportional valve output gas and converting it into a voltage signal transmitted to the host computer through the control unit;

[0070] The host computer 300 is used for receiving the test parameters set through the display interface, processing the received test parameters, outputting the control signal to the control unit according to the processed information, and analyzing and comparing the data collected by the gas pressure sensor with the information processed by the test parameters and outputting the test results in the form of a chart.

[0071] The host computer 300 is provided with a display screen for parameter input and transmission, and the display screen can also display various gas pressure related information. The display screen is installed at the front end of the cabinet body of the system. The interface parameters input by the user through the display screen are received, and the interface parameters are the test parameters set by the user according to the basic information of the gas pressure used for cutting.

[0072] The interface parameters can include the maximum range of the proportional valve tested by the user, the gas pressure range to be tested, and the time interval of the change of the gas pressure. In actual application, the gas pressure parameters of the interface and the maximum range parameters of the proportional valve can be set when the system is used for the first time, and do not need to be set every time the device is used.

[0073] It should be noted that the system further comprises a driving unit 400 connected with the gas path unit 100 and the control unit 200 for supplying power to the gas path unit and the control unit.

[0074] The gas output by the gas pump 101 first passes through the electromagnetic valve 102, then passes through the proportional valve 103 and enters the gas pressure sensor 104. The gas pressure sensor detects the gas pressure and converts it into a voltage signal feedback to the control unit. The control unit is provided with an analog input interface which converts the voltage signal into an analog signal and then transmits it to the host computer through RS232 communication. The data is collected and arranged by the host computer, and the relevant data information is recorded. The data obtained during the test includes: the accurate feedback gas pressure data obtained through the blowing process of the analog cutting head, the gas pressure data to be blown out at the current time, the corresponding time and date when the current data is recorded, the alarm data and the time when the alarm is generated when the difference between the feedback gas pressure and the set gas pressure is greater than the set threshold.

[0075] In some embodiments, the control unit 200 includes a first control board card 201 and a gas pressure control module 202;

[0076] The first control board card 201 is provided with an analog input interface, which converts the voltage signal into an analog signal and then transmits it to the host computer 300 through RS232 communication. The first control board card 201 can test multiple gas path units, that is, multiple proportional valves can be tested at the same time. The connection quantity is determined by the interface of the first control board.

[0077] The host computer 300 is used to process the received test parameters, and the generated power control signal of the gas path unit is input to the driving unit through the first control board card; the generated proportional valve control signal is output to the gas pressure control module; here, different data is input on the host computer interface to control different types of proportional valves or select different test methods. The power supply of the host computer can also be provided by the driving unit.

[0078] The gas pressure control module 202 is used to process the received proportional valve control signal and output the stable voltage required by the proportional valve to the proportional valve of the gas path unit, so as to control the proportional valve to output the set stable gas pressure.

[0079] In order to ensure that the output gas pressure of the proportional valve is a stable value, the gas pressure control module is provided with a logic operation instruction. Since the control method of the output gas pressure of the proportional valve is voltage analog control, voltage compensation is performed. According to the change of the input analog voltage value, it is automatically judged whether there is pressure drop or voltage fluctuation in the line. If there is, the voltage is compensated, and the output voltage is stabilized to an accurate voltage value, so as to ensure the stability and accuracy of the output gas pressure.

[0080] Here, the gas pressure control module includes a controller, a voltage processing unit and an adjusting and compensating unit; the voltage processing unit and the adjusting and compensating unit are connected; the voltage processing unit and the adjusting and compensating unit are connected with the controller respectively.

[0081] The controller is used to receive the proportional valve control signal output by the host computer, process the proportional valve control signal, output the voltage value required by the proportional valve to work to the adjusting and compensating unit for storage, and output the corresponding voltage control signal to the voltage processing unit. In fact, the controller is provided with a logic operation instruction to ensure that the output gas pressure of the proportional valve is a stable value. Here, the controller is connected with the first control board card, which is used to output the voltage control signal to the driving unit through the first control board card.

[0082] The voltage processing unit is used to receive the voltage control signal output by the controller, and output the corresponding voltage signal according to the received voltage control signal, and output the stable voltage to the proportional valve in combination with the compensation voltage output by the adjusting and compensating unit;

[0083] The adjusting and compensating unit is used for detecting the voltage signal output by the voltage processing unit, comparing the detected voltage signal with the voltage value, and calculating a compensation voltage for corresponding voltage compensation of the voltage output by the voltage processing unit according to the detected voltage drop feature quantity and the voltage value required by the proportional valve operation when the detected voltage is reduced.

[0084] It should be noted that the mode of the controller for performing the output control of the stable voltage after being connected with the voltage processing unit and the adjusting and compensating unit can be realized by the existing intelligent control board. The specific circuit can also be realized by the description information of the present application.

[0085] After the feedback air pressure value M is obtained, the data is collected to generate a data chart, and the current time set air pressure value H is compared.

[0086] If M-H≥|0.2|bar, the current proportional valve alarm is output.

[0087] If M-H≤|0.2|bar, it is considered that the current proportional valve is normally operated.

[0088] To ensure the normal operation of the test process, the current alarm only records data, and when the test is completed, the alarm data table is exported and compared with the exported historical data table to determine whether the performance of the current proportional valve meets the requirements according to the actual data.

[0089] That is, the proportional valve and the electromagnetic valve are switched to perform a cycle after receiving the start instruction input by the user, and the real-time air pressure feedback by the air path unit is received. Before the start process is performed, the related parameters need to be set on the interface, such as the maximum range of the proportional valve, the cycle range of the proportional valve, the interval time, the alarm switch and the like. After the setting is completed once, it is not necessary to reset again.

[0090] In some embodiments, the driving unit 400 includes a switching power supply 401 and an intermediate relay 402;

[0091] The switching power supply 401 is connected with the control unit 200, and is used for providing power supply for the control unit;

[0092] The switching power supply 401 is connected with the air path unit 100 through the intermediate relay 402;

[0093] The intermediate relay is connected with the control unit, and is used for receiving the control signal of the control unit to perform the switching control of the intermediate relay, so as to turn on or turn off the switching power supply to supply power for the air path unit.

[0094] In some embodiments, the host computer 300 includes a parameter receiving unit, a parameter processing unit, a data receiving unit and a data processing unit;

[0095] A parameter receiving unit is configured to receive parameters set through a display interface.

[0096] A parameter processing unit is configured to process the received parameters and output power control signals and proportional valve control signals to a control unit.

[0097] A data receiving unit is configured to receive collected data returned by the air pressure sensor.

[0098] A data processing unit is configured to process the received data, describe and analyze the processed data, and output the data with additional descriptions as a chart.

[0099] The data processing unit includes a data cleaning submodule, a data arrangement submodule, and a data analysis processing submodule.

[0100] The data cleaning submodule is configured to use a data cleaning function to call a data cleaning process to clean data.

[0101] The data arrangement submodule is configured to arrange and save valid data after cleaning.

[0102] The data analysis processing submodule is configured to describe and analyze the saved data, and output the data with additional descriptions as a chart.

[0103] The data is arranged and analyzed based on the Pandas library and the Matplotlib library of Python. The Pandas library provides a large number of data structures and functions that enable the method to quickly and conveniently process structured data. The Matplotlib library is the most popular Python library for drawing data charts. The method can be divided into the following processes according to the analysis sequence:

[0104] (1) Data acquisition: The air pressure blown by the proportional valve is detected by the air pressure sensor, which is converted into a voltage signal and transmitted to the analog input interface of the first control board card. The interface converts the voltage signal into an analog signal, which is transmitted to the host computer via RS232 communication. The host computer collects and arranges the data and records the relevant data information. The data obtained during the test include: accurate feedback air pressure data obtained through the air blowing process of the analog cutting head, current time set air pressure data to be blown, corresponding time and date when recording current data, alarm data and alarm time when the difference between feedback air pressure and set air pressure is large.

[0105] (2) Data cleaning: The data obtained needs to be cleaned first to exclude abnormal values, blank values, invalid values, repeated values, etc. This part is processed by the host computer to judge the collected data. First, analyze the obtained data and judge it through the judgment function. If the current data is an empty string, it is considered a blank value. If it cannot be recognized and converted to a standard floating-point number, it is considered an abnormal value. If the obtained data is compared with the set data and the deviation is too large, it is considered that the current data is invalid. If multiple data collection results at the same time appear, only the first one is retained and the rest are considered repeated values. Second, determine whether the data has the above-mentioned abnormal values, blank values, invalid values, repeated values, etc. If so, remove or correct them and return to the previous step to continue judging the data. If there are no problem data, the current data is considered clean and the next step of data arrangement is entered.

[0106] (3) Data arrangement: After cleaning, the data needs to be arranged, that is, the data is arranged in a format that can be analyzed next. First, format the cleaned data. Since the obtained data is in string format, convert it to a unified floating-point number type data through the convert function. Then, analyze the number of data rows and establish a corresponding sequence. Then, put them into different arrays in turn. The first column of data in the same row is placed in the "current set value" array, the second column of data is placed in the "current feedback value" array, and so on. All data is uniformly placed.

[0107] (4) Description analysis: Description analysis is the most basic analysis and statistical method, and is also the most widely used analysis method in practical work. Description statistics is divided into two parts: data description and index statistics.

[0108] Data description: used to describe the basic situation of the data, including: data total, time span, time granularity, space range, space granularity, data source, etc.

[0109] Index statistics: used for reporting and analyzing actual situation data indicators, which can be roughly divided into four categories: change, distribution, comparison, and prediction.

[0110] ① Change: change of indicators over time, represented by growth rate (same period, ring ratio, etc.);

[0111] ② Distribution: indicators at different levels, including time distribution, product distribution, etc.

[0112] ③Comparison: including alarm comparison, product comparison, time comparison, this part and distribution have overlap, but distribution is more used to find good or bad place, while comparison is more biased to find good or bad reason;

[0113] ④Forecast: according to the existing situation, estimate the index value of the next analysis period.

[0114] The output of the description analysis is a chart.

[0115] In some embodiments, the host computer further comprises a test report generation unit for integrating all test data in combination with the proportional valve operating scene parameters, associating the preset report template, and generating the test report.

[0116] The previous data is sorted, the data is matched with the corresponding function of the template, the corresponding function after assignment is sorted into a string form for output, and through the preset template, the data analysis result is generated as a test report, which can be directly printed.

[0117] That is, through data analysis / mining, data is converted into information, combined with the use scene in the operation of this type of proportional valve equipment, the current operating period is compared with the current temperature change, different products are compared with different external factors, and the stability of the air pressure output under different environmental and product conditions is affected by which condition, so as to output the influencing factors and action links, so as to correctly attribute the problems of the measured proportional valve and derive the improvement direction.

[0118] All data is integrated, associated with the preset report template, and a test report is generated.

[0119] Key functions:

[0120] 1. Initial code: document = ts.MailMerge(template), the template is passed into the initial function.

[0121] 2. Fill in the field data: document.merge(dict_data), fill in the field value by passing in the dictionary type data.

[0122] 3. Generate multi-page data report: document.merge_pages(list_dict_data), pass in the array dictionary to generate multiple data pages.

[0123] 4. Generate table data: document.merge_rows(field_name, list_dict_data), generate fixed format table data.

[0124] At present, the first control board card reserves fewer analog quantity ports, such asFigure 4 As shown in the figure, four proportional valves and solenoid valves are connected at the same time for testing, wherein AV01-AV04 are connected with the four proportional valves, Y00-Y03 are connected with the four solenoid valves, and AVI1-4 are connected with the air pressure sensors connected with the proportional valves. If the analog quantity port is increased to achieve the function of testing ten proportional valves and solenoid valves at the same time, the proportional valves are arranged in the form of terraces as much as possible to utilize the cabinet space, facilitate wiring, and also facilitate fixing and installation.

[0125] As shown in the figure, the technical scheme of the present application also provides a proportional valve automatic testing method applied to laser cutting, comprising the following steps: Figure 2

[0126] Step 1: input test parameters through the display interface of the upper computer;

[0127] Step 2: the upper computer processes the received test parameters, outputs power control signals and proportional valve control signals to the control unit, the control unit controls the proportional valve and solenoid valve to perform on-off circulation in response to the power control signals of the upper computer, controls the proportional valve to output stable air pressure in response to the proportional valve control signals of the upper computer, and simultaneously receives the data fed back by the air pressure sensor;

[0128] Step 3: the upper computer processes the received data, organizes and saves the cleaned data for analysis and judgment, finally generates a chart, and outputs a test report.

[0129] In the embodiment of the present application, the step of the upper computer processing the received data, organizing and saving the cleaned data for analysis and judgment, and finally generating a chart actually comprises the following steps as shown in the figure: Figure 3

[0130] Step 31-1: use a data cleaning function to call a data cleaning process;

[0131] Step 32-1: call a repeated value judgment function to analyze the data content, if multiple data acquisition results at the same time appear at the same time, only the first appearing data is retained in sequence, and the remaining data is deleted as repeated values, and the next step is entered, if there is no repetition, the next step is entered;

[0132] Step 33-1: judge whether the data is a problem value, if there is a problem value, the next step is entered, if there is no problem value, the element is considered as clean data, and the analysis and processing of the next element are returned to step 32-1;

[0133] ​​Step 34-1: Perform problem value processing and return to the previous step to determine whether there are still problems;

[0134] The step of performing problem value processing includes:

[0135] If step 33-1 returns as a missing value, use the missing value filling function to fill the previous data before the missing value with forward filling, and fill the next data after the missing value with backward filling;

[0136] If step 33-1 returns as an abnormal value, use the check data type function, and then use the type coercion function to coerce the data type to the preset type.

[0137] If step 33-1 returns as an invalid value, use the sampling function to sample the values in the clean data to replace the invalid value function.

[0138] Step 34-1: If this step is entered again, directly use the delete problem value function to delete the problem value, and then return to step 32-1 to analyze and process the next element.

[0139] The step of arranging and saving the cleaned data includes:

[0140] Step 31-2: Perform format processing on the cleaned data to convert it to uniform floating-point number type data;

[0141] Step 32-2: Analyze the number of data rows obtained and establish a sequence corresponding to the number of rows;

[0142] Step 33-2: Place the data in different arrays in sequence, with the first column data in the same row placed in the current set value array, the second column data placed in the current feedback value array, and so on, until all data is uniformly placed.

[0143] The data processing by the upper computer includes the following specific steps:

[0144] i. Use the data cleaning function duplicated() to call the data cleaning process;

[0145] ii. Determine whether the sequence elements are repeated, call the repeated value judgment function drop_duplicates(), if the current element has a repeated condition, delete the element and go to the next step, if there is no repeated condition, go to the next step;

[0146] iii. Determine if there is a missing value in the sequence (return TRUE or FALSE), call the sequence judgment function isnull(), if TRUE, set the sequence number to the current value, that is, there is data cleaning, the sequence number is reduced, go to the next step, if FALSE, go to the next step directly;

[0147] iv. Determine if the sequence element is a problem value (return a bool value as long as the sequence length), call the sequence element judgment function notnul(), if there is a problem value, go to the next step, if there is no problem value, consider that this element is clean data, return to step 2 for analysis and processing of the next element;

[0148] v. Problem value processing (return a bool value as long as the sequence length), use the following functions to process the problem element one by one, and return to the previous step to judge whether there is still a problem.

[0149] a. If iv step returns a missing value, use the missing value filling function fillna(): fill()#fill missing values from front to back (use the previous element of the missing value to fill), bfil()#fill missing values from back to front (use the next element of the missing value to fill).

[0150] b. If iv step returns an abnormal value, first use the data type checking function dtypes(), and then use the type conversion function astype() to convert the data type to another type: pd.to_datetime#convert date and time type, factorize()#factorization conversion.

[0151] c. If iv step returns an invalid value, use the sampling function sample() to sample the value in the clean data to replace the invalid value function.

[0152] d. If you enter this step again, directly use the delete problem value function dropna() to delete the value, and then return to step 2 for analysis and processing of the next element.

[0153] The application of the proportional valve automatic test system and test method for laser cutting of the application is the unit and algorithm steps of each example described in combination with the embodiments disclosed in the present application, which can be realized by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether the functions are executed in hardware or software mode depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.

[0154] Although the present application has been described in detail with reference to the preferred embodiments, it should be understood that the application is not limited to those preferred embodiments. Without departing from the spirit and scope of the application, one of ordinary skill can make various modifications and / or substitutions to the embodiments of the application. Any and all modifications and / or substitutions should be considered as falling within the scope of the application. Therefore, the scope of the application should be gauged by the claims and their legal equivalents.

Claims

1. An automatic testing system for proportional valves used in laser cutting, characterized in that, It includes a pneumatic circuit unit, which is connected to a host computer via a control unit; The pneumatic circuit unit includes an air pump, a solenoid valve, a proportional valve, and a pressure sensor connected in sequence. The control unit is used to receive control signals from the host computer to control the opening and closing of the solenoid valve and the proportional valve, and to output a corresponding stable voltage signal to the proportional valve to control the proportional valve to output gas at a set pressure according to the received control signal; the control unit includes a first control board and a gas pressure control module; The pressure sensor is used to collect the pressure signal of the gas output from the proportional valve and convert it into a voltage signal, which is then transmitted to the host computer through the control unit. The host computer is used to receive test parameters set through the display interface, process the received test parameters, output control signals to the control unit based on the processed information, and analyze and compare the data collected by the pressure sensor with the information after processing the test parameters, and output the test results in the form of charts; specifically, it is used to process the received test parameters and generate proportional valve control signals to output to the pressure control module. The air pressure control module includes a controller, a voltage processing unit, and a regulation and compensation unit; the voltage processing unit is connected to the regulation and compensation unit; the voltage processing unit and the regulation and compensation unit are each connected to the controller. The controller is used to receive the proportional valve control signal output from the host computer, process the proportional valve control signal, output the voltage value required for the proportional valve to work to the adjustment and compensation unit for storage, and at the same time output the corresponding voltage control signal to the voltage processing unit. The voltage processing unit is used to receive the voltage control signal output by the controller, and output a corresponding voltage signal according to the received voltage control signal. Combined with the compensation voltage output by the adjustment and compensation unit, it outputs a stable voltage to the proportional valve. The adjustment and compensation unit is used to detect the voltage signal output by the voltage processing unit and compare the detected voltage signal with the voltage value. When the detected voltage decreases, the compensation voltage is calculated to compensate the voltage output by the voltage processing unit accordingly.

2. The automatic testing system for proportional valves applied to laser cutting according to claim 1, characterized in that, The system also includes a drive unit, which is connected to the pneumatic circuit unit and the control unit respectively, and is used to supply power to the pneumatic circuit unit and the control unit.

3. The automatic testing system for proportional valves applied to laser cutting according to claim 2, characterized in that, The host computer processes the received test parameters, generates a power control signal for the pneumatic circuit unit, and inputs it to the drive unit through the first control board. The generated proportional valve control signal is then output to the pneumatic control module.

4. The automatic testing system for proportional valves applied to laser cutting according to claim 3, characterized in that, The drive unit includes a switching power supply and an intermediate relay; The switching power supply is connected to the control unit and is used to provide power to the control unit; The switching power supply is connected to the pneumatic circuit unit via an intermediate relay; The intermediate relay is connected to the control unit and is used to receive control signals from the control unit to control the switching of the intermediate relay, thereby connecting or disconnecting the power supply to the pneumatic circuit unit.

5. The automatic testing system for proportional valves applied to laser cutting according to claim 1, characterized in that, The host computer includes a parameter receiving unit, a parameter processing unit, a data receiving unit, and a data processing unit; The parameter receiving unit is used to receive parameters set through the display interface; The parameter processing unit is used to process the received parameters and output power control signals and proportional valve control signals to the control unit. The data receiving unit is used to receive analog signal data converted from the air pressure data blown out by the proportional valve detected by the air pressure sensor; The data processing unit is used to process the received data to remove outliers, blank values, invalid values, and duplicate values, and to organize the processed data. It also performs descriptive analysis on the organized data and outputs charts with additional descriptions.

6. The automatic testing system for proportional valves applied to laser cutting according to claim 5, characterized in that, The data processing unit includes a data cleaning submodule, a data preparation submodule, and a data analysis and processing submodule; The data cleaning submodule is used to analyze the acquired data through a judgment function. If the current data is an empty string, it is judged as a blank value and the data is corrected. If the data cannot be converted to a standard floating-point number, it is considered an outlier and the data is corrected. If the deviation between the acquired data and the set data is greater than the set threshold, the current data is considered invalid and the data is corrected. If multiple data acquisition results occur at the same time, only the first data that appears is retained in order, and the rest are deleted as duplicate values. The data processing submodule is used to process the cleaned data into a unified floating-point number type, analyze the number of data rows obtained, establish a sequence of corresponding row numbers, and put them into different arrays in sequence. The first column of data in the same row is put into the current set value array, the second column of data is put into the current feedback value array, until all data is placed in a unified manner. The data analysis and processing submodule is used to perform descriptive analysis on the saved data and output charts with additional descriptions.

7. An automatic testing method for a proportional valve applied to laser cutting, based on the system described in any one of claims 1-6, characterized in that, Includes the following steps: Input the test parameters through the host computer display interface; The host computer processes the received test parameters and outputs power control signals and proportional valve control signals to the control unit. The control unit responds to the power control signals of the host computer to control the proportional valve and solenoid valve to switch on and off in a cycle, and responds to the proportional valve control signals of the host computer to control the proportional valve to output stable air pressure. At the same time, the host computer receives data fed back from the air pressure sensor. The host computer cleans and processes the received data, organizes, saves, analyzes, and judges the cleaned data, and finally generates charts.

8. The automatic testing method for proportional valves applied to laser cutting according to claim 7, characterized in that, The host computer performs data cleaning on the received data, organizes, saves, analyzes, and judges the cleaned data, and finally generates charts. The data cleaning steps include: Step 31: Use the data cleaning function to invoke the data cleaning process; Step 32: Call the function to determine duplicate values ​​and perform data content analysis. If multiple data collection results appear at the same time, keep only the first data that appears in order and delete the rest as duplicate values. Proceed to the next step. If there are no duplicates, proceed to the next step. Step 33: Determine if the data is a problematic value. If a problematic value exists, proceed to the next step. If no problematic value exists, consider this element to be clean data and return to step 32 to analyze and process the next element. Step 34: Process the problem value and return to the previous step to determine if the problem still exists; The steps for handling problematic values ​​include: If step 33 returns a missing value, use the missing value filling function to fill the missing value with the data preceding it (forward filling) and fill the missing value with the data following it (backward filling). If step 33 returns an abnormal value, use the data type check function, and then use the type casting function to cast the data type to the preset type. If step 33 returns an invalid value, then the sampling function is used to sample the value from the clean data and replace it in the invalid value function; Step 34: If you enter this step again, use the delete problem value function to delete the problem value, and then return to step 32 to analyze and process the next element.

9. The automatic testing method for proportional valves applied to laser cutting according to claim 8, characterized in that, The process of cleaning and processing the received data, organizing and saving the cleaned data, analyzing and judging the data, and finally generating charts includes the following steps: The cleaned data is formatted and converted into a unified floating-point number type. Analyze the number of rows of data obtained and establish a sequence corresponding to the number of rows; The data is placed into different arrays sequentially. The data in the first column of the same row is placed into the array of the current set value, the data in the second column is placed into the array of the current feedback value, and so on, until all the data is placed in a unified manner.

Citation Information

Patent Citations

  • Proportional valve capability test device

    CN205228812U