CN104280098A - Labview-based ship liquid level sensor testing system and testing method thereof - Google Patents

Labview-based ship liquid level sensor testing system and testing method thereof Download PDF

Info

Publication number
CN104280098A
CN104280098A CN201410603124.9A CN201410603124A CN104280098A CN 104280098 A CN104280098 A CN 104280098A CN 201410603124 A CN201410603124 A CN 201410603124A CN 104280098 A CN104280098 A CN 104280098A
Authority
CN
China
Prior art keywords
sensor
measured
liquid level
testing software
testing
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.)
Granted
Application number
CN201410603124.9A
Other languages
Chinese (zh)
Other versions
CN104280098B (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.)
Kang Shibo Marine Electrical (jiangsu) Co Ltd
Kongsberg Maritime China Jiangsu Ltd
Original Assignee
Kang Shibo Marine Electrical (jiangsu) Co 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 Kang Shibo Marine Electrical (jiangsu) Co Ltd filed Critical Kang Shibo Marine Electrical (jiangsu) Co Ltd
Priority to CN201410603124.9A priority Critical patent/CN104280098B/en
Publication of CN104280098A publication Critical patent/CN104280098A/en
Application granted granted Critical
Publication of CN104280098B publication Critical patent/CN104280098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a Labview-based ship liquid level sensor testing system which comprises a computer, a power supply, a code scanning gun, a digital multimeter, a Hart bus and a switching module thereof, a GPIB bus and a switching module thereof, and a remote end data base so as to form a virtual instrument testing system; meanwhile, the invention discloses a testing method using the system. The Labview-based ship liquid level sensor testing system has the advantages that the testing process is automatic, the single project testing time is short as mush as possible, the production efficiency is greatly improved so that the Labview-based ship liquid level sensor testing system adapts to the batch production requirement; the Labview-based ship liquid level sensor testing system can adapt to different models of sensors, thus the repeated development works are reduced; the testing precision is high, the repeatability is good, the influence of manual factors is reduced as mush as possible; testing data is recorded by adopting a database, and thus the traceability of a product is increased.

Description

Based on boats and ships liquid level sensor test macro and the method for testing thereof of Labview
Technical field
The present invention relates to a kind of proving installation and method of testing thereof, particularly a kind of test macro that liquid level sensor is tested and method of testing thereof.
Background technology
Liquid level sensor is as the vitals of transport monitor system, and its product quality is most important.The high speed development of shipping industry, has higher requirement to the test of liquid level sensor.Classification society's requirement, liquid level sensor, before dispatching from the factory, all must pass through performance test.And in the test of original liquid level sensor, the method of usual employing manual measurement, manual calibration, manual record operates, not only testing efficiency on the low side, be easier to make mistakes, and the communication with liquid level sensor cannot be realized, be unfavorable for the tracing management of product.
Summary of the invention
Goal of the invention: for the problems referred to above, the object of this invention is to provide a kind of boats and ships liquid level sensor test macro, provides simultaneously and uses this system to carry out the method for testing, automatic test, improve product accuracy rate, makes product can tracing management.
Technical scheme: a kind of boats and ships liquid level sensor test macro based on Labview, comprise computing machine, power supply, barcode scanning gun, digital multimeter, Hart bus and interconnecting module, gpib bus and interconnecting module thereof, remote data storehouse, form Virtual Instruments Test System;
Described power supply, described digital multimeter series connection are at the input end of sensor to be measured, Hart bus and interconnecting module in parallel with a resistor after seal in electric power loop and connect described computing machine, described gpib bus and interconnecting module thereof are connected to described digital multimeter and described computing machine, described barcode scanning gun connects described computing machine, for gathering the product information on sensor outer housing to be measured and PCB;
Described computing machine is provided with the testing software based on Labview, completes checking and processing information, and the data of formation are preserved in described remote data storehouse.
The method using above-mentioned test macro to test boats and ships liquid level sensor, comprises the following steps:
(1) system initialization: testing software to variable restore default value, and reads the current constant value allowing to use from initialization files;
(2) test event and sensor information to be measured are set: the information being inputted sensor to be measured by testing software, the product information on sensor outer housing to be measured and PCB is gathered by barcode scanning gun, computing machine completes comparison to information, process, and data is saved in remote data storehouse;
(3) test and data processing:
Computing machine, according to the coding on shell, calculates the sequence number of sensor to be measured according to certain rule, and by Hart bus and sensor communication to be measured, sequence number is write sensor to be measured;
Testing software allows sensor to be measured be in without liquid level or the output state having liquid level by Hart bus, simultaneously whether testing software is by the current deviation value of gpib bus monitoring digital multimeter in allowed band, completes sensor to be measured without liquid level with there is the output current of liquid level to calibrate;
Testing software allows sensor to be measured perform the program of capacitor self-calibration by Hart bus, after completing electric capacity calibration operation, suitable status information is returned to testing software by Hart bus, testing software thus status information judges that whether electric capacity calibration is successful, carries out corresponding operation to remote data storehouse;
Carry out magnet test, testing software, according to the current indication of digital multimeter, judges whether this function of sensor to be measured meets design requirement.
The middle constant value of step (1) comprises the network address, remote data storehouse, PCB version list is produced in permission, electric capacity calibrates limits value, calibrate limits value without liquid level output current and have liquid level output current calibration limits value.
The information of the sensor to be measured of input comprises sensor type to be measured, length, output mode etc. in step (2), and the information on the sensor outer housing to be measured of collection and PCB comprises the series number, date of manufacture, product version, grown place etc. of sensor to be measured.
In step (3), if current deviation value is in allowed band, current deviation value is write sensor to be measured by testing software, complete sensor to be measured without liquid level and the calibration having liquid level output current, if current deviation value is not in allowed band, this status indication is defective by testing software.
Beneficial effect: compared with prior art, advantage of the present invention is test process automation, and the single project testing time is short as much as possible, greatly enhances productivity, to adapt to batch production requirements; The sensor of different model can be adapted to, reduce overlapping development work; Measuring accuracy is high, reproducible, reduces the impact of artifact as far as possible; Adopt data-base recording test data, increase the trackability of product.
Accompanying drawing explanation
Fig. 1 is the signal wiring schematic diagram of test macro of the present invention;
Fig. 2 is system testing process flow diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments, illustrate the present invention further, these embodiments should be understood only be not used in for illustration of the present invention and limit the scope of the invention, after having read the present invention, the amendment of those skilled in the art to the various equivalent form of value of the present invention has all fallen within the application's claims limited range.
As shown in Figure 1, a kind of boats and ships liquid level sensor test macro based on Labview, based on technology of instrument and meter, computer technology, automated control technology and measuring technology, adopt the communications protocol such as modular organization and gpib bus, according to liquid level sensor designing requirement, the system with high opening, robotization and applicability developed.Mainly comprise computing machine 1, power supply 2, barcode scanning gun 3, digital multimeter 4, Hart bus and interconnecting module 5, gpib bus and interconnecting module thereof 6 thereof, remote data storehouse 7, form Virtual Instruments Test System.
Power supply 2, digital multimeter 4 series connection are at the input end of sensor 8 to be measured, Hart bus and interconnecting module 5 in parallel with a resistor after seal in electric power loop and connect computing machine 1, gpib bus and interconnecting module 6 thereof are connected to digital multimeter 4 and computing machine 1, barcode scanning gun 3 connects computing machine 1, for gathering the product information on sensor outer housing to be measured and PCB.Computing machine 1 is the core of whole test macro, has friendly human-computer interaction interface, and be also the carrier of liquid level sensor based on the testing software of Labview, complete checking and processing information, the data of formation are preserved in described remote data storehouse 7 simultaneously.
Digital multimeter 4 adopts Agilent 34410A, and be the digital multimeter of a advanced robotization, the precision of its current measurement can reach 0.02mA at normal temperatures, meets the accuracy requirement of test macro completely.
As shown in Figure 2, the method using test macro of the present invention to test boats and ships liquid level sensor, specifically comprises the following steps:
(1) system initialization: open testing software, the variable restore default value that testing software is automatically used to some softwares, and from initialization files, read the current constant value allowing to use.Testing software takes into full account the needs of actual production, the form of initialization files is adopted to need the system initial information of flexible configuration to define to some, as the network address, remote data storehouse, permission production PCB version list, electric capacity are calibrated limits value, calibrated limits value and have liquid level output current to calibrate limits value etc. without liquid level output current.Be very easy to the management of product, decrease the impact of human factor on product quality.
(2) test event and sensor information to be measured are set: when testing at every turn, the information such as type, length, output mode that first testing software points out user to input sensor to be measured; Then the Quick Response Code on sensor outer housing to be measured and PCB is gathered by barcode scanning gun, obtain the product informations such as series number, date of manufacture, product version, grown place, testing software carries out screening comparison to information, the version of PCB is controlled, only allows version clear and definite in initialization files by test; Finally, these information are stored in remote data storehouse and preserve by testing software, to review product.
(3) test and data processing:
A. computing machine is according to the coding on shell, calculates the sequence number of sensor to be measured according to certain rule, and by Hart bus and sensor communication to be measured, sequence number is write sensor to be measured.
B. testing software allows sensor to be measured be in without liquid level 4mA or the output state having liquid level 20mA by Hart bus, testing software is by the duty of gpib bus monitoring digital multimeter simultaneously, if current deviation value is in allowed band, current deviation value is write sensor to be measured by testing software, complete the calibration operation to sensor 4mA to be measured and 20mA output current, if current deviation value exceeds limits value, this status indication is defective by testing software.After completing correcting current work, calibration value and align mode information write in remote data storehouse, for post-processed by testing software.
C. testing software allows sensor to be measured perform the program of capacitor self-calibration by Hart bus, compensates the additional electrical capacity that sensor probe to be measured causes, makes the test value of the electric capacity of sensor probe end to be measured close to zero.After sensor to be measured completes electric capacity calibration operation, return suitable status information to testing software by Hart bus, according to the status information returned, testing software judges that whether electric capacity calibration is successful, carry out corresponding operation to remote data storehouse.
D. carry out magnet test, when magnet is near sensor appropriate location to be measured, sensor to be measured exports the current signal of 20mA automatically.Testing software according to the current indication of digital multimeter, and then judges whether this function of sensor to be measured meets design requirement.When not meeting design requirement, testing software record failure testing item, and judge sensor test to be measured failure.
Testing software is in whole test process, on the human-computer interaction interface of computing machine, corresponding real-time display is had to the status information of each test event, and automatically the test event of failure is marked, and corresponding result is stored in remote data storehouse, operator also can obtain the test mode information of product in remote data storehouse, for the yield of further analytic product and failure cause are provided convenience, user friendly operation and further processing.
Can also be connected into printer in test macro, for the product by all tests, test macro meeting automatic printing comprises the report of test data, for production work is provided convenience.

Claims (5)

1. the boats and ships liquid level sensor test macro based on Labview, it is characterized in that: comprise computing machine (1), power supply (2), barcode scanning gun (3), digital multimeter (4), Hart bus and interconnecting module (5) thereof, gpib bus and interconnecting module (6) thereof, remote data storehouse (7), form Virtual Instruments Test System;
Described power supply (2), described digital multimeter (4) series connection are at the input end of sensor to be measured, Hart bus and interconnecting module (5) in parallel with a resistor after seal in electric power loop and connect described computing machine (1), described gpib bus and interconnecting module (6) thereof are connected to described digital multimeter (4) and described computing machine (1), described barcode scanning gun (3) connects described computing machine (1), for gathering the product information on sensor outer housing to be measured and PCB;
Described computing machine (1) is provided with the testing software based on Labview, completes checking and processing information, and the data of formation are preserved in described remote data storehouse (7).
2. the method using the test macro described in claim 1 to test boats and ships liquid level sensor, is characterized in that comprising the following steps:
(1) system initialization: testing software to variable restore default value, and reads the current constant value allowing to use from initialization files;
(2) test event and sensor information to be measured are set: the information being inputted sensor to be measured by testing software, the product information on sensor outer housing to be measured and PCB is gathered by barcode scanning gun, computing machine completes comparison to information, process, and data is saved in remote data storehouse;
(3) test and data processing:
Computing machine, according to the coding on shell, calculates the sequence number of sensor to be measured according to certain rule, and by Hart bus and sensor communication to be measured, sequence number is write sensor to be measured;
Testing software allows sensor to be measured be in without liquid level or the output state having liquid level by Hart bus, simultaneously whether testing software is by the current deviation value of gpib bus monitoring digital multimeter in allowed band, completes sensor to be measured without liquid level with there is the output current of liquid level to calibrate;
Testing software allows sensor to be measured perform the program of capacitor self-calibration by Hart bus, after completing electric capacity calibration operation, suitable status information is returned to testing software by Hart bus, testing software thus status information judges that whether electric capacity calibration is successful, carries out corresponding operation to remote data storehouse;
Carry out magnet test, testing software, according to the current indication of digital multimeter, judges whether this function of sensor to be measured meets design requirement.
3. method according to claim 2, is characterized in that: the middle constant value of step (1) comprises the network address, remote data storehouse, PCB version list is produced in permission, electric capacity calibrates limits value, calibrate limits value without liquid level output current and have liquid level output current calibration limits value.
4. method according to claim 2, it is characterized in that: the information of the sensor to be measured of input comprises sensor type to be measured, length, output mode etc. in step (2), the information on the sensor outer housing to be measured of collection and PCB comprises the series number, date of manufacture, product version, grown place etc. of sensor to be measured.
5. method according to claim 2, it is characterized in that: in step (3), if current deviation value is in allowed band, current deviation value is write sensor to be measured by testing software, complete sensor to be measured without liquid level and the calibration having liquid level output current, if current deviation value is not in allowed band, this status indication is defective by testing software.
CN201410603124.9A 2014-10-31 2014-10-31 Ship liquid level sensor method of testing based on Labview Active CN104280098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410603124.9A CN104280098B (en) 2014-10-31 2014-10-31 Ship liquid level sensor method of testing based on Labview

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410603124.9A CN104280098B (en) 2014-10-31 2014-10-31 Ship liquid level sensor method of testing based on Labview

Publications (2)

Publication Number Publication Date
CN104280098A true CN104280098A (en) 2015-01-14
CN104280098B CN104280098B (en) 2018-02-13

Family

ID=52255214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410603124.9A Active CN104280098B (en) 2014-10-31 2014-10-31 Ship liquid level sensor method of testing based on Labview

Country Status (1)

Country Link
CN (1) CN104280098B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106197610A (en) * 2016-07-14 2016-12-07 南通海狮船舶机械有限公司 Remote surveying of liquid level and the control system of valve
CN110111667A (en) * 2019-05-09 2019-08-09 罕王微电子(辽宁)有限公司 A kind of test of sensor and demonstrating model system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101545820A (en) * 2009-05-13 2009-09-30 广州中船龙穴造船有限公司 Comprehensive test-bed
CN202676254U (en) * 2012-07-18 2013-01-16 上海大学 Quality test device of LABVIEW-based electric resistance type oil level sensor
CN103048087A (en) * 2011-10-13 2013-04-17 江苏恩泰传感器有限公司 Pressure sensor debugging system and debugging method thereof
CN103256965A (en) * 2013-05-28 2013-08-21 扬州恒信仪表有限公司 Multi-channel electrical equipment parameter collecting device
CN203519116U (en) * 2013-09-18 2014-04-02 湖北汽车工业学院 Oil quantity sensor measuring and controlling system based on DSP
US20140130874A1 (en) * 2012-11-12 2014-05-15 Fisher Controls International Llc Method and apparatus for validating a field device in a control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101545820A (en) * 2009-05-13 2009-09-30 广州中船龙穴造船有限公司 Comprehensive test-bed
CN103048087A (en) * 2011-10-13 2013-04-17 江苏恩泰传感器有限公司 Pressure sensor debugging system and debugging method thereof
CN202676254U (en) * 2012-07-18 2013-01-16 上海大学 Quality test device of LABVIEW-based electric resistance type oil level sensor
US20140130874A1 (en) * 2012-11-12 2014-05-15 Fisher Controls International Llc Method and apparatus for validating a field device in a control system
CN103256965A (en) * 2013-05-28 2013-08-21 扬州恒信仪表有限公司 Multi-channel electrical equipment parameter collecting device
CN203519116U (en) * 2013-09-18 2014-04-02 湖北汽车工业学院 Oil quantity sensor measuring and controlling system based on DSP

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106197610A (en) * 2016-07-14 2016-12-07 南通海狮船舶机械有限公司 Remote surveying of liquid level and the control system of valve
CN110111667A (en) * 2019-05-09 2019-08-09 罕王微电子(辽宁)有限公司 A kind of test of sensor and demonstrating model system

Also Published As

Publication number Publication date
CN104280098B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
US8364431B2 (en) Field device calibration
US9909908B2 (en) Profiles for streamlining calibration test
CN107478382B (en) Automatic detection device and detection method for pressure instrument
CN103487210A (en) Full-automatic calibrating and debugging method and apparatus for intelligent pressure meter
CN106405294B (en) Portable power distribution product transmission calibrator and implementation test method thereof
CN205333099U (en) Online automatic calibration temperature and humidity transmitter's calbiration system
CN104111436A (en) Automatic detection system and method for digital multimeter
CN108427093A (en) A kind of calibrating and measuring system and method for watt-hour meter automatic verification device
CN101334457A (en) Multichannel multi-parameter electric measuring meter test system and full-automatic test method
CN201497780U (en) Rapid cyclic-detection device for two-wire industrial instruments
CN102778852A (en) Method and device for systematic naming of identical parameters of different field devices of an automation system
CN110837073A (en) Intelligent ammeter clock error adjustment test system and method
CN104280098A (en) Labview-based ship liquid level sensor testing system and testing method thereof
CN104793097A (en) Automatic unmanned aerial vehicle cable net testing system and testing method
CN117007175A (en) Sensor automatic test method and test device thereof
CN204330003U (en) The intelligent test system of new architecture
CN201281755Y (en) Assay system for multichannel multi-parameter electric measuring meter
CN110672143A (en) Sensor calibration method
CN107643476B (en) Profibus bus insulation performance testing method based on virtual instrument technology
CN107543574B (en) Automatic detector for high-temperature aging test of airborne sensor and operation method
CN106546936B (en) Virtual detection system and detection method for detecting energy efficiency monitoring equipment
CN210690206U (en) Molding sand strength test unit for casting and device thereof
CN114296019A (en) Temperature compensation structure of direct current sensor
US8049524B2 (en) Method for detecting component defects of an analog signal processing circuit, especially for a measurement transmitter
CN113381810A (en) Calibration-free and test-free method for receiving optical power, storage medium and chip

Legal Events

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