CN205210586U - System for read HART instrument parameter through USB interface - Google Patents
System for read HART instrument parameter through USB interface Download PDFInfo
- Publication number
- CN205210586U CN205210586U CN201520706430.5U CN201520706430U CN205210586U CN 205210586 U CN205210586 U CN 205210586U CN 201520706430 U CN201520706430 U CN 201520706430U CN 205210586 U CN205210586 U CN 205210586U
- Authority
- CN
- China
- Prior art keywords
- pin
- hart
- resistance
- chip
- instrument
- 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
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model provides a system for read HART instrument parameter through USB interface is applied to automation instrument control field, the utility model discloses utilize agreement control module to come to analyze the order that the host computer system sent out to send the analytic signal that obtains to the HART instrument in through HART signal transceiver module, in order to read corresponding HART signal parameter, later this HART signal parameter passes back via HART signal transceiver module and protocol conversion module and shows in the host computer. The utility model discloses relative prior art can realize cheaply changing of HART agreement instrument parameter testing, saves the expense that must adopt the professional test equipment that costs an arm and a leg among the prior art, greatly reduced the maintenance cost.
Description
Technical field
The utility model relates to instrument and meter for automation technical field of measurement and test, particularly relates to a kind of system being read HART instrument parameter by USB interface.
Background technology
For many years, HART protocol-intelligent instrument is the main flow communication protocol of industrial automation always, and HART protocol signal is superimposed upon on the 4-20 milliampere current loop of instrument, represents with the electric current of peak-to-peak value about 0.5 milliampere, wherein 1200Hz frequency is numeral 1,2200Hz frequency is numeral 0.The parameter reading and writing of HART agreement instrument is all generally come by the proprietary manual operator of each large manufacturer production.Usual this kind of manual operator product expensive, the expense of later product upgrading is also higher, and simultaneously because the program of manual operator is solidification, can not carry out quadratic programming to it, flexibility ratio is not high.Therefore be necessary that design is a kind of cheap, can quadratic programming HART agreement instrument parameter reading system.And PC is general developing instrument the most general at present, cheap, support that multiple programming mode is developed, especially present PC especially portable notebook all eliminates parallel port and serial ports configuration, only has USB interface, therefore, native system adopts and sends order to HART protocol analysis CPU by PC USB interface mouth, reads HART instrument parameter.
Utility model content
The shortcoming of prior art in view of the above, the purpose of this utility model is to provide a kind of system being read HART instrument parameter by USB interface, to need to carry out by expensive professional equipment the problem that operates for solving in the parameter testing of existing HART agreement instrument.
For achieving the above object and other relevant objects, the utility model provides following technical scheme:
A kind of system being read HART instrument parameter by USB interface, comprise master system and HART instrument, described system also comprises: protocol conversion module, communicated to connect by USB interface and master system, HART order for exporting master system is resolved the digital signal that obtains comprising corresponding generic command type and is exported, and the HART signal parameter also for returning HART instrument change after be uploaded to master system; HART signal transmitting and receiving module, be connected to described protocol conversion module and examine leakage resistance and described HART Instrument connection by one, the standard HART signal converted to for the digital signal exported by described protocol conversion module is also injected into for HART Meter recognition on described inspection leakage resistance, and also for the HART signal parameter that also passback exports of standard HART signal described in described HART instrument response is sent to protocol conversion module.
As the preferred version of the system above by USB interface reading HART instrument parameter, described protocol conversion module is the USBFLASH microcontroller of C5051F340 type, wherein, the pin 7,8,9,10 of described USBFLASH microcontroller connects 1,2,3,4 stitch of USB interface respectively successively, and the pin two 7,28,29,30,31 of USBFLASH microcontroller connects HART signal transmitting and receiving module respectively.
As the preferred version of the system above by USB interface reading HART instrument parameter, described HART signal transmitting and receiving module is at least made up of A5191 type HART agreement demodulation integrated chip and isolating transformer T1, wherein, isolating transformer T1 input end is connected pin one 6 and the pin one 1 of chip A5191 respectively successively respectively by resistance R1 and a comparer, the output terminal of comparer is connected with isolating transformer T1 input end by a resistance R2, the in-phase input end of comparer connects the pin one 1 of chip A5191, the reverse input end of comparer connects the output terminal of comparer by a resistance R4, the output terminal of isolating transformer T1 is connected in the two ends of inspection leakage resistance Rx in parallel, and one end of described inspection leakage resistance connects cathode power supply, and the other end of described inspection leakage resistance Rx connects HART instrument, the pin one 1 of chip A5191 is sequentially connected in series grounding connection after resistance R5 and resistance R6, the pin one 2 of chip A5191 is connected between resistance R5 and resistance R6, the pin 6 of chip A5191, pin one 5, pin one 8 and pin two 2 are successively by an electric capacity C2, electric capacity C3, electric capacity C4 and electric capacity C5 grounding connection, a resistance R7 is also parallel with between the pin 6 of chip A5191 and pin two 2, the pin one 7 of chip A5191 connects the pin one 8 of chip A5191 by a resistance R8, the pin one of chip A5191, pin 5, pin 7, pin 8, pin 9, pin one 4, pin two 0 and pin two 1 grounding connection respectively, pin one 3 is connected to pin 7 by a resistance R9, the pin two 3 of chip A5191, pin two 7, pin one 9, pin two 4, pin two 6 connects the pin two 7 of USBFLASH microcontroller respectively, pin two 8, pin two 9, pin 30, pin 31.
Hinge structure, the above scheme that the utility model provides can realize cheapization of HART agreement instrument parameter testing, saves in prior art the expense that must adopt expensive professional test equipment, greatly reduces maintenance cost.
Accompanying drawing explanation
Fig. 1 is shown as the utility model reads the system of HART instrument parameter embodiment schematic diagram by USB interface.
Fig. 2 is shown as an embodiment schematic diagram of protocol conversion module in the utility model.
Fig. 3 is shown as an embodiment schematic diagram of HART signal transmitting and receiving module in the utility model.
Fig. 4 is shown as and utilizes the utility model to realize the process flow diagram of HART instrument parameter detecting.
Embodiment
Below by way of specific instantiation, embodiment of the present utility model is described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present utility model and effect easily.The utility model can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present utility model.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present utility model in a schematic way, then only the assembly relevant with the utility model is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
At present, on market, the parameter testing of HART agreement instrument is mainly realized by the special manual operator of major company, as 475 manual operators of Rosemount INC. (US) 12001 West 78th Street Prairie, Minnesota 55344 U.S.A., this kind of manual operator is expensive, basic module price is about 30,000 U.S. dollars, safeguard and also need professional, and to read HART agreement instrument bound of parameter face be solid-state, the multiple display needs of client can not be met.In order to solve the problem, the utility model proposes a kind of HART instrument parameter reading circuit cheap for manufacturing cost, below the technical scheme provided the utility model being described in detail.
Refer to Fig. 1, give a kind of system embodiment schematic diagram being read HART instrument parameter by USB interface, as shown in the figure, described system comprises master system, protocol conversion module and HART signal transmitting and receiving module, wherein, protocol conversion module is communicated to connect by USB interface and master system, HART order for exporting master system is resolved the digital signal that obtains comprising corresponding generic command type and is exported, HART signal transmitting and receiving model calling is in protocol conversion module, digital signal for being exported by protocol conversion module converts the standard HART signal for HART Meter recognition to and the HART signal parameter returning output after this standard HART signal of HART instrument response is sent to protocol conversion module, protocol conversion module is uploaded to master system after changing this HART signal parameter again.
In conjunction with such scheme, in specifically implementing, generic command is utilized to be described to read HART instrument signal parameter the process that master system starts a HART instrument parameter detecting again: operating personnel first can at master system to select generic command type, then master system sends generic command type to protocol conversion module by USB interface, protocol conversion module is resolved this generic command type by the agreement that predefined is good, obtain the digital signal comprising generic command type, then this digital signal is converted to standard HART signal and is sent in HART instrument by HART signal transmitting and receiving module establishing criteria HART agreement, after HART instrument receives this standard HART signal passback export corresponding HART signal parameter and receive by HART signal transmitting and receiving module, this HART signal parameter is sent to protocol conversion module by HART signal transmitting and receiving module, this HART signal parameter is uploaded in master system and shows by final agreement modular converter again, so far complete HART order transmitting-receiving process is completed once.
In concrete enforcement, referring again to Fig. 1, examine leakage resistance Rx to be of coupled connections by one between HART instrument and HART signal transmitting and receiving module, that is, standard HART signal is sent to for HART Meter recognition on inspection leakage resistance Rx by HART signal transmitting and receiving module, and HART signal transmitting and receiving module is also identify that receiving HART instrument exports HART signal parameter by inspection leakage resistance Rx simultaneously; In addition, HART instrument also identifies reception standard HART signal by inspection leakage resistance Rx.
Referring again to Fig. 2, give a kind of embodiment schematic diagram of protocol conversion module, as shown in the figure, in this enforcement, protocol conversion module adopts the USBFLASH microcontroller (hereinafter referred: controller) of C5051F340 type, wherein, the pin 7 of controller, pin 8, pin 9, pin one 0 connect 1,2,3,4 stitch of USB interface (AMP4) respectively successively, and the pin two 7 of controller, pin two 8, pin two 9, pin 30, pin 31 connect HART signal transmitting and receiving module (hereafter will describe in detail) respectively.
Composition graphs 3 again, give a kind of embodiment figure of HART signal transmitting and receiving module, as shown in the figure, HART signal transmitting and receiving module adopts A5191 type HART agreement demodulation integrated chip and isolating transformer T1, wherein, isolating transformer T1 input end is connected pin one 6 and the pin one 1 of chip A5191 respectively successively respectively by resistance R1 and a comparer, wherein, the output terminal of comparer is connected with isolating transformer T1 input end by a resistance R2, the in-phase input end of comparer connects the pin one 1 of chip A5191, the reverse input end of comparer connects the output terminal of comparer by a resistance R4, the output terminal of isolating transformer T1 is connected in the two ends of inspection leakage resistance Rx in parallel, one end of described inspection leakage resistance Rx connects cathode power supply, the other end of described inspection leakage resistance connects HART instrument, wherein one end of isolating transformer T1 output terminal is connected between inspection leakage resistance Rx and HART instrument by resistance R3, and the other end is connected to the other end of inspection leakage resistance Rx by electric capacity C1.
In addition, the pin one 1 of chip A5191 is by being sequentially connected in series grounding connection after resistance R5 and resistance R6, the pin one 2 of chip A5191 is connected between resistance R5 and resistance R6, the pin 6 of chip A5191, pin one 5, pin one 8 and pin two 2 are successively by an electric capacity C2, electric capacity C3, electric capacity C4 and electric capacity C5 grounding connection, a resistance R7 is also parallel with between the pin 6 of chip A5191 and pin two 2, the pin one 7 of chip A5191 connects the pin one 8 of chip A5191 by a resistance R8, the pin one of chip A5191, pin 5, pin 7, pin 8, pin 9, pin one 4, pin two 0 and pin two 1 grounding connection respectively, pin one 3 is connected to pin 7 by a resistance R9, the pin two 3 of chip A5191, pin two 7, pin one 9, pin two 4, pin two 6 connects the pin two 7 of aforementioned controllers respectively, pin two 8, pin two 9, pin 30, pin 31, all the other pins can do unsettled process.
Specifically, the above-mentioned controller as protocol conversion module, the conversion of digital signal to simulating signal is realized by chip A5191, the digital signal transition that controller exports be the simulating signal (i.e. standard HART signal) of 1200Hz and 2200Hz and be injected on the inspection leakage resistance for HART Meter recognition by isolating transformer T1, thus realizing signal conversion.
Again particularly, refer to Fig. 4 and composition graphs 1-3, wherein, Fig. 4 is the process flow diagram realizing HART instrument parameter detecting, wherein, controller (i.e. protocol conversion module) adopts C5051F340 chip, and this controller internal USB protocol analysis circuit and firmware unit, make usb protocol processing procedure greatly simplify.Host computer starts a HART instrument parameter detecting process, for generic command, generic command type is selected according to host computer procedure interface selectable, host computer procedure sends order to controller C5051F340 by USB interface, the generic command type that the protocol analysis that controller passes through to preset is corresponding, and by HART signal transmitting and receiving module, the standard HART signal comprising HART information is sent on inspection leakage resistance Rx according to the requirement of standard HART agreement, such HART information is just coupled in HART instrument, HART instrument transmits corresponding HART signal parameter at resistance Rx two ends after receiving corresponding HART information, this HART signal parameter passes controller back by HART signal transmitting and receiving module again, and finally passed back in host computer by USB interface and show, so far complete with this complete HART order transmitting-receiving process.
In sum, the such scheme that the utility model provides not only comes cheap compared with prior art in manufacturing cost, and effectively can realize the reading of host computer for HART instrument parameter equally, very practical in actual production.So the utility model effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present utility model and effect thereof only, but not for limiting the utility model.Any person skilled in the art scholar all without prejudice under spirit of the present utility model and category, can modify above-described embodiment or changes.Therefore, such as have in art and usually know that the knowledgeable modifies or changes not departing from all equivalences completed under the spirit and technological thought that the utility model discloses, must be contained by claim of the present utility model.
Claims (3)
1. read a system for HART instrument parameter by USB interface, comprise master system and HART instrument, it is characterized in that: described system also comprises:
Protocol conversion module, communicated to connect by USB interface and master system, HART order for exporting master system is resolved the digital signal that obtains comprising corresponding generic command type and is exported, and the HART signal parameter also for returning HART instrument change after be uploaded to master system;
HART signal transmitting and receiving module, be connected to described protocol conversion module and examine leakage resistance and described HART Instrument connection by one, the standard HART signal converted to for the digital signal exported by described protocol conversion module is also injected into for HART Meter recognition on described inspection leakage resistance, and also for the HART signal parameter that also passback exports of standard HART signal described in described HART instrument response is sent to protocol conversion module.
2. the system being read HART instrument parameter by USB interface according to claim 1, it is characterized in that: described protocol conversion module is the USBFLASH microcontroller of C5051F340 type, wherein, the pin 7,8,9,10 of described USBFLASH microcontroller connects 1,2,3,4 stitch of USB interface respectively successively, and the pin two 7,28,29,30,31 of USBFLASH microcontroller connects HART signal transmitting and receiving module respectively.
3. the system being read HART instrument parameter by USB interface according to claim 2, it is characterized in that: described HART signal transmitting and receiving module is at least made up of A5191 type HART agreement demodulation integrated chip and isolating transformer T1, wherein, isolating transformer T1 input end is connected pin one 6 and the pin one 1 of chip A5191 respectively successively respectively by resistance R1 and a comparer, the output terminal of comparer is connected with isolating transformer T1 input end by a resistance R2, the in-phase input end of comparer connects the pin one 1 of chip A5191, the reverse input end of comparer connects the output terminal of comparer by a resistance R4, the output terminal of isolating transformer T1 is connected in the two ends of inspection leakage resistance Rx in parallel, and one end of described inspection leakage resistance connects cathode power supply, and the other end of described inspection leakage resistance Rx connects HART instrument, the pin one 1 of chip A5191 is sequentially connected in series grounding connection after resistance R5 and resistance R6, the pin one 2 of chip A5191 is connected between resistance R5 and resistance R6, the pin 6 of chip A5191, pin one 5, pin one 8 and pin two 2 are successively by an electric capacity C2, electric capacity C3, electric capacity C4 and electric capacity C5 grounding connection, a resistance R7 is also parallel with between the pin 6 of chip A5191 and pin two 2, the pin one 7 of chip A5191 connects the pin one 8 of chip A5191 by a resistance R8, the pin one of chip A5191, pin 5, pin 7, pin 8, pin 9, pin one 4, pin two 0 and pin two 1 grounding connection respectively, pin one 3 is connected to pin 7 by a resistance R9, the pin two 3 of chip A5191, pin two 7, pin one 9, pin two 4, pin two 6 connects the pin two 7 of USBFLASH microcontroller respectively, pin two 8, pin two 9, pin 30, pin 31.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520706430.5U CN205210586U (en) | 2015-09-11 | 2015-09-11 | System for read HART instrument parameter through USB interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520706430.5U CN205210586U (en) | 2015-09-11 | 2015-09-11 | System for read HART instrument parameter through USB interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205210586U true CN205210586U (en) | 2016-05-04 |
Family
ID=55848294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520706430.5U Active CN205210586U (en) | 2015-09-11 | 2015-09-11 | System for read HART instrument parameter through USB interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205210586U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105159197A (en) * | 2015-09-11 | 2015-12-16 | 重庆川仪自动化股份有限公司 | System for reading HART instrument parameter using USB interface |
-
2015
- 2015-09-11 CN CN201520706430.5U patent/CN205210586U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105159197A (en) * | 2015-09-11 | 2015-12-16 | 重庆川仪自动化股份有限公司 | System for reading HART instrument parameter using USB interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204832267U (en) | Chip test platform | |
CN102662835B (en) | A kind of program debugging method for embedded system and embedded system | |
CN103226506B (en) | Chip-embedded USB to JTAG debugging device and debugging method | |
CN101882108A (en) | Embedded software automatic test system and method thereof | |
CN104820637A (en) | Handheld type USB3.0 protocol analyzer | |
CN104516798A (en) | Wireless one-to-many test system | |
CN108924014A (en) | A kind of electric system 4G wireless module test device and test method | |
CN103905410A (en) | Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol | |
CN109683882B (en) | NB-IOT terminal software development method based on mobile terminal in visual environment | |
CN103064011B (en) | Examining system and method in a kind of rfid interrogator chip | |
CN205210586U (en) | System for read HART instrument parameter through USB interface | |
CN105159197A (en) | System for reading HART instrument parameter using USB interface | |
CN106324555A (en) | General virtual electric energy meter for electric energy meter data acquisition terminal test system | |
CN105068482A (en) | Control method and control circuit for realizing CPLD online programming and off-line programming | |
CN116257037B (en) | Method, system, electronic device and storage medium for generating controller test program | |
CN208054656U (en) | Elevator control system | |
CN105371884A (en) | Circuit and system for reading parameters of HART instrument through RS232 | |
CN102426291A (en) | Single-phase multifunctional electric quantity instrument and measuring method thereof | |
CN104022933A (en) | Vehicle bus debugging system based on multi-mode signal conversion | |
CN104035422B (en) | A kind of method for computing data based on intelligent mobile terminal | |
CN116794493A (en) | Device, system and method for testing connection interface by transmitting instruction through circuit board circuit | |
CN212256068U (en) | PC serial port I2C and multichannel IO control system | |
CN211352215U (en) | 5G communication module test assembly and computer equipment | |
CN209731277U (en) | Development of intelligent laboratory gateway based on ZYNQ | |
CN208924262U (en) | A kind of electric system 4G wireless module test device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |