CN116243634B - Fieldbus driving circuit suitable for under strong interference environment - Google Patents
Fieldbus driving circuit suitable for under strong interference environment Download PDFInfo
- Publication number
- CN116243634B CN116243634B CN202310046486.1A CN202310046486A CN116243634B CN 116243634 B CN116243634 B CN 116243634B CN 202310046486 A CN202310046486 A CN 202310046486A CN 116243634 B CN116243634 B CN 116243634B
- Authority
- CN
- China
- Prior art keywords
- analog switch
- resistor
- amplifier
- circuit
- driving circuit
- 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
- 238000001914 filtration Methods 0.000 claims description 7
- 230000003321 amplification Effects 0.000 claims description 2
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 6
- 230000005540 biological transmission Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000009776 industrial production Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000003071 parasitic effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010891 electric arc Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24215—Scada supervisory control and data acquisition
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Amplifiers (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及工业现场总线系统领域,具体涉及一种用于长距离低速数据传输的CAN总线和差分总线的强干扰环境下的现场总线驱动电路。The invention relates to the field of industrial field bus systems, and in particular to a field bus driving circuit for a CAN bus and a differential bus in a strong interference environment for long-distance low-speed data transmission.
背景技术Background technique
随着DCS系统架构向FCS方向发展。通过一个现场总线接口模块替代原有的中心化通信电缆是一个趋势,可以节省大量的电缆和避免故障的发生。CAN是控制器局域网络的简称,具有很高的可靠性和通用性;CAN通过一根双绞线以差分信号的形式进行数据传输,目前现有的CAN的总线架构存在的主要问题是:在工业生产现场的长距离传输时,由于器件之间的电缆距离较远且总线驱动能力较弱,容易感应出一些大功率低频设备(中频炉、变频器等)的电磁干扰,使信号波形出现毛刺,影响正常通信;在工业生产现场的长距离传输时,总线连接不同的终端设备,设备的电源情况不一定相同,导致各个设备电位通常不一致,很容易产生共模干扰,有时候共模干扰甚至会超过12V,过大的共模干扰会影响数据的正常传输甚至导致总线收发芯片的损坏;同时连接各个设备的长电缆带有较大的寄生电感和寄生电容,使得在信号在电平跳变时容易产生较大的过冲或者滞后,甚至出现丢包的情况,此外,若遭受如雷击或者设备触点拉弧放电等带来的高压浪涌干扰,很容易使收发器芯片出现异常甚至板卡烧毁。As the DCS system architecture develops towards FCS, it is a trend to replace the original centralized communication cable with a fieldbus interface module, which can save a lot of cables and avoid failures. CAN is the abbreviation of controller area network, which has high reliability and versatility. CAN transmits data in the form of differential signals through a twisted pair. The main problems of the existing CAN bus architecture are: during long-distance transmission at industrial production sites, due to the long cable distance between devices and the weak bus driving ability, it is easy to sense the electromagnetic interference of some high-power low-frequency devices (intermediate frequency furnace, inverter, etc.), causing burrs on the signal waveform and affecting normal communication; during long-distance transmission at industrial production sites, the bus connects different terminal devices, and the power supply conditions of the devices are not necessarily the same, resulting in inconsistent potentials of various devices, which is easy to generate common-mode interference. Sometimes the common-mode interference may even exceed 12V. Excessive common-mode interference will affect the normal transmission of data and even cause damage to the bus transceiver chip; at the same time, the long cable connecting each device has a large parasitic inductance and parasitic capacitance, which makes it easy to generate a large overshoot or lag when the signal jumps in the level, and even packet loss. In addition, if it is subjected to high-voltage surge interference such as lightning strikes or arc discharge of equipment contacts, it is easy to cause abnormalities in the transceiver chip or even burn the board.
发明内容Summary of the invention
针对上述问题,本发明提供了一种适用于强干扰环境下的现场总线驱动电路,总线包括CAN总线与差分信号串行总线,总线上挂接着很多节点,每个节点上都需要具有这一组驱动电路,采用加入本发明驱动电路的总线架构具有较好的抗干扰性能,能够实现低速远距离的正常通信。In view of the above problems, the present invention provides a field bus driving circuit suitable for use in a strong interference environment. The bus includes a CAN bus and a differential signal serial bus. Many nodes are connected to the bus, and each node needs to have this set of driving circuits. The bus architecture using the driving circuit of the present invention has good anti-interference performance and can achieve normal communication at low speed and long distance.
本发明提供如下技术方案:一种适用于强干扰环境下的现场总线驱动电路,包括CAN收发器、总线驱动电路、与CAN收发器连接的单片机,总线驱动电路分别与CAN收发器、单片机和总线连接。所述总线驱动电路包括第一模拟开关、放大电路、第二模拟开关、衰减电路、滤波电路。The present invention provides the following technical solution: a field bus driving circuit suitable for use in a strong interference environment, comprising a CAN transceiver, a bus driving circuit, and a single-chip microcomputer connected to the CAN transceiver, wherein the bus driving circuit is connected to the CAN transceiver, the single-chip microcomputer, and the bus, respectively. The bus driving circuit comprises a first analog switch, an amplifying circuit, a second analog switch, an attenuation circuit, and a filtering circuit.
CAN收发器与第一模拟开关连接,单片机通过模拟开关驱动电路分别与第一模拟开关和第二模拟开关连接,总线与第二模拟开关连接,第一模拟开关通过放大电路与第二模拟开关连接,第二模拟开关与总线连接,第二模拟开关与滤波电路连接,滤波电路与衰减电路连接,衰减电路与第一模拟开关连接;The CAN transceiver is connected to the first analog switch, the single-chip microcomputer is connected to the first analog switch and the second analog switch respectively through the analog switch driving circuit, the bus is connected to the second analog switch, the first analog switch is connected to the second analog switch through the amplification circuit, the second analog switch is connected to the bus, the second analog switch is connected to the filter circuit, the filter circuit is connected to the attenuation circuit, and the attenuation circuit is connected to the first analog switch;
其中第一模拟开关、放大电路、第二模拟开关组成发送电路,第二模拟开关、滤波电路、衰减电路、第一模拟开关组成接收电路。第一模拟开关和第二模拟开关均采用HEF4053BT。The first analog switch, the amplifier circuit, and the second analog switch form a transmitting circuit, and the second analog switch, the filter circuit, the attenuation circuit, and the first analog switch form a receiving circuit. Both the first analog switch and the second analog switch use HEF4053BT.
放大电路包括放大器U1.1和放大器U6.2,放大器U1.1的反相输入端通过电阻R2接地,放大器U1.1的输出端通过电阻R6与放大器U1.1的反相输入端连接,放大器U1.1的同相输入端通过电阻R7与第一模拟开关U10连接,放大器U1.1的4脚接地,放大器U1.1的输出端通过电阻R1与第二模拟开关U8连接,放大器U1.1的输出端通过电阻R11与放大器U6.2的输出端连接,放大器U6.2的反相输入端通过电阻R4接地,放大器U6.2的同相输入端通过电阻R8与第一模拟开关U10连接,放大器U6.2的输出端通过电阻R5与放大器U6.2的反相输入端连接,放大器U6.2的输出端通过电阻R3与第二模拟开关U8连接。当处于数据发送模式时,运算放大器将收发器芯片送来的低压差小电流信号放大到高压差大电流驱动信号,并通过第二模拟开关传送到总线上。上述放大器可以采用LM358,总线应采用截面积不小于0.2平方毫米的屏蔽双绞线。The amplifier circuit includes an amplifier U1.1 and an amplifier U6.2. The inverting input terminal of the amplifier U1.1 is grounded through a resistor R2, the output terminal of the amplifier U1.1 is connected to the inverting input terminal of the amplifier U1.1 through a resistor R6, the non-inverting input terminal of the amplifier U1.1 is connected to the first analog switch U10 through a resistor R7, the 4th pin of the amplifier U1.1 is grounded, the output terminal of the amplifier U1.1 is connected to the second analog switch U8 through a resistor R1, the output terminal of the amplifier U1.1 is connected to the output terminal of the amplifier U6.2 through a resistor R11, the inverting input terminal of the amplifier U6.2 is grounded through a resistor R4, the non-inverting input terminal of the amplifier U6.2 is connected to the first analog switch U10 through a resistor R8, the output terminal of the amplifier U6.2 is connected to the inverting input terminal of the amplifier U6.2 through a resistor R5, and the output terminal of the amplifier U6.2 is connected to the second analog switch U8 through a resistor R3. When in data transmission mode, the operational amplifier amplifies the low voltage difference and low current signal sent by the transceiver chip to a high voltage difference and high current drive signal, and transmits it to the bus through the second analog switch. The above amplifier can use LM358, and the bus should use a shielded twisted pair with a cross-sectional area of not less than 0.2 square millimeters.
所述的滤波电路包括共模电感和全桥整流电路,全桥整流电路包括依次首尾相连的二极管U2、U3、U4、U5,二极管U4的阴极与第二模拟开关U8连接,二极管U5的阴极与第二模拟开关U8连接,二极管U4的阴极和二极管U5的阴极之间串接电阻R9,U2、U3的阴极连接到稳压管D1的一端,U4、U5的阳极连接到稳压管D1的另一端,U2的阳极连接到共模电感L1的第二脚,U3的阳极连接到共模电感L1的第三脚,共模电感的1脚和4脚分别与第一模拟开关U10连接。衰减电路包括电阻R10和稳压管D2,电阻R10串接在共模电感的第一脚和第四脚之间,稳压管D2与电阻R10并联。当共模干扰来临时,由于共模干扰的电流具有同向性,会在共模电感L1的线圈内产生同向的磁场使得线圈的感性阻抗增大,线圈表现为高阻抗,产生较强的共模干扰阻尼效果。当差模干扰来临时,全桥整流电路的二极管会交替导通,使差模干扰的能量转化为直流电并在整流桥直流输出端连接的瞬态抑制二极管上被消耗掉。稳压管D2和电阻R10,用于降低滤波电路输入的电平,削掉高电平的不平整部分,使输入总线收发器芯片的信号符合总线收发器芯片的输入电平要求,防止烧毁总线接口收发器芯片。The filter circuit includes a common mode inductor and a full-bridge rectifier circuit. The full-bridge rectifier circuit includes diodes U2, U3, U4, and U5 connected end to end in sequence. The cathode of diode U4 is connected to the second analog switch U8, the cathode of diode U5 is connected to the second analog switch U8, a resistor R9 is connected in series between the cathode of diode U4 and the cathode of diode U5, the cathodes of U2 and U3 are connected to one end of the voltage regulator tube D1, the anodes of U4 and U5 are connected to the other end of the voltage regulator tube D1, the anode of U2 is connected to the second pin of the common mode inductor L1, the anode of U3 is connected to the third pin of the common mode inductor L1, and the 1st pin and the 4th pin of the common mode inductor are respectively connected to the first analog switch U10. The attenuation circuit includes a resistor R10 and a voltage regulator tube D2. The resistor R10 is connected in series between the first pin and the fourth pin of the common mode inductor, and the voltage regulator tube D2 is connected in parallel with the resistor R10. When common-mode interference occurs, since the current of common-mode interference is unidirectional, a unidirectional magnetic field will be generated in the coil of the common-mode inductor L1, which increases the inductive impedance of the coil. The coil shows high impedance, which produces a strong common-mode interference damping effect. When differential-mode interference occurs, the diodes of the full-bridge rectifier circuit will be turned on alternately, so that the energy of the differential-mode interference is converted into direct current and consumed by the transient suppression diode connected to the DC output end of the rectifier bridge. The voltage regulator D2 and the resistor R10 are used to reduce the input level of the filter circuit, cut off the uneven part of the high level, make the signal of the input bus transceiver chip meet the input level requirements of the bus transceiver chip, and prevent the bus interface transceiver chip from burning.
所述模拟开关驱动电路包括第一模拟开关驱动电路和第二模拟开关驱动电路,The analog switch driving circuit includes a first analog switch driving circuit and a second analog switch driving circuit.
第一模拟开关驱动电路包括三极管AQ1,三极管AQ1通过电阻AR2与单片机连接,三极管AQ1的发射极接地,三极管AQ1的发射极通过电阻AR1与三极管AQ1的基极连接,三极管AQ1的集电极与第一模拟开关连接,三极管AQ1的集电极通过电阻AR7与+VCC连接,电阻AR3与发光二极管LED1串联后与电阻AR7并联;The first analog switch driving circuit includes a transistor AQ1, the transistor AQ1 is connected to the single chip computer through a resistor AR2, the emitter of the transistor AQ1 is grounded, the emitter of the transistor AQ1 is connected to the base of the transistor AQ1 through the resistor AR1, the collector of the transistor AQ1 is connected to the first analog switch, the collector of the transistor AQ1 is connected to +VCC through a resistor AR7, and the resistor AR3 is connected in series with the light emitting diode LED1 and then connected in parallel with the resistor AR7;
第二模拟开关驱动电路包括三极管AQ2,三极管AQ2通过电阻AR6与单片机连接,三极管AQ2的发射极接地,三极管AQ2的发射极通过电阻AR8与三极管AQ2的基极连接,三极管AQ2的集电极与第二模拟开关连接,三极管AQ2的集电极通过电阻AR4与+VCC连接,电阻AR5与发光二极管LED2串联后与电阻AR4并联。The second analog switch driving circuit includes a transistor AQ2, which is connected to the single-chip microcomputer through a resistor AR6, the emitter of the transistor AQ2 is grounded, the emitter of the transistor AQ2 is connected to the base of the transistor AQ2 through a resistor AR8, the collector of the transistor AQ2 is connected to the second analog switch, the collector of the transistor AQ2 is connected to +VCC through a resistor AR4, and the resistor AR5 is connected in series with the light-emitting diode LED2 and then connected in parallel with the resistor AR4.
在第二模拟开关与总线之间设置气体放电管,所述气体放电管的开启电压为75V。当总线上由对地或者总线之间的较大压差的尖峰脉冲时,会在此被吸收削弱。A gas discharge tube is arranged between the second analog switch and the bus, and the opening voltage of the gas discharge tube is 75 V. When there is a spike pulse with a large voltage difference to the ground or between the buses on the bus, it will be absorbed and weakened here.
通过上述描述可以看出,本方案通过发送时加高压差和接收时滤波限幅的方式,来抑制传输过程中可能带来的干扰,使得如锻造工业等恶劣环境下低速长距离的串行差分总线通信得以正常进行。From the above description, it can be seen that this solution suppresses possible interference during the transmission process by adding a high voltage difference during transmission and filtering and limiting during reception, so that low-speed and long-distance serial differential bus communication in harsh environments such as the forging industry can proceed normally.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明的总体结构框图。FIG1 is a block diagram of the overall structure of the present invention.
图2为CAN收发器示意图。Figure 2 is a schematic diagram of a CAN transceiver.
图3为本发明具体实施方式驱动电路的电路图。FIG. 3 is a circuit diagram of a driving circuit according to a specific embodiment of the present invention.
图4为CAN总线长距离传输的典型通信波形图。Figure 4 is a typical communication waveform diagram of CAN bus long-distance transmission.
图5为本发明中CAN总线长距离传输波形图。FIG5 is a waveform diagram of long-distance transmission of the CAN bus in the present invention.
具体实施方式Detailed ways
下面将结合本发明具体实施方式中的附图,对本发明具体实施方式中的技术方案进行清楚、完整地描述,显然,所描述的具体实施方式仅仅是本发明一种具体实施方式,而不是全部的具体实施方式。基于本发明中的具体实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他具体实施方式,都属于本发明保护的范围。The following will be combined with the drawings in the specific embodiments of the present invention to clearly and completely describe the technical solutions in the specific embodiments of the present invention. Obviously, the specific embodiment described is only one specific embodiment of the present invention, not all specific embodiments. Based on the specific embodiments of the present invention, all other specific embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
通过附图可以看出,本发明的适用于强干扰环境下的现场总线驱动电路,包括CAN收发器、总线驱动电路、与CAN收发器连接的单片机,总线驱动电路分别与CAN收发器、单片机和总线连接,所述总线驱动电路包括第一模拟开关、放大电路、第二模拟开关、衰减电路、滤波电路。It can be seen from the accompanying drawings that the field bus driving circuit of the present invention is suitable for use in a strong interference environment, including a CAN transceiver, a bus driving circuit, and a single-chip microcomputer connected to the CAN transceiver. The bus driving circuit is respectively connected to the CAN transceiver, the single-chip microcomputer and the bus. The bus driving circuit includes a first analog switch, an amplifying circuit, a second analog switch, an attenuation circuit, and a filtering circuit.
CAN收发器与第一模拟开关连接,单片机通过模拟开关驱动电路分别与第一模拟开关和第二模拟开关连接,总线与第二模拟开关连接,第一模拟开关通过放大电路与第二模拟开关连接,第二模拟开关与总线连接,第二模拟开关与滤波电路连接,滤波电路与衰减电路连接,衰减电路与第一模拟开关连接;其中第一模拟开关、放大电路、第二模拟开关组成发送电路,第二模拟开关、滤波电路、衰减电路、第一模拟开关组成接收电路。其中,第一模拟开关和第二模拟开关均采用HEF4053BT,两个模拟开关用于切换收发;单片机采用STM32单片机,CAN收发器芯片采用TJA1050。在第二模拟开关与总线之间设置气体放电管,所述气体放电管的开启电压为75V。总线的OUT_H与第二模拟开关U8的第四脚连接,总线的OUT_L与第二模拟开关U8的第十五脚连接。总线的OUT_H通过气体放电管TV1接地,总线的OUT_L通过气体放电管TV2接地,气体放电管用于抗浪涌。The CAN transceiver is connected to the first analog switch, the single-chip microcomputer is connected to the first analog switch and the second analog switch respectively through the analog switch driving circuit, the bus is connected to the second analog switch, the first analog switch is connected to the second analog switch through the amplifier circuit, the second analog switch is connected to the bus, the second analog switch is connected to the filter circuit, the filter circuit is connected to the attenuation circuit, and the attenuation circuit is connected to the first analog switch; wherein the first analog switch, the amplifier circuit, and the second analog switch constitute a sending circuit, and the second analog switch, the filter circuit, the attenuation circuit, and the first analog switch constitute a receiving circuit. Wherein, the first analog switch and the second analog switch both use HEF4053BT, and the two analog switches are used to switch between sending and receiving; the single-chip microcomputer uses the STM32 single-chip microcomputer, and the CAN transceiver chip uses the TJA1050. A gas discharge tube is set between the second analog switch and the bus, and the opening voltage of the gas discharge tube is 75V. The OUT_H of the bus is connected to the fourth pin of the second analog switch U8, and the OUT_L of the bus is connected to the fifteenth pin of the second analog switch U8. OUT_H of the bus is grounded through a gas discharge tube TV1, and OUT_L of the bus is grounded through a gas discharge tube TV2. The gas discharge tube is used for surge protection.
CAN收发器的第一脚连接单片机的CANTX引脚,第二脚连接单片机的CANRX引脚,第三脚连接电源,第二脚和第八脚连接地,其中第七脚CAN_H连接第一模拟开关U10的第四脚,第六脚CAN_L连接第一模拟开关U10的第十五脚。The first pin of the CAN transceiver is connected to the CANTX pin of the microcontroller, the second pin is connected to the CANRX pin of the microcontroller, the third pin is connected to the power supply, the second pin and the eighth pin are connected to the ground, the seventh pin CAN_H is connected to the fourth pin of the first analog switch U10, and the sixth pin CAN_L is connected to the fifteenth pin of the first analog switch U10.
放大电路包括放大器U1.1和放大器U6.2,放大器U1.1的反相输入端通过电阻R2接地,放大器U1.1的输出端通过电阻R6与放大器U1.1的反相输入端连接,放大器U1.1的同相输入端通过电阻R7与第一模拟开关U10的第五脚连接,放大器U1.1的4脚接地,放大器U1.1的输出端通过电阻R1与第二模拟开关U8的第五脚连接,放大器U1.1的输出端通过电阻R11与放大器U6.2的输出端连接,放大器U6.2的反相输入端通过电阻R4接地,放大器U6.2的同相输入端通过电阻R8与第一模拟开关U10的第二脚连接,放大器U6.2的输出端通过电阻R5与放大器U6.2的反相输入端连接,放大器U6.2的输出端通过电阻R3与第二模拟开关U8的第二脚连接。The amplifier circuit includes an amplifier U1.1 and an amplifier U6.2. The inverting input terminal of the amplifier U1.1 is grounded through a resistor R2, the output terminal of the amplifier U1.1 is connected to the inverting input terminal of the amplifier U1.1 through a resistor R6, the non-inverting input terminal of the amplifier U1.1 is connected to the fifth pin of the first analog switch U10 through a resistor R7, the 4th pin of the amplifier U1.1 is grounded, the output terminal of the amplifier U1.1 is connected to the fifth pin of the second analog switch U8 through a resistor R1, the output terminal of the amplifier U1.1 is connected to the output terminal of the amplifier U6.2 through a resistor R11, the inverting input terminal of the amplifier U6.2 is grounded through a resistor R4, the non-inverting input terminal of the amplifier U6.2 is connected to the second pin of the first analog switch U10 through a resistor R8, the output terminal of the amplifier U6.2 is connected to the inverting input terminal of the amplifier U6.2 through a resistor R5, and the output terminal of the amplifier U6.2 is connected to the second pin of the second analog switch U8 through a resistor R3.
所述的滤波电路包括共模电感和全桥整流电路,全桥整流电路包括依次首尾相连的二极管U2、U3、U4、U5,二极管U4的阴极与第二模拟开关U8的第三脚连接,二极管U5的阴极与第二模拟开关U8的第一脚连接,二极管U4的阴极和二极管U5的阴极之间串接电阻R9,U2、U3的阴极连接到稳压管D1的一端,U4、U5的阳极连接到稳压管D1的另一端,稳压管D1为双向稳压管,U2的阳极连接到共模电感L1的第二脚,U3的阳极连接到共模电感L1的第三脚,共模电感L1的1脚与第一模拟开关U10的第三脚连接,共模电感L1DE 4脚与第一模拟开关U10的第一脚连接。衰减电路包括电阻R10和稳压管D2,电阻R10串接在共模电感的第一脚和第四脚之间,稳压管D2与电阻R10并联。The filtering circuit includes a common-mode inductor and a full-bridge rectifier circuit. The full-bridge rectifier circuit includes diodes U2, U3, U4, and U5 connected end to end in sequence. The cathode of diode U4 is connected to the third pin of the second analog switch U8, the cathode of diode U5 is connected to the first pin of the second analog switch U8, and a resistor R9 is connected in series between the cathode of diode U4 and the cathode of diode U5. The cathodes of U2 and U3 are connected to one end of the voltage regulator tube D1, and the anodes of U4 and U5 are connected to the other end of the voltage regulator tube D1. The voltage regulator tube D1 is a bidirectional voltage regulator tube. The anode of U2 is connected to the second pin of the common-mode inductor L1, the anode of U3 is connected to the third pin of the common-mode inductor L1, the 1st pin of the common-mode inductor L1 is connected to the third pin of the first analog switch U10, and the 4th pin of the common-mode inductor L1 is connected to the first pin of the first analog switch U10. The attenuation circuit includes a resistor R10 and a voltage regulator D2. The resistor R10 is connected in series between the first and fourth legs of the common mode inductor, and the voltage regulator D2 is connected in parallel with the resistor R10.
所述模拟开关驱动电路包括第一模拟开关驱动电路和第二模拟开关驱动电路,第一模拟开关驱动电路包括三极管AQ1,三极管AQ1通过电阻AR2与单片机的CAN_R脚连接,三极管AQ1的发射极接地,三极管AQ1的发射极通过电阻AR1与三极管AQ1的基极连接,三极管AQ1的集电极与第一模拟开关U10的第九脚和第十脚连接,三极管AQ1的集电极通过电阻AR7与+VCC连接,电阻AR3与发光二极管LED1串联后与电阻AR7并联;+VCC为12V。The analog switch driving circuit includes a first analog switch driving circuit and a second analog switch driving circuit. The first analog switch driving circuit includes a transistor AQ1. The transistor AQ1 is connected to the CAN_R pin of the single-chip microcomputer through a resistor AR2. The emitter of the transistor AQ1 is grounded. The emitter of the transistor AQ1 is connected to the base of the transistor AQ1 through a resistor AR1. The collector of the transistor AQ1 is connected to the ninth pin and the tenth pin of the first analog switch U10. The collector of the transistor AQ1 is connected to +VCC through a resistor AR7. The resistor AR3 is connected in series with the light-emitting diode LED1 and then connected in parallel with the resistor AR7. +VCC is 12V.
第二模拟开关驱动电路包括三极管AQ2,三极管AQ2通过电阻AR6与单片机的CAN_T脚连接,三极管AQ2的发射极接地,三极管AQ2的发射极通过电阻AR8与三极管AQ2的基极连接,三极管AQ2的集电极与第二模拟开关U8的第九脚和第十脚连接,三极管AQ2的集电极通过电阻AR4与+VCC连接,电阻AR5与发光二极管LED2串联后与电阻AR4并联。The second analog switch driving circuit includes a transistor AQ2, which is connected to the CAN_T pin of the microcontroller through a resistor AR6, the emitter of the transistor AQ2 is grounded, the emitter of the transistor AQ2 is connected to the base of the transistor AQ2 through a resistor AR8, the collector of the transistor AQ2 is connected to the ninth pin and the tenth pin of the second analog switch U8, the collector of the transistor AQ2 is connected to +VCC through a resistor AR4, and the resistor AR5 is connected in series with the light-emitting diode LED2 and then connected in parallel with the resistor AR4.
对比设置抗干扰电路的数据传输波形和未设置抗干扰电路的数据传输波形如图4与图5所示,可见设置抗干扰电路后,接收到的信号毛刺减少;使用STM32单片机发送“0x1a”数据通过50米的屏蔽线传输后,将接受到的结果通过TTL串口发送到电脑的上位机,未使用抗干扰电路的传输模块偶尔会发生数据乱码的现象,而改进后的电路未发生乱码现象。Comparison of the data transmission waveform with the anti-interference circuit and the data transmission waveform without the anti-interference circuit is shown in Figures 4 and 5. It can be seen that after the anti-interference circuit is set, the received signal burrs are reduced; after the STM32 microcontroller sends the "0x1a" data through a 50-meter shielded line, the received result is sent to the computer's host computer through the TTL serial port. The transmission module without the anti-interference circuit occasionally has garbled data, while the improved circuit does not have garbled data.
上述虽然结合附图对本公开的具体实施方式进行了描述,但并非对本公开保护范围的限制,所属领域技术人员应该明白,在本公开的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本公开的保护范围以内。Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310046486.1A CN116243634B (en) | 2023-01-31 | 2023-01-31 | Fieldbus driving circuit suitable for under strong interference environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310046486.1A CN116243634B (en) | 2023-01-31 | 2023-01-31 | Fieldbus driving circuit suitable for under strong interference environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116243634A CN116243634A (en) | 2023-06-09 |
CN116243634B true CN116243634B (en) | 2024-07-05 |
Family
ID=86625440
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310046486.1A Active CN116243634B (en) | 2023-01-31 | 2023-01-31 | Fieldbus driving circuit suitable for under strong interference environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116243634B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108123859A (en) * | 2016-11-30 | 2018-06-05 | 中国科学院沈阳自动化研究所 | Enhance the circuit system of the capable of resisting common-mode noise interference ability of CAN bus signal |
CN109683513A (en) * | 2018-12-11 | 2019-04-26 | 天津津航计算技术研究所 | 100,000,000 1553B of one kind hair control simulated-bus front end |
CN209233717U (en) * | 2019-01-16 | 2019-08-09 | 珠海美光原科技股份有限公司 | A kind of EMC filter circuit |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5220211A (en) * | 1991-10-28 | 1993-06-15 | International Business Machines Corporation | High speed bus transceiver with fault tolerant design for hot pluggable applications |
JP2561055B2 (en) * | 1994-11-18 | 1996-12-04 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Information processing apparatus and control method thereof |
DE19611944C2 (en) * | 1996-03-26 | 2003-03-27 | Daimler Chrysler Ag | Integrated circuit for coupling a micro-controlled control unit to a two-wire bus |
JP3423267B2 (en) * | 2000-01-27 | 2003-07-07 | 寛治 大塚 | Driver circuit, receiver circuit, and signal transmission bus system |
US6636107B2 (en) * | 2000-03-28 | 2003-10-21 | International Rectifier Corporation | Active filter for reduction of common mode current |
US8198951B2 (en) * | 2004-06-03 | 2012-06-12 | Silicon Laboratories Inc. | Capacitive isolation circuitry |
CN100549887C (en) * | 2007-11-29 | 2009-10-14 | 北京豪沃尔科技发展股份有限公司 | bus data transceiver |
CN101458528B (en) * | 2008-12-23 | 2011-01-19 | 华东理工大学 | An Online Fault Detection System Based on CAN Bus |
CN102082612A (en) * | 2010-11-29 | 2011-06-01 | 北京汽车新能源汽车有限公司 | Controller area network (CAN) bus-based anti-electromagnetic interference method and device |
CN105508049B (en) * | 2016-02-03 | 2018-06-05 | 河南柴油机重工有限责任公司 | A kind of master controller and control method for diesel engine monitoring system |
CN105576641A (en) * | 2016-03-02 | 2016-05-11 | 珠海格力电器股份有限公司 | CAN-BUS protection circuit and motion control system applying same |
US10120434B2 (en) * | 2016-05-13 | 2018-11-06 | Infineon Technologies Ag | Semiconductor device chip package with electronic switching using dedicated ground pin coupled to a virtual ground node |
CN206296911U (en) * | 2016-12-19 | 2017-07-04 | 山东省科学院自动化研究所 | A kind of bus intelligent servo drive system and robot |
CN208241572U (en) * | 2018-06-12 | 2018-12-14 | 东莞市东颂电子有限公司 | A kind of jamproof two-way parallel output power supply adaptor |
DE102018220073A1 (en) * | 2018-11-22 | 2020-05-28 | Robert Bosch Gmbh | Line termination for a bus of a bus system and method for suppressing reflections due to common mode interference in a bus system |
CN210294832U (en) * | 2019-06-26 | 2020-04-10 | 中国航天空气动力技术研究院 | A dual redundant CAN bus communication device suitable for autonomous underwater vehicles |
CN210807310U (en) * | 2019-11-27 | 2020-06-19 | 深圳市蓝海华腾技术股份有限公司 | CAN bus receiving and transmitting driving device and CAN transceiver |
CN113726626B (en) * | 2021-08-31 | 2023-03-03 | 天津津航计算技术研究所 | Filter protection circuit based on CAN bus driver chip |
CN217037205U (en) * | 2022-04-15 | 2022-07-22 | 福州福光百特自动化设备有限公司 | A Fieldbus-Based Digital Signal Transmission Isolation Circuit |
CN115348129B (en) * | 2022-07-20 | 2023-08-15 | 西安电子科技大学芜湖研究院 | CAN transceiver receiving circuit |
-
2023
- 2023-01-31 CN CN202310046486.1A patent/CN116243634B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108123859A (en) * | 2016-11-30 | 2018-06-05 | 中国科学院沈阳自动化研究所 | Enhance the circuit system of the capable of resisting common-mode noise interference ability of CAN bus signal |
CN109683513A (en) * | 2018-12-11 | 2019-04-26 | 天津津航计算技术研究所 | 100,000,000 1553B of one kind hair control simulated-bus front end |
CN209233717U (en) * | 2019-01-16 | 2019-08-09 | 珠海美光原科技股份有限公司 | A kind of EMC filter circuit |
Also Published As
Publication number | Publication date |
---|---|
CN116243634A (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105429837A (en) | MVB bus repeater | |
CN100470992C (en) | Lightning protection circuit for Ethernet interface | |
CN109379107B (en) | Broadband carrier (HPLC) module supporting active reporting of power failure events | |
CN111294263A (en) | CAN bus circuit | |
CN116243634B (en) | Fieldbus driving circuit suitable for under strong interference environment | |
CN216134478U (en) | Ethernet switching circuit, adapter and laser control equipment | |
CN103095465A (en) | Power over Ethernet (POE) system and light-emitting diode (LED) lighting device using the same | |
CN218958901U (en) | Isolation protection circuit of RS485 bus communication interface and electronic equipment | |
CN1305255C (en) | Controller local area network (LAN) bus communication hub based on optical fibre dielectric communication | |
CN108832714B (en) | An active distribution network intelligent terminal battery isolation monitoring device | |
CN105576641A (en) | CAN-BUS protection circuit and motion control system applying same | |
CN208547696U (en) | Circuit Board Test Fixture System | |
CN222763595U (en) | Surge-proof and static protection circuit and POE device | |
CN105743581A (en) | Anti-interference high-speed differential isolation data asynchronous communication module | |
CN207560005U (en) | For the telecommunication circuit of battery management system | |
CN117459330B (en) | High-reliability EMI friendly Ethernet circuit | |
CN218957157U (en) | A server multifunctional network port and network serial port debugging connector | |
CN104377677B (en) | Surge protection device of end-span method active Ethernet | |
CN222838490U (en) | Telemetry system and its signal conversion circuit | |
CN222691386U (en) | Signal lightning protection circuit without grounding wire | |
CN220798227U (en) | Lightning stroke protection circuit of power line carrier communication amplifier | |
CN110492608A (en) | A kind of device and method of electric energy meter information parameter forwarding | |
CN222192500U (en) | Digital intercom conversion module | |
CN222852256U (en) | PWM signal anti-interference circuit and corresponding circuit board | |
CN205193241U (en) | Take optoelectronic isolation's armature integrated test device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |