CN218830001U - Data acquisition device of GPIB protocol - Google Patents

Data acquisition device of GPIB protocol Download PDF

Info

Publication number
CN218830001U
CN218830001U CN202223421865.4U CN202223421865U CN218830001U CN 218830001 U CN218830001 U CN 218830001U CN 202223421865 U CN202223421865 U CN 202223421865U CN 218830001 U CN218830001 U CN 218830001U
Authority
CN
China
Prior art keywords
gpib
communication unit
processor
data
protocol
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
CN202223421865.4U
Other languages
Chinese (zh)
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.)
Shanghai Xinchao Semiconductor Technology Co ltd
Original Assignee
Shanghai Xinchao Semiconductor Technology 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 Shanghai Xinchao Semiconductor Technology Co ltd filed Critical Shanghai Xinchao Semiconductor Technology Co ltd
Priority to CN202223421865.4U priority Critical patent/CN218830001U/en
Application granted granted Critical
Publication of CN218830001U publication Critical patent/CN218830001U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Communication Control (AREA)

Abstract

The utility model relates to a data acquisition device of GPIB protocol, which comprises a processor, wherein the processor is used for realizing the conversion between the GPIB protocol and the TCP/IP protocol; the first communication unit is connected with the processor and used for realizing data transmission with the equipment end through the first communication unit; the second communication unit is used for realizing the transmission of the internet access data through the second communication unit; the third communication unit is used for realizing the transmission of the analog quantity through the third communication unit; a power supply unit to supply power to the processor and/or to the second communication unit. The utility model discloses a TCP/IP's mode received data and send control command, it can convert GPIB communication protocol transmission to equipment end to transmit to the ethernet through equipment end feedback data and with TCP/IP's mode, its data acquisition who has effectively realized equipment end does not influence the data communication between the equipment end simultaneously.

Description

Data acquisition device of GPIB agreement
Technical Field
The utility model relates to a communication protocol conversion equipment technical field especially relates to a data acquisition device of GPIB agreement suitable for GPIB communication equipment.
Background
The GPIB is an interface bus or connection system used to connect electronic test instruments to a central controller to implement automated testing. GPIB is widely used for remote control of electronic test equipment, from digital multimeters to various signal generators, switch matrices, spectrum analyzers, power meters, network analyzers, and the like.
At present, all equipment in an FT/CP test workshop exchange data through a GPIB protocol to realize a scene of data acquisition and control, but due to the characteristic of GPIB bus communication, a GPIB system does not allow two or more organizers or controllers for data transmission to function simultaneously, namely, the data acquisition work cannot be carried out. On the other hand, if the board card is purchased externally, the stability of the solution is poor, and the cost is higher than the customer expectation.
SUMMERY OF THE UTILITY MODEL
In view of the above-mentioned shortcomings of the prior art, it is an object of the present invention to provide a data acquisition device for GPIB protocol to solve one or more problems of the prior art.
In order to achieve the above purpose, the technical scheme of the utility model is as follows:
a data acquisition device of GPIB protocol comprises
The processor is used for realizing the conversion between the GPIB protocol and the TCP/IP protocol;
the first communication unit is connected with the processor and used for realizing data transmission with a device side through the first communication unit;
the second communication unit is also connected with the processor and is used for realizing the transmission of the internet access data through the second communication unit;
the third communication unit is also connected with the processor and is used for realizing the transmission of the analog quantity through the third communication unit;
a power supply unit to supply power to the processor and/or to the second communication unit.
Further, the first communication unit includes at least one GPIB driver chip and a GPIB interface connected to the GPIB driver chip, where the GPIB interface is used to connect to an equipment terminal, so as to transmit data to the equipment terminal through a GPIB protocol.
Further, the second communication unit includes a PHY chip and a network interface transformer connected to the PHY chip, the PHY chip is also connected to the processor, and the network interface transformer is connected to at least one network interface.
Further, the third communication unit comprises at least one RS485 driver chip and an RS485 interface connected with the RS485 driver chip.
Further, the electrical unit include power module and with the POE module that power module connects, power module's output with the treater is connected, some input and the POE module of power module are connected, the POE module with network interface connects to the realization is got the electricity/is supplied power from network interface through the POE module.
Furthermore, the power supply module is also provided with another part of input ends connected with a DC power supply to realize power supply through the DC power supply, and the input voltage range of the DC power supply is 8-60 VDC.
Further, the output end of the processor is also connected with at least one driving module.
Furthermore, the output end of the processor is also connected with at least one reset module.
Compared with the prior art, the beneficial technical effects of the utility model are as follows
The utility model discloses a TCP/IP's mode received data and send control command, it can convert GPIB communication protocol transmission to equipment end to transmit to the ethernet through equipment end feedback data and with TCP/IP's mode, its data acquisition who has effectively realized equipment end does not influence the data communication between the equipment end simultaneously.
Further, the utility model provides a data acquisition device has IP address and port number, can monitor going into of customer end through the server, if establish the communication after going into even. Similarly, the client can be connected with the server according to the IP address and the port number, connection is established after adaptation, and then data monitoring among all equipment ends is achieved, and the equipment ends are asked and answered in a socket mode.
Drawings
Fig. 1 shows a schematic structural diagram of a data acquisition device of the GPIB protocol according to an embodiment of the present invention.
Fig. 2 shows a schematic flow chart of a data acquisition device of the GPIB protocol according to an embodiment of the present invention.
Fig. 3 shows the embodiment of the present invention is a schematic flow chart of sending data from the first device side in the data acquisition device of the GPIB protocol.
Fig. 4 shows the schematic flowchart of the embodiment of the present invention for transmitting data from the second device side in the data acquisition device using the GPIB protocol.
In the drawings, the reference numbers: 1. a processor; 2. a drive module; 3. a reset module; 4. a power supply module; 5. a chip; 6. a network port transformer; 7. a POE module; 8. inputting a power supply; 9. a first GPIB driver chip; 10. a second GPIB driver chip; 11. an RS485 driving chip; 12. a first GPIB interface; 13. a second GPIB interface; 14. an RS485 interface; 15. a network interface; 16. a first device side; 17. and a second device end.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the following description of the present invention with reference to the accompanying drawings and the following detailed description is provided for a data acquisition apparatus of the GPIB protocol. The advantages and features of the present invention will become more apparent from the following description. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention. To make the objects, features and advantages of the present invention more comprehensible, please refer to the accompanying drawings. It should be understood that the structure, ratio, size and the like shown in the drawings attached to the present specification are only used for matching with the content disclosed in the specification, so as to be known and read by those skilled in the art, and are not used for limiting the limitation of the implementation of the present invention, so that the present invention does not have the essential significance in the technology, and any modification of the structure, change of the ratio relationship or adjustment of the size should still fall within the scope of the technical content disclosed in the present invention without affecting the function and the achievable purpose of the present invention.
The data acquisition device for the GPIB protocol according to this embodiment includes the following structure:
the processor 1 is used for realizing the conversion between the GPIB protocol and the TCP/IP protocol, and mainly converts original data into binary data, then divides the binary data into a plurality of small data segments and packages the data segments.
And the first communication unit is connected with the processor 1 and used for realizing data transmission with the equipment side through the first communication unit.
The first communication unit includes at least one GPIB driver chip and a GPIB interface connected to the GPIB driver chip, and in this embodiment, the at least one GPIB driver chip is a first GPIB driver chip 9 and a second GPIB driver chip 10, where the first GPIB driver chip 9 is connected to a first GPIB interface 12 and the second GPIB driver chip 10 is connected to a second GPIB interface 13. The device end specifically includes a first device end 16 and a second device end 17 in this embodiment, where the first device end 16 may be a controller such as a computer, and the second device end 17 may be a listener such as a probe station, a switch matrix, a signal generator, a power meter, a network analyzer, and the like, where the first device end 16 is connected to the first GPIB interface 12, and the second device end 17 is connected to the second GPIB interface 13.
Further, the data acquisition device further includes a second communication unit, please refer to fig. 1, the second communication unit is also connected to the processor 1, so as to implement transmission of internet access data through the second communication unit;
specifically, with continued reference to fig. 1, the second communication unit includes a PHY chip 5 and a network interface transformer 6 connected to the PHY chip 5, the PHY chip 5 is also connected to the processor 1, and the network interface transformer 6 is connected to at least one network interface 15. The PHY chip 5 is configured to receive and transmit data frames of an ethernet, and the network port transformer 6 is configured to transmit ethernet signals without distortion and meet the requirement of electrical isolation.
Further, the PHY chip 5 may be a PHY chip having N (N =1, 2, 4, 8 … …) ports, one of the ports may be configured as a dedicated electrical interface, directly connected to the network port transformer 6, and then connected to the network interface 15 through the network port transformer 6 to implement a complete electrical interface.
Further, the data acquisition device further comprises a third communication unit, and the third communication unit is also connected with the processor 1, so as to realize the transmission of the analog quantity through the third communication unit.
With continued reference to fig. 1, the third communication unit includes at least one RS485 driver chip 11 and an RS485 interface 14 connected to the RS485 driver chip 11, where the RS485 interface 14 is used for connecting an RS485 device and for inputting and outputting analog quantities. Specifically, the RS485 interface can form a wireless measurement and control network with equipment such as a PLC, a DCS, configuration software, a man-machine section, a touch screen, an intelligent instrument or a sensor, or can be used for parameter setting.
Specifically, the signal with the RS485 communication equipment is sent into the RS485 driver chip through the RS485 interface 14, the RS485 driver chip 11 converts the signal into a signal which can be identified by the processor 1, and the driver module 2 of the RS485 driver chip 11, namely the indicator light, can check whether the communication between the RS485 driver chip and the RS485 communication equipment is normal.
Further, please continue to refer to fig. 1, the data acquisition apparatus further includes a power supply unit, and the power supply unit is configured to supply power to the processor 1 and/or to the second communication unit.
Specifically, power supply unit includes power module 4 and the POE module 7 of being connected with power module 4, and is preferred, power module 4 adopts DCDC to keep apart power module in this embodiment, POE module 7 is connected with network interface 15 to the realization is got the electricity/is supplied power from network interface 15 through POE module 7.
Of course, with continued reference to fig. 1, the power module 4 may also adopt other power supply modes, for example, power supply, the power module 4 is connected to the DC power supply 8, and the input voltage range of the DC power supply 8 is 8 to 60VDC.
Above-mentioned DC power 8 gets the electricity or gets two kinds of electricity modes of getting the electricity through POE module 7 and can go on simultaneously or choose one of them electricity mode of getting wantonly all, to this, the utility model discloses do not do further restriction.
Further, please refer to fig. 1, an output end of the processor 1 is connected to at least one driving module 2, and the driving module 2 is preferably an indicator light, which may be any one or more of a system status indicator light or a power indicator light. And the starting state of the data acquisition device is observed through the power indicator lamp, and the state of the data acquisition device is observed through the system state indicator lamp.
Further, please refer to fig. 1, an output end of the processor 1 is further connected to at least one reset module 3, preferably, the reset module 3 is a system reset key in this embodiment, and default configuration parameters can be restored through the system reset key.
Correspondingly, the utility model discloses a work process according to above-mentioned a data acquisition device for GPIB agreement as follows:
s0: sending a collection instruction: and the user sends an acquisition instruction to the data acquisition device through the Ethernet by using the socket client. The socket is called a socket and describes an IP address and a port of a computer, and programs running in the computer adopt the socket for data communication, and the process of the socket communication specifically comprises the following steps:
the socket server program binds a socket to a specified IP address and port, and waits and monitors the request of a client through the socket;
(II) the client program sends a connection request to the address and the port bound by the socket server program;
(III) the service end accepts the connection request;
and (IV) the socket client and the socket server communicate through the read-write socket.
Further, the socket server is a PHY chip 5 in the data acquisition device, and has an IP address and a port number, and a user needs to use a socket client to adapt to the IP address and the port number of the data acquisition device, and the socket server monitors whether the socket client exists, and establishes communication if the socket client exists, or otherwise, the socket client connects to the socket server according to the IP address and the port number, and establishes connection if the socket server with the adaptation is found.
S1: referring to fig. 2, a collection command is received: the acquisition instruction is sent to the PHY chip 5 of the data acquisition device through the network interface 15, the PHY chip 5 converts the acquisition instruction into a signal which can be identified by the processor 1 and sends the signal to the processor 1, the processor 1 receives the signal in the form of a socket server and then checks whether the signal is idle, if the signal is idle, the data in the instruction is disassembled, and then the disassembled data is sent to the second GPIB interface 13 through the second GPIB driving chip 10.
S2: and completing the data transmission between the current time period and the first equipment end and/or the second equipment end. Referring to fig. 2, specifically, when the processor 1 receives the acquisition instruction, it first completes data transmission between the current time slot and the device side, for example, completes data transmission between the processor 1 and the first device side 16 and/or completes data transmission between the processor 1 and the second device side 17 in the current time slot, and the specific transmission process is described in steps A1 to A3 and steps B1 to B3.
S3: with continued reference to fig. 1 and fig. 2, the second device 17 responds after reading data from the second GPIB interface 13, and returns data if the command format of the second device 17 is met, otherwise, the data is not returned.
S4: the data acquisition device reads data from the second GPIB interface 13, and feeds the read data back to the processor 1 through the second GPIB driver chip 10, or the read data is intercepted by the processor 1, and the read data is divided into a plurality of small data segments through the processor 1, and simultaneously encapsulated into a GP7 protocol (a self-defined protocol), and sent back to the ethernet through the Socket server, and specifically, the reply data is fed back to the PHY chip 5 by the processor 1 and transmitted to the ethernet through the network port transformer 6 and the network interface 16.
S5: the user may receive reply data from the Socket server.
S6: and the data acquisition device performs data transmission with the first equipment end 16 and the second equipment end 17 again.
Referring to fig. 1 and 3, specifically, the data transmission process of the first device 16, i.e. the controller, is as follows:
a1: the first device terminal 16 sends the data to the first GPIB interface 12 of the data acquisition apparatus.
A2: data are transmitted to the processor 1 through the first GPIB interface 12 and the first GPIB driver chip 9, the processor 1 converts a TCP/IP protocol into a GPIB protocol and sends the GPIB protocol to the Socket client, and meanwhile, the data are transmitted to the second GPIB interface 13 through the second GPIB driver chip 10.
A3: the second device terminal 17 receives data via the second GPIB interface 13.
Similarly, referring to fig. 1 and fig. 4, the process of sending data by the second device 17 is as follows:
b1: the second device terminal 17 sends the data to the second GPIB interface 13 of the data acquisition apparatus in the form of TCP/IP protocol.
B2: and receiving and transmitting the data to the processor 1 through the second GPIB driver chip 10 and the second GPIB interface 13, wherein if the Socket client is connected, the processor 1 converts the data into a GPIB protocol and transmits the GPIB protocol to the Socket client, and simultaneously transmits the data to the first GPIB interface 12.
B3: the first device terminal 16 receives data from the first GPIB interface 12. The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only represent several embodiments of the present invention, and the description thereof is specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, without departing from the spirit of the present invention, several variations and modifications can be made, which are within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (8)

1. The utility model provides a data acquisition device of GPIB protocol which characterized in that: the data acquisition device comprises
The processor is used for realizing the conversion between the GPIB protocol and the TCP/IP protocol;
the first communication unit is connected with the processor and used for realizing data transmission with a device side through the first communication unit;
the second communication unit is also connected with the processor and is used for realizing the transmission of the internet access data through the second communication unit;
the third communication unit is also connected with the processor and is used for realizing the transmission of the analog quantity through the third communication unit;
a power supply unit for supplying power to the processor and/or to the second communication unit.
2. The GPIB protocol data collection apparatus of claim 1, wherein: the first communication unit comprises at least one GPIB driving chip and a GPIB interface connected with the GPIB driving chip, and the GPIB interface is used for being connected with the equipment end so as to transmit data to the equipment end through a GPIB protocol.
3. The apparatus for data acquisition of the GPIB protocol of claim 2, wherein: the second communication unit comprises a PHY chip and a network port transformer connected with the PHY chip, the PHY chip is also connected with the processor, and the network port transformer is connected with at least one network interface.
4. The GPIB protocol data collection apparatus of claim 1, wherein: the third communication unit comprises at least one RS485 driving chip and an RS485 interface connected with the RS485 driving chip.
5. A GPIB protocol data collection apparatus according to claim 3 wherein: the power supply unit includes power module and with the POE module that power module connects, power module's output with the treater is connected, power module's some input and POE module are connected, the POE module with network interface connects to the realization is got the electricity/is supplied power from network interface department through the POE module.
6. The apparatus for data acquisition of the GPIB protocol of claim 5 wherein: the power supply module is also provided with another part of input ends connected with a DC power supply to realize power supply through the DC power supply, and the input voltage range of the DC power supply is 8-60 VDC.
7. The GPIB protocol data collection apparatus of claim 1, wherein: the output end of the processor is also connected with at least one driving module.
8. The data acquisition apparatus for the GPIB protocol of claim 1 wherein: the output end of the processor is also connected with at least one reset module.
CN202223421865.4U 2022-12-20 2022-12-20 Data acquisition device of GPIB protocol Active CN218830001U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223421865.4U CN218830001U (en) 2022-12-20 2022-12-20 Data acquisition device of GPIB protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223421865.4U CN218830001U (en) 2022-12-20 2022-12-20 Data acquisition device of GPIB protocol

Publications (1)

Publication Number Publication Date
CN218830001U true CN218830001U (en) 2023-04-07

Family

ID=87047060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223421865.4U Active CN218830001U (en) 2022-12-20 2022-12-20 Data acquisition device of GPIB protocol

Country Status (1)

Country Link
CN (1) CN218830001U (en)

Similar Documents

Publication Publication Date Title
US8107491B2 (en) System and method for providing communication between intelligent electronic devices via an open channel
CA2229318C (en) Interface monitor for communicating between different communication protocols
CN111175601A (en) Modular functional test system
CN101107578B (en) Automation system
CN218830001U (en) Data acquisition device of GPIB protocol
EP2466407A1 (en) Monitoring inverters in a photovoltaic system
CN112564772B (en) Satellite data acquisition system
CN115801909A (en) Data acquisition device and method of GPIB protocol
CN211427481U (en) Function detection device for electricity consumption information acquisition terminal
CN111258836B (en) Multifunctional vehicle bus consistency testing device and method
CN211406038U (en) POE switch's test system and device
CN114337802A (en) Transformer substation fiber alignment device and method
CN112187766A (en) Modbus protocol conversion terminal configuration method and Modbus protocol conversion terminal
CN206489424U (en) The control device and monitoring system of monitoring device in a kind of tunnel
CN217935651U (en) Modbus analog quantity converter
CN111683142A (en) Metering device, metering method, and computer-readable storage medium
CN114859283B (en) System and method for testing full performance of measuring unit
CN219834181U (en) IP adapter of HART instrument and network system thereof
CN219437011U (en) Multi-communication protocol debugging equipment
CN216086678U (en) Automatic testing arrangement of intelligent terminal based on ethernet
CN219718252U (en) Hub for multi-device data transmission
CN220651102U (en) Digital signal input/output control circuit and card type bus IO module
Lin Research on voltage acquisition system based on modbus industrial bus and single chip
CN2630864Y (en) Long distance calibrating installation for electric energy meter
CN216670562U (en) Online collection, operation and maintenance supporting device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant