CN211930788U - A master-slave configurable Hart interface circuit - Google Patents
A master-slave configurable Hart interface circuit Download PDFInfo
- Publication number
- CN211930788U CN211930788U CN202021085302.0U CN202021085302U CN211930788U CN 211930788 U CN211930788 U CN 211930788U CN 202021085302 U CN202021085302 U CN 202021085302U CN 211930788 U CN211930788 U CN 211930788U
- Authority
- CN
- China
- Prior art keywords
- hart
- resistor
- terminal
- master
- slave
- 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.)
- Expired - Fee Related
Links
- 238000001914 filtration Methods 0.000 claims abstract description 8
- 239000003990 capacitor Substances 0.000 claims description 30
- 238000004891 communication Methods 0.000 abstract description 11
- 238000013461 design Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本实用新型实施例公开了一种主从可配置的Hart接口电路,其包括:Hart从模式电路、Hart主模式电路、Hart信号滤波电路、Hart调制解调器、主控器以及电源电路;其中,所述Hart从模式电路,其一端电连接Hart从终端的接线端,另一端电连接Hart调制解调器;所述Hart主模式电路,其一端电连接Hart主终端的接线端,另一端电连接Hart调制解调器;所述Hart信号滤波电路与所述Hart调制解调器电连接;所述Hart调制解调器电连接所述主控器。本实用新型可以根据需求灵活配置对应的的接口电路,实现与工业现场总线的数字通讯;同时还可以简化工程人员的产品设计,在不增加成本的前提下,为用户提供主从可配置的hart接口电路。
The embodiment of the utility model discloses a master-slave configurable Hart interface circuit, which includes: a Hart slave mode circuit, a Hart master mode circuit, a Hart signal filter circuit, a Hart modem, a master controller and a power supply circuit; wherein, the Hart slave mode circuit, one end of which is electrically connected to the terminal of the Hart slave terminal, and the other end is electrically connected to the Hart modem; the Hart master mode circuit, one end of which is electrically connected to the terminal of the Hart master terminal, and the other end is electrically connected to the Hart modem; the The Hart signal filtering circuit is electrically connected to the Hart modem; the Hart modem is electrically connected to the main controller. The utility model can flexibly configure the corresponding interface circuit according to the requirements to realize the digital communication with the industrial field bus; at the same time, the product design of the engineers can be simplified, and the master-slave configurable hart can be provided for users without increasing the cost. Interface Circuit.
Description
技术领域technical field
本实用新型涉及通信接口技术领域,尤其涉及一种主从可配置的Hart接口电路。The utility model relates to the technical field of communication interfaces, in particular to a master-slave configurable Hart interface circuit.
背景技术Background technique
原来的老式模拟变送器逐渐退出了历史舞台,取而代之是以微控制器为数据处理和控制核心的智能变送器。智能变送器扩展了模拟变送器的功能,不仅提高了测量精度和工作可靠性,还可以很容易地实现线性化处理、温度补偿、自动零点和量程调整及数字通信等功能。The original old-fashioned analog transmitter has gradually withdrawn from the stage of history, and replaced by an intelligent transmitter with a microcontroller as the core of data processing and control. The smart transmitter expands the functions of the analog transmitter, not only improves the measurement accuracy and reliability, but also easily realizes functions such as linearization, temperature compensation, automatic zero and span adjustment, and digital communication.
由于工业现场使用4~20mA标准的变送器仍大量存在,考虑到与标准模拟信号的兼容性,美国Rosemount公司提出了HART通信协议。目前,HART协议己成为全球应用最为广泛的现场通信协议之一。Since there are still a large number of transmitters using the 4-20mA standard in the industrial field, considering the compatibility with standard analog signals, the American Rosemount Company proposed the HART communication protocol. At present, the HART protocol has become one of the most widely used field communication protocols in the world.
目前,现有的基于HART调制解调器电路设计相当复杂,且根据应用需求基本上是采用从模式的智能变送器较多。但是,若遇到需要对现场执行器通过4-20mA进行控制并可以配置控制参数的要求,这就要额外采用HART主模式接口电路。At present, the existing HART modem-based circuit design is quite complicated, and basically there are many smart transmitters that use slave mode according to application requirements. However, if it is required to control the field actuator through 4-20mA and the control parameters can be configured, it is necessary to additionally use the HART master mode interface circuit.
发明内容SUMMARY OF THE INVENTION
基于此,为解决在现有技术存在的不足,特提出了一种主从可配置的hart接口电路。Based on this, in order to solve the deficiencies in the prior art, a master-slave configurable hart interface circuit is proposed.
一种主从可配置的Hart接口电路,其特征在于,包括:Hart从模式电路、Hart主模式电路、Hart信号滤波电路、Hart调制解调器、主控器以及电源电路;其中所述Hart从模式电路,其一端电连接Hart从终端的接线端,另一端电连接Hart调制解调器;所述Hart主模式电路,其一端电连接Hart主终端的接线端,另一端电连接Hart调制解调器;所述Hart信号滤波电路与所述Hart调制解调器电连接;所述Hart调制解调器电连接所述主控器。A master-slave configurable Hart interface circuit, comprising: a Hart slave mode circuit, a Hart master mode circuit, a Hart signal filter circuit, a Hart modem, a master controller, and a power supply circuit; wherein the Hart slave mode circuit, One end is electrically connected to the terminal of the Hart slave terminal, and the other end is electrically connected to the Hart modem; one end of the Hart master mode circuit is electrically connected to the terminal of the Hart master terminal, and the other end is electrically connected to the Hart modem; The Hart modem is electrically connected; the Hart modem is electrically connected to the host controller.
可选的,在其中一个实施例中,所述Hart调制解调器与主控器之间通过UART接口以及SPI接口实现连接。Optionally, in one of the embodiments, the Hart modem and the host controller are connected through a UART interface and an SPI interface.
可选的,在其中一个实施例中,所述Hart信号滤波电路采用带通滤波器。Optionally, in one embodiment, the Hart signal filtering circuit adopts a band-pass filter.
可选的,在其中一个实施例中,所述Hart调制解调器采用NCN5193 CMOS调制解调器。Optionally, in one of the embodiments, the Hart modem adopts an NCN5193 CMOS modem.
可选的,在其中一个实施例中,所述Hart主模式电路包括:第一电阻R16、第二电阻R17、第三电阻R18、第四电阻R19、第五电阻R20、第六电阻R21、第七电阻R22、第一PNP晶体管Q2、第一模拟开关U2、第一电容C8、第二电容C9、第一运算放大器AS2A;其中,所述第一电阻R16一端连接RTS引脚,另一端连接第一PNP晶体管Q2的基极;所述第一PNP晶体管Q2的发射极连接电源,集电极连接第一运算放大器AS2A的同相输入端;所述第二电阻R17一端连接第一PNP晶体管Q2的集电极,另一端接地;所述第五电阻R20一端连接ARTF引脚,另一端连接第一运算放大器AS2A的同相输入端;所述第一运算放大器AS2A的反相输入端接地,其输出端连接第一模拟开关U2的动端;第一模拟开关U2其中一个不动端经由第一电容C8连接Hart主终端的LOOP+接线端,另一不动端连接第一PNP晶体管Q2的集电极;所述第三电阻R18一端连接ADC引脚,另一端连接Hart主终端的LOOP+接线端;所述第四电阻R19一端连接所述第三电阻R18,另一端连接Hart主终端的LOOP-接线端;所述第六电阻R21一端经由第七电阻R22连接T×AM引脚;所述第二电容C9一端连接所述第一运算放大器AS2A的输出端,另一端连接所述第一运算放大器AS2A的反相输入端。Optionally, in one of the embodiments, the Hart main mode circuit includes: a first resistor R16, a second resistor R17, a third resistor R18, a fourth resistor R19, a fifth resistor R20, a sixth resistor R21, a Seven resistors R22, the first PNP transistor Q2, the first analog switch U2, the first capacitor C8, the second capacitor C9, and the first operational amplifier AS2A; wherein, one end of the first resistor R16 is connected to the RTS pin, and the other end is connected to the first The base of a PNP transistor Q2; the emitter of the first PNP transistor Q2 is connected to the power supply, and the collector is connected to the non-inverting input terminal of the first operational amplifier AS2A; one end of the second resistor R17 is connected to the collector of the first PNP transistor Q2 , the other end is grounded; one end of the fifth resistor R20 is connected to the ARTF pin, and the other end is connected to the non-inverting input end of the first operational amplifier AS2A; the inverting input end of the first operational amplifier AS2A is grounded, and its output end is connected to the first operational amplifier AS2A. The moving end of the analog switch U2; one of the fixed ends of the first analog switch U2 is connected to the LOOP+ terminal of the Hart main terminal via the first capacitor C8, and the other fixed end is connected to the collector of the first PNP transistor Q2; the third One end of the resistor R18 is connected to the ADC pin, and the other end is connected to the LOOP+ terminal of the Hart main terminal; one end of the fourth resistor R19 is connected to the third resistor R18, and the other end is connected to the LOOP- terminal of the Hart main terminal; the sixth One end of the resistor R21 is connected to the T×AM pin via the seventh resistor R22; one end of the second capacitor C9 is connected to the output end of the first operational amplifier AS2A, and the other end is connected to the inverting input end of the first operational amplifier AS2A.
可选的,在其中一个实施例中,所述Hart从模式电路包括第八电阻R9、第九电阻R10、第十电阻R11、第十一电阻R12、第十二电阻R13、第十三电阻R14、第十四电阻R15、第一NPN晶体管Q1、第三电容C5、第四电容C6、第五电容C7以及第二运算放大器AS1A;其中,所述第八电阻R9一端经由所述第三电容C5连接T×AS引脚,另一端连接第二运算放大器AS1A的同相输入端;所述第二运算放大器AS1A的输出端连接第一NPN晶体管Q1的基极,其同相输入端连接电源,反相输入端接地;所述第一NPN晶体管Q1的集电极连接Hart从终端的LOOP+接线端,其发射极经由第十电阻R11和第十一电阻R12连接Hart从终端的LOOP-接线端;所述第十电阻R11一端连接所述第一NPN晶体管Q1的发射极,另一端连接第十一电阻R12;所述第十一电阻R12一端接地,另一端连接Hart从终端的LOOP-接线端;所述第四电容C6一端连接第二运算放大器AS1A的反相输入端,另一端连接第二运算放大器AS1A的输出端;所述第九电阻R10一端连接第二运算放大器AS1A的反相输入端,另一端经由第十二电阻R13连接Hart从终端的LOOP-接线端;所述第十三电阻R14一端连接DAC引脚,另一端连接第十四电阻R15,所述第十四电阻R15另一端连接第十二电阻R13;所述第五电容C7一端分别连接所述第十三电阻R14与第十四电阻R15,另一端接地。Optionally, in one embodiment, the Hart slave mode circuit includes an eighth resistor R9, a ninth resistor R10, a tenth resistor R11, an eleventh resistor R12, a twelfth resistor R13, and a thirteenth resistor R14. , the fourteenth resistor R15, the first NPN transistor Q1, the third capacitor C5, the fourth capacitor C6, the fifth capacitor C7 and the second operational amplifier AS1A; wherein, one end of the eighth resistor R9 passes through the third capacitor C5 Connect the T×AS pin, and the other end is connected to the non-inverting input terminal of the second operational amplifier AS1A; the output terminal of the second operational amplifier AS1A is connected to the base of the first NPN transistor Q1, the non-inverting input terminal is connected to the power supply, and the inverting input terminal is connected The terminal is grounded; the collector of the first NPN transistor Q1 is connected to the LOOP+ terminal of the Hart slave terminal, and its emitter is connected to the LOOP- terminal of the Hart slave terminal via the tenth resistor R11 and the eleventh resistor R12; the tenth One end of the resistor R11 is connected to the emitter of the first NPN transistor Q1, and the other end is connected to the eleventh resistor R12; one end of the eleventh resistor R12 is grounded, and the other end is connected to the LOOP- terminal of the Hart slave terminal; the fourth One end of the capacitor C6 is connected to the inverting input end of the second operational amplifier AS1A, and the other end is connected to the output end of the second operational amplifier AS1A; one end of the ninth resistor R10 is connected to the inverting input end of the second operational amplifier AS1A, and the other end is connected to the inverting input end of the second operational amplifier AS1A. Twelve resistors R13 are connected to the LOOP- terminal of the Hart slave terminal; one end of the thirteenth resistor R14 is connected to the DAC pin, the other end is connected to the fourteenth resistor R15, and the other end of the fourteenth resistor R15 is connected to the twelfth resistor R13; one end of the fifth capacitor C7 is respectively connected to the thirteenth resistor R14 and the fourteenth resistor R15, and the other end is grounded.
可选的,在其中一个实施例中,所述Hart接口电路还包括Hart主从模式配置电路。Optionally, in one embodiment, the Hart interface circuit further includes a Hart master-slave mode configuration circuit.
实施本实用新型实施例,将具有如下有益效果:Implementing the embodiments of the present utility model will have the following beneficial effects:
本实用新型设计主从模式可以切换配置的Hart接口电路,其在从模式下能够变送输出所需的电流环,在主模式下可以接受控制系统发送来的电流信号并用于控制,而且还可以对电流环上的Hart载波信号进行调制与解调进而为用户扩大了产品应用范围;同时其还可以通过MCU的SPI接口能够设置Hart调制解调芯片的时钟、模拟量输出、工作方式,通过UART接口可以完成与现场设备的Hart通信。总而言之,本实用新型可以根据需求灵活配置对应的的接口电路,实现与工业现场总线的数字通讯;同时还可以简化工程人员的产品设计,在不增加成本的前提下,为用户提供主从可配置的hart接口电路。The utility model designs a Hart interface circuit with switchable configuration in the master-slave mode, which can transmit the required current loop in the slave mode, accept the current signal sent by the control system and use it for control in the master mode, and can also Modulate and demodulate the Hart carrier signal on the current loop to expand the product application range for users; at the same time, it can also set the clock, analog output, and working mode of the Hart modem chip through the SPI interface of the MCU. The interface can complete Hart communication with field devices. All in all, the utility model can flexibly configure the corresponding interface circuit according to the requirements, and realize the digital communication with the industrial field bus; at the same time, it can also simplify the product design of engineers, and provide users with master-slave configurability without increasing the cost. hart interface circuit.
附图说明Description of drawings
为了更清楚地说明本实用新型实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本实用新型的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present utility model or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are just some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
其中:in:
图1为一个实施例中所述Hart接口电路的电路原理图;1 is a circuit schematic diagram of the Hart interface circuit described in one embodiment;
图2为一个实施例中所述Hart主模式电路的电路图;2 is a circuit diagram of the Hart master mode circuit described in one embodiment;
图3为一个实施例中所述Hart从模式电路的电路图;3 is a circuit diagram of the Hart slave mode circuit described in one embodiment;
图4为一个实施例中所述Hart信号滤波电路的电路图;4 is a circuit diagram of the Hart signal filtering circuit described in one embodiment;
图5为一个实施例中所述Hart主从模式配置电路的电路图。FIG. 5 is a circuit diagram of the Hart master-slave mode configuration circuit in one embodiment.
具体实施方式Detailed ways
为了使本实用新型的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本实用新型进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本实用新型,并不用于限定本实用新型。In order to make the purpose, technical solutions and advantages of the present utility model more clearly understood, the present utility model will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本实用新型的技术领域的技术人员通常理解的含义相同。本文中在本实用新型的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本实用新型。可以理解,本实用新型所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一元件称为第二元件,且类似地,可将第二元件为第一元件。第一元件和第二元件两者都是元件,但其不是同一元件。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which the present invention belongs. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. It will be understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present application. Both the first element and the second element are elements, but they are not the same element.
为了解决现有技术所存在的问题,在本实施例中,特提出了一种主从可配置的Hart接口电路,其可以实现主从模式的配置切换,如在从模式下能够变送输出4-20mA电流环,在主模式下可以接受DCS控制系统发送来的4-20mA电流信号并用于控制,而且还可以对电流环上的Hart载波信号进行调制与解调。基于上述设计原理,如图1,该Hart接口电路包括Hart从模式电路、Hart主模式电路、Hart信号滤波电路、Hart调制解调器、主控器以及低功耗电源电路(图中未示出);其中所述Hart从模式电路,其一端电连接Hart从终端的接线端,另一端电连接Hart调制解调器;所述Hart主模式电路,其一端电连接Hart主终端的接线端,另一端电连接Hart调制解调器;所述Hart信号滤波电路与所述Hart调制解调器电连接;所述Hart调制解调器电连接所述主控器。In order to solve the problems existing in the prior art, in this embodiment, a master-slave configurable Hart interface circuit is specially proposed, which can realize the configuration switching of the master-slave mode, for example, in the slave mode, it can transmit the
在一些具体的实施例中,所述主控器采用STM32L152RCT6低功耗嵌入式微控制器;STM32L152RCT6为低功耗嵌入式微控制器,其能够接收、发送通讯信号至调制解调器芯片即所述Hart调制解调器,并将采集的传感器信号变换成工程量纲;所述Hart调制解调器采用NCN5193 CMOS调制解调器。对应的工作过程为:低功耗电源电路提供电源(3.0V)供所述主控器与所述Hart调制解调器使用,具体的:在从模式下由传感器信号变换成4-20mA的电流传输至控制室,可以加载主设备(通常为上位机或控制系统)的Hart信号,经NCN5193 CMOS调制解调器转换成标准的RS232通讯信号与STM32L152RCT6为低功耗嵌入式微控制器完成通讯;在主模式下Hart信号加载在控制室输出的用于控制的4-20mA电流环上。In some specific embodiments, the main controller adopts STM32L152RCT6 low-power embedded microcontroller; STM32L152RCT6 is a low-power embedded microcontroller, which can receive and send communication signals to a modem chip, that is, the Hart modem, and Convert the collected sensor signal into engineering dimension; the Hart modem adopts NCN5193 CMOS modem. The corresponding working process is: the low-power power supply circuit provides power (3.0V) for the master controller and the Hart modem to use, specifically: in the slave mode, the sensor signal is converted into a 4-20mA current and transmitted to the control It can load the Hart signal of the main device (usually the host computer or control system), and convert it into a standard RS232 communication signal through the NCN5193 CMOS modem and complete the communication with the STM32L152RCT6, a low-power embedded microcontroller; in the main mode, the Hart signal is loaded On the 4-20mA current loop output from the control room for control.
在一些具体的实施例中,所述Hart信号滤波电路采用带通滤波器,以把Hart数字信号与4-20mA信号分离出来。如图4所示,采用典型的Sallen-Key带通滤波器,其运放在NCN5193芯片片内;该滤波器的滤波范围为620Hz至2500Hz,而Hart信号为1200Hz和2400Hz,则其正好可以覆盖信号频率。In some specific embodiments, the Hart signal filtering circuit adopts a band-pass filter to separate the Hart digital signal from the 4-20 mA signal. As shown in Figure 4, a typical Sallen-Key band-pass filter is used, which is placed in the NCN5193 chip; the filtering range of the filter is 620Hz to 2500Hz, and the Hart signal is 1200Hz and 2400Hz, so it can just cover signal frequency.
在一些具体的实施例中,所述Hart调制解调器与主控器之间通过UART接口以及SPI接口实现连接。In some specific embodiments, the Hart modem and the host controller are connected through a UART interface and an SPI interface.
在一些具体的实施例中,如图2,所述主模式Hart接口电路的设计要点:由于需要在3.5mA的小电流下也可以工作,因此需要进行低功耗电路设计;如一方面需要采集4-20mA信号,则可以用125欧姆精密采样电阻R19将信号变换为0.5-2.5V电压信号供主控制器变成数字量进行控制输出;另一方面,还要不断接受Hart命令,在需要响应时发送对应信息;这里使用RTS请求发送信号通过74LVC1G66模拟开关来开启发送电路,达到省电目的等;则基于上述设计目的,具体的Hart主模式电路包括:第一电阻R16、第二电阻R17、第三电阻R18、第四电阻R19、第五电阻R20、第六电阻R21、第七电阻R22、第一PNP晶体管Q2、第一模拟开关U2、第一电容C8、第二电容C9、第一运算放大器AS2A;其中,所述第一电阻R16一端连接RTS引脚,另一端连接第一PNP晶体管Q2的基极;所述第一PNP晶体管Q2的发射极连接电源,集电极连接第一运算放大器AS2A的同相输入端;所述第二电阻R17一端连接第一PNP晶体管Q2的集电极,另一端接地;所述第五电阻R20一端连接ARTF引脚,另一端连接第一运算放大器AS2A的同相输入端;所述第一运算放大器AS2A的反相输入端接地,其输出端连接第一模拟开关U2的动端;第一模拟开关U2其中一个不动端经由第一电容C8连接Hart主终端的LOOP+接线端,另一不动端连接第一PNP晶体管Q2的集电极;所述第三电阻R18一端连接ADC引脚,另一端连接Hart主终端的LOOP+接线端;所述第四电阻R19一端连接所述第三电阻R18,另一端连接Hart主终端的LOOP-接线端;所述第六电阻R21一端经由第七电阻R22连接T×AM引脚;所述第二电容C9一端连接所述第一运算放大器AS2A的输出端,另一端连接所述第一运算放大器AS2A的反相输入端。In some specific embodiments, as shown in FIG. 2 , the main design points of the Hart interface circuit in the main mode: because it needs to work under a small current of 3.5mA, it is necessary to design a low-power circuit; 4-20mA signal, you can use the 125 ohm precision sampling resistor R19 to convert the signal into a 0.5-2.5V voltage signal for the main controller to become a digital quantity for control output; The corresponding information is sent when the corresponding information is sent; here, the RTS request sending signal is used to turn on the sending circuit through the 74LVC1G66 analog switch to achieve the purpose of power saving, etc.; based on the above design purpose, the specific Hart main mode circuit includes: the first resistor R16, the second resistor R17, The third resistor R18, the fourth resistor R19, the fifth resistor R20, the sixth resistor R21, the seventh resistor R22, the first PNP transistor Q2, the first analog switch U2, the first capacitor C8, the second capacitor C9, the first operation Amplifier AS2A; wherein, one end of the first resistor R16 is connected to the RTS pin, and the other end is connected to the base of the first PNP transistor Q2; the emitter of the first PNP transistor Q2 is connected to the power supply, and the collector is connected to the first operational amplifier AS2A One end of the second resistor R17 is connected to the collector of the first PNP transistor Q2, and the other end is grounded; one end of the fifth resistor R20 is connected to the ARTF pin, and the other end is connected to the non-inverting input of the first operational amplifier AS2A The inverting input end of the first operational amplifier AS2A is grounded, and its output end is connected to the moving end of the first analog switch U2; the first analog switch U2 one of the fixed ends is connected to the LOOP+ wiring of the Hart main terminal via the first capacitor C8 The other end is connected to the collector of the first PNP transistor Q2; one end of the third resistor R18 is connected to the ADC pin, and the other end is connected to the LOOP+ terminal of the Hart main terminal; one end of the fourth resistor R19 is connected to the The third resistor R18, the other end is connected to the LOOP- terminal of the Hart main terminal; one end of the sixth resistor R21 is connected to the T×AM pin via the seventh resistor R22; one end of the second capacitor C9 is connected to the first operational amplifier The output end of AS2A is connected to the inverting input end of the first operational amplifier AS2A at the other end.
在一些具体的实施例中,如图3,所述Hart从模式电路包括第八电阻R9、第九电阻R10、第十电阻R11、第十一电阻R12、第十二电阻R13、第十三电阻R14、第十四电阻R15、第一NPN晶体管Q1、第三电容C5、第四电容C6、第五电容C7以及第二运算放大器AS1A;其中,所述第八电阻R9一端经由所述第三电容C5连接T×AS引脚,另一端连接第二运算放大器AS1A的同相输入端;所述第二运算放大器AS1A的输出端连接第一NPN晶体管Q1的基极,其同相输入端连接电源,反相输入端接地;所述第一NPN晶体管Q1的集电极连接Hart从终端的LOOP+接线端,其发射极经由第十电阻R11和第十一电阻R12连接Hart从终端的LOOP-接线端;所述第十电阻R11一端连接所述第一NPN晶体管Q1的发射极,另一端连接第十一电阻R12;所述第十一电阻R12一端接地,另一端连接Hart从终端的LOOP-接线端;所述第四电容C6一端连接第二运算放大器AS1A的反相输入端,另一端连接第二运算放大器AS1A的输出端;所述第九电阻R10一端连接第二运算放大器AS1A的反相输入端,另一端经由第十二电阻R13连接Hart从终端的LOOP-接线端;所述第十三电阻R14一端连接DAC引脚,另一端连接第十四电阻R15,所述第十四电阻R15另一端连接第十二电阻R13;所述第五电容C7一端分别连接所述第十三电阻R14与第十四电阻R15,另一端接地。该电路可以很好地完成数模转换与Hart信号的叠加,生成与传感信号对应的4-20mA信号。In some specific embodiments, as shown in FIG. 3 , the Hart slave mode circuit includes an eighth resistor R9, a ninth resistor R10, a tenth resistor R11, an eleventh resistor R12, a twelfth resistor R13, and a thirteenth resistor R14, the fourteenth resistor R15, the first NPN transistor Q1, the third capacitor C5, the fourth capacitor C6, the fifth capacitor C7 and the second operational amplifier AS1A; wherein, one end of the eighth resistor R9 passes through the third capacitor C5 is connected to the T×AS pin, and the other end is connected to the non-inverting input terminal of the second operational amplifier AS1A; the output terminal of the second operational amplifier AS1A is connected to the base of the first NPN transistor Q1, and its non-inverting input terminal is connected to the power supply, and the inverting terminal is connected to the power supply. The input terminal is grounded; the collector of the first NPN transistor Q1 is connected to the LOOP+ terminal of the Hart slave terminal, and its emitter is connected to the LOOP- terminal of the Hart slave terminal via the tenth resistor R11 and the eleventh resistor R12; One end of the ten resistor R11 is connected to the emitter of the first NPN transistor Q1, and the other end is connected to the eleventh resistor R12; one end of the eleventh resistor R12 is grounded, and the other end is connected to the LOOP- terminal of the Hart slave terminal; One end of the four capacitor C6 is connected to the inverting input end of the second operational amplifier AS1A, and the other end is connected to the output end of the second operational amplifier AS1A; one end of the ninth resistor R10 is connected to the inverting input end of the second operational amplifier AS1A, and the other end is The twelfth resistor R13 is connected to the LOOP- terminal of the Hart slave terminal; one end of the thirteenth resistor R14 is connected to the DAC pin, the other end is connected to the fourteenth resistor R15, and the other end of the fourteenth resistor R15 is connected to the twelfth resistor Resistor R13; one end of the fifth capacitor C7 is respectively connected to the thirteenth resistor R14 and the fourteenth resistor R15, and the other end is grounded. The circuit can well complete the superposition of the digital-to-analog conversion and the Hart signal to generate a 4-20mA signal corresponding to the sensing signal.
在一些具体的实施例中,所述Hart接口电路还包括Hart主从模式配置电路,如图5所示,其通过两个跳线帽完成主从模式的配置。单刀双掷模拟开关芯片74LVC1G3157,通过S端选择通道;当Jumper1连接时,S端为低电平,A端与B1端连通,即TxAM连接TxA信号为主模式;反之,当Jumper2连接时,S端为高电平,A端与B2端连通,即TxAS连接TxA信号为从模式。In some specific embodiments, the Hart interface circuit further includes a Hart master-slave mode configuration circuit, as shown in FIG. 5 , which completes the master-slave mode configuration through two jumper caps. The SPDT analog switch chip 74LVC1G3157 selects the channel through the S terminal; when the Jumper1 is connected, the S terminal is low, and the A terminal is connected with the B1 terminal, that is, the TxAM is connected to the TxA signal as the main mode; on the contrary, when the Jumper2 is connected, the S The terminal is high, and the A terminal is connected to the B2 terminal, that is, the TxAS is connected to the TxA signal in the slave mode.
因此可以说,本实用新型可以根据需求灵活配置对应的的接口电路,实现与工业现场总线的数字通讯;同时还可以简化工程人员的产品设计,在不增加成本的前提下,为用户提供主从可配置的hart接口电路。Therefore, it can be said that the utility model can flexibly configure the corresponding interface circuit according to the requirements to realize digital communication with the industrial field bus; at the same time, it can also simplify the product design of engineers, and provide users with master-slave under the premise of not increasing the cost. Configurable hart interface circuit.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021085302.0U CN211930788U (en) | 2020-06-12 | 2020-06-12 | A master-slave configurable Hart interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021085302.0U CN211930788U (en) | 2020-06-12 | 2020-06-12 | A master-slave configurable Hart interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211930788U true CN211930788U (en) | 2020-11-13 |
Family
ID=73320418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202021085302.0U Expired - Fee Related CN211930788U (en) | 2020-06-12 | 2020-06-12 | A master-slave configurable Hart interface circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211930788U (en) |
-
2020
- 2020-06-12 CN CN202021085302.0U patent/CN211930788U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102591244A (en) | Bus-based input/output (IO) acquisition and control extending device | |
CN207380504U (en) | A high precision digital analog input and output interface device | |
CN105388805B (en) | Measurement and Control System based on spi bus | |
CN206400530U (en) | An Industrial Bus System Adapting to Three Industrial Bus Protocols | |
CN201716587U (en) | Multi-channel current analog quantity conversion/distribution module | |
CN211930788U (en) | A master-slave configurable Hart interface circuit | |
CN103176037A (en) | Alternating-current signal acquisition board for flexible alternating-current transmission device | |
CN202372210U (en) | General intelligent converting and conveying device used for industrial sensor | |
CN203241752U (en) | Digital analog conversion CAN bus control transmit-receive system connected with multipath-sensor | |
CN211979479U (en) | an analog board | |
CN213934867U (en) | An embedded multi-interface data acquisition and processing device | |
CN212484123U (en) | HART protocol communication circuit | |
CN109150911A (en) | A kind of screening machine communication protocol conversion device | |
CN201490999U (en) | Current output system based on Modbus protocol | |
CN116300663A (en) | Universal controller applied to automation equipment | |
CN202940789U (en) | Frequency current isolation conversion module | |
CN216052644U (en) | Test digital-to-analog conversion acquisition card | |
Wang et al. | Modbus/TCP data acquisition system based on Industrial Ethernet technology | |
CN202077059U (en) | Bus bridge capable of changing PROFIBUS protocol to MODBUS protocol | |
CN205038468U (en) | Special intelligent control ware of low temperature pump control system case with GPRS communication | |
CN111725893A (en) | Embedded power health detection and management system | |
CN114894333A (en) | Intelligent temperature sensor system of aircraft engine | |
CN2582057Y (en) | Main circuit board based on field bus for temp/pressure sensor | |
CN208125801U (en) | A kind of three-phase voltage meter based on SOC Technology design | |
CN109828717B (en) | Parallel data acquisition circuit and automatic acquisition method of multiple resolvers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201113 Termination date: 20210612 |
|
CF01 | Termination of patent right due to non-payment of annual fee |