CN111274185A - Method and system for solving communication interface data compatibility in instrument old part replacement - Google Patents
Method and system for solving communication interface data compatibility in instrument old part replacement Download PDFInfo
- Publication number
- CN111274185A CN111274185A CN202010026630.1A CN202010026630A CN111274185A CN 111274185 A CN111274185 A CN 111274185A CN 202010026630 A CN202010026630 A CN 202010026630A CN 111274185 A CN111274185 A CN 111274185A
- Authority
- CN
- China
- Prior art keywords
- data
- instrument
- scientific instrument
- new component
- communication interface
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the field of instrument measurement and control, and discloses a method for solving the problem of communication interface data compatibility in the replacement of old parts of an instrument, which comprises the following steps: s1) confirming the bus interface types of the scientific instrument and the new component to be installed, and respectively connecting the scientific instrument and the new component to be installed with the data adapter; s2) acquiring a communication protocol; s3) modifying data format adapting software in the data analysis and forwarding software; s4) powering on and carrying out integration test on the scientific instrument, the new component to be installed and the data adapter module; s5) judging whether the communication between the scientific instrument and the new component to be installed is normal. The invention provides a method for solving the data compatibility of a communication interface in the replacement of old parts of a scientific instrument, avoids the disadvantages caused by the dependence on the traditional hardware improvement, solves the problem of data compatibility by adding a data adapter between the scientific instrument and the parts, has strong universality and enlarges the range of model selection of instrument accessories.
Description
Technical Field
The invention relates to the field of instrument measurement and control, in particular to a method and a system for solving the problem of data compatibility of a communication interface in the replacement of old parts of an instrument.
Background
The large scientific instrument is the integration of various leading-edge technologies, is usually formed by integrating and developing components provided by different countries and different manufacturers, and has complex communication buses and component interfaces. The improvement and upgrade conditions of the process, design and software communication protocol of a part (or group) component manufacturer often occur in the long-term use process of large scientific instruments, and old components cannot be replaced or updated due to the compatibility problem when the old components break down, so that the instruments are shut down and cannot be normally used. At present, no unified solution is available for the above problems, most of the methods require part manufacturers to customize products or require large-scale scientific instrument manufacturers to upgrade instrument control systems, the two methods have generally long periods and high prices, and particularly the second method is not suitable for the reasons of acquisition, production damage and the like of the instrument manufacturers.
Disclosure of Invention
The invention aims to provide a method and a system for solving the data compatibility of a communication interface in the replacement of old parts of instruments, thereby solving the problems in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for solving the data compatibility of a communication interface in the replacement of an old part of an instrument comprises the following steps:
s1) confirming the bus interface types of the scientific instrument and the new component to be installed, and respectively connecting the bus interfaces of the scientific instrument and the new component to be installed with corresponding interfaces of the data adapter;
s2) acquiring a communication protocol between the scientific instrument and the new component to be installed, and acquiring a communication protocol between the scientific instrument and the old component;
s3) modifying data format adapting software in the data analyzing and forwarding software according to the communication protocol acquired in the step S2);
s4) powering on the scientific instrument, the new component to be installed and the data adapter module, and carrying out integration test;
s5) judging whether the communication between the scientific instrument and the new component to be installed is normal, if so, indicating that the test is successful; if not, return is made to step S2).
Further, in step S2), a communication protocol between the scientific instrument controller and the old part is obtained by consulting a technical manual or analyzing through bus data monitoring software; the communication protocol between the scientific instrument controller and the new component to be installed is acquired by consulting a technical manual or inquiring an after-sales person.
Further, the data adapter comprises a communication interface and equipment with program running capability, wherein the equipment is a common computer, an ARM control board, a singlechip or a raspberry group; the operation program comprises data analysis and forwarding software.
Furthermore, the data adapter comprises at least two bus interfaces, one of the two bus interfaces is connected with a control host or a controller of the scientific instrument, and the other bus interface of the two bus interfaces is connected with a new component to be installed.
A communication interface data compatibility system for solving the problem of old and old instrument part replacement comprises a scientific instrument, a data adapter and a new part to be installed;
the data adapter comprises a communication interface and equipment with program running capability, and the equipment is a common computer, an ARM control board, a singlechip or a raspberry group; the operation program comprises data analysis and forwarding software;
the data adapter comprises at least two bus interfaces, one of the two bus interfaces is connected with a control host or a controller of the scientific instrument, and the other bus interface of the two bus interfaces is connected with a new component to be installed.
The invention has the beneficial effects that: the invention provides a method for solving the problem of data compatibility of a communication interface in the replacement of old parts of scientific instruments, and avoids the disadvantages caused by the dependence on the traditional hardware improvement. The method for solving the data compatibility by adding the data adapter between the scientific instrument and the component has strong universality. The bus, the type and the protocol of the interface of the part to be updated can be unlimited, the range of the type selection of the instrument accessory is enlarged, a third-party hardware interface and software do not need to be changed, and the communication between the scientific instrument and the new part to be installed can be realized only by modifying data analysis and forwarding software running on the data adapter according to a new communication protocol.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
FIG. 2 is a schematic diagram of the connection of the data adapter of the present invention.
Fig. 3 is a schematic diagram of a SHRIMP measurement and control system according to an embodiment.
Fig. 4 is a schematic connection diagram of a data adapter in the SHRIMP measurement and control system according to an embodiment.
FIG. 5 is a schematic diagram of an embodiment of a bus interface connection.
1. Data adapter, 2, WINDOWs 10 operating system, 3, data parsing and forwarding software.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment I discloses a method for solving data compatibility of a communication interface in replacement of an old part of an instrument.
The high-resolution secondary ion probe mass spectrometer (SHRIMP II) is the most advanced micro-area in-situ isotope analytical instrument in the world, is mainly applied to stable isotope analysis such as fixed year and O, S, C in mineral micro-area and geochemistry research of stable isotopes, and has irreplaceable positions in the aspects of mineral deposit cause, climate change, environmental change and the like. The existing SRHIMP instrument in china was designed to leave the factory in 1970 and 2001, and the SRHIMP measurement and control system is shown in fig. 3 and includes a control host, an optical fiber exchanger, a plurality of subsystems, an intelligent vacuum control system (IVMS for short), a Pfeiffer PKR251 vacuum gauge and a Pfeiffer TPG261 gauge controller. The starting, monitoring, running and fault handling of the vacuum system in the SHRIMP measurement and control system are automatically processed by the IVMS according to the monitoring values of the sensors. The Pfeiffer TPG261 standard controller is connected and communicated with the IVMS through an RS232 bus, and the communication protocol analyzed by the used serial port bus detection software is shown in the table 1. And (3) the Pfeiffer TPG261 model controller fails to be repaired, the model controller stops production for many years, and the Pfeiffer TPG261 model controller is replaced by the Pfeiffer TPG361 model controller. The TPG361 standard controller uses an RS485 bus to replace an RS232 bus, and part of communication protocols are updated, if the effective number of returned vacuum value data is increased by 1 bit, the TPG361 standard controller cannot be directly connected and communicated with an IVMS system. Because the source code is not provided by the IVMS manufacturer, the communication with the TPG361 standard controller cannot be realized by modifying the IVMS program.
The invention is adopted to solve the problem of data compatibility of the communication interface in the replacement of old parts of instruments, and as shown in figure 1, the method comprises the following steps:
s1) confirming the bus interface types of the scientific instrument and the new component to be installed, and respectively connecting the bus interfaces of the scientific instrument and the new component to be installed with corresponding interfaces of the data adapter; as shown in fig. 4, the IVMS is confirmed to be connected with the TPG261 standard controller by using an RS232 bus, and the TPG361 standard controller to be installed with a new component provides USB-RS485 and RJ45 bus interfaces. In this example, the data adapter 1 comprises a DELL P7720 workstation (WINDOW10 operating system 2) and data parsing and forwarding software 3 running thereon. The data adapter 1 has at least two bus interfaces, as shown in fig. 2, one of the two bus interfaces is connected with the IVMS, and the other of the two bus interfaces is connected with the controller of the TPG361 standard to be installed with the new component.
System interface connection as shown in fig. 5, a TPG361 standard controller of a new component to be installed is connected with a DELLP7720 workstation through a USB interface, and a hardware manager of the DELL P7720 workstation allocates a bus interface COM4 for communication with the TPG 361. The DELL P7720 workstation is connected with the IVMS through a Z-TEK USB-to-RS 232 interface, and a hardware manager of the DELL P7720 workstation allocates a bus interface for communicating with the IVMS to be COM 5.
S2) acquiring a communication protocol between the IVMS and the TPG261 standard controller; acquiring a communication protocol between the IVMS and a TPG361 standard controller of a new component to be installed; the protocol for communication between the IVMS and the TPG261 standard controller is shown in Table 1. After tests, the communication protocol of the TPG361 standard controller of the new component to be installed is 1 bit more than that of the TPG261 except that the returned effective vacuum numerical value is unchanged, and the communication between the TPG361 standard controller of the new component to be installed and the IVMS is realized by modifying the software of the data adapter module.
S3) according to the communication protocol acquired in the step S2), modifying DELL P7720 workstation data analysis and forwarding software, converting the vacuum value returned by the TPG361 standard controller of the new component to be installed into a TPG261 standard controller vacuum value format through data formatting, and forwarding the formatted vacuum reading of the TPG361 standard controller of the new component to be installed to the IVMS by the data forwarding software.
S4) electrifying the SHRIMP measurement and control system, the TPG361 standard controller of the new component to be installed and the data adapter module, operating data analysis and conversion software, and carrying out integrated test;
s5) judging whether the communication between the IVMS in the SHRIMP measurement and control system and the TP361 standard controller of the new component to be installed is normal, if so, indicating that the test is successful; if not, return is made to step S2).
Table 1 communication protocol for serial port bus detection software analysis
TABLE 1
A communication interface data compatibility system for solving the problem of old and old instrument part replacement comprises a scientific instrument, a data adapter and a new part to be installed; the scientific instrument is an intelligent vacuum control system (IVMS), the new component to be installed is a PfeifferTPG361 model controller, and the data adapter is a DELL 7720 workstation. The DELL 7720 workstation comprises at least two bus interfaces, one of the two bus interfaces is connected with a control host or a controller of a scientific instrument, and the other bus interface of the two bus interfaces is connected with a controller of a Pfeiffer TPG361 model to be installed with a new component.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained:
the invention adds a data adapter between the large scientific instrument and the component needing to be updated, modifies the relevant software running on the data adapter, and can solve the problem of data compatibility in the updating of old components of the large scientific instrument. The invention provides a method for solving the problem of communication interface data compatibility in the replacement of old parts of scientific instruments, avoids the disadvantages caused by the dependence on the traditional hardware improvement and has strong universality. The bus, type and protocol of the interface of the new component to be installed can be unlimited, the range of the type selection of the instrument accessory is enlarged, any change of a third-party hardware interface and software is not needed, and the data analysis and forwarding software running on the data adapter is modified only according to the new communication protocol, so that the communication between the scientific instrument and the new component can be realized.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.
Claims (5)
1. A method for solving the problem of data compatibility of a communication interface in the replacement of an old part of an instrument is characterized by comprising the following steps:
s1) confirming the bus interface types of the scientific instrument and the new component to be installed, and respectively connecting the bus interfaces of the scientific instrument and the new component to be installed with corresponding interfaces of the data adapter;
s2) acquiring a communication protocol between the scientific instrument and the new component to be installed, and acquiring a communication protocol between the scientific instrument and the old component;
s3) modifying data format adapting software in the data analyzing and forwarding software according to the communication protocol acquired in the step S2);
s4) powering on the scientific instrument, the new component to be installed and the data adapter module, and carrying out integration test;
s5) judging whether the communication between the scientific instrument and the new component to be installed is normal, if so, indicating that the test is successful; if not, return is made to step S2).
2. The method for solving the data compatibility problem of the communication interface in the replacement of the old part of the instrument as claimed in claim 1, wherein in step S2), the communication protocol between the scientific instrument controller and the old part is obtained by consulting a technical manual or analyzing by bus data monitoring software; the communication protocol between the scientific instrument controller and the new component to be installed is acquired by consulting a technical manual or inquiring an after-sales person.
3. The method for solving the data compatibility problem of the communication interface in the old part replacement of the instrument as claimed in claim 1 or 2, wherein the data adapter comprises a device with a communication interface and a capability of running a program, and the device is a common computer, an ARM control board, a single chip microcomputer or a raspberry group; the operation program comprises data analysis and forwarding software.
4. The method for solving the data compatibility problem of the communication interface in the replacement of the old part of the instrument as claimed in claim 3, wherein the data adapter comprises at least two bus interfaces, one of the two bus interfaces is connected with the control host or the controller of the scientific instrument, and the other bus interface of the two bus interfaces is connected with the new part to be installed.
5. A system for solving the data compatibility of a communication interface in the replacement of an old part of an instrument is suitable for the method for solving the data compatibility of the communication interface in the replacement of the old part of the instrument as claimed in claims 1 to 4, and is characterized by comprising a scientific instrument, a data adapter and a new part to be installed;
the data adapter comprises a communication interface and equipment with program running capability, and the equipment is a common computer, an ARM control board, a singlechip or a raspberry group; the running program comprises data analysis and forwarding software;
the data adapter comprises at least two bus interfaces, one of the two bus interfaces is connected with a control host or a controller of the scientific instrument, and the other bus interface of the two bus interfaces is connected with a new component to be installed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010026630.1A CN111274185A (en) | 2020-01-10 | 2020-01-10 | Method and system for solving communication interface data compatibility in instrument old part replacement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010026630.1A CN111274185A (en) | 2020-01-10 | 2020-01-10 | Method and system for solving communication interface data compatibility in instrument old part replacement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111274185A true CN111274185A (en) | 2020-06-12 |
Family
ID=71001614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010026630.1A Pending CN111274185A (en) | 2020-01-10 | 2020-01-10 | Method and system for solving communication interface data compatibility in instrument old part replacement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111274185A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111950640A (en) * | 2020-08-14 | 2020-11-17 | 山西太钢不锈钢股份有限公司 | Switch fault processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058991A1 (en) * | 2005-09-15 | 2007-03-15 | Xerox Corporation | Apparatus and method for adapting a machine to communicate with customer replaceable unit monitors having different interface formats |
CN101256216A (en) * | 2007-02-28 | 2008-09-03 | 新科实业有限公司 | Jig for checking characteristic of semiconductor element, characteristic checking device and method |
CN102346477A (en) * | 2011-08-11 | 2012-02-08 | 浙江大学 | Analysis method and equipment for fault diagnosis communication protocol on basis of automotive open system architecture (AUTOSAR) |
CN103248444A (en) * | 2013-05-16 | 2013-08-14 | 中国电子科技集团公司第四十一研究所 | System integration device and system integration method for test parameters based on unit combination |
CN109533359A (en) * | 2018-12-20 | 2019-03-29 | 西安飞机工业(集团)有限责任公司 | A kind of optical fiber navigation attitude instrument system using electromechanical data indicating equipment |
CN110636127A (en) * | 2019-09-20 | 2019-12-31 | 大唐融合通信股份有限公司 | Communication processing method and system between information data |
-
2020
- 2020-01-10 CN CN202010026630.1A patent/CN111274185A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058991A1 (en) * | 2005-09-15 | 2007-03-15 | Xerox Corporation | Apparatus and method for adapting a machine to communicate with customer replaceable unit monitors having different interface formats |
CN101256216A (en) * | 2007-02-28 | 2008-09-03 | 新科实业有限公司 | Jig for checking characteristic of semiconductor element, characteristic checking device and method |
CN102346477A (en) * | 2011-08-11 | 2012-02-08 | 浙江大学 | Analysis method and equipment for fault diagnosis communication protocol on basis of automotive open system architecture (AUTOSAR) |
CN103248444A (en) * | 2013-05-16 | 2013-08-14 | 中国电子科技集团公司第四十一研究所 | System integration device and system integration method for test parameters based on unit combination |
CN109533359A (en) * | 2018-12-20 | 2019-03-29 | 西安飞机工业(集团)有限责任公司 | A kind of optical fiber navigation attitude instrument system using electromechanical data indicating equipment |
CN110636127A (en) * | 2019-09-20 | 2019-12-31 | 大唐融合通信股份有限公司 | Communication processing method and system between information data |
Non-Patent Citations (1)
Title |
---|
赖根等: ""利用软、硬件中间件实现荒废测试仪器的替换"", 《测试技术学报》, pages 106 - 110 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111950640A (en) * | 2020-08-14 | 2020-11-17 | 山西太钢不锈钢股份有限公司 | Switch fault processing method and device |
CN111950640B (en) * | 2020-08-14 | 2022-08-02 | 山西太钢不锈钢股份有限公司 | Switch fault processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN102005818B (en) | Method for detecting consistency of SCD (System Configuration Document) and IED (Intelligent Electronic Device) model on line | |
CN107992008B (en) | Industrial interconnection equipment and use method thereof | |
CN112653738B (en) | Internet of things network debugging system and method | |
EP1245068A1 (en) | Architecture layer interfacing devices and applications | |
CN210041853U (en) | Automatic test system for automobile CAN/LIN bus | |
CN111045416B (en) | Method and device for analyzing CAN (controller area network) signal of whole vehicle by using diagnosis message | |
CN111274185A (en) | Method and system for solving communication interface data compatibility in instrument old part replacement | |
CN112731901B (en) | Integrated diagnosis method based on CAN bus | |
CN111624962B (en) | Data computer lab supplies distribution equipment management and control system | |
CN110705074B (en) | Rapid wire harness principle simulation analysis method | |
CN102004206B (en) | Method for inputting and comparing wiring harness data in automobile wiring harness detection equipment | |
CN2884656Y (en) | Simulator for testing power loading management terminal communication | |
CN115373366A (en) | Interactive diagnosis system, diagnosis method and storage medium | |
CN109212346B (en) | Debugging method of low-voltage intelligent power distribution cabinet | |
CN114924546A (en) | Calibration system and method for hardware-in-loop test | |
CN111008113B (en) | SAS-Expander test method and tool | |
CN208621928U (en) | A kind of control device sent for CAN signal processing | |
CN106021649A (en) | A model configuration detector used for a virtual circuit verifying platform and a control method | |
CN111539321A (en) | Force sensor serial number checking system and method | |
CN112373419A (en) | Automatic test system and method for vehicle-mounted multimedia offline configuration function | |
CN116306473B (en) | PCBA dynamic function detection method and device | |
CN220419830U (en) | Large programmable automatic controller integrating residual voltage frequency measurement function | |
CN110927437B (en) | Method for diagnosing and solving profibus-DP network fault | |
CN107864154B (en) | On-site signal acquisition method and device for information acquisition system |
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 |