CN114659479B - Intelligent linear displacement sensor testing method - Google Patents

Intelligent linear displacement sensor testing method Download PDF

Info

Publication number
CN114659479B
CN114659479B CN202210213397.7A CN202210213397A CN114659479B CN 114659479 B CN114659479 B CN 114659479B CN 202210213397 A CN202210213397 A CN 202210213397A CN 114659479 B CN114659479 B CN 114659479B
Authority
CN
China
Prior art keywords
sensor
linear displacement
test
displacement sensor
electrically connected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210213397.7A
Other languages
Chinese (zh)
Other versions
CN114659479A (en
Inventor
刘灿杰
王前
魏彬
孙珍菊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Advanced Construction Machinery Innovation Center Ltd
Original Assignee
Jiangsu Advanced Construction Machinery Innovation Center Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Advanced Construction Machinery Innovation Center Ltd filed Critical Jiangsu Advanced Construction Machinery Innovation Center Ltd
Priority to CN202210213397.7A priority Critical patent/CN114659479B/en
Publication of CN114659479A publication Critical patent/CN114659479A/en
Application granted granted Critical
Publication of CN114659479B publication Critical patent/CN114659479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness

Abstract

The invention discloses an intelligent linear displacement sensor testing method, which comprises the following steps: inquiring and importing a corresponding configuration file based on the serial number of the sensor; according to the test information recorded in the configuration file, automatically configuring an intelligent linear displacement sensor test system; the intelligent linear displacement sensor testing system measures a sensor to be tested to obtain testing data; calculating to obtain technical indexes according to the test data; judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified. The hardware is compatible with sensor interfaces of different physical interfaces, so that the measurement requirements of various sensors are met; different configuration files are established for different types of sensors, and corresponding configuration files are imported according to the types of the sensors, so that compatibility of the sensors with various types is realized; and the cloud server supports online importing of the test information and uploading of the test data cloud, so that retrospective analysis of the test data is realized.

Description

Intelligent linear displacement sensor testing method
Technical Field
The invention relates to an intelligent linear displacement sensor testing method, and belongs to the technical field of displacement sensor testing.
Background
The current linear displacement sensors are various in types, different in measuring range, power supply specification, physical interface and output signal form, so that the calibration points of the sensors of different types are set, different in power supply modes, different in installation wiring, different in signal acquisition and different in test indexes, the test steps are solidified in software programs, the expansibility and the maintainability are insufficient, when the types of the detected sensors are changed, software and hardware of a test system need to be customized and developed additionally, the hardware system or the software system of the same test system is difficult to be compatible with the tests of the sensors of different types, the defects of high development and maintenance cost and insufficient flexibility exist, and the test requirements of the sensors of different types cannot be compatible; in addition, the existing test system usually adopts a single island operation mode, test information such as power supply parameters, sensor measuring ranges and the like need to be manually configured locally, the method needs to manually confirm the model number of the sensor, and corresponding test information is manually input into software, so that the defects of complicated steps and easiness in error exist. The traditional test system stores the test data locally, has the defect that the data is easy to lose, and the test data is stored in the computer of each test system in a scattered way, so that the subsequent tracing and analysis are not easy.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides an intelligent linear displacement sensor testing method, and is characterized in that hardware is compatible with sensor interfaces of different physical interfaces, so that the measuring requirements of various sensors are met; adopting a mode of loading configuration files by generalized software, establishing different configuration files for different types of sensors, importing corresponding configuration files according to the types of the sensors, and executing test to realize compatibility of the sensors of various types; the system is accessed to the cloud server, supports online importing of test information and uploading of test data cloud, and realizes retrospective analysis of the test data.
In order to achieve the above object, the present invention provides an intelligent linear displacement sensor testing method, comprising:
reading a sensor serial number;
inquiring and importing a corresponding configuration file based on the serial number of the sensor;
according to the test information recorded in the configuration file, automatically configuring an intelligent linear displacement sensor test system;
the intelligent linear displacement sensor testing system measures a sensor to be tested to obtain testing data;
calculating to obtain technical indexes according to the test data;
judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified.
Preferably, the configuration file, the test data and the technical index are all saved to the cloud.
Preferably, the test information includes a supply voltage, a sensor range, a signal measurement mode, an upper sensitivity limit, a lower sensitivity limit, an upper basic error limit, a lower basic error limit, an upper linearity limit, a lower linearity limit, an upper repeatability limit, a lower repeatability limit, an upper return error limit, and a lower return error limit.
Preferably, the intelligent linear displacement sensor testing system is automatically configured according to the testing information recorded in the configuration file, and comprises:
step 1.1, setting the power supply voltage of an intelligent linear displacement sensor test system according to the power supply voltage value in the test information, and electrifying a power supply in the intelligent linear displacement sensor test system;
and 1.2, equally dividing the sensor range into M travel points according to the sensor range and the set displacement in the test information, wherein M is a positive integer, and resetting the zero point of a linear displacement sliding table in the intelligent linear displacement sensor test system.
Preferably, the intelligent linear displacement sensor testing system measures the sensor under test to obtain test data, including:
step 2.1, setting the initial value of i as 1, setting the initial values of q and N, wherein N is more than or equal to q;
the intelligent linear displacement sensor testing system moves to an ith travel point and collects the testing data of the tested sensor;
step 2.2, the value of i is increased by 1, whether the value of i reaches the value M is judged, if yes, the step 2.3 is executed, and if not, the step 2.1 is executed;
step 2.3, the intelligent linear displacement sensor testing system moves to an ith travel point, and test data of a tested sensor are collected;
step 2.4, the value of i is reduced by 1, whether i reaches the initial value of i is judged, if yes, step 2.5 is executed, and otherwise, step 2.3 is executed;
and 2.5, adding 1 to the value of q, judging whether q reaches N, if so, ending the operation, and otherwise, executing the step 2.2.
Preferably, the test data includes a driven voltage signal, a current signal, a CAN bus signal, an RS485 bus signal, an RS232 bus signal, and a pulse frequency signal.
Preferably, the technical indicators include sensitivity, base error, linearity, repeatability, and return error.
Preferentially, judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified, including:
if the sensitivity is between the upper sensitivity limit and the lower sensitivity limit, if the basic error is between the upper basic error limit and the lower basic error limit, the linearity is between the upper linearity limit and the lower linearity limit, the repeatability is between the upper repeatability limit and the lower repeatability limit, and the return error is between the upper return error limit and the lower return error limit, the sensor to be detected is qualified.
Preferably, the intelligent linear displacement sensor testing system comprises a control processor, a measuring device, an instrument cabinet, a displacement sensor clamp, a measuring head connecting tool, a sliding block, a linear displacement sliding table and a testing table base,
the measuring device is arranged in the instrument cabinet, and is electrically connected with a measured sensor during testing, the measured sensor is fixed on a displacement sensor clamp, and the displacement sensor clamp and the linear displacement sliding table are fixed on a base of the test board;
the sliding block is fixedly arranged on the linear displacement sliding table, one end of a pull rod of the sensor to be detected is fixed on the measuring head connecting tool, the measuring head connecting tool is fixedly arranged on the sliding block, and the measuring head connecting tool is positioned on one side of the sensor to be detected;
the control processor is electrically connected with the measuring device and the linear displacement sliding table.
Preferably, the measuring device comprises an interface box, an adapter wire, a power supply and a program-controlled universal meter,
the power supply is electrically connected with the program-controlled universal meter, the program-controlled universal meter is electrically connected with the interface box, the interface box is electrically connected with the patch cord, and the interface box, the power supply and the program-controlled universal meter are arranged on the instrument cabinet;
the control processor is electrically connected with the power supply and the program-controlled universal meter.
Preferentially, the measuring device comprises a CAN card, a power supply is electrically connected with the CAN card, the CAN card is electrically connected with the interface box, and the CAN card is arranged on the instrument cabinet; the control processor is electrically connected with the CAN card.
Preferentially, the measuring device comprises an RS serial port, a power supply is electrically connected with the RS serial port, the RS serial port is electrically connected with the interface box, and the RS serial port is arranged on the instrument cabinet; the control processor is electrically connected with the RS serial port.
Preferentially, the measuring device comprises an RS serial port, a power supply is electrically connected with the RS serial port of the process, the RS serial port is electrically connected with the interface box, and the RS serial port is arranged on the instrument cabinet; the control processor is electrically connected with the RS serial port.
Preferably, the measuring device comprises a digital frequency meter, a power supply electric connection range digital frequency meter, a digital frequency meter electric connection interface box, and a digital frequency meter arranged on the instrument cabinet; the control processor is electrically connected with the digital frequency meter.
The invention has the beneficial effects that:
the invention provides an intelligent linear displacement sensor testing method, wherein a hardware system integrates various testing instruments, is compatible with the requirements of power supply, signal measurement and the like of various sensors, is compatible with the installation of different sensor physical interfaces by using a tool fixture, and solves the problem of universality of the testing system from the hardware perspective; the software system adopts a mode of carrying configuration files by a generalized software platform, the expansibility is high, the compatibility is high, the configuration files are written by INI files, the usability is high, a user can establish and write different configuration files for different types of sensors, test information is stored in the configuration files, the software is used for importing the corresponding configuration files according to the type of the sensor to be tested to execute the test, and the problem of universality of the test system is solved from the software perspective; the system is accessed to a cloud server, a relational database of a sensor serial number, a sensor model number and a configuration file of the sensor is built in the server, when a user actually executes a test, the user only needs to scan the sensor serial number, software automatically imports the corresponding configuration file from the cloud, automatically executes the test according to test information recorded in the configuration file, and uploads test data to the cloud after the test is finished, so that backtracking analysis is facilitated, and the intellectualization of the test system is realized.
Drawings
FIG. 1 is a diagram of the overall architecture of a test system of the present invention;
FIG. 2 is a schematic diagram of a hardware system of the test system of the present invention;
FIG. 3 is a flow chart of the present invention;
fig. 4 is a schematic diagram of information interaction between a cloud server and a hardware system according to the present invention.
Reference numerals meaning, 1-instrument cabinet; 2-an interface box; 3-patch cords; 4-a displacement sensor clamp; 5-a sensor to be tested; 6-measuring head connecting tools; 7-a slide block; 8-a linear displacement sliding table; 9-a test bench base; 10-power supply; 11-a program-controlled universal meter; 12-CAN card; 13-RS485 serial port; 14-RS232 serial port; 15-digital frequency meter.
Detailed Description
The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, if there is a directional indication (such as up, down, left, right, front, rear.
An intelligent linear displacement sensor testing method comprises the following steps:
reading a sensor serial number;
inquiring and importing a corresponding configuration file based on the serial number of the sensor;
according to the test information recorded in the configuration file, automatically configuring an intelligent linear displacement sensor test system;
the intelligent linear displacement sensor testing system measures a sensor to be tested to obtain testing data;
calculating to obtain technical indexes according to the test data;
judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified.
Preferably, the configuration file, the test data and the technical index are all saved to the cloud.
Preferably, the test information includes a supply voltage, a sensor range, a signal measurement mode, an upper sensitivity limit, a lower sensitivity limit, an upper basic error limit, a lower basic error limit, an upper linearity limit, a lower linearity limit, an upper repeatability limit, a lower repeatability limit, an upper return error limit, and a lower return error limit.
Preferably, the intelligent linear displacement sensor testing system is automatically configured according to the testing information recorded in the configuration file, and comprises:
step 1.1, setting the power supply voltage of an intelligent linear displacement sensor test system according to the power supply voltage value in the test information, and electrifying a power supply 10 in the intelligent linear displacement sensor test system;
and 1.2, equally dividing the sensor range into M travel points according to the sensor range and the set displacement in the test information, wherein M is a positive integer, and a linear displacement sliding table 8 in the intelligent linear displacement sensor test system resets to zero.
Preferably, the intelligent linear displacement sensor testing system measures the sensor under test to obtain test data, including:
step 2.1, setting the initial value of i as 1, setting the initial values of q and N, wherein N is more than or equal to q;
the intelligent linear displacement sensor testing system moves to an ith travel point and collects the testing data of the tested sensor;
step 2.2, the value of i is increased by 1, whether the value of i reaches the value M is judged, if yes, the step 2.3 is executed, and if not, the step 2.1 is executed;
step 2.3, the intelligent linear displacement sensor testing system moves to an ith travel point, and test data of a tested sensor are collected;
step 2.4, the value of i is reduced by 1, whether i reaches the initial value of i is judged, if yes, step 2.5 is executed, and otherwise, step 2.3 is executed;
and 2.5, adding 1 to the value of q, judging whether q reaches N, if so, ending the operation, and otherwise, executing the step 2.2.
Preferably, the test data includes a driven voltage signal, a current signal, a CAN bus signal, an RS485 bus signal, an RS232 bus signal, and a pulse frequency signal.
Preferably, the technical indicators include sensitivity, base error, linearity, repeatability, and return error.
Preferentially, judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified, including:
if the sensitivity is between the upper sensitivity limit and the lower sensitivity limit, if the basic error is between the upper basic error limit and the lower basic error limit, the linearity is between the upper linearity limit and the lower linearity limit, the repeatability is between the upper repeatability limit and the lower repeatability limit, and the return error is between the upper return error limit and the lower return error limit, the sensor to be detected is qualified.
Preferably, the intelligent linear displacement sensor testing system comprises a control processor, a measuring device, an instrument cabinet 1, a displacement sensor clamp 4, a measuring head connecting tool 6, a sliding block 7, a linear displacement sliding table 8 and a test table base 9,
the measuring device is arranged in the instrument cabinet 1, the measuring device is electrically connected with the measured sensor 5 during testing, the measured sensor 5 is fixed on the displacement sensor clamp 4, and the displacement sensor clamp 4 and the linear displacement sliding table 8 are fixed on the test bench base 9;
the sliding block 7 is fixedly arranged on the linear displacement sliding table 8, one end of a pull rod of the measured sensor 5 is fixedly arranged on the measuring head connecting tool 6, the measuring head connecting tool 6 is fixedly arranged on the sliding block 7, and the measuring head connecting tool 6 is positioned on one side of the measured sensor 5;
the control processor is electrically connected with the measuring device and the linear displacement sliding table 8.
Preferably, the measuring device comprises an interface box 2, an adapter wire 3, a power supply 10 and a programmable multimeter 11,
the power supply 10 is electrically connected with the program-controlled universal meter 11, the program-controlled universal meter 11 is electrically connected with the interface box 2, the interface box 2 is electrically connected with the patch cord 3, and the interface box 2, the power supply 10 and the program-controlled universal meter 11 are arranged on the instrument cabinet 1;
the control processor is electrically connected to a power supply 10 and a programmable multimeter 11.
Preferably, the measuring device comprises a CAN card 12, a power supply 10 is electrically connected with the CAN card 12, the CAN card 12 is electrically connected with the interface box 2, and the CAN card 12 is arranged on the instrument cabinet 1; the control processor is electrically connected to the CAN card 12.
Preferentially, the measuring device comprises an RS485 serial port 13, a power supply 10 is electrically connected with the RS485 serial port 13, the RS485 serial port 13 is electrically connected with the interface box 2, and the RS485 serial port 13 is arranged on the instrument cabinet 1; the control processor is electrically connected with the RS485 serial port 13.
Preferentially, the measuring device comprises an RS232 serial port 14, the power supply 10 is electrically connected with the RS232 serial port 14, the RS232 serial port 14 is electrically connected with the interface box 2, and the RS232 serial port 14 is arranged on the instrument cabinet 1; the control processor is electrically connected with the RS232 serial port 14.
Preferably, the measuring device comprises a digital frequency meter 15, the power supply 10 is electrically connected with the digital frequency meter 15, the digital frequency meter 15 is electrically connected with the interface box 2, and the digital frequency meter 15 is arranged on the instrument cabinet 1; the control processor is electrically connected to a digital frequency meter 15.
The instrument cabinet 1, the interface box 2, the patch cord 3, the displacement sensor clamp 4, the measuring head connecting tool 6, the sliding block 7, the linear displacement sliding table 8, the test table base 9, the power supply 10, the program-controlled universal meter 11, the CAN card 12, the RS485 serial port 13, the RS232 serial port 14 and the digital frequency meter 15 are various in types which CAN be adopted in the prior art, and a person skilled in the art CAN select proper types according to actual demands, so that the embodiment is not exemplified one by one.
The technical indexes include sensitivity, basic error, linearity, repeatability and return error, and specific calculation methods of the sensitivity, the basic error, the linearity, the repeatability and the return error are described in JJF 1305-2011 linear displacement sensor calibration specification, and the embodiment will not be described in detail.
The test system comprises a hardware system, an industrial personal computer, test software and a code scanning gun, and performs data interaction with the cloud server through a network. The test software runs on the industrial personal computer, controls the hardware system to work through the communication bus, and calculates a plurality of performance indexes such as basic error, linearity, repeatability and the like according to the requirements of the JJF 1305-2011 linear displacement sensor calibration standard; the code scanning gun is used for scanning the serial number of the sensor to software during testing; the cloud server is provided with a relational database of the sensor serial number, the sensor model number and the sensor configuration file, and a relational database of the sensor serial number and the test data of each corresponding test item. And each test system is interacted with the cloud server by using a C/S architecture, and serves as a client to import test information in the configuration file from the cloud server, execute the test locally and upload test data to the server.
Fig. 1 is a general architecture of a test system according to the present invention, where the test system includes a hardware system, an industrial personal computer, test software, and a code scanner, and the test system uses a C/S architecture to interact data with a cloud server, import test information from a server, and upload test data to the server after the test is completed. The hardware system comprises test equipment required by automatic test; the test software runs on the industrial personal computer and controls the hardware system of the test equipment to work through various communication buses; the code scanning gun is used for scanning the serial number of the sensor; the cloud server is provided with a relational database of the serial number, the model number and the corresponding configuration files of the sensor, and a relational database of the serial number of the sensor and test data of each test item. And each test system is used as a client to import configuration files from the server and automatically configure test information, test is executed locally, and test data is uploaded to the server for backtracking and analysis of the test data.
The instrument cabinet 1 contains a high-precision programmable power supply for supplying power to the tested sensor, the power supply voltage is adjustable, and the power supply requirements of the tested sensors with different models are met; the instrument and equipment in the instrument cabinet respectively leads out the wiring terminals to the interface box 2 for wiring; for the detected sensors with different exterior structures, corresponding displacement sensor clamps 5 and measuring head connecting tools 6 are used for installation and fixation, the displacement sensor clamps 5 and the measuring head connecting tools 6 are respectively fixed on a test bench base 9 and a high-precision linear displacement sliding table 8 and can be detached and replaced, so that the installation of the detected sensors with different models is compatible; for the tested sensors with different wire-outgoing modes and signal types, the corresponding patch cords 3 are used for connecting to the interface box 2, so that the wiring of the sensors with different types is compatible.
Before testing, a sensor 5 to be tested is fixedly arranged on a displacement sensor clamp 4, a sensor pull rod is connected and arranged to a measuring head connecting tool 6, and a switching wire 3 is used for connecting a sensor output terminal to an interface box 2; during testing, control instructions are sent to the high-precision linear displacement sliding table 8 by test software, the linear displacement sliding table 8 drives the sliding block 7 to move to a displacement set by the instructions, and one end of the sensor pull rod is fixed on the measuring head connecting tool 6 and moves along with the sliding block 7, so that the setting of the standard displacement of the tested sensor 5 is realized; the equipment and instruments in the instrument cabinet supply power to the tested sensor 5 through the interface box 2 and perform signal acquisition work.
FIG. 3 is a flow chart of the test system operation, and the test software operation is divided into three stages, namely a test preparation stage, a test execution stage and a test ending stage. In the test preparation stage, a user completes the installation work of the sensor; then, a user scans the serial number of the sensor through the code scanning gun, the serial number in the code scanning gun is read by test software, a configuration file corresponding to the type of the sensor to be tested is inquired from a cloud database through the serial number, and test information including the range, the absolute position of the zero point, the power supply voltage, the signal measurement mode and the upper and lower limits of indexes is contained in the configuration file; and loading and analyzing the configuration file by the test software, and carrying out automatic configuration according to the test information.
In the test execution stage, the test software enables the power supply 10 to output set voltage for supplying power to the tested sensor according to the power supply voltage in the test information; the test software sends a reset instruction according to the zero absolute position in the test information, so that the linear displacement sliding table 8 moves to the zero position of the sensor to be tested; then, the test software follows the requirements of the JJF 1305-2011 linear displacement sensor calibration standard, the measuring range of the sensor marked in the measurement information is equally divided into 11 travel points, the forward and backward travel is 1 test cycle, the sensor output of 3 cycles is collected, and the total test data of 66 travel points are obtained; the test software calculates a plurality of performance indexes such as basic error, linearity, repeatability and the like according to the test data of the 66 travel points and according to the requirements of the JJF 1305-2011 linear displacement sensor calibration standard; the test software compares the calculated performance index value with the upper and lower limit values of the indexes in the test information one by one, and judges whether each index is in a limited range, so that a final test result is obtained.
At the end of the test, the test software binds the test data (including various index values and test results) with the serial number of the sensor and uploads the test data to the cloud server; then the test software sends a power-off instruction to the program-controlled power supply 10 to enable the power supply to be turned off and output to stop power supply; finally, the user takes the sensor to be tested out of the displacement sensor clamp 4, and the whole testing process is finished.
The configuration file adopts an INI file format, and the test information stored in the configuration file comprises a measuring range, a zero absolute position, a power supply voltage, a signal measurement mode and an index upper limit and a signal measurement lower limit.
The test information comprises a sensor range, a power supply voltage, a signal measurement mode, an upper and lower sensitivity limit, an upper and lower basic error limit, an upper and lower linearity limit, an upper and lower repeatability limit and an upper and lower return error limit, wherein the sensor range=0:50 mm, the absolute zero position=20 mm, the power supply voltage=24V, the signal measurement mode=analog voltage\0:5V, the upper and lower sensitivity limit=0.24:0.26, the upper and lower basic error limit= -0.1:0.1, the upper and lower linearity limit= -0.1:0.1, the upper and lower return error limit=0:0.04 and the upper and lower repeatability limit=0:0.04.
Each row in the configuration file represents one item of test information, "=" number left identifies the attribute name of the test information, "=" number right identifies the attribute value of the test information. And the test software retrieves the corresponding attribute value through the attribute name and loads the attribute value, so that the automatic configuration of the test information is realized.
The server-side database consists of 3 data tables, namely a sensor serial number information table, a sensor model information table and a sensor test data table. The sensor serial number information table stores the corresponding relation of the sensor serial numbers and the model numbers, the table information is recorded into a database by a user before test execution, and the structure of the sensor serial number information table is shown in table 1.
Table 1 sensor sequence number information table
Field name Data type Whether or not it is a primary key Description of the invention
Sensor serial number Character string Is that Unique ID identifying a certain sensor
Sensor model Character string Whether or not Model to which the sensor belongs
The sensor model list stores specific information of the sensor model, the specific information is recorded into a database by a user before test execution, and the structure of the sensor model list is shown in table 2.
Table 2 sensor model information table
The sensor test data table stores the test execution result and each item of performance index data of the sensor, and the test software uploads the test execution result and each item of performance index data after the test execution is finished, and the data table structure is shown in table 3.
Table 3 sensor test data sheet
Field name Data type Whether or not it is a primary key Description of the invention
Test ID Integer number Is that Unique ID identifying a test
Sensor serial number Character string Whether or not Unique ID identifying a certain sensor
Test time Time Whether or not Time of test completion
Test results Boolean (B) Whether or not Final results of the test, pass or Fail
Sensitivity of Floating point number Whether or not Sensor performance index
Basic error Floating point number Whether or not Sensor performance index
Linearity of Floating point number Whether or not Sensor performance index
Backhaul error Floating point number Whether or not Sensor performance index
Repeatability of Floating point number Whether or not Sensor performance index
FIG. 4 is a data flow of a test system, wherein a user firstly transmits a serial number of a tested sensor to test software, the test software queries a model corresponding to the tested sensor from a sensor serial number information table through the serial number, and then queries a configuration file corresponding to the model from a sensor model information table through the model, so that loading of test information is realized; after the test is finished, the test software transmits the test data into a sensor test data table.
(1) The method for matching the customized tool and the fixture by the generalized hardware system meets the requirements of installation and wiring of sensors of different types, only the components such as the tool, the fixture and the patch cord in the hardware system are required to be customized according to the factors such as the appearance of the sensor structure, the wire outgoing mode and the like, the main equipment and the key instruments of the hardware system are fixed, the reusability and the universality of the hardware system are realized to the greatest extent, and the problem of the insufficient universality of the hardware system of the traditional test system is solved.
(2) According to the invention, the INI configuration file mode is adopted to store test information, corresponding configuration files are established and written aiming at different types of sensors, and the configuration files are stored in the cloud server. The method has the advantages of high efficiency and convenient use, and the configuration files are uniformly stored in the server, so that the management, upgrading and maintenance are convenient, the problem that the traditional test system needs to manually configure the test information is solved, and the test system is more intelligent and informationized.
(3) According to the invention, the cloud server is adopted to perform centralized storage and management on the test data, so that the problems that the localized storage data of the traditional test system is easy to lose and difficult to trace and analyze are solved.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (11)

1. An intelligent linear displacement sensor testing method is characterized by comprising the following steps:
reading a sensor serial number;
inquiring and importing a corresponding configuration file based on the serial number of the sensor;
according to the test information recorded in the configuration file, automatically configuring an intelligent linear displacement sensor test system;
the intelligent linear displacement sensor testing system measures a sensor to be tested to obtain testing data;
calculating to obtain technical indexes according to the test data;
judging whether the technical index is in a set range, if so, judging that the detected sensor is qualified;
the configuration file, the test data and the technical indexes are all stored to the cloud;
wherein the intelligent linear displacement sensor testing system comprises a control processor, a measuring device, an instrument cabinet (1), a displacement sensor clamp (4), a measuring head connecting tool (6), a sliding block (7), a linear displacement sliding table (8) and a test table base (9),
the measuring device is arranged in the instrument cabinet (1), the measuring device is electrically connected with the measured sensor (5) during testing, the measured sensor (5) is fixed on the displacement sensor clamp (4), and the displacement sensor clamp (4) and the linear displacement sliding table (8) are fixed on the test bench base (9);
the sliding block (7) is fixedly arranged on the linear displacement sliding table (8), one end of a pull rod of the detected sensor (5) is fixed on the measuring head connecting tool (6), the measuring head connecting tool (6) is fixedly arranged on the sliding block (7), and the measuring head connecting tool (6) is positioned on one side of the detected sensor (5);
the control processor is electrically connected with the measuring device and the linear displacement sliding table (8);
the measuring device comprises an interface box (2), an adapter wire (3), a power supply (10) and a program-controlled universal meter (11),
the power supply (10) is electrically connected with the program-controlled universal meter (11), the program-controlled universal meter (11) is electrically connected with the interface box (2), the interface box (2) is electrically connected with the patch cord (3), and the interface box (2), the power supply (10) and the program-controlled universal meter (11) are arranged on the instrument cabinet (1);
the control processor is electrically connected with a power supply (10) and a program-controlled universal meter (11).
2. The method for testing an intelligent linear displacement sensor according to claim 1, wherein,
the test information comprises a power supply voltage, a sensor range, a signal measurement mode, a sensitivity upper limit, a sensitivity lower limit, a basic error upper limit, a basic error lower limit, a linearity upper limit, a linearity lower limit, a repeatability upper limit, a repeatability lower limit, a return error upper limit and a return error lower limit.
3. The method for testing an intelligent linear displacement sensor according to claim 2, wherein,
according to the test information recorded in the configuration file, automatically configuring an intelligent linear displacement sensor test system, comprising:
step 1.1, setting the power supply voltage of an intelligent linear displacement sensor test system according to the power supply voltage value in the test information, and electrifying a power supply (10) in the intelligent linear displacement sensor test system;
and 1.2, equally dividing the sensor range into M travel points according to the sensor range and the set displacement in the test information, wherein M is a positive integer, and resetting a zero point of a linear displacement sliding table (8) in the intelligent linear displacement sensor test system.
4. An intelligent linear displacement sensor testing method according to claim 3, wherein,
the intelligent linear displacement sensor testing system measures a sensor to be tested to obtain test data, and comprises the following steps:
step 2.1, setting the initial value of i as 1, setting the initial values of q and N, wherein N is more than or equal to q;
the intelligent linear displacement sensor testing system moves to an ith travel point and collects the testing data of the tested sensor;
step 2.2, the value of i is increased by 1, whether the value of i reaches the value M is judged, if yes, the step 2.3 is executed, and if not, the step 2.1 is executed;
step 2.3, the intelligent linear displacement sensor testing system moves to an ith travel point, and test data of a tested sensor are collected;
step 2.4, the value of i is reduced by 1, whether i reaches the initial value of i is judged, if yes, step 2.5 is executed, and otherwise, step 2.3 is executed;
and 2.5, adding 1 to the value of q, judging whether q reaches N, if so, ending the operation, and otherwise, executing the step 2.2.
5. The method for testing an intelligent linear displacement sensor according to claim 4, wherein,
the test data includes a voltage signal, a current signal, a CAN bus signal, an RS485 bus signal, an RS232 bus signal, and a pulse frequency signal.
6. The method for testing an intelligent linear displacement sensor according to claim 5, wherein,
the technical indexes include sensitivity, basic error, linearity, repeatability and return error.
7. The method for testing an intelligent linear displacement sensor according to claim 6, wherein,
judging whether the technical index is in the set range, if so, judging that the detected sensor is qualified, including:
if the sensitivity is between the upper sensitivity limit and the lower sensitivity limit, the basic error is between the upper basic error limit and the lower basic error limit, the linearity is between the upper linearity limit and the lower linearity limit, the repeatability is between the upper repeatability limit and the lower repeatability limit, and the return error is between the upper return error limit and the lower return error limit, the sensor to be detected is qualified.
8. The method for testing an intelligent linear displacement sensor according to claim 1, wherein,
the measuring device comprises a CAN card (12), a power supply (10) is electrically connected with the CAN card (12), the CAN card (12) is electrically connected with the interface box (2), and the CAN card (12) is arranged on the instrument cabinet (1); the control processor is electrically connected to the CAN card (12).
9. The method for testing an intelligent linear displacement sensor according to claim 1, wherein,
the measuring device comprises an RS485 serial port (13), a power supply (10) is electrically connected with the RS485 serial port (13), the RS485 serial port (13) is electrically connected with the interface box (2), and the RS485 serial port (13) is arranged on the instrument cabinet (1); the control processor is electrically connected with the RS485 serial port (13).
10. The method for testing an intelligent linear displacement sensor according to claim 1, wherein,
the measuring device comprises an RS232 serial port (14), a power supply (10) is electrically connected with the RS232 serial port (14), the RS232 serial port (14) is electrically connected with the interface box (2), and the RS232 serial port (14) is arranged on the instrument cabinet (1); the control processor is electrically connected with the RS232 serial port (14).
11. The method for testing an intelligent linear displacement sensor according to claim 1, wherein,
the measuring device comprises a digital frequency meter (15), a power supply (10) is electrically connected with the digital frequency meter (15), the digital frequency meter (15) is electrically connected with the interface box (2), and the digital frequency meter (15) is arranged on the instrument cabinet (1); the control processor is electrically connected with a digital frequency meter (15).
CN202210213397.7A 2022-03-04 2022-03-04 Intelligent linear displacement sensor testing method Active CN114659479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210213397.7A CN114659479B (en) 2022-03-04 2022-03-04 Intelligent linear displacement sensor testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210213397.7A CN114659479B (en) 2022-03-04 2022-03-04 Intelligent linear displacement sensor testing method

Publications (2)

Publication Number Publication Date
CN114659479A CN114659479A (en) 2022-06-24
CN114659479B true CN114659479B (en) 2023-12-05

Family

ID=82026578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210213397.7A Active CN114659479B (en) 2022-03-04 2022-03-04 Intelligent linear displacement sensor testing method

Country Status (1)

Country Link
CN (1) CN114659479B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117553884B (en) * 2024-01-11 2024-03-22 无锡芯感智半导体有限公司 Gas flow calibration system suitable for thermal flow sensor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154195A1 (en) * 2007-06-12 2008-12-18 Crane Nuclear, Inc. Self-configuring data acquisition system for diagnostic testing
CN108827205A (en) * 2018-04-25 2018-11-16 吉林省计量科学研究院 A kind of linear movement pick-up intelligent test system
CN110727217A (en) * 2019-09-23 2020-01-24 西安航天计量测试研究所 Sensor data acquisition method and system based on LabVIEW and serial port communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983658B2 (en) * 2003-04-11 2006-01-10 Honeywell Federal Manufacturing & Technologies, Llc Micro-tensile testing system
US10816358B2 (en) * 2018-07-10 2020-10-27 Rohde & Schwarz Gmbh & Co. Kg Method and test system for sensor fusion positioning testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154195A1 (en) * 2007-06-12 2008-12-18 Crane Nuclear, Inc. Self-configuring data acquisition system for diagnostic testing
CN108827205A (en) * 2018-04-25 2018-11-16 吉林省计量科学研究院 A kind of linear movement pick-up intelligent test system
CN110727217A (en) * 2019-09-23 2020-01-24 西安航天计量测试研究所 Sensor data acquisition method and system based on LabVIEW and serial port communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于柔性测试技术的位置传感器标定与检测系统;秦莉娜等;基于柔性测试技术的位置传感器标定与检测系统(第第2期期);第81-83页 *

Also Published As

Publication number Publication date
CN114659479A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN109164404B (en) System and method for automatically calibrating sampling circuit in circuit board
CN101334457B (en) Multichannel multi-parameter electric measuring meter test system and full-automatic test method
CN104614668A (en) Circuit board testing system
CN111487554A (en) Automatic testing system and method for direct current-to-direct current power supply module
CN106771701A (en) A kind of electric vehicle charge interface uniformity automated detection system and method
CN107390110A (en) A kind of method, apparatus and system tested automatically PCBA
CN102455701B (en) Programmable logic controller (PLC) automatic testing platform using programmable relay structure
CN114659479B (en) Intelligent linear displacement sensor testing method
CN103487210A (en) Full-automatic calibrating and debugging method and apparatus for intelligent pressure meter
CN103257277B (en) Multifunctional virtual instrument based on constant flow source and control method
CN109857643A (en) A kind of method and device of virtual platform performance automatic test
CN201497780U (en) Rapid cyclic-detection device for two-wire industrial instruments
CN110542450A (en) Automatic calibration system and method for temperature and humidity instrument
CN101393240A (en) Electric network harmonic on-line supervisory circuit based on virtual instrument and working method thereof
CN115201556A (en) Intelligent electromagnetic detection system
CN109752641A (en) A kind of method, apparatus, equipment and the storage medium of batch testing Devices to test
CN113945743A (en) Multichannel test automatic management system and method for pulse current injection experiment
CN201281755Y (en) Assay system for multichannel multi-parameter electric measuring meter
CN107765202A (en) The on-line calibration system and method for AC measurment unit in integrated circuit test system
CN111693922A (en) Automatic calibration system of impedance tester
CN211123230U (en) Portable automatic debugging system for calibrator
CN102058430B (en) Automatic test equipment (ATE) of multi-parameter monitor and test method thereof
CN109117160A (en) GNSS host, system and method with online upgrading CPLD firmware
CN112484885A (en) Automatic implementation method for thermal resistor in-situ response time test
CN110727217A (en) Sensor data acquisition method and system based on LabVIEW and serial port communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant