[go: up one dir, main page]

CN108445818A - A kind of data interaction intelligent terminal system and communication means - Google Patents

A kind of data interaction intelligent terminal system and communication means Download PDF

Info

Publication number
CN108445818A
CN108445818A CN201810505809.8A CN201810505809A CN108445818A CN 108445818 A CN108445818 A CN 108445818A CN 201810505809 A CN201810505809 A CN 201810505809A CN 108445818 A CN108445818 A CN 108445818A
Authority
CN
China
Prior art keywords
pin
chip
pins
circuit
resistor
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.)
Granted
Application number
CN201810505809.8A
Other languages
Chinese (zh)
Other versions
CN108445818B (en
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.)
Nanjing Jie Chuan Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810505809.8A priority Critical patent/CN108445818B/en
Publication of CN108445818A publication Critical patent/CN108445818A/en
Application granted granted Critical
Publication of CN108445818B publication Critical patent/CN108445818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)
  • Electronic Switches (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention relates to a kind of data interaction intelligent terminal system and communication means, host terminal, it includes key control unit, DIDO isolation cards circuit, AI isolation cards circuit, AO isolation cards circuit, association's processing unit interface circuit, serial ports isolation card circuit, integrated communication card circuit, human-computer interaction circuit, PWM counter isolation boards circuit, I/O expansion card circuit and Power Management Unit;Terminal system includes data interaction smart host terminal, data/address bus, the 1st slave terminal to N slave terminals;Communication means is the communication carried out from module using flames of war relay primary module and flames of war relay;The present invention has flexibly can assembled characteristic;The present invention have efficient, powerful secondary development characteristic and efficiently, easily slave extended attribute;So that host is detached from such a way that communication bus selects slave, original two-way response formula communication is become into relay answer-mode, improves real-time communication;Anti-interference ability of the present invention and stability are stronger, slave plug and play, realize tandem type infinite expanding.

Description

一种数据交互智能终端系统及通信方法A data interaction intelligent terminal system and communication method

技术领域technical field

本发明涉及一种数据交互智能终端系统及通信方法,属于自动控制技术领域。The invention relates to a data interaction intelligent terminal system and a communication method, belonging to the technical field of automatic control.

背景技术Background technique

工业中经常要采集一些设备的信号或者要自动控制一些设备,而工业设备采用的控制器及信号种类多样,这就需要一种能够与多种设备连接的控制器或者媒介,其连接的信号类型需要涵盖DI(数字量输入)、DO(数字量输出)、AI(模拟量输入)、AO(模拟量输出)及各种串行通信数据信号(比如485通信、CAN通信、以太网等)。现有的处理方式一般如下: 1.使用PLC。PLC虽然使用简单,可靠性高,但其成本高,且其体系结构是封闭的,各PLC产商也是百家争鸣,硬件体系互不兼容,编程语言及指令系统也各异,当用户选择了一种PLC产品后,必须选择与其相应的控制规程,并且学习特定的编程语言。这无疑延长了开发周期,在人员流动频繁的地方这种缺陷尤为明显; 2. 购买一些通用的模块再进行二次研发。虽然控制现场有多种信号,但不同的控制现场侧重点不同,这就造成一种控制媒介很难应用到各种通信场合,而控制媒介的开发者也往往需要针对不同的工业现场购买不同的模块,用于开发不同的控制设备;以上两种方式都会在一定程度上造成人力资源、物质资源的浪费。而且,电子产品虽然使用方便,但其对环境的潜在危害大,回收率低又低,在环境问题日益严重的今天,是不利于生态文明发展的。In the industry, it is often necessary to collect the signals of some equipment or to automatically control some equipment, and the controllers and signals used in industrial equipment are various, which requires a controller or medium that can be connected to a variety of equipment. The type of signal connected It needs to cover DI (digital input), DO (digital output), AI (analog input), AO (analog output) and various serial communication data signals (such as 485 communication, CAN communication, Ethernet, etc.). The existing processing methods are generally as follows: 1. Use PLC. Although PLC is easy to use and has high reliability, its cost is high, and its system structure is closed. Various PLC manufacturers are also contending with each other, their hardware systems are not compatible with each other, and their programming languages and instruction systems are also different. After purchasing PLC products, you must choose the corresponding control procedures and learn a specific programming language. This undoubtedly prolongs the development cycle, especially in places with frequent personnel turnover; 2. Purchase some general-purpose modules and conduct secondary research and development. Although there are many kinds of signals in the control site, different control sites have different emphases, which makes it difficult for one control medium to be applied to various communication occasions, and the developers of the control medium often need to purchase different signals for different industrial sites. Modules are used to develop different control devices; the above two methods will cause waste of human resources and material resources to a certain extent. Moreover, although electronic products are convenient to use, their potential harm to the environment is great, and the recovery rate is low and low. In today's increasingly serious environmental problems, it is not conducive to the development of ecological civilization.

发明内容Contents of the invention

本发明针对以上问题,借鉴活字印刷术的思路,本发明提出了一种数据交互智能终端系统及通信方法,在不影响工业现场需求的同时,实现了功能分解,各功能模块独自成型,在使用时根据需要进行拼装,极大的提高了电子产品的利用率。Aiming at the above problems, the present invention draws on the idea of movable type printing, and proposes a data interactive intelligent terminal system and communication method, which realizes functional decomposition without affecting the needs of industrial sites, and each functional module is formed independently, and can be used in When assembled according to needs, the utilization rate of electronic products is greatly improved.

本发明采用的技术方案如下:The technical scheme that the present invention adopts is as follows:

一种数据交互智能主机终端,它包括核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路和电源管理单元;所述核心控制单元与所述串口隔离卡电路的相应端口双向连接,所述串口隔离卡电路与待测的串口信号端口双向连接;所述核心控制单元与所述综合通信卡电路的相应端口双向连接,所述综合通信卡电路与串行数字信号端口双向连接;所述核心控制单元与所述IO扩展卡电路的相应端口双向连接,所述IO扩展卡电路与多功能数据交互智能从机终端端口双向连接;所述核心控制单元与所述协处理单元接口电路的相应端口双向连接,所述协处理单元接口电路的第一输入端接入侵检测及中断输入信号端口,所述协处理单元接口电路的第一输出端接所述人机交互电路的相应输入端,协处理单元接口电路的第二输出端接所述PWM计数器隔离板电路的相应输入端;所述人机交互电路与所述核心控制单元的相应端口双向连接;所述核心控制单元与所述PWM计数器隔离板电路的相应端口双向连接,待测的脉冲信号端口与所述PWM计数器隔离板电路的相应端口双向连接;所述核心控制单元的输出端接所述AO隔离卡电路的的相应端口输入端,所述AO隔离卡电路的输出端接模拟控制信号端口;所述AI隔离卡电路的输入端接待测量的模拟信号端口,所述AI隔离卡电路的输出端接核心控制单元的相应输入端;所述DIDO隔离卡电路与所述核心控制单元的相应端口双向连接,所述DIDO隔离卡电路与开关信号端口的相应端口双向连接;所述电源管理单元的输出端分别接所述核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路的相应电源端口,电源管理单元的输入端接外部供电电源。A data interaction intelligent host terminal, which includes a core control unit, a DIDO isolation card circuit, an AI isolation card circuit, an AO isolation card circuit, a co-processing unit interface circuit, a serial port isolation card circuit, an integrated communication card circuit, a human-computer interaction circuit, PWM counter isolation board circuit, IO expansion card circuit and power management unit; The core control unit is bidirectionally connected with the corresponding port of the serial port isolation card circuit, and the serial port isolation card circuit is bidirectionally connected with the serial port signal port to be tested; The core control unit is bidirectionally connected with the corresponding port of the integrated communication card circuit, and the integrated communication card circuit is bidirectionally connected with the serial digital signal port; the core control unit is bidirectionally connected with the corresponding port of the IO expansion card circuit, The IO expansion card circuit is bidirectionally connected to the multifunctional data interactive intelligent slave terminal port; the core control unit is bidirectionally connected to the corresponding port of the co-processing unit interface circuit, and the first input terminal of the co-processing unit interface circuit connected to the intrusion detection and interrupt input signal port, the first output terminal of the co-processing unit interface circuit is connected to the corresponding input terminal of the human-computer interaction circuit, and the second output terminal of the co-processing unit interface circuit is connected to the PWM counter isolation board The corresponding input terminal of the circuit; the human-computer interaction circuit is bidirectionally connected with the corresponding port of the core control unit; the core control unit is bidirectionally connected with the corresponding port of the PWM counter isolation board circuit, and the pulse signal port to be tested is connected with the corresponding port of the PWM counter isolation board circuit. The corresponding port of the PWM counter isolation board circuit is bidirectionally connected; the output terminal of the core control unit is connected to the corresponding port input terminal of the AO isolation card circuit, and the output terminal of the AO isolation card circuit is connected to the analog control signal port; The input terminal of the AI isolation card circuit receives the measured analog signal port, and the output terminal of the AI isolation card circuit is connected to the corresponding input terminal of the core control unit; the DIDO isolation card circuit is bidirectional with the corresponding port of the core control unit connection, the DIDO isolation card circuit is bidirectionally connected to the corresponding port of the switch signal port; the output end of the power management unit is respectively connected to the core control unit, DIDO isolation card circuit, AI isolation card circuit, AO isolation card circuit, cooperating The processing unit interface circuit, serial port isolation card circuit, integrated communication card circuit, man-machine interaction circuit, PWM counter isolation board circuit, corresponding power ports of the IO expansion card circuit, and the input terminal of the power management unit are connected to an external power supply.

所述的一种数据交互智能主机终端还包括主板及第一至第十电路板;所述协处理单元接口电路设置在主板上;所述核心控制单元设置在第一电路板上;所述DIDO隔离卡电路设置在第二电路板上;AI隔离卡电路设置在第三电路板上;AO隔离卡电路设置在第四电路板上;串口隔离卡电路设置在第五电路板上;综合通信卡电路设置在第六电路板上;人机交互电路设置在第七电路板上;PWM计数器隔离板电路设置在第八电路板上;IO扩展卡电路设置在第九电路板上;电源管理单元设置在第十电路板上;所述第一至第十电路板以插接方式与所述主板相连接。The data interaction intelligent host terminal also includes a main board and first to tenth circuit boards; the interface circuit of the co-processing unit is arranged on the main board; the core control unit is arranged on the first circuit board; the DIDO The isolation card circuit is set on the second circuit board; the AI isolation card circuit is set on the third circuit board; the AO isolation card circuit is set on the fourth circuit board; the serial port isolation card circuit is set on the fifth circuit board; the integrated communication card The circuit is set on the sixth circuit board; the human-computer interaction circuit is set on the seventh circuit board; the PWM counter isolation board circuit is set on the eighth circuit board; the IO expansion card circuit is set on the ninth circuit board; the power management unit is set On the tenth circuit board; the first to tenth circuit boards are connected to the main board in a plug-in manner.

一种拼装式数据交互智能终端系统,其包括数据交互智能主机终端、数据总线、第1从机终端至第N从机终端,其中N为大于1的整数;所述第1从机终端至第N从机终端的结构相同,所述第1从机终端至第N从机终端的扩展形式为级联式;所述数据交互智能主机终端依次经第1从机终端、第2从机终端、…、第N-1从机终端与第N从机终端相连接;所述数据交互智能主机终端、第1从机终端至第N从机终端分别连接到数据总线上。An assembled data interactive intelligent terminal system, which includes a data interactive intelligent host terminal, a data bus, the first slave terminal to the Nth slave terminal, wherein N is an integer greater than 1; the first slave terminal to the Nth slave terminal The structure of the N slave terminals is the same, and the expansion form of the first slave terminal to the N slave terminal is a cascade type; the data interaction intelligent host terminal passes through the first slave terminal, the second slave terminal, ..., the N-1th slave terminal is connected to the Nth slave terminal; the data interaction intelligent master terminal, the first slave terminal to the Nth slave terminal are respectively connected to the data bus.

利用拼装式数据交互智能终端系统进行通信的方法,其利用烽火接力主模块与烽火接力从模块进行的通信,具体步骤如下:The method of using the assembled data interactive intelligent terminal system for communication, which uses the communication between the beacon relay master module and the beacon relay slave module, the specific steps are as follows:

(1)将核心处理单元初始化,使烽火接力主模块的选择信号输入端FH的引脚为低电平,烽火接力主模块的时钟信号输入端CLK的引脚为高电平;(1) Initialize the core processing unit so that the pin of the selection signal input terminal FH of the beacon relay main module is at a low level, and the pin of the clock signal input terminal CLK of the beacon relay main module is at a high level;

(2)嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送选择信号,即发送高电平;(2) The embedded chip 1U1 sends a selection signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, sends a high level;

(3)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,即高电平—低电平—高电平;(3) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay main module, that is, high level-low level-high level;

(4) 嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送清除信号,即低电平,并将从机地址i清零;(4) The embedded chip 1U1 sends a clear signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, low level, and clears the slave address i;

(5)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,并将从机地址i自增1;(5) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay master module, and increments the slave address i by 1;

(6)嵌入式芯片1U1检测从机地址i是否大于从机极限数量m,如果是,则执行第(7)步,否则执行第(8)步;(6) The embedded chip 1U1 detects whether the slave address i is greater than the limit number m of the slave, if yes, then executes step (7), otherwise executes step (8);

(7)当烽火接力从模块出现异常时,输出异常通知;(7) When the beacon relay slave module is abnormal, output an abnormal notification;

(8)嵌入式芯片1U1判断是否接收到终止信号,烽火接力主模块的反馈信号输出端FHFK的引脚发送选择信号为低电平,如果未收到,则执行第(9)步,否则执行第(10)步;(8) The embedded chip 1U1 judges whether the termination signal is received, and the pin of the feedback signal output terminal FHFK of the beacon relay main module sends the selection signal to a low level. If not received, execute step (9), otherwise execute step (10);

(9)嵌入式芯片1U1输出读写数据通知,然后跳转到第(5)步;(9) The embedded chip 1U1 outputs the read and write data notification, and then jumps to step (5);

(10)嵌入式芯片1U1判断从机地址i是否超过了烽火接力主模块检测到的数据交互智能从机终端的数量n,如果是,跳转到第(2)步,否则执行第(11)步;(10) The embedded chip 1U1 judges whether the slave address i exceeds the number n of data interaction intelligent slave terminals detected by the beacon relay master module, if yes, jump to step (2), otherwise execute step (11) step;

(11)嵌入式芯片1U1输出从机终端上下线通知;(11) Embedded chip 1U1 outputs the notification that the slave terminal goes online and offline;

(12)重新设置数据交互智能从机终端数量n为i-1,跳转到第(2)步;(12) Reset the number n of data interaction intelligent slave terminals to i-1, and jump to step (2);

上述步骤中,i为从机地址;n为从机终端数量;m为从机终端极限数量;其中,i的取值范围是1~100,n的取值范围是1~100, m的取值范围是1~100。In the above steps, i is the slave address; n is the number of slave terminals; m is the limit number of slave terminals; wherein, the value range of i is 1~100, the value range of n is 1~100, and the value of m is The value range is 1~100.

本发明的有益效果如下:本发明具有灵活的可拼装特性,可代替PLC工作,且其拥有高度灵活的二次开发性能,AI、AO、DI、DO、串行通信接口到核心控制单元之间,提供了灵活的用户扩展模块接口,用户可根据实际需求,自行设计隔离电路或其它功能的电路,这使得整个架构如同开源的系统一样,可方便的进行改进;也如同活字印刷术一般,不必因为局部的改进而进行整套电路板的重新生产;本发明具有高效、强大的二次开发特性,搭载的.NET Micro Framework嵌入式系统,使面向对象的设计思想应用到了硬件开发中,可令软件开发人员从C#.Net/VB.NET的PC开发端快速进入,利用Visual Studio 的高生产率开发硬件系统,而不需要专业的硬件开发工程师,从而可为二次开发的企业降低人工成本;本发明具有高效、便捷的从机扩展特性,数据交互主机终端与数据交互扩展从机终端集成特有的烽火接力模块,其使用特有的信号传递方式(这里命名为:烽火接力法),使主机脱离通过通信总线选择从机的方式,从机在检测到接力信号以后,可自动接通通信总线发送数据,如此,将原来的双向应答式通信变成了接力回答方式,不用主机喊话,从机自动回答,提高了通信实时性;且其所服务从机终端不需要有可编程的MCU,相对于有MCU系列,抗干扰能力和稳定性更强;且其只需使用包括电源线、地线在内的4条线,便可令从机即插即用,实现理论上的级联式无限扩展本;发明本发明适用于钢铁、石油、化工、电力、建材、机械制造、汽车、轻纺、交通运输、环保等各行各业,对于所有需要开关量逻辑控制、过程控制、数据处理、通信联网的自动控制领域都可以通用。The beneficial effects of the present invention are as follows: the present invention has flexible assembly characteristics, can replace PLC work, and it has highly flexible secondary development performance, AI, AO, DI, DO, serial communication interface to the core control unit , providing a flexible user expansion module interface, users can design isolation circuits or other functional circuits according to actual needs, which makes the entire architecture as open source systems, which can be easily improved; also like movable type printing, no need to Due to partial improvement, the entire set of circuit boards is re-produced; the present invention has high-efficiency and powerful secondary development characteristics, and the embedded system of .NET Micro Framework enables the application of object-oriented design ideas to hardware development, enabling software Developers quickly enter from the PC development end of C#.Net/VB.NET, and use the high productivity of Visual Studio to develop hardware systems without the need for professional hardware development engineers, thereby reducing labor costs for secondary development enterprises; the present invention With efficient and convenient slave expansion features, the data interaction host terminal and the data interaction expansion slave terminal integrate a unique beacon relay module, which uses a unique signal transmission method (here named: beacon relay method), so that the host is separated from the through communication The bus selects the slave mode. After the slave machine detects the relay signal, it can automatically connect to the communication bus to send data. In this way, the original two-way response communication is changed into a relay answer mode. The slave machine automatically answers without the host shouting. It improves the real-time performance of communication; and the slave terminal it serves does not need a programmable MCU. Compared with the MCU series, it has stronger anti-interference ability and stability; and it only needs to use the power line, ground line, etc. 4 lines, you can make the slave machine plug and play, realize the theoretical cascading infinite expansion; the invention is applicable to steel, petroleum, chemical industry, electric power, building materials, machinery manufacturing, automobile, textile, transportation It can be used in all walks of life, such as environmental protection, etc., and can be used in all automatic control fields that require switch logic control, process control, data processing, and communication networking.

附图说明Description of drawings

图1为本发明的数据交互智能主机终端的原理框图;Fig. 1 is the functional block diagram of the data interaction intelligent host terminal of the present invention;

图2为本发明的电源管理单元的电路原理图;Fig. 2 is the circuit schematic diagram of the power management unit of the present invention;

图3为本发明的核心控制单元的电路原理图;Fig. 3 is the circuit principle diagram of core control unit of the present invention;

图4为本发明的IO扩展总线通信电路的电路原理图;Fig. 4 is the circuit principle diagram of IO expansion bus communication circuit of the present invention;

图5为本发明的烽火接力主模块电路的电路原理图;Fig. 5 is the circuit schematic diagram of the beacon relay main module circuit of the present invention;

图6为本发明的第一串口隔离卡电路的电路原理图;Fig. 6 is the circuit schematic diagram of the first serial port isolation card circuit of the present invention;

图7为本发明的第一AI隔离电路的电路原理图;7 is a schematic circuit diagram of the first AI isolation circuit of the present invention;

图8为本发明的AO隔离卡电路的电路原理图;Fig. 8 is the circuit schematic diagram of AO isolation card circuit of the present invention;

图9为本发明的并串转换输入电路的电路原理图;Fig. 9 is a schematic circuit diagram of the parallel-to-serial conversion input circuit of the present invention;

图10为本发明的串并转换输出电路的电路原理图;Fig. 10 is the circuit schematic diagram of the serial-to-parallel conversion output circuit of the present invention;

图11为本发明的第一DO驱动电路的电路原理图;11 is a circuit schematic diagram of the first DO drive circuit of the present invention;

图12为本发明的第一DO隔离电路的电路原理图;12 is a schematic circuit diagram of the first DO isolation circuit of the present invention;

图13为本发明的第一DI隔离电路的电路原理图;13 is a schematic circuit diagram of the first DI isolation circuit of the present invention;

图14为本发明的DIDO隔离电路的电路原理图;FIG. 14 is a schematic circuit diagram of the DIDO isolation circuit of the present invention;

图15为本发明的PWM计数器隔离板电路的电路原理图;Fig. 15 is the circuit schematic diagram of the PWM counter isolation board circuit of the present invention;

图16为本发明的第一人机交互电路的电路原理图;Fig. 16 is a schematic circuit diagram of the first human-computer interaction circuit of the present invention;

图17为本发明的第二人机交互电路的电路原理图Fig. 17 is the circuit schematic diagram of the second human-computer interaction circuit of the present invention

图18为本发明的串口电路的电路原理图;Fig. 18 is the circuit schematic diagram of the serial port circuit of the present invention;

图19为本发明的CAN总线电路的电路原理图;;Fig. 19 is a schematic circuit diagram of the CAN bus circuit of the present invention;

图20为本发明的拼装式数据交互智能终端系统原理框图;Fig. 20 is a functional block diagram of the assembled data interaction intelligent terminal system of the present invention;

图21为本发明的第1从机终端的原理框图;Fig. 21 is a functional block diagram of the first slave terminal of the present invention;

图22为本发明的烽火接力从模块电路的电路原理图;Fig. 22 is a schematic circuit diagram of the beacon relay slave module circuit of the present invention;

图23为本发明的总线控制器的电路图。Fig. 23 is a circuit diagram of the bus controller of the present invention.

具体实施方式Detailed ways

由图1-23所示的实施例可知,它涉及一种数据交互智能主机终端,包括核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路和电源管理单元;所述核心控制单元与所述串口隔离卡电路的相应端口双向连接,所述串口隔离卡电路与待测的串口信号端口双向连接;所述核心控制单元与所述综合通信卡电路的相应端口双向连接,所述综合通信卡电路与串行数字信号端口双向连接;所述核心控制单元与所述IO扩展卡电路的相应端口双向连接,所述IO扩展卡电路与多功能数据交互智能从机终端端口双向连接;所述核心控制单元与所述协处理单元接口电路的相应端口双向连接,所述协处理单元接口电路的第一输入端接入侵检测及中断输入信号端口,所述协处理单元接口电路的第一输出端接所述人机交互电路的相应输入端,协处理单元接口电路的第二输出端接所述PWM计数器隔离板电路的相应输入端;所述人机交互电路与所述核心控制单元的相应端口双向连接;所述核心控制单元与所述PWM计数器隔离板电路的相应端口双向连接,待测的脉冲信号端口与所述PWM计数器隔离板电路的相应端口双向连接;所述核心控制单元的输出端接所述AO隔离卡电路的的相应端口输入端,所述AO隔离卡电路的输出端接模拟控制信号端口;所述AI隔离卡电路的输入端接待测量的模拟信号端口,所述AI隔离卡电路的输出端接核心控制单元的相应输入端;所述DIDO隔离卡电路与所述核心控制单元的相应端口双向连接,所述DIDO隔离卡电路与开关信号端口的相应端口双向连接;所述电源管理单元的输出端分别接所述核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路的相应电源端口,电源管理单元的输入端接外部供电电源。From the embodiment shown in Figure 1-23, it can be seen that it involves a data interaction intelligent host terminal, including a core control unit, a DIDO isolation card circuit, an AI isolation card circuit, an AO isolation card circuit, a co-processing unit interface circuit, and a serial port isolation card circuit, integrated communication card circuit, human-computer interaction circuit, PWM counter isolation board circuit, IO expansion card circuit and power management unit; the core control unit is bidirectionally connected with the corresponding port of the serial port isolation card circuit, and the serial port isolation The card circuit is bidirectionally connected with the serial port signal port to be tested; the core control unit is bidirectionally connected with the corresponding port of the integrated communication card circuit, and the integrated communication card circuit is bidirectionally connected with the serial digital signal port; the core control unit Two-way connection with the corresponding port of the IO expansion card circuit, the two-way connection between the IO expansion card circuit and the multifunctional data interaction intelligent slave terminal port; the two-way connection between the core control unit and the corresponding port of the co-processing unit interface circuit The first input terminal of the co-processing unit interface circuit is connected to the intrusion detection and interrupt input signal port, the first output terminal of the co-processing unit interface circuit is connected to the corresponding input terminal of the human-computer interaction circuit, and the co-processing unit interface The second output terminal of the circuit is connected to the corresponding input terminal of the PWM counter isolation board circuit; the human-computer interaction circuit is bidirectionally connected to the corresponding port of the core control unit; the core control unit is connected to the PWM counter isolation board circuit The corresponding port of the corresponding port is bidirectionally connected, and the pulse signal port to be tested is bidirectionally connected with the corresponding port of the PWM counter isolation board circuit; the output terminal of the core control unit is connected to the corresponding port input terminal of the AO isolation card circuit, and the The output terminal of the AO isolation card circuit is connected to the analog control signal port; the input terminal of the AI isolation card circuit receives the measured analog signal port, and the output terminal of the AI isolation card circuit is connected to the corresponding input terminal of the core control unit; the DIDO The isolation card circuit is bidirectionally connected to the corresponding port of the core control unit, and the DIDO isolation card circuit is bidirectionally connected to the corresponding port of the switch signal port; the output ends of the power management unit are respectively connected to the core control unit, the DIDO isolation card circuit, AI isolation card circuit, AO isolation card circuit, co-processing unit interface circuit, serial port isolation card circuit, integrated communication card circuit, human-computer interaction circuit, PWM counter isolation board circuit, corresponding power port of IO expansion card circuit, power management The input terminal of the unit is connected to an external power supply.

所述数据交互智能主机终端还包括主板及第一至第十电路板;所述协处理单元接口电路设置在主板上;所述核心控制单元设置在第一电路板上;所述DIDO隔离卡电路设置在第二电路板上;AI隔离卡电路设置在第三电路板上;AO隔离卡电路设置在第四电路板上;串口隔离卡电路设置在第五电路板上;综合通信卡电路设置在第六电路板上;人机交互电路设置在第七电路板上;PWM计数器隔离板电路设置在第八电路板上;IO扩展卡电路设置在第九电路板上;电源管理单元设置在第十电路板上;所述第一至第十电路板以插接方式与所述主板相连接。The data interaction intelligent host terminal also includes a main board and first to tenth circuit boards; the co-processing unit interface circuit is arranged on the main board; the core control unit is arranged on the first circuit board; the DIDO isolation card circuit It is set on the second circuit board; the AI isolation card circuit is set on the third circuit board; the AO isolation card circuit is set on the fourth circuit board; the serial port isolation card circuit is set on the fifth circuit board; the integrated communication card circuit is set on the The sixth circuit board; the human-computer interaction circuit is set on the seventh circuit board; the PWM counter isolation board circuit is set on the eighth circuit board; the IO expansion card circuit is set on the ninth circuit board; the power management unit is set on the tenth circuit board On a circuit board; the first to tenth circuit boards are connected to the main board in a plug-in manner.

所述电源管理单元由芯片U1、芯片U5、芯片U8、二极管D101、电感L101、电容C101-电容C105、电阻R101-电阻R104组成;所述芯片U1的型号为MP2403,芯片U5的型号为APL117-3.3,芯片U8的型号为DC1212,二极管D101的型号为SS14;The power management unit is composed of chip U1, chip U5, chip U8, diode D101, inductor L101, capacitor C101-capacitor C105, resistor R101-resistor R104; the model of the chip U1 is MP2403, and the model of the chip U5 is APL117- 3.3, the model of the chip U8 is DC1212, and the model of the diode D101 is SS14;

所述芯片U1的输入脚2脚接外部供电电源WB;芯片U1的输出脚3脚接电感L101的一端,电感L101的另一端为输出端+5V;电容C101接在芯片U1的输入脚2脚与地之间,二极管D101接在芯片U1的输出脚3脚与地之间,电容C102接在芯片U1的1脚与3脚之间,芯片U1的4脚接地,芯片U1的5脚经电阻R102接所述输出端+5V,电阻R101接在芯片U1的5脚与地之间,电容C104与电阻R103相串联后接在芯片U1的6脚与地之间,电容C105接在输出端+5V与地之间,电阻R104接在芯片U1的7脚与2脚之间,电容C103接在芯片U1的8脚与地之间;The input pin 2 of the chip U1 is connected to the external power supply WB; the output pin 3 of the chip U1 is connected to one end of the inductor L101, and the other end of the inductor L101 is the output terminal +5V; the capacitor C101 is connected to the input pin 2 of the chip U1 Between the ground and the ground, the diode D101 is connected between the output pin 3 of the chip U1 and the ground, the capacitor C102 is connected between the 1 pin and the 3 pin of the chip U1, the 4 pin of the chip U1 is grounded, and the 5 pin of the chip U1 is connected by a resistor R102 is connected to the output terminal +5V, resistor R101 is connected between pin 5 of chip U1 and ground, capacitor C104 is connected in series with resistor R103 between pin 6 of chip U1 and ground, and capacitor C105 is connected to output terminal + Between 5V and ground, resistor R104 is connected between pin 7 and pin 2 of chip U1, and capacitor C103 is connected between pin 8 of chip U1 and ground;

所述芯片U5的输入端Vin接输出端+5V,芯片U5的输出端Vout为输出端+3.3V,芯片U5的接地端接地;The input terminal Vin of the chip U5 is connected to the output terminal +5V, the output terminal Vout of the chip U5 is the output terminal +3.3V, and the ground terminal of the chip U5 is grounded;

所述芯片U8的输入脚2脚接外部供电电源WB,芯片U8的1脚与3脚接地,芯片U8的4脚为输出端+12V;The input pin 2 of the chip U8 is connected to the external power supply WB, the 1 pin and the 3 pin of the chip U8 are grounded, and the 4 pin of the chip U8 is the output terminal +12V;

所述核心控制单元包括嵌入式芯片1U1及其外围元器件开关1S2、晶振1Y101-1Y102、电阻1R101-1R103、电容1C101-1C107、数据锁存器1U2-1U3和反相器芯片1U8;所述嵌入式芯片1U1为植入了.Net Micro Framwork微型框架的型号为STM32F103ZET6的嵌入式芯片,所述开关1S2、电阻1R103和电容1C105组成的复位电路接在嵌入式芯片1U1的25脚与地之间,所述晶振1Y102、电阻1R102和电容1C103-1C104组成的第一晶振电路接在嵌入式芯片1U1的23脚与24脚之间,所述晶振1Y101、电阻1R101和电容1C101-1C102组成的第二晶振电路接在嵌入式芯片1U1的8脚与9脚之间;所述数据锁存器1U2-1U3的型号为74HC573,所述数据锁存器1U2的输入脚2脚-9脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚,数据锁存器1U2的10脚接地,数据锁存器1U2的20脚接所述输出端+3.3V;所述数据锁存器1U3的输入脚2脚-9脚分别接所述嵌入式芯片1U1的64脚-68脚、77脚-79脚,数据锁存器1U3的10脚接地,数据锁存器1U3的20脚接所述输出端+3.3V;所述反相器芯片1U8的型号为74LVC2G04,所述反相器芯片1U8的1脚接所述嵌入式芯片1U1的137脚,所述反相器芯片1U8的3脚接所述嵌入式芯片1U1的110脚,所述反相器芯片1U8的6脚接数据锁存器1U2的11脚和数据锁存器1U3的11脚,反相器芯片1U8的2脚接地,反相器芯片1U8的5脚接所述输出端+3.3V;The core control unit includes an embedded chip 1U1 and its peripheral components switch 1S2, crystal oscillator 1Y101-1Y102, resistors 1R101-1R103, capacitors 1C101-1C107, data latches 1U2-1U3 and inverter chip 1U8; The type chip 1U1 is an embedded chip of the type STM32F103ZET6 implanted with the .Net Micro Framwork microframe, and the reset circuit composed of the switch 1S2, the resistor 1R103 and the capacitor 1C105 is connected between pin 25 of the embedded chip 1U1 and the ground. The first crystal oscillator circuit composed of the crystal oscillator 1Y102, resistor 1R102 and capacitor 1C103-1C104 is connected between pin 23 and pin 24 of the embedded chip 1U1, and the second crystal oscillator circuit composed of the crystal oscillator 1Y101, resistor 1R101 and capacitor 1C101-1C102 The circuit is connected between pins 8 and 9 of the embedded chip 1U1; the model of the data latch 1U2-1U3 is 74HC573, and the input pins 2-9 of the data latch 1U2 are respectively connected to the embedded 86-85 pins, 114-115 pins, 58-60 pins, 63 pins of the chip 1U1, 10 pins of the data latch 1U2 are grounded, and 20 pins of the data latch 1U2 are connected to the output terminal +3.3 V; the input pins 2-9 pins of the data latch 1U3 are respectively connected to the 64-68 pins and 77-79 pins of the embedded chip 1U1, and the 10 pins of the data latch 1U3 are grounded, and the data lock Pin 20 of the memory 1U3 is connected to the output terminal +3.3V; the model of the inverter chip 1U8 is 74LVC2G04, and pin 1 of the inverter chip 1U8 is connected to pin 137 of the embedded chip 1U1. Pin 3 of the inverter chip 1U8 is connected to pin 110 of the embedded chip 1U1, and pin 6 of the inverter chip 1U8 is connected to pin 11 of the data latch 1U2 and pin 11 of the data latch 1U3, inverting Pin 2 of the inverter chip 1U8 is grounded, and pin 5 of the inverter chip 1U8 is connected to the output terminal +3.3V;

所述核心控制单元还包括芯片1U4、芯片1U5、芯片1U7;The core control unit also includes a chip 1U4, a chip 1U5, and a chip 1U7;

所述芯片1U4的型号为外扩SRAM芯片SRAM-IS62WV51216BLL,所述芯片1U4的7脚-10脚、13脚-16脚、29脚-32脚、35脚-38脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U4的5脚-1脚、44脚-42脚、27脚-24脚、22脚-19脚分别接所述数据锁存器1U2的输出脚19脚-12脚,数据锁存器1U3的输出脚19脚-12脚;所述芯片1U4的18脚、23脚、28脚分别接所述嵌入式芯片1U1的80脚-82脚;所述芯片1U4的6脚、17脚、39脚-41脚分别接所述嵌入式芯片1U1的123脚、119脚、41脚-42脚、118脚;芯片1U4的电源端11脚与33脚接所述输出端+3.3V,电容1C401接在芯片1U4的11脚与地之间,电容1C402接在芯片1U4的33脚与地之间,电阻1R401接在芯片1U4的6脚与所述输出端+3.3V之间;The model of the chip 1U4 is an externally expanded SRAM chip SRAM-IS62WV51216BLL, and the 7-pin-10 pin, 13-pin-16 pin, 29-pin-32 pin, and 35-pin-38 pin of the chip 1U4 are respectively connected to the embedded chip 86-85 pins, 114-115 pins, 58-60 pins, 63-68 pins, 77-79 pins of 1U1; 5-1 pins, 44-42 pins, 27 pins of the chip 1U4 Pin-24 pins, 22 pins-19 pins are respectively connected to the output pins 19-12 pins of the data latch 1U2, and the output pins 19-12 pins of the data latch 1U3; the 18 pins, Pins 23 and 28 are respectively connected to pins 80-82 of the embedded chip 1U1; pins 6, 17, 39-41 of the chip 1U4 are respectively connected to pins 123 and 119 of the embedded chip 1U1 , 41 pins-42 pins, 118 pins; the 11 pins and 33 pins of the power supply end of the chip 1U4 are connected to the output terminal +3.3V, the capacitor 1C401 is connected between the 11 pins of the chip 1U4 and the ground, and the capacitor 1C402 is connected to the chip 1U4 Between pin 33 and ground, resistor 1R401 is connected between pin 6 of chip 1U4 and the output terminal +3.3V;

所述芯片1U5的型号为外扩FLASH芯片MX29LV320,所述芯片1U5的29脚、31脚、33脚、35脚、38脚、40脚、42脚、44脚、30脚、32脚、34脚、36脚、39脚、41脚、43脚、45脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U5的25脚-18脚、8脚-1脚分别接所述数据锁存器1U2的输出脚19脚-12脚,数据锁存器1U3的输出脚19脚-12脚;所述芯片1U5的48脚、17脚-16脚、9脚-10脚分别接所述嵌入式芯片1U1的80脚-82脚、2脚-3脚;所述芯片1U5的11脚、12脚、15脚、28脚、26脚分别接所述嵌入式芯片1U1的119脚、25脚、122脚、118脚、125脚;所述芯片1U5的14脚经电阻1R502接所述输出端+3.3V,所述芯片1U5的15脚经电阻1R501接所述输出端+3.3V,所述芯片1U5的37脚接所述输出端+3.3V,滤波电容1C501接在芯片1U5的37脚与地之间;The model of the chip 1U5 is the external expansion FLASH chip MX29LV320, and the 29 pins, 31 pins, 33 pins, 35 pins, 38 pins, 40 pins, 42 pins, 44 pins, 30 pins, 32 pins, and 34 pins of the chip 1U5 , 36 pins, 39 pins, 41 pins, 43 pins, and 45 pins are respectively connected to 86 pins-85 pins, 114 pins-115 pins, 58 pins-60 pins, 63 pins-68 pins, and 77 pins of the embedded chip 1U1 -79 pins; 25 pins-18 pins and 8 pins-1 pins of the chip 1U5 are respectively connected to the output pins 19-12 pins of the data latch 1U2, and the output pins 19-12 pins of the data latch 1U3 Pins; 48 pins, 17 pins-16 pins, 9 pins-10 pins of the chip 1U5 are respectively connected to 80 pins-82 pins, 2 pins-3 pins of the embedded chip 1U1; 11 pins, 2 pins-3 pins of the chip 1U5 12 pins, 15 pins, 28 pins, and 26 pins are respectively connected to 119 pins, 25 pins, 122 pins, 118 pins, and 125 pins of the embedded chip 1U1; 14 pins of the chip 1U5 are connected to the output terminal through a resistor 1R502 +3.3V, the 15 pins of the chip 1U5 are connected to the output terminal +3.3V through the resistor 1R501, the 37 pins of the chip 1U5 are connected to the output terminal +3.3V, and the filter capacitor 1C501 is connected to the 37 pins of the chip 1U5 and Between the ground;

所述芯片1U7为外扩存储器MT29F1G08,所述芯片1U7的29脚-32脚、41脚-44脚、26脚-28脚、33脚、40脚、45脚-47脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U7的7脚、8脚、9脚、18脚分别接所述嵌入式芯片1U1的122脚、118脚、124脚、119脚;所述芯片1U7的16脚-17脚分别接所述嵌入式芯片1U1的81脚-80脚;所述芯片1U7的19脚接所述芯片1U5的14脚;所述芯片1U7的12脚、34脚、37脚、39脚均接所述输出端+3.3V,电容1C701接在芯片1U7的12脚与地之间。The chip 1U7 is an external expansion memory MT29F1G08, and the 29 pins-32 pins, 41 pins-44 pins, 26 pins-28 pins, 33 pins, 40 pins, 45 pins-47 pins of the chip 1U7 are respectively connected to the embedded 86-pin-85 pin, 114-pin-115 pin, 58-pin-60 pin, 63-pin-68 pin, 77-pin-79 pin of chip 1U1; 7-pin, 8-pin, 9-pin, 18-pin of chip 1U7 respectively Connect the 122 pins, 118 pins, 124 pins, and 119 pins of the embedded chip 1U1; the 16 pins-17 pins of the chip 1U7 are respectively connected to the 81 pins-80 pins of the embedded chip 1U1; Pin 19 is connected to pin 14 of the chip 1U5; pins 12, 34, 37, and 39 of the chip 1U7 are all connected to the output terminal +3.3V, and the capacitor 1C701 is connected between pin 12 of the chip 1U7 and the ground .

所述IO扩展卡电路包括IO扩展总线通信电路和烽火接力主模块电路;The IO expansion card circuit includes an IO expansion bus communication circuit and a beacon relay main module circuit;

所述IO扩展卡电路包括IO扩展总线通信电路和烽火接力主模块电路;所述IO扩展总线通信电路由光耦2U5、与非门2U6、光耦2U1至2U4、芯片2U7至2U8、排阻2RP101至2RP104和电阻2R501至2R506组成;所述光耦2U5的型号为TLP281-2,与非门2U6的型号为74HC00,光耦2U1至2U4的型号为TLP281-4,芯片2U7至2U8的型号为74HC245;The IO expansion card circuit includes an IO expansion bus communication circuit and a beacon relay main module circuit; the IO expansion bus communication circuit consists of optocoupler 2U5, NAND gate 2U6, optocoupler 2U1 to 2U4, chips 2U7 to 2U8, and resistance 2RP101 to 2RP104 and resistors 2R501 to 2R506; the model of the optocoupler 2U5 is TLP281-2, the model of the NAND gate 2U6 is 74HC00, the model of the optocoupler 2U1 to 2U4 is TLP281-4, and the model of the chip 2U7 to 2U8 is 74HC245 ;

所述烽火接力主模块电路由芯片12U4、放大器12U3、光耦12U1、芯片12U2、芯片12U5、恒流源12U6、三极管12Q01-三极管12Q03、电位器12RJ01、电阻12R11-电阻12R15、电阻12R31-电阻12R35、电阻12R22-电阻12R27和电容12C31-电容12C33组成;所述芯片12U4的型号为74HC74,放大器12U3的型号为LM358,光耦12U1的型号为TLP281-4,芯片12U2的型号为LM393,芯片12U5的型号为CN5710,恒流源12U6的型号为E-102T;The beacon relay main module circuit consists of chip 12U4, amplifier 12U3, optocoupler 12U1, chip 12U2, chip 12U5, constant current source 12U6, triode 12Q01-transistor 12Q03, potentiometer 12RJ01, resistor 12R11-resistance 12R15, resistor 12R31-resistance 12R35 , resistor 12R22-resistor 12R27 and capacitor 12C31-capacitor 12C33; the model of the chip 12U4 is 74HC74, the model of the amplifier 12U3 is LM358, the model of the optocoupler 12U1 is TLP281-4, the model of the chip 12U2 is LM393, and the model of the chip 12U5 The model is CN5710, and the model of the constant current source 12U6 is E-102T;

所述串口隔离卡电路包括第一至第四串口隔离卡电路;所述第一至第四串口隔离卡电路结构相同;其中第一串口隔离卡电路由芯片10U1至芯片10U7、数字三极管10Q3至数字三极管10Q5、二极管10D1、电阻10R51至电阻10R59和电容10C11至电容10C21组成;所述芯片10U1的型号为MAX232,芯片10U2的型号为MAX485,芯片10U3的型号为SN75179B,芯片10U4的型号为XC6401,芯片10U5的型号为TLP281-2,芯片10U6的型号为ADUM1201ARZ,芯片10U7的型号为DC-DC05;所述三极管10Q3、三极管10Q4为PNP型数字三极管,三极管10Q5为NPN型数字三极管;二极管10D1为共阴极型二极管;所述第二路串口隔离卡电路由芯片2-10U1至芯片2-10U7、数字三极管2-10Q3至数字三极管2-10Q5、二极管2-10D1、电阻2-10R51至电阻2-10R59和电容2-10C11至电容2-10C21组成;所述第三路串口隔离卡电路由芯片3-10U1至芯片3-10U7、数字三极管3-10Q3至数字三极管3-10Q5、二极管3-10D1、电阻3-10R51至电阻3-10R59和电容3-10C11至电容3-10C21组成;所述第四路串口隔离卡电路由芯片4-10U1至芯片4-10U7、数字三极管4-10Q3至数字三极管4-10Q5、二极管4-10D1、电阻4-10R51至电阻4-10R59和电容4-10C11至电容4-10C21组成;The serial port isolation card circuit includes first to fourth serial port isolation card circuits; the first to fourth serial port isolation card circuits have the same structure; wherein the first serial port isolation card circuit is composed of chip 10U1 to chip 10U7, digital transistor 10Q3 to digital Transistor 10Q5, diode 10D1, resistors 10R51 to 10R59, and capacitors 10C11 to 10C21 are composed; the model of the chip 10U1 is MAX232, the model of the chip 10U2 is MAX485, the model of the chip 10U3 is SN75179B, and the model of the chip 10U4 is XC6401. The model of 10U5 is TLP281-2, the model of chip 10U6 is ADUM1201ARZ, and the model of chip 10U7 is DC-DC05; the transistor 10Q3 and transistor 10Q4 are PNP digital transistors, and the transistor 10Q5 is an NPN digital transistor; diode 10D1 is a common cathode type diode; the second serial port isolation card circuit consists of chip 2-10U1 to chip 2-10U7, digital transistor 2-10Q3 to digital transistor 2-10Q5, diode 2-10D1, resistor 2-10R51 to resistor 2-10R59 and Composed of capacitor 2-10C11 to capacitor 2-10C21; the third serial port isolation card circuit consists of chip 3-10U1 to chip 3-10U7, digital transistor 3-10Q3 to digital transistor 3-10Q5, diode 3-10D1, resistor 3 -10R51 to resistor 3-10R59 and capacitor 3-10C11 to capacitor 3-10C21; the fourth serial port isolation card circuit consists of chip 4-10U1 to chip 4-10U7, digital triode 4-10Q3 to digital triode 4-10Q5 , diode 4-10D1, resistor 4-10R51 to resistor 4-10R59 and capacitor 4-10C11 to capacitor 4-10C21;

所述AI隔离卡电路包括第一AI隔离电路和第二AI隔离电路;所述第一AI隔离电路由放大器4U1、放大器4U2、电阻4R11-4R18、电阻4R21-电阻4R28、电阻4R31-电阻4R38、电容4C11-4C12和排阻4RP511-4RP512组成;所述放大器4U1、放大器4U2的型号均为LM324;The AI isolation card circuit includes a first AI isolation circuit and a second AI isolation circuit; the first AI isolation circuit is composed of amplifier 4U1, amplifier 4U2, resistance 4R11-4R18, resistance 4R21-resistance 4R28, resistance 4R31-resistance 4R38, Composed of capacitors 4C11-4C12 and exclusion resistors 4RP511-4RP512; the models of the amplifier 4U1 and amplifier 4U2 are both LM324;

所述AO隔离卡电路由放大器5U1、三极管5Q1-5Q2、电阻5R1-5R12和电容5C1-5C2组成;所述放大器5U1的型号为LM324;The AO isolation card circuit is composed of an amplifier 5U1, transistors 5Q1-5Q2, resistors 5R1-5R12 and capacitors 5C1-5C2; the model of the amplifier 5U1 is LM324;

所述协处理单元电路由并串转换输入电路与串并转换输出电路组成;所述并串转换输入电路由芯片6U1、芯片6U5至芯片6U7、芯片6UA至芯片6UB、三极管6Q701-6Q702、三极管6Q602、电阻6R701-6R708、电阻6R601-6R603和电容6C701-6C702、电容6C601-6C605组成;所述芯片6U1的型号为TLP281-2,所述芯片6U5至芯片6U6的型号为74HC165,芯片6U7的型号为BL1551,芯片6UA的型号为74HC165,芯片6UB的型号为74HC86;The co-processing unit circuit is composed of a parallel-to-serial conversion input circuit and a serial-to-parallel conversion output circuit; the parallel-to-serial conversion input circuit consists of chip 6U1, chip 6U5 to chip 6U7, chip 6UA to chip 6UB, triode 6Q701-6Q702, triode 6Q602 , resistors 6R701-6R708, resistors 6R601-6R603, capacitors 6C701-6C702, and capacitors 6C601-6C605; the model of the chip 6U1 is TLP281-2, the model of the chips 6U5 to 6U6 is 74HC165, and the model of the chip 6U7 is BL1551, the model of the chip 6UA is 74HC165, and the model of the chip 6UB is 74HC86;

所述串并转换输出电路由芯片7U1至芯片7U5、芯片7U8至芯片7U9、电容7C701至电容7C705和电容7C708至电容7C709组成;所述芯片7U1至芯片7U5、芯片7U9的型号为74HC594,所述芯片7U8的型号为74HC139;The serial-to-parallel conversion output circuit is composed of chips 7U1 to 7U5, chips 7U8 to 7U9, capacitors 7C701 to 7C705, and capacitors 7C708 to 7C709; the models of chips 7U1 to 7U5 and chip 7U9 are 74HC594. The model of chip 7U8 is 74HC139;

所述IO扩展总线通信电路的光耦2U5的2脚、4脚均接地,光耦2U5的6脚与8脚接所述输出端+5V,光耦2U5的5脚、7脚分别经电阻2R504、电阻2R503接地;所述与非门2U6的1脚、5脚、10脚、13脚-14脚接所述输出端+5V,与非门2U6的3脚与12脚连接,与非门2U6的6脚与9脚连接,与非门2U6的2脚接所述光耦2U5的7脚,与非门2U6的4脚接所述光耦2U5的5脚;The 2 pins and 4 pins of the optocoupler 2U5 of the IO expansion bus communication circuit are grounded, the 6 pins and 8 pins of the optocoupler 2U5 are connected to the output terminal +5V, and the 5 pins and 7 pins of the optocoupler 2U5 are respectively connected to the resistor 2R504 , resistance 2R503 is grounded; pins 1, 5, 10, 13-14 of the NAND gate 2U6 are connected to the output +5V, pins 3 and 12 of the NAND gate 2U6 are connected, and the NAND gate 2U6 The 6 pins of the NAND gate 2U6 are connected to the 9 pins, the 2 pins of the NAND gate 2U6 are connected to the 7 pins of the optocoupler 2U5, and the 4 pins of the NAND gate 2U6 are connected to the 5 pins of the optocoupler 2U5;

光耦2U1至2U2、芯片2U7、排阻2RP101至2RP102组成信号输出电路;所述排阻2RP101至2RP102的一端接所述嵌入式芯片1U1的93脚、10-15脚、132脚,所述排阻2RP101至2RP102的另一端依次接所述光耦2U1的1脚、3脚、5脚、7脚,光耦2U2的1脚、3脚、5脚、7脚;所述光耦2U1的2脚、4脚、6脚、8脚,2U2的2脚、4脚、6脚、8脚均接地;所述光耦2U1的16脚、14脚、12脚、10脚,2U2的16脚、14脚、12脚、10脚均接所述输出端+3.3V;所述光耦2U1的15脚、13脚、11脚、9脚,2U2的15脚、13脚、11脚、9脚依次接芯片2U7的2脚-9脚;所述芯片2U7的1脚与20脚均接所述输出端+3.3V,芯片2U7的19脚接与非门2U6的6脚;Optocouplers 2U1 to 2U2, chip 2U7, and exclusion 2RP101 to 2RP102 form a signal output circuit; one end of the exclusion 2RP101 to 2RP102 is connected to pins 93, 10-15, and 132 of the embedded chip 1U1. The other end of resistance 2RP101 to 2RP102 is sequentially connected to pin 1, pin 3, pin 5, and pin 7 of the optocoupler 2U1, pin 1, pin 3, pin 5, and pin 7 of the optocoupler 2U2; pin 2 of the optocoupler 2U1 pins, 4 pins, 6 pins, 8 pins, 2 pins, 4 pins, 6 pins, 8 pins of 2U2 are grounded; 16 pins, 14 pins, 12 pins, 10 pins of the optocoupler 2U1, 16 pins of 2U2, Pins 14, 12, and 10 are all connected to the output terminal +3.3V; pins 15, 13, 11, and 9 of the optocoupler 2U1, and pins 15, 13, 11, and 9 of 2U2 are in order Connect pins 2-9 of the chip 2U7; pins 1 and 20 of the chip 2U7 are connected to the output terminal +3.3V, and pin 19 of the chip 2U7 is connected to pin 6 of the NAND gate 2U6;

光耦2U3至2U4、芯片2U8、排阻2RP103至2RP06组成信号输入电路;所述排阻2RP103至2RP104的一端依次接芯片2U7的18脚-11脚,所述排阻2RP103至2RP104的另一端依次接所述光耦2U3的1脚、3脚、5脚、7脚,光耦2U4的1脚、3脚、5脚、7脚;所述光耦2U3的2脚、4脚、6脚、8脚,2U4的2脚、4脚、6脚、8脚均接地;所述光耦2U3的16脚、14脚、12脚、10脚,2U4的16脚、14脚、12脚、10脚均接所述输出端+3.3V;所述光耦2U3的15脚、13脚、11脚、9脚,2U4的15脚、13脚、11脚、9脚依次接芯片2U8的2脚-9脚;所述芯片2U8的1脚与20脚均接所述输出端+3.3V,芯片2U8的19脚接协处理单元接口电路的串并转换输出电路的芯片7U9的4脚;芯片2U8的18脚-11脚依次接所述嵌入式芯片1U1的93脚、10-15脚、132脚,芯片2U8的2脚-9脚经排阻2RP105、2RP106接地;Optocouplers 2U3 to 2U4, chip 2U8, and exclusion 2RP103 to 2RP06 form a signal input circuit; one end of the exclusion 2RP103 to 2RP104 is sequentially connected to pins 18-11 of the chip 2U7, and the other end of the exclusion 2RP103 to 2RP104 is in turn Connect pins 1, 3, 5, and 7 of the optocoupler 2U3, pins 1, 3, 5, and 7 of the optocoupler 2U4; pins 2, 4, and 6 of the optocoupler 2U3 8 pins, 2 pins, 4 pins, 6 pins, and 8 pins of 2U4 are all grounded; 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 2U3, 16 pins, 14 pins, 12 pins, and 10 pins of 2U4 Both are connected to the output terminal +3.3V; the 15 pins, 13 pins, 11 pins, and 9 pins of the optocoupler 2U3, and the 15 pins, 13 pins, 11 pins, and 9 pins of the 2U4 are sequentially connected to the 2 pins-9 of the chip 2U8 pin; pin 1 and pin 20 of the chip 2U8 are all connected to the output terminal +3.3V, and pin 19 of the chip 2U8 is connected to pin 4 of the chip 7U9 of the serial-to-parallel conversion output circuit of the co-processing unit interface circuit; pin 18 of the chip 2U8 Pins-11 are sequentially connected to pins 93, 10-15, and 132 of the embedded chip 1U1, and pins 2-9 of the chip 2U8 are grounded through exclusion 2RP105 and 2RP106;

所述芯片12U4的12脚接嵌入式芯片1U1的49脚,芯片12U4的11脚接嵌入式芯片1U1的50脚,芯片12U4的5脚为烽火接力主模块电路的反馈信号FHFK,芯片12U4的1脚、4脚、10脚、13脚、14脚接所述输出端+3.3V,芯片12U4的2脚经电阻12R14接地,芯片12U4的3脚接所述三极管12Q03的集电极;所述三极管12Q03的集电极经电阻12R34接所述输出端+3.3V,其基极经电阻12R33接所述放大器12U3的7脚,三极管12Q03的发射极接地,电容12C32接在三极管12Q03的基极与地之间;所述放大器12U3的1脚接所述光耦12U1的6脚,电阻12R31、电阻12R32相串联后接在所述输出端+3.3V与地之间,放大器12U3的2脚与6脚均接电阻12R31与电阻12R32的节点,放大器12U3的7脚接所述光耦12U1的7脚;放大器12U3的3脚接所述芯片12U4的12脚,放大器12U3的5脚接所述芯片12U4的11脚;所述光耦12U1的3脚接所述芯片12U4的9脚,光耦12U1的1脚经所述电位器12RJ01接三极管12Q02的集电极,电阻12R25、电阻12R24相串联后接在所述12U2的7脚与地之间,三极管12Q02的基极接电阻12R25与电阻12R24的节点,三极管12Q02的发射极接地,光耦12U1的2脚经恒流源12U6接地,光耦12U1的4脚与光耦12U1的5脚相连接,光耦12U1的8脚经电阻12R15接地,光耦12U1的9脚经电阻12R13接地,光耦12U1的11脚经电阻12R12接地,光耦12U1的10脚、16脚接+5V,光耦12U1的15脚接所述芯片12U4的2脚;所述芯片12U2的5脚接所述光耦12U1的11脚,芯片12U2的7脚经电阻12R26接所述输出端+5V,芯片12U2的1脚经电阻12R23接所述输出端+5V,芯片12U2的6脚与2脚相连接,芯片12U2的3脚接所述光耦12U1的9脚;所述芯片12U5的1脚接所述芯片12U2的1脚,芯片12U5的3脚经电阻12R27接地,芯片12U5的5脚接所述三极管12Q02的集电极,芯片12U5的5脚为烽火接力主模块电路的时钟输出端口FHCLK;所述三极管12Q01的基极接所述光耦12U1的12脚,电阻12R21、电阻12R22相串联后接在所述输出端+5V与地之间,芯片12U2的2脚接电阻12R21与电阻12R22的节点,三极管12Q01的集电极为烽火接力主模块电路的信号发送端口FHn;The 12 pins of the chip 12U4 are connected to the 49 pins of the embedded chip 1U1, the 11 pins of the chip 12U4 are connected to the 50 pins of the embedded chip 1U1, the 5 pins of the chip 12U4 are the feedback signal FHFK of the beacon relay main module circuit, and the 1 pins of the chip 12U4 are Pin, pin 4, pin 10, pin 13, and pin 14 are connected to the output terminal +3.3V, pin 2 of the chip 12U4 is grounded through a resistor 12R14, pin 3 of the chip 12U4 is connected to the collector of the triode 12Q03; the triode 12Q03 The collector is connected to the output terminal +3.3V through the resistor 12R34, the base is connected to the pin 7 of the amplifier 12U3 through the resistor 12R33, the emitter of the triode 12Q03 is grounded, and the capacitor 12C32 is connected between the base of the triode 12Q03 and the ground ; Pin 1 of the amplifier 12U3 is connected to pin 6 of the optocoupler 12U1, resistor 12R31 and resistor 12R32 are connected in series between the output terminal +3.3V and ground, pin 2 and pin 6 of the amplifier 12U3 are connected The node of resistor 12R31 and resistor 12R32, pin 7 of the amplifier 12U3 is connected to pin 7 of the optocoupler 12U1; pin 3 of the amplifier 12U3 is connected to pin 12 of the chip 12U4, pin 5 of the amplifier 12U3 is connected to pin 11 of the chip 12U4 ; Pin 3 of the optocoupler 12U1 is connected to pin 9 of the chip 12U4, pin 1 of the optocoupler 12U1 is connected to the collector of the triode 12Q02 through the potentiometer 12RJ01, and the resistor 12R25 and resistor 12R24 are connected in series to the 12U2 Between pin 7 and the ground, the base of the triode 12Q02 is connected to the node of the resistor 12R25 and the resistor 12R24, the emitter of the triode 12Q02 is grounded, pin 2 of the optocoupler 12U1 is grounded through the constant current source 12U6, pin 4 of the optocoupler 12U1 is connected to the optocoupler The 5 pins of the optocoupler 12U1 are connected, the 8 pins of the optocoupler 12U1 are grounded through the resistor 12R15, the 9 pins of the optocoupler 12U1 are grounded through the resistor 12R13, the 11 pins of the optocoupler 12U1 are grounded through the resistor 12R12, the 10 pins and 16 pins of the optocoupler 12U1 are grounded Connect to +5V, pin 15 of the optocoupler 12U1 is connected to pin 2 of the chip 12U4; pin 5 of the chip 12U2 is connected to pin 11 of the optocoupler 12U1, pin 7 of the chip 12U2 is connected to the output terminal + through a resistor 12R26 5V, pin 1 of the chip 12U2 is connected to the output terminal +5V through the resistor 12R23, pin 6 of the chip 12U2 is connected to pin 2, pin 3 of the chip 12U2 is connected to pin 9 of the optocoupler 12U1; pin 1 of the chip 12U5 The pin is connected to pin 1 of the chip 12U2, the pin 3 of the chip 12U5 is grounded through the resistor 12R27, the pin 5 of the chip 12U5 is connected to the collector of the triode 12Q02, and the pin 5 of the chip 12U5 is the clock output port FHCLK of the beacon relay main module circuit ; The base of the triode 12Q01 is connected to the 12 pins of the optocoupler 12U1, the resistor 12R21 and the resistor 12R22 are connected in series between the output terminal +5V and the ground, and the 2 pins of the chip 12U2 are connected to The node of resistor 12R21 and resistor 12R22, the collector of triode 12Q01 is the signal sending port FHn of the beacon relay main module circuit;

所述第一串口隔离卡电路的芯片10U7的2脚接所述输出端+5V,第一串口隔离卡电路的芯片10U7的1脚接地,第一串口隔离卡电路的芯片10U7的3脚为输出隔离地,第一串口隔离卡电路的芯片10U7的4脚为输出的隔离电源,所述芯片10U4的2脚接所述芯片10U7的4脚,芯片10U4的1脚经电阻10R59接所述芯片10U7的4脚,数字三极管10Q5的集电极接芯片10U4的1脚,三极管10Q5的基极接芯片10U4的3脚,三极管10Q5的发射极接芯片10U7的3脚,电容10C21接在三极管10Q5的集电极与芯片10U7的3脚之间;芯片10U4的6脚为第一路输出端VCC1,芯片10U4的4脚为第二路输出端VCC2,芯片10U4的5脚接芯片10U7的3脚,芯片10U4的6脚接所述二极管10D1的第一阳极,芯片10U4的4脚接所述二极管10D1的第二阳极,二极管10D1的阴极为输出端VCC0,电容10C19接在芯片10U4的6脚与芯片10U7的3脚之间,电容10C20接在芯片10U4的4脚与芯片10U7的3脚之间;Pin 2 of the chip 10U7 of the first serial port isolation card circuit is connected to the output terminal +5V, pin 1 of the chip 10U7 of the first serial port isolation card circuit is grounded, and pin 3 of the chip 10U7 of the first serial port isolation card circuit is output In isolation, pin 4 of the chip 10U7 of the first serial port isolation card circuit is an output isolated power supply, pin 2 of the chip 10U4 is connected to pin 4 of the chip 10U7, pin 1 of the chip 10U4 is connected to the chip 10U7 via a resistor 10R59 The collector of digital transistor 10Q5 is connected to pin 1 of chip 10U4, the base of transistor 10Q5 is connected to pin 3 of chip 10U4, the emitter of transistor 10Q5 is connected to pin 3 of chip 10U7, and the capacitor 10C21 is connected to the collector of transistor 10Q5 Between pin 3 of chip 10U7; pin 6 of chip 10U4 is the first output terminal VCC1, pin 4 of chip 10U4 is the second output terminal VCC2, pin 5 of chip 10U4 is connected to pin 3 of chip 10U7, and pin 4 of chip 10U4 is connected to pin 3 of chip 10U4. Pin 6 is connected to the first anode of the diode 10D1, pin 4 of the chip 10U4 is connected to the second anode of the diode 10D1, the cathode of the diode 10D1 is the output terminal VCC0, and the capacitor 10C19 is connected to pin 6 of the chip 10U4 and pin 3 of the chip 10U7. Between pins, capacitor 10C20 is connected between pin 4 of chip 10U4 and pin 3 of chip 10U7;

所述芯片10U6的2脚接所述嵌入式芯片1U1的101脚,芯片10U6的3脚接所述嵌入式芯片1U1的102脚,芯片10U6的1脚接所述输出端+5V,电阻10R57接在芯片10U6的2脚与7脚之间,电阻10R58接在芯片10U6的3脚与6脚之间,芯片10U6的8脚接所述输出端VCC0,电容10C18接在芯片10U6的1脚与芯片10U7的3脚之间,电容10C17接在芯片10U6的8脚与芯片10U7的3脚之间;所述三极管10Q3的发射极接所述输出端VCC0,三极管10Q3的基极接所述芯片10U5的8脚,三极管10Q3的集电极经电阻10R53接芯片10U7的3脚,所述三极管10Q4的发射极接所述输出端VCC0,三极管10Q4的基极接所述芯片10U5的6脚,三极管10Q4的集电极经电阻10R54接芯片10U7的3脚,三极管10Q4的集电极接所述芯片10U4的3脚;所述芯片10U5的1脚经电阻10R55接7U9的1脚,芯片10U5的3脚经电阻10R56接7U1的15脚,三极管10Q3的集电极经电阻10R51接7U9的15脚,三极管10Q4的集电极经电阻10R52接7U1的15脚,芯片10U5的2脚、4脚、5脚、7脚均接芯片10U7的3脚;所述芯片10U2的1脚接芯片10U6的7脚,所述芯片10U2的2脚与3脚相连接后接三极管10Q3的集电极,芯片10U2的4脚接芯片10U6的6脚,芯片10U2的8脚接所述输出端VCC2,电容10C16接在芯片10U2的8脚与芯片10U7的3脚之间;所述芯片10U3的1脚接所述输出端VCC2,芯片10U3的2脚接芯片10U2的1脚,芯片10U3的3脚接芯片10U2的4脚,芯片10U3的7脚接芯片10U2的7脚,芯片10U3的8脚接芯片10U2的6脚;所述芯片10U1的11脚接芯片10U3的3脚,芯片10U1的12脚接芯片10U3的2脚,芯片10U1的13脚接芯片10U3的7脚,芯片10U1的14脚接芯片10U3的8脚,电容10C13接在芯片10U1的1脚与3脚之间,电容10C15接在芯片10U1的4脚与5脚之间,芯片10U1的16脚接所述输出端VCC1,电容10C11接在芯片10U1的16脚与芯片10U7的3脚之间,电容10C12接在芯片10U1的2脚与芯片10U7的3脚之间,电容10C14接在芯片10U1的6脚与芯片10U7的3脚之间;Pin 2 of the chip 10U6 is connected to pin 101 of the embedded chip 1U1, pin 3 of the chip 10U6 is connected to pin 102 of the embedded chip 1U1, pin 1 of the chip 10U6 is connected to the output terminal +5V, and the resistor 10R57 is connected to Between pin 2 and pin 7 of chip 10U6, resistor 10R58 is connected between pin 3 and pin 6 of chip 10U6, pin 8 of chip 10U6 is connected to the output terminal VCC0, and capacitor 10C18 is connected between pin 1 and pin 10U6 of chip 10U6. Between the 3 pins of 10U7, the capacitor 10C17 is connected between the 8 pins of the chip 10U6 and the 3 pins of the chip 10U7; the emitter of the triode 10Q3 is connected to the output terminal VCC0, and the base of the triode 10Q3 is connected to the chip 10U5 8 pins, the collector of the triode 10Q3 is connected to the 3 pin of the chip 10U7 through the resistor 10R53, the emitter of the triode 10Q4 is connected to the output terminal VCC0, the base of the triode 10Q4 is connected to the 6 pin of the chip 10U5, and the collector of the triode 10Q4 The electrode is connected to pin 3 of chip 10U7 via resistor 10R54, the collector of triode 10Q4 is connected to pin 3 of chip 10U4; pin 1 of chip 10U5 is connected to pin 1 of 7U9 via resistor 10R55, and pin 3 of chip 10U5 is connected to pin 3 of chip 10U5 via resistor 10R56 Pin 15 of 7U1, the collector of triode 10Q3 is connected to pin 15 of 7U9 through resistor 10R51, the collector of triode 10Q4 is connected to pin 15 of 7U1 through resistor 10R52, and pins 2, 4, 5 and 7 of chip 10U5 are all connected to the chip Pin 3 of 10U7; pin 1 of the chip 10U2 is connected to pin 7 of the chip 10U6; pin 2 and pin 3 of the chip 10U2 are connected to the collector of the triode 10Q3; pin 4 of the chip 10U2 is connected to pin 6 of the chip 10U6 , pin 8 of the chip 10U2 is connected to the output terminal VCC2, and a capacitor 10C16 is connected between pin 8 of the chip 10U2 and pin 3 of the chip 10U7; pin 1 of the chip 10U3 is connected to the output terminal VCC2, and pin 2 of the chip 10U3 Connect pin 1 of chip 10U2, pin 3 of chip 10U3 connect pin 4 of chip 10U2, pin 7 of chip 10U3 connect pin 7 of chip 10U2, pin 8 of chip 10U3 connect pin 6 of chip 10U2; pin 11 of chip 10U1 Connect to pin 3 of chip 10U3, pin 12 of chip 10U1 to pin 2 of chip 10U3, pin 13 of chip 10U1 to pin 7 of chip 10U3, pin 14 of chip 10U1 to pin 8 of chip 10U3, capacitor 10C13 to pin 10U1 Between pin 1 and pin 3, capacitor 10C15 is connected between pin 4 and pin 5 of chip 10U1, pin 16 of chip 10U1 is connected to the output terminal VCC1, capacitor 10C11 is connected between pin 16 of chip 10U1 and pin 3 of chip 10U7 between pin 2 of chip 10U1 and pin 3 of chip 10U7, and capacitor 10C14 is connected between pin 6 of chip 10U1 and pin 3 of chip 10U7;

所述第二串口隔离卡电路的芯片2-10U6的2脚接所述嵌入式芯片1U1的37脚,芯片2-10U6的3脚接所述嵌入式芯片1U1的36脚,芯片2-10U5的3脚接7U1的2脚,芯片2-10U5的1脚接所述7U9的1脚;所述第三串口隔离卡电路的芯片3-10U6的2脚接所述嵌入式芯片1U1的70脚,芯片3-10U6的3脚接所述嵌入式芯片1U1的69脚,芯片3-10U5的3脚接所述7U1的4脚,芯片3-10U5的1脚接所述7U9的2脚;所述第四串口隔离卡电路的芯片4-10U6的2脚接所述嵌入式芯片1U1的112脚,芯片4-10U6的3脚接所述嵌入式芯片1U1的111脚,芯片4-10U5的3脚接所述7U1的6脚,芯片4-10U5的1脚接所述7U9的3脚;The 2 pins of the chip 2-10U6 of the second serial port isolation card circuit are connected to the 37 pins of the embedded chip 1U1, the 3 pins of the chip 2-10U6 are connected to the 36 pins of the embedded chip 1U1, and the 36 pins of the chip 2-10U5 are connected to the embedded chip 1U1. Pin 3 is connected to pin 2 of 7U1, pin 1 of chip 2-10U5 is connected to pin 1 of 7U9; pin 2 of chip 3-10U6 of the third serial port isolation card circuit is connected to pin 70 of embedded chip 1U1, Pin 3 of the chip 3-10U6 is connected to pin 69 of the embedded chip 1U1, pin 3 of the chip 3-10U5 is connected to pin 4 of the 7U1, pin 1 of the chip 3-10U5 is connected to pin 2 of the 7U9; Pin 2 of the chip 4-10U6 of the fourth serial port isolation card circuit is connected to pin 112 of the embedded chip 1U1, pin 3 of the chip 4-10U6 is connected to pin 111 of the embedded chip 1U1, and pin 3 of the chip 4-10U5 Connect pin 6 of 7U1, pin 1 of chip 4-10U5 connect pin 3 of 7U9;

所述DIDO隔离卡电路包括DIDO隔离电路、DI隔离电路、DO隔离电路和DO驱动电路;The DIDO isolation card circuit includes a DIDO isolation circuit, a DI isolation circuit, a DO isolation circuit and a DO drive circuit;

所述DO驱动电路包括八路结构相同的驱动电路,分别为第一DO驱动电路至第八DO驱动电路;所述第一DO驱动电路由三极管Q1-Q2、发光二极管DS1、二极管D2、电阻R2-R3组成;所述三极管Q1的集电极依次经电阻R3、电阻R2接外部驱动电源WV,三极管Q1的集电极为输出脚O+,接开关信号端口,三极管Q1的发射极为第一DO驱动电路的输出脚O-,三极管Q1的基极接所述三极管Q2的集电极;所述三极管Q2的发射极经电阻R2接外部驱动电源WV,三极管Q2的基极为第一DO驱动电路的输入脚OC+;所述二极管D2接在外部驱动电源WV与所述输出脚O+之间,所述发光二极管DS1接在三极管Q2的发射极与所述输入脚OC+之间;The DO drive circuit includes eight drive circuits with the same structure, which are the first DO drive circuit to the eighth DO drive circuit; Composed of R3; the collector of the triode Q1 is connected to the external drive power WV through the resistor R3 and the resistor R2 in turn, the collector of the triode Q1 is the output pin O+, connected to the switch signal port, and the emitter of the triode Q1 is the output of the first DO drive circuit. Pin O-, the base of the triode Q1 is connected to the collector of the triode Q2; the emitter of the triode Q2 is connected to the external drive power WV through the resistor R2, and the base of the triode Q2 is the input pin OC+ of the first DO drive circuit; The diode D2 is connected between the external driving power supply WV and the output pin O+, and the light emitting diode DS1 is connected between the emitter of the triode Q2 and the input pin OC+;

所述第二DO驱动电路由三极管2-Q1至2-Q2、发光二极管2-DS1、二极管2-D2、电阻2-R2至2-R3组成;三极管2-Q1的集电极为输出脚O+,接开关信号端口,三极管2-Q1的发射极为第二DO驱动电路的输出脚O-,三极管2-Q2的基极为第二DO驱动电路的输入脚OC+;所述第三DO驱动电路由三极管3-Q1至3-Q2、发光二极管3-DS1、二极管3-D2、电阻3-R2至3-R3组成;三极管3-Q1的集电极为输出脚O+,接开关信号端口,三极管3-Q1的发射极为第三DO驱动电路的输出脚O-,三极管3-Q2的基极为第三DO驱动电路的输入脚OC+;所述第四DO驱动电路由三极管4-Q1至4-Q2、发光二极管4-DS1、二极管4-D2、电阻4-R2至4-R3组成;三极管4-Q1的集电极为输出脚O+,接开关信号端口,三极管4-Q1的发射极为第四DO驱动电路的输出脚O-,三极管4-Q2的基极为第四DO驱动电路的输入脚OC+;所述第五DO驱动电路由三极管5-Q1至5-Q2、发光二极管5-DS1、二极管5-D2、电阻5-R2至5-R3组成;三极管5-Q1的集电极为输出脚O+,接开关信号端口,三极管5-Q1的发射极为第五DO驱动电路的输出脚O-,三极管5-Q2的基极为第五DO驱动电路的输入脚OC+;所述第六DO驱动电路由三极管6-Q1至6-Q2、发光二极管6-DS1、二极管6-D2、电阻6-R2至6-R3组成;三极管6-Q1的集电极为输出脚O+,接开关信号端口,三极管6-Q1的发射极为第六DO驱动电路的输出脚O-,三极管6-Q2的基极为第六DO驱动电路的输入脚OC+;所述第七DO驱动电路由三极管7-Q1至7-Q2、发光二极管7-DS1、二极管7-D2、电阻7-R2至7-R3组成;三极管7-Q1的集电极为输出脚O+,接开关信号端口,三极管7-Q1的发射极为第七DO驱动电路的输出脚O-,三极管7-Q2的基极为第七DO驱动电路的输入脚OC+;所述第八DO驱动电路由三极管8-Q1至8-Q2、发光二极管8-DS1、二极管8-D2、电阻8-R2至8-R3组成;三极管8-Q1的集电极为输出脚O+,接开关信号端口,三极管8-Q1的发射极为第八DO驱动电路的输出脚O-,三极管8-Q2的基极为第八DO驱动电路的输入脚OC+;The second DO drive circuit is composed of triodes 2-Q1 to 2-Q2, light emitting diodes 2-DS1, diodes 2-D2, and resistors 2-R2 to 2-R3; the collector of the triode 2-Q1 is the output pin O+, Connect the switch signal port, the emitter of the triode 2-Q1 is the output pin O- of the second DO drive circuit, the base of the triode 2-Q2 is the input pin OC+ of the second DO drive circuit; the third DO drive circuit consists of the triode 3 -Q1 to 3-Q2, light-emitting diode 3-DS1, diode 3-D2, resistors 3-R2 to 3-R3; the collector of the triode 3-Q1 is the output pin O+, connected to the switch signal port, and the triode 3-Q1 The emitter is the output pin O- of the third DO drive circuit, the base of the triode 3-Q2 is the input pin OC+ of the third DO drive circuit; -DS1, diode 4-D2, and resistors 4-R2 to 4-R3; the collector of the triode 4-Q1 is the output pin O+, connected to the switch signal port, and the emitter of the triode 4-Q1 is the output pin of the fourth DO drive circuit O-, the base of the triode 4-Q2 is the input pin OC+ of the fourth DO drive circuit; the fifth DO drive circuit consists of triodes 5-Q1 to 5-Q2, light emitting diode 5-DS1, diode 5-D2, resistor 5 -R2 to 5-R3; the collector of the triode 5-Q1 is the output pin O+, connected to the switch signal port, the emitter of the triode 5-Q1 is the output pin O- of the fifth DO drive circuit, and the base of the triode 5-Q2 is The input pin OC+ of the fifth DO drive circuit; the sixth DO drive circuit is composed of transistors 6-Q1 to 6-Q2, light emitting diodes 6-DS1, diodes 6-D2, and resistors 6-R2 to 6-R3; the transistor 6 The collector of -Q1 is the output pin O+, connected to the switch signal port, the emitter of the triode 6-Q1 is the output pin O- of the sixth DO drive circuit, and the base of the triode 6-Q2 is the input pin OC+ of the sixth DO drive circuit; The seventh DO drive circuit is composed of triodes 7-Q1 to 7-Q2, light-emitting diodes 7-DS1, diodes 7-D2, and resistors 7-R2 to 7-R3; the collector of the triode 7-Q1 is the output pin O+, Connect the switch signal port, the emitter of the triode 7-Q1 is the output pin O- of the seventh DO drive circuit, the base of the triode 7-Q2 is the input pin OC+ of the seventh DO drive circuit; the eighth DO drive circuit is composed of the transistor 8 -Q1 to 8-Q2, light-emitting diode 8-DS1, diode 8-D2, resistors 8-R2 to 8-R3; the collector of the triode 8-Q1 is the output pin O+, connected to the switch signal port, and the triode 8-Q1 The emitter is the output pin O- of the eighth DO drive circuit, and the base of the transistor 8-Q2 is the input pin OC+ of the eighth DO drive circuit;

所述DO隔离电路包括第一DO隔离电路和第二DO隔离电路;所述第二DO隔离电路与第一DO隔离电路的结构相同;所述第一DO隔离电路由光耦3U1、排阻3RP1、发光二极管3DO1-3DO4组成;光耦3U1的2脚、4脚、6脚、8脚相连后接地,光耦3U1的1脚、3脚、5脚、7脚分别经发光二极管3DO1-3DO4接排阻3RP1的一端,排阻3RP1的另一端为第一DO隔离电路的输入端3MDKI0~3MDKI3,光耦3U1的16脚、14脚、12脚、10脚分别接第一DO驱动电路至第四DO驱动电路的输入脚OC+,光耦3U1的15脚、13脚、11脚、9脚分别接第一DO驱动电路至第四DO驱动电路的输出脚O-;The DO isolation circuit includes a first DO isolation circuit and a second DO isolation circuit; the structure of the second DO isolation circuit is the same as that of the first DO isolation circuit; , Light-emitting diodes 3DO1-3DO4; the 2 pins, 4 pins, 6 pins, and 8 pins of the optocoupler 3U1 are connected to the ground, and the 1 pins, 3 pins, 5 pins, and 7 pins of the optocoupler 3U1 are respectively connected to the light-emitting diodes 3DO1-3DO4 One end of the exclusion 3RP1, the other end of the exclusion 3RP1 is the input terminal 3MDKI0~3MDKI3 of the first DO isolation circuit, and the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 3U1 are respectively connected to the first DO drive circuit to the fourth The input pin OC+ of the DO drive circuit, and the 15 pins, 13 pins, 11 pins, and 9 pins of the optocoupler 3U1 are respectively connected to the output pin O- of the first DO drive circuit to the fourth DO drive circuit;

所述第二DO隔离电路由光耦2-3U1、排阻2-3RP1、发光二极管2-3DO1至2-3DO4组成;光耦2-3U1的1脚、3脚、5脚、7脚分别经发光二极管2-3DO1至2-3DO4接排阻2-3RP1的一端,排阻2-3RP1的另一端为第二DO隔离电路的输入端3MDKI0~3MDKI3,所述光耦2-3U1的16脚、14脚、12脚、10脚分别接第五DO驱动电路至第八DO驱动电路的输入脚OC+,光耦2-3U1的15脚、13脚、11脚、9脚分别接第五DO驱动电路至第八DO驱动电路的输出脚O-;The second DO isolation circuit is composed of optocoupler 2-3U1, exclusion 2-3RP1, and light-emitting diodes 2-3DO1 to 2-3DO4; pins 1, 3, 5, and 7 of optocoupler 2-3U1 are respectively The light-emitting diodes 2-3DO1 to 2-3DO4 are connected to one end of the resistance exclusion 2-3RP1, and the other end of the exclusion resistance 2-3RP1 is the input terminal 3MDKI0~3MDKI3 of the second DO isolation circuit. The 16 pins of the optocoupler 2-3U1, Pins 14, 12, and 10 are respectively connected to the input pin OC+ of the fifth DO drive circuit to the eighth DO drive circuit, and pins 15, 13, 11, and 9 of the optocoupler 2-3U1 are respectively connected to the fifth DO drive circuit. To the output pin O- of the eighth DO drive circuit;

所述DI隔离电路包括第一DI隔离电路和第二DI隔离电路;所述第二DI隔离电路与第一DI隔离电路的结构相同;所述第一DI隔离电路由光耦3U5、排阻3RP3-3RP4、发光二极管3DI1-3DI4组成;光耦3U5的2脚、4脚、6脚、8脚相连后接开关信号的公共端,光耦3U5的1脚、3脚、5脚、7脚分别经排阻3RP4、发光二极管3D11-3D14接四路开关信号端口,光耦3U5的10脚、12脚、14脚、16脚相连后接所述输出端+3.3V,光耦3U5的15脚、13脚、11脚、9脚经排阻3RP3接地,光耦3U5的15脚、13脚、11脚、9脚,分别为第一DI隔离电路的信号输出端3MDKO0~3MDKO3;所述第二DI隔离电路由光耦2-3U5、排阻2-3RP3至2-3RP4、发光二极管2-3DI1至2-3DI4组成;所述光耦2-3U5的15脚、13脚、11脚、9脚,分别为第二DI隔离电路的信号输出端3MDKO0~3MDKO3;The DI isolation circuit includes a first DI isolation circuit and a second DI isolation circuit; the second DI isolation circuit has the same structure as the first DI isolation circuit; -3RP4, light-emitting diode 3DI1-3DI4; the 2 pins, 4 pins, 6 pins, and 8 pins of the optocoupler 3U5 are connected to the common end of the switch signal, and the 1 pin, 3 pins, 5 pins, and 7 pins of the optocoupler 3U5 are respectively Connect the 4-way switch signal ports with 3RP4 and light-emitting diodes 3D11-3D14 through resistance exclusion, connect pins 10, 12, 14, and 16 of the optocoupler 3U5, and then connect the output terminal +3.3V, and connect pins 15 and 16 of the optocoupler 3U5. Pins 13, 11, and 9 are grounded through the exclusion 3RP3, and pins 15, 13, 11, and 9 of the optocoupler 3U5 are respectively the signal output terminals 3MDKO0~3MDKO3 of the first DI isolation circuit; the second DI The isolation circuit is composed of optocoupler 2-3U5, exclusion 2-3RP3 to 2-3RP4, light emitting diode 2-3DI1 to 2-3DI4; the 15 pins, 13 pins, 11 pins and 9 pins of the optocoupler 2-3U5, They are the signal output terminals 3MDKO0~3MDKO3 of the second DI isolation circuit;

所述DIDO隔离电路由芯片3U2-3U3、数字三极管3Q1、电阻3R1、电容3C1-3C2组成,芯片3U2-3U3的20脚均接所述输出端+3.3V,芯片3U2-3U3的10脚均接地,芯片3U2的19脚接芯片7U8的11脚,芯片3U2的18脚-11脚接芯片3U3的2脚-9脚,芯片3U2的18脚-11脚分别接所述嵌入式芯片1U1的56-57脚、87-92脚,芯片3U2的1脚接芯片7U9的5脚,芯片3U2的2脚-5脚接第一DI隔离电路的信号输出端3MDKO0~3MDKO3,芯片3U2的6脚-9脚接第二DI隔离电路的信号输出端3MDKO0~3MDKO3;芯片3U3的1脚接芯片7U5的3脚,11脚接数字三极管3Q1的集电极,芯片3U3的19脚-16脚接第一DO隔离电路的输入端3MDKI0~3MDKI3,芯片3U3的15脚-12脚接第二DO隔离电路的输入端3MDKI0~3MDKI3,数字三极管3Q1的基极接芯片3U2的1脚,数字三极管3Q1的发射极接芯片3U2的19脚,电阻3R1接在芯片3U3的11脚与地之间,电容3C1接在芯片3U2的20脚与地之间,电容3C2接在芯片3U3的20脚与地之间;The DIDO isolation circuit is composed of chips 3U2-3U3, digital transistor 3Q1, resistor 3R1, and capacitor 3C1-3C2. The 20 pins of the chips 3U2-3U3 are all connected to the output terminal +3.3V, and the 10 pins of the chips 3U2-3U3 are all grounded. , the 19 pins of the chip 3U2 are connected to the 11 pins of the chip 7U8, the 18 pins-11 pins of the chip 3U2 are connected to the 2 pins-9 pins of the chip 3U3, and the 18 pins-11 pins of the chip 3U2 are respectively connected to the 56-pins of the embedded chip 1U1 57 pins, 87-92 pins, pin 1 of the chip 3U2 is connected to pin 5 of the chip 7U9, pins 2-5 of the chip 3U2 are connected to the signal output terminal 3MDKO0~3MDKO3 of the first DI isolation circuit, pins 6-9 of the chip 3U2 Connect to the signal output terminal 3MDKO0~3MDKO3 of the second DI isolation circuit; pin 1 of the chip 3U3 is connected to pin 3 of the chip 7U5, pin 11 is connected to the collector of the digital transistor 3Q1, pins 19-16 of the chip 3U3 are connected to the first DO isolation circuit The input terminal 3MDKI0~3MDKI3 of the chip 3U3 is connected to the input terminal 3MDKI0~3MDKI3 of the second DO isolation circuit, the base of the digital triode 3Q1 is connected to the 1 pin of the chip 3U2, and the emitter of the digital triode 3Q1 is connected to the chip 3U2 The resistor 3R1 is connected between the 11th pin of the chip 3U3 and the ground, the capacitor 3C1 is connected between the 20th pin of the chip 3U2 and the ground, and the capacitor 3C2 is connected between the 20th pin of the chip 3U3 and the ground;

所述第一AI隔离电路的放大器4U1、放大器4U2的型号均为LM324,所述放大器4U1的同向输入端3脚待测量的模拟信号端口,放大器4U1的同向输入端3脚经电阻4R31接地,放大器4U1的反向输入端2脚经电阻4R12接地,放大器4U1的输出端1脚经反馈电阻4R11接放大器4U1的反向输入端2脚;所述放大器4U1的同向输入端5脚接待测量的模拟信号端口,放大器4U1的同向输入端5脚经电阻4R32接地,放大器4U1的反向输入端6脚经电阻4R14接地,放大器4U1的输出端7脚经反馈电阻4R13接放大器U1的反向输入端6脚;所述放大器4U1的同向输入端10脚接待测量的模拟信号端口,放大器4U1的同向输入端10脚经电阻4R33接地,放大器4U1的反向输入端9脚经电阻4R16接地,放大器4U1的输出端8脚经反馈电阻4R15接放大器4U1的反向输入端9脚;所述放大器4U1的同向输入端12脚接待测量的模拟信号端口,放大器4U1的同向输入端12脚经电阻4R34接地,放大器4U1的反向输入端13脚经电阻4R18接地,放大器4U1的输出端14脚经电阻4R17接放大器4U1的反向输入端13脚;所述放大器4U1的4脚接所述输出端+5V,所述电容4C11接在放大器4U1的4脚与地之间;The models of the amplifier 4U1 and the amplifier 4U2 of the first AI isolation circuit are both LM324, the same-direction input terminal 3 of the amplifier 4U1 is an analog signal port to be measured, and the same-direction input terminal 3 of the amplifier 4U1 is grounded through a resistor 4R31 , pin 2 of the reverse input terminal of the amplifier 4U1 is grounded through a resistor 4R12, pin 1 of the output terminal of the amplifier 4U1 is connected to pin 2 of the reverse input terminal of the amplifier 4U1 through a feedback resistor 4R11; pin 5 of the same input terminal of the amplifier 4U1 is used for measurement The analog signal port of the amplifier 4U1, the 5 pins of the same input end of the amplifier 4U1 are grounded through the resistor 4R32, the 6 pins of the reverse input end of the amplifier 4U1 are grounded through the resistor 4R14, the 7 pins of the output end of the amplifier 4U1 are connected to the reverse direction of the amplifier U1 through the feedback resistor 4R13 The 6-pin input terminal; the 10-pin input terminal of the amplifier 4U1 receives the analog signal port for measurement, the 10-pin input terminal of the amplifier 4U1 is grounded through the resistor 4R33, and the 9-pin reverse input terminal of the amplifier 4U1 is grounded through the resistor 4R16 , the output terminal 8 pins of the amplifier 4U1 are connected to the reverse input terminal 9 pins of the amplifier 4U1 through the feedback resistor 4R15; Grounded through resistor 4R34, the reverse input terminal 13 of the amplifier 4U1 is grounded through the resistor 4R18, the output terminal 14 of the amplifier 4U1 is connected to the reverse input terminal 13 of the amplifier 4U1 through the resistor 4R17; the 4 pin of the amplifier 4U1 is connected to the The output terminal is +5V, and the capacitor 4C11 is connected between pin 4 of the amplifier 4U1 and the ground;

所述放大器4U2的同向输入端3脚接待测量的模拟信号端口,放大器4U2的同向输入端3脚经电阻4R35接地,放大器4U2的反向输入端2脚经电阻4R22接地,放大器4U2的输出端1脚经反馈电阻4R21接放大器4U2的反向输入端2脚;所述放大器4U2的同向输入端5脚接待测量的模拟信号端口,放大器4U2的同向输入端5脚经电阻4R36接地,放大器4U2的反向输入端6脚经电阻4R24接地,放大器4U2的输出端7脚经反馈电阻4R23接放大器4U2的反向输入端6脚;所述放大器4U2的同向输入端10脚接待测量的模拟信号端口,放大器4U2的同向输入端10脚经电阻4R37接地,放大器4U2的反向输入端9脚经电阻4R26接地,放大器4U2的输出端8脚经反馈电阻4R25接放大器4U2的反向输入端9脚;所述放大器4U2的同向输入端12脚接待测量的模拟信号端口,放大器4U2的同向输入端12脚经电阻4R38接地,放大器4U2的反向输入端13脚经电阻4R28接地,放大器4U2的输出端14脚经反馈电阻4R27接放大器4U2的反向输入端13脚;所述放大器4U2的4脚接所述输出端+5V,所述电容4C12接在放大器4U2的4脚与地之间;The 3 pins of the same input end of the amplifier 4U2 receive the analog signal port for measurement, the 3 pins of the same input end of the amplifier 4U2 are grounded through the resistor 4R35, the 2 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R22, and the output of the amplifier 4U2 Pin 1 of the terminal is connected to pin 2 of the reverse input terminal of the amplifier 4U2 through the feedback resistor 4R21; pin 5 of the same input terminal of the amplifier 4U2 receives the analog signal port for measurement, and pin 5 of the same input terminal of the amplifier 4U2 is grounded through the resistor 4R36. The 6 pins of the reverse input terminal of the amplifier 4U2 are grounded through the resistor 4R24, the 7 pins of the output terminal of the amplifier 4U2 are connected to the 6 pins of the reverse input terminal of the amplifier 4U2 through the feedback resistor 4R23; the 10 pins of the same input terminal of the amplifier 4U2 are used for measurement Analog signal port, the 10 pins of the same input end of the amplifier 4U2 are grounded through the resistor 4R37, the 9 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R26, the 8 pins of the output end of the amplifier 4U2 are connected to the reverse input of the amplifier 4U2 through the feedback resistor 4R25 Terminal 9 pins; the 12 pins of the same-directional input end of the amplifier 4U2 receive the analog signal port for measurement, the 12 pins of the same-directional input end of the amplifier 4U2 are grounded through the resistor 4R38, and the 13 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R28, The output terminal 14 of the amplifier 4U2 is connected to the reverse input terminal 13 of the amplifier 4U2 via the feedback resistor 4R27; the 4 pin of the amplifier 4U2 is connected to the output terminal +5V, and the capacitor 4C12 is connected to the 4 pin of the amplifier 4U2 and the ground between;

所述放大器4U1的输出端1脚、7脚、8脚、14脚分别经排阻4RP511接所述嵌入式芯片1U1的34脚、35脚、42脚、43脚;所述放大器4U2的输出端1脚、7脚、8脚、14脚分别经排阻4RP512接所述嵌入式芯片1U1的46脚、47脚、26脚、27脚;The output terminals 1 pins, 7 pins, 8 pins and 14 pins of the amplifier 4U1 are respectively connected to the 34 pins, 35 pins, 42 pins and 43 pins of the embedded chip 1U1 through the exclusion 4RP511; the output terminals of the amplifier 4U2 Pin 1, pin 7, pin 8, and pin 14 are respectively connected to pin 46, pin 47, pin 26, and pin 27 of the embedded chip 1U1 through the exclusion 4RP512;

所述第二AI隔离电路与第一AI隔离电路结构相同,由放大器2-4U1、放大器2-4U2、电阻2-4R11至2-4R18、电阻2-4R21至电阻2-4R28、电阻2-4R31至电阻2-4R38、电容2-4C11至2-4C12和排阻2-4RP511至2-4RP512组成;所述放大器2-4U1的输出端1脚、7脚、8脚、14脚分别经排阻2-4RP511接所述嵌入式芯片1U1的28脚、29脚、44脚、45脚;所述放大器2-4U2的输出端1脚、7脚、8脚、14脚分别经排阻2-4RP512接所述嵌入式芯片1U1的18脚、19脚、20脚、21脚;放大器2-4U1及 2-4U2的同向输入端3脚、5脚、10脚、12脚分别接待测量的模拟信号端口;The second AI isolation circuit has the same structure as the first AI isolation circuit, consisting of amplifier 2-4U1, amplifier 2-4U2, resistors 2-4R11 to 2-4R18, resistor 2-4R21 to resistor 2-4R28, resistor 2-4R31 to resistor 2-4R38, capacitor 2-4C11 to 2-4C12, and exclusion 2-4RP511 to 2-4RP512; the output pins 1, 7, 8, and 14 of the amplifier 2-4U1 are respectively subjected to exclusion 2-4RP511 is connected to the 28 pins, 29 pins, 44 pins, and 45 pins of the embedded chip 1U1; the 1 pins, 7 pins, 8 pins, and 14 pins of the output terminals of the amplifier 2-4U2 are respectively blocked by 2-4RP512 Connect the 18 pins, 19 pins, 20 pins, and 21 pins of the embedded chip 1U1; the 3 pins, 5 pins, 10 pins, and 12 pins of the same input terminals of the amplifiers 2-4U1 and 2-4U2 respectively receive the measured analog signals port;

所述AO隔离卡电路的电阻5R4与电阻5R11相串联后接在所述放大器5U1的输入端5脚与地之间,电阻5R1与电阻5R12相串联后接在所述放大器5U1的输入端10脚与地之间,所述电阻5R4与电阻5R11的节点接所述嵌入式芯片1U1的41脚,所述电阻5R1与电阻5R12的节点接所述嵌入式芯片1U1的40脚;所述放大器5U1的1脚与2脚相连后经电阻5R2接放大器5U1的5脚,所述放大器5U1的7脚接所述三极管5Q2的基极,放大器5U1的6脚经电阻5R5接三极管5Q2的发射极,电阻5R7接在放大器5U1的6脚与地之间,电容5C1接在放大器5U1的7脚与地之间;所述三极管5Q2的集电极接所述所述输出端+12V,其发射极经电阻5R10接放大器5U1的3脚;所述放大器5U1的13脚与14脚相连后经电阻5R3接放大器5U1的10脚,所述放大器5U1的8脚接所述三极管5Q6的基极,放大器5U1的9脚经电阻5R6接三极管5Q1的发射极,电阻5R8接在放大器5U1的9脚与地之间,电容5C2接在放大器5U1的8脚与地之间;所述三极管5Q1的集电极接所述输出端+12V,其发射极经电阻5R9接放大器5U1的12脚;The resistor 5R4 of the AO isolation card circuit is connected in series with the resistor 5R11 and then connected between the input terminal 5 of the amplifier 5U1 and the ground, and the resistor 5R1 and the resistor 5R12 are connected in series and connected to the input terminal 10 of the amplifier 5U1 and the ground, the node of the resistor 5R4 and the resistor 5R11 is connected to pin 41 of the embedded chip 1U1, and the node of the resistor 5R1 and resistor 5R12 is connected to the pin 40 of the embedded chip 1U1; the node of the amplifier 5U1 Pin 1 and pin 2 are connected to pin 5 of the amplifier 5U1 via resistor 5R2, pin 7 of the amplifier 5U1 is connected to the base of the triode 5Q2, pin 6 of the amplifier 5U1 is connected to the emitter of the triode 5Q2 via resistor 5R5, and resistor 5R7 Connected between pin 6 of the amplifier 5U1 and the ground, capacitor 5C1 is connected between pin 7 of the amplifier 5U1 and the ground; the collector of the triode 5Q2 is connected to the output terminal +12V, and its emitter is connected through the resistor 5R10 Pin 3 of the amplifier 5U1; pin 13 of the amplifier 5U1 is connected to pin 14 of the amplifier 5U1 and connected to pin 10 of the amplifier 5U1 through a resistor 5R3; pin 8 of the amplifier 5U1 is connected to the base of the triode 5Q6; pin 9 of the amplifier 5U1 is connected to the base of the transistor 5Q6 The resistor 5R6 is connected to the emitter of the triode 5Q1, the resistor 5R8 is connected between pin 9 of the amplifier 5U1 and the ground, and the capacitor 5C2 is connected between the pin 8 of the amplifier 5U1 and the ground; the collector of the triode 5Q1 is connected to the output terminal + 12V, its emitter is connected to pin 12 of amplifier 5U1 through resistor 5R9;

所述并串转换输入电路的所述芯片6U1的1脚、4脚分别经电阻6R702、电阻6R701接入侵检测及中断输入信号,所述芯片6U1的6脚与8脚分别经电阻6R703与电阻6R704接所述输出端+3.3V,所述芯片6U1的5脚经电阻6R708接地,电容6C701与电阻6R708并联,所述芯片6U1的7脚经电阻6R707接地,电容6C702与电阻6R702并联,所述三极管6Q701的基极接芯片6U1的5脚,三极管6Q701的发射极接地,三极管6Q701的集电极经电阻6R706接所述输出端+3.3V,所述三极管6Q702的基极接芯片6U1的7脚,三极管6Q702的发射极接地,三极管6Q702的集电极经电阻6R705接所述输出端+3.3V,三极管6Q702的集电极接所述嵌入式芯片1U1的7脚;所述芯片6U5至芯片6U6、芯片6UA的2脚均接所述嵌入式芯片1U1的133脚,三极管6Q602的集电极经电阻6R601接所述输出端+3.3V,三极管6Q602的基极经电阻6R602接所述芯片6U7的6脚,三极管6Q602的发射极接地,电阻6R603与电容6C601并联后接在三极管6Q602的基极与地之间;所述芯片6U5至芯片6U6、芯片6UA的1脚均接三极管6Q602的集电极,芯片6U6的3脚接所述三极管6Q701的集电极,芯片6U6的14脚接所述芯片12U4的5脚;所述芯片6U7的4脚接所述嵌入式芯片1U1的134脚,所述芯片6UB的1脚接芯片6U6的3脚,所述芯片6UB的2脚接芯片6U6的4脚,所述芯片6UB的4脚、5脚分别接芯片6U5的13脚、12脚,所述芯片6UB的11脚接所述嵌入式芯片1U1的54脚,所述芯片6UB的3脚接所述芯片6UB的13脚,所述芯片6UB的6脚接所述芯片6UB的12脚;Pin 1 and pin 4 of the chip 6U1 of the parallel-to-serial conversion input circuit are respectively connected to intrusion detection and interrupt input signals through resistor 6R702 and resistor 6R701, and pin 6 and pin 8 of the chip 6U1 are connected to the input signal through resistor 6R703 and resistor 6R704 respectively. Connect the output terminal +3.3V, the 5 pin of the chip 6U1 is grounded through the resistor 6R708, the capacitor 6C701 is connected in parallel with the resistor 6R708, the 7 pin of the chip 6U1 is grounded through the resistor 6R707, the capacitor 6C702 is connected in parallel with the resistor 6R702, the triode The base of 6Q701 is connected to pin 5 of chip 6U1, the emitter of triode 6Q701 is grounded, the collector of triode 6Q701 is connected to the output terminal +3.3V through resistor 6R706, the base of triode 6Q702 is connected to pin 7 of chip 6U1, and the triode The emitter of 6Q702 is grounded, the collector of triode 6Q702 is connected to the output terminal +3.3V through resistor 6R705, and the collector of triode 6Q702 is connected to pin 7 of the embedded chip 1U1; the chip 6U5 to chip 6U6, chip 6UA Both pins 2 are connected to pin 133 of the embedded chip 1U1, the collector of the triode 6Q602 is connected to the output terminal +3.3V through a resistor 6R601, the base of the triode 6Q602 is connected to pin 6 of the chip 6U7 through a resistor 6R602, and the triode 6Q602 The emitter of the chip is grounded, the resistor 6R603 and the capacitor 6C601 are connected in parallel and then connected between the base of the triode 6Q602 and the ground; the chips 6U5 to 6U6, and pin 1 of the chip 6UA are all connected to the collector of the triode 6Q602, and pin 3 of the chip 6U6 Connect the collector of the triode 6Q701, the 14 pins of the chip 6U6 are connected to the 5 pins of the chip 12U4; the 4 pins of the chip 6U7 are connected to the 134 pins of the embedded chip 1U1, and the 1 pins of the chip 6UB are connected to the chip 3 pins of 6U6, 2 pins of the chip 6UB are connected to 4 pins of the chip 6U6, 4 pins and 5 pins of the chip 6UB are respectively connected to 13 pins and 12 pins of the chip 6U5, and 11 pins of the chip 6UB are connected to the Pin 54 of the embedded chip 1U1, pin 3 of the chip 6UB is connected to pin 13 of the chip 6UB, pin 6 of the chip 6UB is connected to pin 12 of the chip 6UB;

所述串并转换输出电路的芯片7U1至芯片7U5的11脚均接所述嵌入式芯片1U1的133脚;所述芯片7U1的14脚接所述嵌入式芯片1U1的135脚,芯片7U1的15脚、2脚、4脚、6脚分别接第一串口隔离卡电路的芯片10U6的3脚、第二串口隔离卡电路的芯片2-10U6的3脚、第三串口隔离卡电路的芯片3-10U6的3脚、第四串口隔离卡电路的芯片4-10U6的3脚;The 11 pins of the chip 7U1 to the chip 7U5 of the serial-to-parallel conversion output circuit are all connected to the 133 pins of the embedded chip 1U1; the 14 pins of the chip 7U1 are connected to the 135 pins of the embedded chip 1U1, and the 15 pins of the chip 7U1 The pins, 2 pins, 4 pins, and 6 pins are respectively connected to the 3 pins of the chip 10U6 of the first serial port isolation card circuit, the 3 pins of the chip 2-10U6 of the second serial port isolation card circuit, and the chip 3-10U6 of the third serial port isolation card circuit. Pin 3 of 10U6, pin 3 of chip 4-10U6 of the fourth serial port isolation card circuit;

所述芯片7U5的14脚接芯片7U2的9脚,所述芯片7U3的14脚接所述芯片7U5的9脚;所述芯片7U4的14脚接所述芯片7U3的9脚;The 14 pins of the chip 7U5 are connected to the 9 pins of the chip 7U2, the 14 pins of the chip 7U3 are connected to the 9 pins of the chip 7U5; the 14 pins of the chip 7U4 are connected to the 9 pins of the chip 7U3;

所述芯片7U8的15脚接芯片7U5的15脚,芯片7U8的1脚-3脚分别接嵌入式芯片1U1的110脚、55脚、126脚,芯片7U8的4脚接芯片7U1至芯片7U5的12脚、芯片6U7的6脚;The 15 pins of the chip 7U8 are connected to the 15 pins of the chip 7U5, the 1-3 pins of the chip 7U8 are respectively connected to the 110 pins, 55 pins, and 126 pins of the embedded chip 1U1, and the 4 pins of the chip 7U8 are connected to the chips 7U1 to 7U5. 12 pins, 6 pins of chip 6U7;

所述芯片7U9的6脚-7脚接芯片7U8的14脚-13脚,芯片7U9的11脚-12脚、14脚接所述嵌入式芯片1U1的75脚、76脚、74脚,芯片7U9的15脚、1脚-3脚分别第一串口隔离卡电路的芯片10U5的1脚、第二串口隔离卡电路的芯片2-10U5的1脚、第三串口隔离卡电路的芯片3-10U5的1脚、第四串口隔离卡电路的芯片4-10U5的1脚;芯片7U5的3脚经电阻2R501接所述光耦2U5的1脚,芯片7U9的4脚经电阻2R502接光耦2U5的3脚。Pins 6-7 of the chip 7U9 are connected to pins 14-13 of the chip 7U8, pins 11-12 and 14 of the chip 7U9 are connected to pins 75, 76, and 74 of the embedded chip 1U1, and the chip 7U9 15 pins, 1 pin - 3 pins of the chip 10U5 of the first serial port isolation card circuit, 1 pin of the chip 2-10U5 of the second serial port isolation card circuit, and 3-10U5 of the chip 3-10U5 of the third serial port isolation card circuit Pin 1, pin 1 of chip 4-10U5 of the fourth serial port isolation card circuit; pin 3 of chip 7U5 is connected to pin 1 of the optocoupler 2U5 through resistor 2R501, pin 4 of chip 7U9 is connected to pin 3 of optocoupler 2U5 through resistor 2R502 foot.

所述PWM计数器隔离板电路由芯片8U4-8U7、光耦8U2-8U3、晶体管8Q201-8Q204、晶体管8Q301-8Q308、排阻8RP101、排阻8RP201、排阻8RP202、发光二极管8D301-8D304、发光二极管8D201-8D204和电阻8R301-8R304组成;所述芯片8U4-8U7的型号为模拟电子开关BL1551,光耦8U3的型号为TLP521-4,光耦8U4的型号为TLP281-4;所述芯片8U4-8U7的输入脚4脚分别接所述嵌入式芯片1U1的96脚、97脚、100脚、136脚;所述芯片8U4-8U7的输入脚6脚分别接所述串并转换输出电路中的7U2的2脚-5脚,芯片8U4-8U7的输出脚3脚分别经排阻8RP101、发光二极管8D301-8D304接光耦8U3的输入脚1脚、3脚、5脚、7脚,所述光耦8U3的2脚、4脚、6脚、8脚接地;The PWM counter isolation board circuit consists of chips 8U4-8U7, optocouplers 8U2-8U3, transistors 8Q201-8Q204, transistors 8Q301-8Q308, exclusion 8RP101, exclusion 8RP201, exclusion 8RP202, light emitting diodes 8D301-8D304, light emitting diode 8D201 -8D204 and resistor 8R301-8R304; the model of the chip 8U4-8U7 is an analog electronic switch BL1551, the model of the optocoupler 8U3 is TLP521-4, and the model of the optocoupler 8U4 is TLP281-4; the model of the chip 8U4-8U7 The 4 pins of the input pins are respectively connected with the 96 pins, 97 pins, 100 pins, and 136 pins of the embedded chip 1U1; Pin-5 pins, the output pins 3 of the chip 8U4-8U7 are respectively connected to the input pins 1, 3, 5, and 7 of the optocoupler 8U3 through the exclusion 8RP101 and the light-emitting diode 8D301-8D304, and the optocoupler 8U3’s 2 feet, 4 feet, 6 feet, 8 feet grounding;

所述光耦8U3的9脚-16脚接了四路结构相同的脉冲输出电路;第一路脉冲输出电路由晶体管8Q301、晶体管8Q305和电阻8R301组成;所述光耦8U3的16脚接脉冲信号端口的相应端口,光耦8U3的16脚接晶体管8Q301的集电极,晶体管8Q301的发射极接电阻8R301的一端,晶体管8Q305的发射极接光耦8U3的15脚,晶体管8Q305的集电极接晶体管8Q301的基极,晶体管8Q305的基极接电阻8R301的另一端;所述第二路脉冲输出电路由晶体管8Q302、晶体管8Q306和电阻8R302组成;所述晶体管8Q302的集电极接光耦8U3的14脚,光耦8U3的14脚接脉冲信号端口的相应端口,晶体管8Q306的发射极接光耦8U3的13脚;所述第三路脉冲输出电路由晶体管8Q303、晶体管8Q307和电阻8R303组成;所述晶体管8Q303的集电极接光耦8U3的12脚,光耦8U3的12脚接脉冲信号端口的相应端口,晶体管8Q307的发射极接光耦8U3的11脚;所述第四路脉冲输出电路由晶体管8Q304、晶体管8Q308和电阻8R304组成;所述晶体管8Q304的集电极接光耦8U3的10脚,光耦8U3的10脚接脉冲信号端口的相应端口,晶体管8Q308的发射极接光耦8U3的9脚;The 9-16 pins of the optocoupler 8U3 are connected to four pulse output circuits with the same structure; the first pulse output circuit is composed of transistor 8Q301, transistor 8Q305 and resistor 8R301; the 16 pins of the optocoupler 8U3 are connected to the pulse signal The corresponding port of the port, the 16-pin of the optocoupler 8U3 is connected to the collector of the transistor 8Q301, the emitter of the transistor 8Q301 is connected to one end of the resistor 8R301, the emitter of the transistor 8Q305 is connected to the 15-pin of the optocoupler 8U3, and the collector of the transistor 8Q305 is connected to the transistor 8Q301 The base of transistor 8Q305 is connected to the other end of resistor 8R301; the second pulse output circuit is composed of transistor 8Q302, transistor 8Q306 and resistor 8R302; the collector of transistor 8Q302 is connected to pin 14 of optocoupler 8U3, Pin 14 of optocoupler 8U3 is connected to the corresponding port of the pulse signal port, and the emitter of transistor 8Q306 is connected to pin 13 of optocoupler 8U3; the third pulse output circuit is composed of transistor 8Q303, transistor 8Q307 and resistor 8R303; the transistor 8Q303 The collector is connected to the 12 pins of the optocoupler 8U3, the 12 pins of the optocoupler 8U3 are connected to the corresponding port of the pulse signal port, the emitter of the transistor 8Q307 is connected to the 11 pins of the optocoupler 8U3; the fourth pulse output circuit is composed of transistors 8Q304, Composed of transistor 8Q308 and resistor 8R304; the collector of the transistor 8Q304 is connected to pin 10 of the optocoupler 8U3, pin 10 of the optocoupler 8U3 is connected to the corresponding port of the pulse signal port, and the emitter of the transistor 8Q308 is connected to pin 9 of the optocoupler 8U3;

所述光耦8U2、数字晶体管8Q201-8Q204、排阻8RP201、排阻8RP202、发光二极管8D201-8D204组成的PWM计数器隔离板电路脉冲输入电路;所述发光二极管8D201-8D204的阳极分别晶体管8Q301-8Q304的发射极,所述发光二极管8D201-8D204的阴极分别接光耦8U2的1脚、3脚、5脚、7脚,所述光耦8U2的2脚、4脚、6脚、8脚分别经排阻8RP201接光耦8U3的16脚、14脚、12脚、10脚,所述光耦8U2的16脚、14脚、12脚、10脚分别接晶体管8Q201-8Q204的基极,所述光耦8U2的15脚、13脚、11脚、9脚均接地;所述晶体管8Q201-8Q204的集电极分别经排阻8RP202接地,晶体管8Q201-8Q204的集电极分别接芯片8U4的1脚、芯片8U5的1脚、芯片8U6的1脚、芯片8U7的1脚,晶体管8Q201-8Q204的发射极接所述输出端+3.3V;The PWM counter isolation board circuit pulse input circuit composed of the optocoupler 8U2, digital transistors 8Q201-8Q204, exclusion 8RP201, exclusion 8RP202, and light-emitting diodes 8D201-8D204; the anodes of the light-emitting diodes 8D201-8D204 are respectively transistors 8Q301-8Q304 The emitters of the light-emitting diodes 8D201-8D204 are respectively connected to pins 1, 3, 5, and 7 of the optocoupler 8U2, and pins 2, 4, 6, and 8 of the optocoupler 8U2 are respectively connected to The resistance exclusion 8RP201 is connected to the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 8U3, and the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 8U2 are respectively connected to the bases of the transistors 8Q201-8Q204. The 15 pins, 13 pins, 11 pins and 9 pins of the coupling 8U2 are all grounded; the collectors of the transistors 8Q201-8Q204 are respectively grounded through the resistance 8RP202, and the collectors of the transistors 8Q201-8Q204 are respectively connected to the 1 pin of the chip 8U4, the chip 8U5 pin 1 of the chip 8U6, pin 1 of the chip 8U7, and the emitters of the transistors 8Q201-8Q204 are connected to the output terminal +3.3V;

所述人机交互电路包括第一人机交互电路和第二人机交互电路;The human-computer interaction circuit includes a first human-computer interaction circuit and a second human-computer interaction circuit;

所述第一人机交互电路由电阻9R1-9R8和发光二极管9D1-9D8组成;所述电阻9R1与发光二极管9D1相串联后接在所述串并转换输出电路中的芯片7U4的3脚与地之间;所述电阻9R2与发光二极管9D2相串联后接在所述串并转换输出电路中的芯片7U4的2脚与地之间;所述电阻9R3与发光二极管9D3相串联后接在所述串并转换输出电路中的芯片7U4的1脚与地之间;所述电阻9R4与发光二极管9D4相串联后接在所述串并转换输出电路中的芯片7U4的15脚与地之间;所述电阻9R5与发光二极管9D5相串联后接在所述串并转换输出电路中的芯片7U4的5脚与地之间;所述电阻9R6与发光二极管9D6相串联后接在所述串并转换输出电路中的芯片7U4的4脚与地之间;所述电阻9R7与发光二极管9D7相串联后接在所述串并转换输出电路中的芯片7U4的7脚与地之间;所述电阻9R8与发光二极管9D8相串联后接在所述串并转换输出电路中的芯片7U4的6脚与地之间;The first human-computer interaction circuit is composed of resistors 9R1-9R8 and light-emitting diodes 9D1-9D8; the resistor 9R1 is connected in series with the light-emitting diode 9D1 and then connected to pin 3 of the chip 7U4 in the serial-to-parallel conversion output circuit and ground The resistor 9R2 is connected in series with the light emitting diode 9D2 and then connected between pin 2 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R3 is connected in series with the light emitting diode 9D3 and then connected to the Between pin 1 of the chip 7U4 in the serial-parallel conversion output circuit and the ground; the resistor 9R4 is connected in series with the light-emitting diode 9D4 and connected between pin 15 of the chip 7U4 in the serial-parallel conversion output circuit and the ground; The resistor 9R5 is connected in series with the light emitting diode 9D5 and then connected between pin 5 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R6 is connected in series with the light-emitting diode 9D6 and then connected to the serial-parallel conversion output Between pin 4 of the chip 7U4 in the circuit and the ground; the resistor 9R7 is connected in series with the light-emitting diode 9D7 and connected between pin 7 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R8 and the ground The light-emitting diode 9D8 is connected in series between pin 6 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground;

所述第二人机交互电路由电阻9R11-9R18、开关9S1-9S8和电容9C1-9C8组成;所述电阻9R11与开关9S1串联后接在所述输出端+3.3V与地之间,所述电阻9R11与开关9S1的节点接所述并串转换输入电路中的芯片6UA的11脚;所述电阻9R12与开关9S2串联后接在所述输出端+3.3V与地之间,所述电阻9R12与开关9S2的节点接所述并串转换输入电路中的芯片6UA的12脚;所述电阻9R13与开关9S3串联后接在所述输出端+3.3V与地之间,所述电阻9R13与开关9S3的节点接所述并串转换输入电路中的芯片6UA的13脚;所述电阻9R14与开关9S4串联后接在所述输出端+3.3V与地之间,所述电阻9R14与开关9S4的节点接所述并串转换输入电路中的芯片6UA的14脚;所述电阻9R15与开关9S5串联后接在所述输出端+3.3V与地之间,所述电阻9R15与开关9S5的节点接所述并串转换输入电路中的芯片6UA的3脚;所述电阻9R16与开关9S6串联后接在所述输出端+3.3V与地之间,所述电阻9R16与开关9S6的节点接所述并串转换输入电路中的芯片6UA的4脚;所述电阻9R17与开关9S7串联后接在所述输出端+3.3V与地之间,所述电阻9R17与开关9S7的节点接所述并串转换输入电路中的芯片6UA的5脚;所述电阻9R18与开关9S8串联后接在所述输出端+3.3V与地之间,所述电阻9R18与开关9S8的节点接所述并串转换输入电路中的芯片6UA的6脚;所述电容9C1-9C8分别与开关9S1-9S8并联;The second human-computer interaction circuit is composed of resistors 9R11-9R18, switches 9S1-9S8 and capacitors 9C1-9C8; the resistor 9R11 is connected in series with the switch 9S1 and connected between the output terminal +3.3V and ground, and the The node of the resistor 9R11 and the switch 9S1 is connected to pin 11 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R12 is connected in series with the switch 9S2 between the output terminal +3.3V and ground, and the resistor 9R12 The node connected with the switch 9S2 is connected to pin 12 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R13 is connected in series with the switch 9S3 and then connected between the output terminal +3.3V and ground, and the resistor 9R13 is connected to the switch The node of 9S3 is connected to pin 13 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R14 is connected in series with the switch 9S4 and then connected between the output terminal +3.3V and ground, and the resistor 9R14 is connected to the switch 9S4 The node is connected to pin 14 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R15 is connected in series with the switch 9S5 between the output terminal +3.3V and ground, and the node of the resistor 9R15 is connected to the switch 9S5 Pin 3 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R16 is connected in series with the switch 9S6 between the output terminal +3.3V and ground, and the node of the resistor 9R16 and the switch 9S6 is connected to the Pin 4 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R17 is connected in series with the switch 9S7 between the output terminal +3.3V and ground, and the node of the resistor 9R17 and the switch 9S7 is connected to the parallel string Convert pin 5 of the chip 6UA in the input circuit; the resistor 9R18 is connected in series with the switch 9S8 between the output terminal +3.3V and ground, and the node of the resistor 9R18 and the switch 9S8 is connected to the parallel-serial conversion input The 6 pins of the chip 6UA in the circuit; the capacitors 9C1-9C8 are respectively connected in parallel with the switches 9S1-9S8;

所述综合通信卡电路包括串口电路和CAN总线电路;所述串口电路由串口芯片11U11、电阻11R1-11R2和电容发11C1-11C5组成;所述串口芯片11U11的型号为MAX232,所述串口芯片11U11的11脚、12脚分别接所述嵌入式芯片1U1的113脚、116脚,串口芯片11U11的11脚、12脚分别接外部对应的串口信号,电阻11R1接在串口芯片11U11的10脚与12脚之间,电阻11R2接在串口芯片11U11的9脚与11脚之间,电容11C3接在串口芯片11U11的4脚与5脚之间,电容11C5接在串口芯片11U11的1脚与3脚之间,电容11C1接在串口芯片11U11的16脚与地之间,串口芯片11U11的16脚接所述输出端+5V,电容11C2接在串口芯片11U11的2脚与地之间,电容11C4接在串口芯片11U11的6脚与地之间;The integrated communication card circuit includes a serial port circuit and a CAN bus circuit; the serial port circuit is made up of a serial port chip 11U11, resistors 11R1-11R2 and capacitors 11C1-11C5; the model of the serial port chip 11U11 is MAX232, and the serial port chip 11U11 The 11 pins and 12 pins of the embedded chip 1U1 are respectively connected to the 113 pins and 116 pins of the embedded chip 1U1, the 11 pins and 12 pins of the serial port chip 11U11 are respectively connected to the corresponding external serial port signals, and the resistor 11R1 is connected to the 10 pins and 12 pins of the serial port chip 11U11. Between pins, resistor 11R2 is connected between pin 9 and pin 11 of serial chip 11U11, capacitor 11C3 is connected between pin 4 and pin 5 of serial chip 11U11, capacitor 11C5 is connected between pin 1 and pin 3 of serial chip 11U11 In between, capacitor 11C1 is connected between pin 16 of serial port chip 11U11 and the ground, pin 16 of serial port chip 11U11 is connected to the output +5V, capacitor 11C2 is connected between pin 2 of serial chip 11U11 and ground, capacitor 11C4 is connected to Between pin 6 of serial port chip 11U11 and ground;

所述CAN总线电路由隔离芯片11U21、和电容发11C6-11C7组成;所述隔离芯片11U21的型号为ISO1050;所述隔离芯片11U21的1脚接所述输出端+5V,其2脚接所述嵌入式芯片1U1的140脚,隔离芯片11U21的3脚接所述嵌入式芯片1U1的139脚,隔离芯片11U21的4脚与5脚均接地,隔离芯片11U21的6脚与7脚为CAN控制总线输出端,隔离芯片11U21的8脚接所述输出端+5V,电容11C6接在隔离芯片11U21的1脚与地之间,电容11C7接在隔离芯片11U21的8脚与地之间。Described CAN bus circuit is made up of isolating chip 11U21 and capacitor hair 11C6-11C7; The model of described isolating chip 11U21 is ISO1050; 1 pin of described isolating chip 11U21 is connected to described output +5V, and its 2 pins are connected to described Pin 140 of the embedded chip 1U1, pin 3 of the isolation chip 11U21 are connected to pin 139 of the embedded chip 1U1, pins 4 and 5 of the isolation chip 11U21 are grounded, pins 6 and 7 of the isolation chip 11U21 are CAN control bus At the output end, pin 8 of the isolation chip 11U21 is connected to the output +5V, capacitor 11C6 is connected between pin 1 of the isolation chip 11U21 and the ground, and capacitor 11C7 is connected between pin 8 of the isolation chip 11U21 and the ground.

本发明还涉及一种拼装式数据交互智能终端系统,其包括数据交互智能主机终端、数据总线、第1从机终端至第N从机终端,其中N为大于1的整数;所述第1从机终端至第N从机终端的结构相同,所述第1从机终端至第N从机终端的扩展形式为级联式;所述数据交互智能主机终端依次经第1从机终端、第2从机终端、…、第N-1从机终端与第N从机终端相连接;所述数据交互智能主机终端、第1从机终端至第N从机终端分别连接到数据总线上。The present invention also relates to an assembled data interactive intelligent terminal system, which includes a data interactive intelligent host terminal, a data bus, the first slave terminal to the Nth slave terminal, wherein N is an integer greater than 1; the first slave The structure from the machine terminal to the Nth slave terminal is the same, and the expansion form of the first slave terminal to the Nth slave terminal is a cascading type; the data interaction intelligent host terminal passes through the first slave terminal, the second The slave terminals, ..., the N-1th slave terminal are connected to the Nth slave terminal; the data interaction intelligent host terminal, the first slave terminal to the Nth slave terminal are respectively connected to the data bus.

所述数据总线包括第一数据总线DWKZ0至第八数据总线DWKZ7、第九数据总线WKWRZ、第十数据总线WKOEZ、数据总线电源线和数据总线地线;数据总线电源线接+5V电源,数据总线地线接地;The data bus includes the first data bus DWKZ0 to the eighth data bus DWKZ7, the ninth data bus WKWRZ, the tenth data bus WKOEZ, the data bus power line and the data bus ground wire; the data bus power line is connected to the +5V power supply, and the data bus ground wire;

所述第1从机终端包括从机核心控制单元、从机隔离卡、从机电源管理单元、第1总线控制器和第1 烽火接力从模块电路;The first slave terminal includes a slave core control unit, a slave isolation card, a slave power management unit, a first bus controller and a first beacon relay slave module circuit;

从机核心控制单元与所述数据交互智能主机终端的核心控制单元结构相同;所述从机电源管理单元与数据交互智能主机终端的电源管理单元结构相同;The slave core control unit has the same structure as the core control unit of the data interaction intelligent host terminal; the slave power management unit has the same structure as the data interaction intelligent host terminal power management unit;

所述从机隔离卡、第1总线控制器和第1 烽火接力从模块电路分别与所述从机核心控制单元的相应端口相连接;The slave isolation card, the first bus controller and the first Beacon relay slave module circuit are respectively connected to the corresponding ports of the slave core control unit;

外部供电电源通过从机电源管理单元给从机核心控制单元、从机隔离卡、第1总线控制器和第1 烽火接力从模块电路供电;The external power supply supplies power to the core control unit of the slave, the isolation card of the slave, the first bus controller and the first beacon relay slave module circuit through the slave power management unit;

所述第1总线控制器由芯片13U7和电阻13R1组成;所述芯片13U7的型号为74HC245,芯片13U7的1脚接到数据总线的第九数据总线WKWRZ上;芯片13U7的2脚-9脚分别接所述嵌入式芯片1U1的93脚、10脚至15脚、132脚;芯片13U7的10脚接地;芯片13U7的18脚至11脚分别接到数据总线的第一数据总线DWKZ0至第八数据线DWKZ7上;芯片13U7的20脚接+5V电源;所述电阻13R1接在芯片13U7的19脚与20脚之间;The first bus controller is composed of a chip 13U7 and a resistor 13R1; the model of the chip 13U7 is 74HC245, and pin 1 of the chip 13U7 is connected to the ninth data bus WKWRZ of the data bus; pins 2-9 of the chip 13U7 are respectively Connect the 93 pins, 10 pins to 15 pins and 132 pins of the embedded chip 1U1; the 10 pins of the chip 13U7 are grounded; the 18 pins to the 11 pins of the chip 13U7 are respectively connected to the first data bus DWKZ0 to the eighth data bus of the data bus On line DWKZ7; pin 20 of chip 13U7 is connected to +5V power supply; the resistor 13R1 is connected between pin 19 and pin 20 of chip 13U7;

所述第1烽火接力从模块电路由光耦13U1、芯片13U2、芯片13U3、芯片13U4、恒流源13D1-13D2、三极管13Q01、电位器13RJ01、电阻13R11-13R13、电阻13R21-13R25和电容13C11-13C14组成;所述光耦13U1的型号为TLP281-4,芯片13U2的型号为LM393,芯片13U3的型号为CN5710,芯片13U4的型号为74HB74,恒流源13D1-13D2的型号为S-102T,三极管13Q1的型号为8550;所述光耦13U1的5脚经恒流源13D2为第1烽火接力从模块电路的信号输入端FHn-1,光耦13U1的7脚经电位器13RJ01接恒流源13D1的输入端,恒流源13D1的输出端为第1烽火接力从模块电路的时钟输入端CLK,所述第1烽火接力从模块电路的时钟输入端CLK接所述烽火接力主模块电路的时钟输出端口FHCLK;光耦13U1的1脚经电阻13R13接所述芯片13U4的5脚,光耦13U1的2脚与3脚相连接,光耦13U1的4脚、6脚、8脚接地,光耦13U1的9脚经电阻13R11接地,光耦13U1的11脚经电阻13R12接地,光耦13U1的10脚、12脚接所述输出端+5V,电容13C12接在光耦13U1的9脚与12脚之间,电容13C11接在光耦13U1的11脚与12脚之间,光耦13U1的15脚、16脚分别接所述所述烽火接力主模块电路中光耦12U1的13脚、14脚;光耦13U1的15脚接芯片13U7的10脚,所述光耦13U1的16脚接芯片13U7的19脚;所述芯片13U4的2脚、3脚分别接光耦13U1的11脚、9脚,芯片13U4的1脚、4脚、14脚均接所述输出端+5V;电阻13R22与电阻13R21的节点接芯片13U2的7脚,芯片13U2的7脚接所述芯片13U3的1脚,芯片13U2的5脚经电阻13R24接地,芯片13U2的5脚接光耦13U1的13脚,芯片13U2的2脚、3脚、4脚均接地;所述芯片13U3的3脚经电阻13R25接地,芯片13U3的5脚为烽火接力从模块电路的时钟输出端CLK,所述烽火接力从模块电路的时钟输出端CLK接恒流源13D1的输入端;所述三极管13Q01的基极接光耦13U1的14脚,三极管13Q01的发射极接所述输出端+5V,三极管13Q01的集电极为烽火接力从模块电路的信号输出端CFHn,所述第1烽火接力从模块电路的信号输出端CFHn接第2从机终端的烽火接力从模块电路的信号输入端;The first beacon relay module circuit consists of optocoupler 13U1, chip 13U2, chip 13U3, chip 13U4, constant current source 13D1-13D2, transistor 13Q01, potentiometer 13RJ01, resistor 13R11-13R13, resistor 13R21-13R25 and capacitor 13C11- 13C14; the model of the optocoupler 13U1 is TLP281-4, the model of the chip 13U2 is LM393, the model of the chip 13U3 is CN5710, the model of the chip 13U4 is 74HB74, the model of the constant current source 13D1-13D2 is S-102T, the triode The model of 13Q1 is 8550; pin 5 of the optocoupler 13U1 is the signal input terminal FHn-1 of the first beacon relay slave module circuit through the constant current source 13D2, and pin 7 of the optocoupler 13U1 is connected to the constant current source 13D1 through the potentiometer 13RJ01 The input terminal of the constant current source 13D1 is the clock input terminal CLK of the first beacon relay slave module circuit, and the clock input terminal CLK of the first beacon relay slave module circuit is connected to the clock output of the beacon relay master module circuit Port FHCLK; pin 1 of optocoupler 13U1 is connected to pin 5 of the chip 13U4 via resistor 13R13, pin 2 of optocoupler 13U1 is connected to pin 3, pin 4, pin 6 and pin 8 of optocoupler 13U1 are grounded, and pin 13U1 of optocoupler The 9 pins of the optocoupler 13U1 are grounded through the resistor 13R11, the 11 pins of the optocoupler 13U1 are grounded through the resistor 13R12, the 10 pins and 12 pins of the optocoupler 13U1 are connected to the output terminal +5V, and the capacitor 13C12 is connected between the 9 pins and the 12 pins of the optocoupler 13U1 Between, capacitor 13C11 is connected between pin 11 and pin 12 of optocoupler 13U1, pin 15 and pin 16 of optocoupler 13U1 are respectively connected to pin 13 and pin 14 of optocoupler 12U1 in the beacon relay main module circuit; The 15 pins of the coupling 13U1 are connected to the 10 pins of the chip 13U7, and the 16 pins of the optocoupler 13U1 are connected to the 19 pins of the chip 13U7; Pin 1, pin 4, and pin 14 of 13U4 are all connected to the output terminal +5V; the node of resistor 13R22 and resistor 13R21 is connected to pin 7 of chip 13U2, pin 7 of chip 13U2 is connected to pin 1 of chip 13U3, and the node of chip 13U2 is connected to pin 7 of chip 13U2. Pin 5 is grounded through resistor 13R24, pin 5 of chip 13U2 is connected to pin 13 of optocoupler 13U1, pin 2, pin 3 and pin 4 of chip 13U2 are grounded; pin 3 of chip 13U3 is grounded through resistor 13R25, pin 5 of chip 13U3 is grounded The pin is the clock output terminal CLK of the beacon relay slave module circuit, and the clock output terminal CLK of the beacon relay slave module circuit is connected to the input terminal of the constant current source 13D1; the base of the triode 13Q01 is connected to the 14 pin of the optocoupler 13U1, and the triode The emitter of 13Q01 is connected to the output terminal +5V, the collector of triode 13Q01 is the signal output terminal CFHn of the beacon relay slave module circuit, and the first beacon relay slave module circuit The signal output terminal CFHn of the circuit is connected to the signal input terminal of the beacon relay slave module circuit of the second slave terminal;

所述数据交互智能主机终端中IO扩展总线通信电路的芯片2U7的18脚至11脚分别接到数据总线的第一数据总线DWKZ0至第八数据总线DWKZ7上;所述数据交互智能主机终端中IO扩展总线通信电路的2U6的8脚和11脚分别接到数据总线的第九数据总线WKWRZ和第十数据总线WKOEZ上。Pins 18 to 11 of the chip 2U7 of the IO expansion bus communication circuit in the data interaction intelligent host terminal are respectively connected to the first data bus DWKZ0 to the eighth data bus DWKZ7 of the data bus; the IO in the data interaction intelligent host terminal Pin 8 and pin 11 of 2U6 of the expansion bus communication circuit are respectively connected to the ninth data bus WKWRZ and the tenth data bus WKOEZ of the data bus.

所述从机隔离卡包括从机AI隔离卡电路和从机AO隔离卡电路,所述从机AI隔离卡电路与AI隔离卡电路结构相同,所述从机AO隔离卡电路与AO隔离卡电路结构相同;所述从机AI隔离卡电路与待测量的模拟信号端口相连接,从机AI隔离卡电路的输出单接从机核心控制单元的相应输入端,从机核心控制单元的输出端接所述从机AO隔离卡电路的相应输入端,从机AO隔离卡电路的输出端接模拟控制信号端口;所述从机电源管理单元的相应输出端分别接从机AI隔离卡电路、从机AO隔离卡电路的电源输入端。The slave isolation card includes a slave AI isolation card circuit and a slave AO isolation card circuit, the slave AI isolation card circuit has the same structure as the AI isolation card circuit, and the slave AO isolation card circuit and the AO isolation card circuit The same structure; the slave AI isolation card circuit is connected to the analog signal port to be measured, the output of the slave AI isolation card circuit is connected to the corresponding input terminal of the slave core control unit, and the output terminal of the slave core control unit is connected to The corresponding input end of the slave AO isolation card circuit, the output end of the slave AO isolation card circuit is connected to the analog control signal port; the corresponding output end of the slave power management unit is respectively connected to the slave AI isolation card circuit, the slave The power input terminal of the AO isolation card circuit.

所述从机隔离卡包括从机DIDO隔离卡电路,所述从机DIDO隔离卡电路与DIDO隔离卡电路结构相同;从机DIDO隔离卡电路与从机核心控制单元双向连接;所述从机DIDO隔离卡电路与开关信号端口双向连接;所述从机电源管理单元的相应输出端接所述从机DIDO隔离卡电路的电源输入端。The slave isolation card includes a slave DIDO isolation card circuit, and the slave DIDO isolation card circuit has the same structure as the DIDO isolation card circuit; the slave DIDO isolation card circuit is bidirectionally connected with the slave core control unit; the slave DIDO The isolation card circuit is bidirectionally connected to the switch signal port; the corresponding output terminal of the slave power management unit is connected to the power input end of the slave DIDO isolation card circuit.

本发明还涉及利用拼装式数据交互智能终端系统进行通信的方法,其利用烽火接力主模块与烽火接力从模块进行的通信,具体步骤如下:The present invention also relates to a communication method using an assembled data interactive intelligent terminal system, which utilizes the communication between the beacon relay master module and the beacon relay slave module, and the specific steps are as follows:

(1)将核心处理单元始化,使烽火接力主模块的选择信号输入端FH的引脚为低电平,烽火接力主模块的时钟信号输入端CLK的引脚为高电平;(1) Initialize the core processing unit, make the pin of the selection signal input terminal FH of the beacon relay main module be low level, and the pin of the clock signal input terminal CLK of the beacon relay main module be high level;

(2)嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送选择信号,即发送高电平;(2) The embedded chip 1U1 sends a selection signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, sends a high level;

(3)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,即高电平—低电平—高电平;(3) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay main module, that is, high level-low level-high level;

(4) 嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送清除信号,即低电平,并将从机地址i清零;(4) The embedded chip 1U1 sends a clear signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, low level, and clears the slave address i;

(5)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,并将从机地址i自增1;(5) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay master module, and increments the slave address i by 1;

(6)嵌入式芯片1U1检测从机地址i是否大于从机极限数量m,如果是,则执行第(7)步,否则执行第(8)步;(6) The embedded chip 1U1 detects whether the slave address i is greater than the limit number m of the slave, if yes, then executes step (7), otherwise executes step (8);

(7)当烽火接力从模块出现异常时,输出异常通知;(7) When the beacon relay slave module is abnormal, output an abnormal notification;

(8)嵌入式芯片1U1判断是否接收到终止信号,烽火接力主模块的反馈信号输出端FHFK的引脚发送选择信号为低电平,如果未收到,则执行第(9)步,否则执行第(10)步;(8) The embedded chip 1U1 judges whether the termination signal is received, and the pin of the feedback signal output terminal FHFK of the beacon relay main module sends the selection signal to a low level. If not received, execute step (9), otherwise execute step (10);

(9)嵌入式芯片1U1输出读写数据通知,然后跳转到第(5)步;(9) The embedded chip 1U1 outputs the read and write data notification, and then jumps to step (5);

(10)嵌入式芯片1U1判断从机地址i是否超过了烽火接力主模块检测到的数据交互智能从机终端的数量n,如果是,跳转到第(2)步,否则执行第(11)步;(10) The embedded chip 1U1 judges whether the slave address i exceeds the number n of data interaction intelligent slave terminals detected by the beacon relay master module, if yes, jump to step (2), otherwise execute step (11) step;

(11)嵌入式芯片1U1输出从机终端上下线通知;(11) Embedded chip 1U1 outputs the notification that the slave terminal goes online and offline;

(12)重新设置数据交互智能从机终端数量n为i-1,跳转到第(2)步;(12) Reset the number n of data interaction intelligent slave terminals to i-1, and jump to step (2);

上述步骤中,i为从机地址;n为从机终端数量;m为从机终端极限数量;其中,i的取值范围是1~100,n的取值范围是1~100, m的取值范围是1~100。In the above steps, i is the slave address; n is the number of slave terminals; m is the limit number of slave terminals; wherein, the value range of i is 1~100, the value range of n is 1~100, and the value of m is The value range is 1~100.

本实施例的工作原理如下:有关控制单元的电路原理:本电路采用的是地址总线与数据总线的复用方式,1U2、1U3的输出端与1U4的低16位地址输入端(A0~A15)连接,1U1首先输出读写地址,并通过/ADV(137脚)控制1U2、1U3将低16位地址(IO0~1O15)锁存,继而会在IO0~1O15上传输对1U4要读写的数据。由1U1进行控制选通,1U4、1U5、1U7不能同时用。由于1U1的UART4、UART5与SD卡操作引脚共用,为便于二次开发,本电路引入模拟开关进行选通,可在二次开发时根据需要选择使用何种模式;按键是提供类似键盘的功能,可以命名为按键1、按键2、依次类推,具体功能由二次开发时定,就如同Windows系统只负责将键盘代码值传递给系统中的应用程序一样,至于应用程序用来干什么,与Windows系统无关。The working principle of this embodiment is as follows: the circuit principle of the relevant control unit: what this circuit adopts is the multiplexing mode of the address bus and the data bus, the output terminals of 1U2 and 1U3 and the low 16-bit address input terminals (A0~A15) of 1U4 Connect, 1U1 first outputs the read and write address, and controls 1U2 and 1U3 to latch the lower 16-bit address (IO0~1O15) through /ADV (pin 137), and then transmits the data to be read and written to 1U4 on IO0~1O15. The strobe is controlled by 1U1, and 1U4, 1U5, and 1U7 cannot be used at the same time. Since UART4 and UART5 of 1U1 share the operating pins of the SD card, in order to facilitate the secondary development, this circuit introduces an analog switch for gating, and can choose which mode to use during secondary development; the key is to provide a keyboard-like function , can be named as button 1, button 2, and so on. The specific function is determined by the secondary development, just as the Windows system is only responsible for passing the keyboard code value to the application program in the system. As for what the application program is used for, it is different from Windows System has nothing to do.

本发明所要解决的技术问题是上述提及的资源浪费的问题,其使用一种灵活拼装的智能终端来满足工业现场的各种需求。本发明将实现各种信号的传递、采集的接口为基础单元,将核心处理单元及各类信号的硬件处理单元分离为独立的组件,然后根据不同的需求进行选择性的拼装。本发明包括数据交互主机终端及数据交互扩展从机终端。数据交互主机终端的主板上集成AI接口、AO接口、DIDO接口、电源接口、协处理单元;其中人机交互单元、核心处理单元、AI隔离卡、AO隔离卡、DIDO隔离卡、电源隔离卡、串口扩展卡、综合通信接口卡、PWM/计数器隔离卡、IO扩展卡以可插拔的方式与主板连接,除IO扩展卡外,均可根据需要进行二次开发。主板为各接口板的母板,其如同电脑主板一样,集成了多种接口,用于承载各种模块。其上集成了AI接口、AO接口、DI接口、DO接口、电源接口、协处理单元。其中协处理单元主要用于内部信号的检测与传递,人机交互单元用于与使用者进行互动。所述核心处理单元为一块可编程的MCU最小系统板,其以可接插的方式与主板连接。且其搭载完全开源的.NET Micro Framework嵌入式系统,其所用的驱动程序已经进行优化,可处理实时任务,非常便于用户使用C#.Net/VB.NET编程语言进行应用开发。所述AI隔离卡、AO隔离卡、DIDO隔离卡用于隔离外界信号,其可由二次开发的用户针对自己的意愿进行开发。电源隔离卡也就是电源管理单元,用于为主机提供所需的隔离DC电源。串口扩展卡用于提供多功能的串行接口,其可由二次开发的用户根据自己的意愿进行开发。综合通信接口卡用于向外界提供RS232接口、CAN接口、以太网口、无线通信接口,亦可由二次开发的用户根据自己的意愿进行开发。PWM/计数器隔离卡用于提供PWM信号或者对输入的数字信号进行计数。IO扩展卡用于与数据交互扩展从机终端连接。The technical problem to be solved by the present invention is the resource waste problem mentioned above, which uses a flexible assembled intelligent terminal to meet various demands of industrial sites. The invention takes the interface for realizing the transmission and collection of various signals as the basic unit, separates the core processing unit and the hardware processing units of various signals into independent components, and then selectively assembles them according to different requirements. The invention includes a data interaction host terminal and a data interaction extension slave terminal. AI interface, AO interface, DIDO interface, power interface, and co-processing unit are integrated on the motherboard of the data interaction host terminal; among them, the human-computer interaction unit, core processing unit, AI isolation card, AO isolation card, DIDO isolation card, power isolation card, The serial port expansion card, integrated communication interface card, PWM/counter isolation card, and IO expansion card are connected to the main board in a pluggable way. Except for the IO expansion card, secondary development can be carried out according to the needs. The main board is the main board of each interface board, and like a computer main board, it integrates a variety of interfaces for carrying various modules. It integrates AI interface, AO interface, DI interface, DO interface, power interface and co-processing unit. Among them, the co-processing unit is mainly used for the detection and transmission of internal signals, and the human-computer interaction unit is used for interacting with users. The core processing unit is a programmable MCU minimum system board, which is connected to the main board in a pluggable manner. And it is equipped with a completely open source .NET Micro Framework embedded system, and the driver used has been optimized to handle real-time tasks, which is very convenient for users to use C#.Net/VB.NET programming language for application development. The AI isolation card, AO isolation card, and DIDO isolation card are used to isolate external signals, which can be developed by secondary development users according to their own wishes. The power isolation card is also the power management unit, which is used to provide the required isolated DC power for the host. The serial expansion card is used to provide a multi-functional serial interface, which can be developed by secondary development users according to their own wishes. The integrated communication interface card is used to provide RS232 interface, CAN interface, Ethernet port, wireless communication interface to the outside world, and can also be developed by secondary development users according to their own wishes. The PWM/counter isolation card is used to provide PWM signal or count the input digital signal. The IO expansion card is used to interact with the data to expand the slave terminal connection.

每个数据交互扩展从机终端内部都包含一个烽火接力从模块,该烽火接力从模块可控制总线控制器,进而控制数据交互从机终端与数据总线的通断,而各烽火接力模块之间通过专用线路通信,用以传输选通信号,从而保证各数据交互从机终端可根据数据交互主机终端的意愿接入数据总线,进而与其实现数据交互。各个烽火接力模块共享时钟线,而模块选择信号线是一级一级级联的,如同接力赛一样,选通信号就如同接力棒,峰火接力主模块只负责将接力棒传递给第1个烽火接力从模块,在处理完第1个从机终端的数据后,发送传递信号指令,第1个烽火接力从模块将接力棒传递给下一个烽火接力从模块模块,以此类推。而接力棒在传递完最后一个模块后,或者接力棒未能成功传递给下一模块,时钟总线会产生终止信号,主模块可以检测该终止信号,根据发出的传递信号指令的数量与模块内设定的从模块数量确定轮询系统是否正常工作。Each data interaction expansion slave terminal contains a Beacon relay slave module, which can control the bus controller, and then control the connection between the data interaction slave terminal and the data bus, and each Beacon relay module is passed through Dedicated line communication is used to transmit strobe signals, so as to ensure that each data interaction slave terminal can access the data bus according to the wishes of the data interaction master terminal, and then realize data interaction with it. Each beacon relay module shares the clock line, and the module selection signal line is cascaded level by level. Just like a relay race, the gating signal is like a baton. The main module of the peak fire relay is only responsible for passing the baton to the first beacon relay The slave module, after processing the data of the first slave terminal, sends a transmission signal instruction, and the first beacon relay slave module passes the baton to the next beacon relay slave module, and so on. After the baton is passed to the last module, or the baton fails to be passed to the next module, the clock bus will generate a termination signal, and the main module can detect the termination signal. Determine from the number of modules whether the polling system is functioning properly.

数据交互扩展从机终端由从机主板、AI隔离卡、AO隔离卡、DIDO隔离卡、总线控制器、烽火接力从模块组成。从机主板集成了AI接口、AO接口、DI接口、DO接口、数据总线接口、烽火接力从模块输入接口及输出接口;所述AI隔离卡、AO隔离卡、DIDO隔离卡同数据交互主机终端中所述的同名物质;The data interaction expansion slave terminal is composed of slave main board, AI isolation card, AO isolation card, DIDO isolation card, bus controller, and beacon relay slave module. The mainboard of the slave machine integrates the AI interface, AO interface, DI interface, DO interface, data bus interface, beacon relay slave module input interface and output interface; the AI isolation card, AO isolation card, DIDO isolation card interact with the data in the host terminal the substance of the same name as mentioned;

总线控制器用于切断或者接通数据交互扩展从机终端与数据总线的通道,其最简单的实现是控制数据交互扩展从机终端数据总线接口芯片的电源(仅限该芯片在断电时与数据总线对接的引脚呈现高阻态的情况)。The bus controller is used to cut off or connect the channel of the data interaction expansion slave terminal and the data bus. The simplest implementation is to control the power supply of the data interaction expansion slave terminal data bus interface chip (only when the chip is powered off The pins connected to the bus are in a high-impedance state).

Claims (10)

1.一种数据交互智能主机终端,其特征在于它包括核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路和电源管理单元;所述核心控制单元与所述串口隔离卡电路的相应端口双向连接,所述串口隔离卡电路与待测的串口信号端口双向连接;所述核心控制单元与所述综合通信卡电路的相应端口双向连接,所述综合通信卡电路与串行数字信号端口双向连接;所述核心控制单元与所述IO扩展卡电路的相应端口双向连接,所述IO扩展卡电路与多功能数据交互智能从机终端端口双向连接;所述核心控制单元与所述协处理单元接口电路的相应端口双向连接,所述协处理单元接口电路的第一输入端接入侵检测及中断输入信号端口,所述协处理单元接口电路的第一输出端接所述人机交互电路的相应输入端,协处理单元接口电路的第二输出端接所述PWM计数器隔离板电路的相应输入端;所述人机交互电路与所述核心控制单元的相应端口双向连接;所述核心控制单元与所述PWM计数器隔离板电路的相应端口双向连接,待测的脉冲信号端口与所述PWM计数器隔离板电路的相应端口双向连接;所述核心控制单元的输出端接所述AO隔离卡电路的的相应端口输入端,所述AO隔离卡电路的输出端接模拟控制信号端口;所述AI隔离卡电路的输入端接待测量的模拟信号端口,所述AI隔离卡电路的输出端接核心控制单元的相应输入端;所述DIDO隔离卡电路与所述核心控制单元的相应端口双向连接,所述DIDO隔离卡电路与开关信号端口的相应端口双向连接;所述电源管理单元的输出端分别接所述核心控制单元、DIDO隔离卡电路、AI隔离卡电路、AO隔离卡电路、协处理单元接口电路、串口隔离卡电路、综合通信卡电路、人机交互电路、PWM计数器隔离板电路、IO扩展卡电路的相应电源端口,电源管理单元的输入端接外部供电电源。1. A data interactive intelligent host terminal is characterized in that it includes a core control unit, a DIDO isolation card circuit, an AI isolation card circuit, an AO isolation card circuit, a co-processing unit interface circuit, a serial port isolation card circuit, an integrated communication card circuit, Human-computer interaction circuit, PWM counter isolation board circuit, IO expansion card circuit and power management unit; The core control unit is bidirectionally connected with the corresponding port of the serial port isolation card circuit, and the serial port isolation card circuit is connected with the serial port signal to be tested The port is bidirectionally connected; the core control unit is bidirectionally connected with the corresponding port of the integrated communication card circuit, and the integrated communication card circuit is bidirectionally connected with the serial digital signal port; the core control unit is connected with the IO expansion card circuit The corresponding ports are bidirectionally connected, and the IO expansion card circuit is bidirectionally connected with the multifunctional data interaction intelligent slave terminal port; the core control unit is bidirectionally connected with the corresponding ports of the co-processing unit interface circuit, and the co-processing unit interface circuit The first input terminal of the co-processing unit interface circuit is connected to the intrusion detection and interrupt input signal port, the first output terminal of the co-processing unit interface circuit is connected to the corresponding input terminal of the human-computer interaction circuit, and the second output terminal of the co-processing unit interface circuit is connected to the The corresponding input terminal of the PWM counter isolation board circuit; the human-computer interaction circuit is bidirectionally connected with the corresponding port of the core control unit; the core control unit is bidirectionally connected with the corresponding port of the PWM counter isolation board circuit, to be tested The pulse signal port of the pulse signal port is bidirectionally connected to the corresponding port of the PWM counter isolation board circuit; the output terminal of the core control unit is connected to the corresponding port input terminal of the AO isolation card circuit, and the output terminal of the AO isolation card circuit is connected to Analog control signal port; the input end of the AI isolation card circuit receives the analog signal port of measurement, and the output terminal of the AI isolation card circuit is connected to the corresponding input end of the core control unit; the DIDO isolation card circuit is connected to the core control unit The corresponding ports of the unit are bidirectionally connected, and the DIDO isolation card circuit is bidirectionally connected with the corresponding port of the switch signal port; the output terminals of the power management unit are respectively connected to the core control unit, DIDO isolation card circuit, AI isolation card circuit, AO Isolation card circuit, co-processing unit interface circuit, serial port isolation card circuit, integrated communication card circuit, human-computer interaction circuit, PWM counter isolation board circuit, corresponding power port of IO expansion card circuit, the input terminal of the power management unit is connected to the external power supply . 2.根据权利要求1所述的一种数据交互智能主机终端,其特征在于:还包括主板及第一至第十电路板;所述协处理单元接口电路设置在主板上;所述核心控制单元设置在第一电路板上;所述DIDO隔离卡电路设置在第二电路板上;AI隔离卡电路设置在第三电路板上;AO隔离卡电路设置在第四电路板上;串口隔离卡电路设置在第五电路板上;综合通信卡电路设置在第六电路板上;人机交互电路设置在第七电路板上;PWM计数器隔离板电路设置在第八电路板上;IO扩展卡电路设置在第九电路板上;电源管理单元设置在第十电路板上;所述第一至第十电路板以插接方式与所述主板相连接。2. A data interaction intelligent host terminal according to claim 1, characterized in that: it also includes a main board and the first to tenth circuit boards; the co-processing unit interface circuit is arranged on the main board; the core control unit Set on the first circuit board; the DIDO isolation card circuit is set on the second circuit board; the AI isolation card circuit is set on the third circuit board; the AO isolation card circuit is set on the fourth circuit board; the serial port isolation card circuit It is set on the fifth circuit board; the integrated communication card circuit is set on the sixth circuit board; the human-computer interaction circuit is set on the seventh circuit board; the PWM counter isolation board circuit is set on the eighth circuit board; the IO expansion card circuit is set on On the ninth circuit board; the power management unit is arranged on the tenth circuit board; the first to tenth circuit boards are connected to the main board in a plug-in manner. 3.根据权利要求2所述的一种数据交互智能主机终端,其特征在于:所述电源管理单元由芯片U1、芯片U5、芯片U8、二极管D101、电感L101、电容C101-电容C105、电阻R101-电阻R104组成;所述芯片U1的型号为MP2403,芯片U5的型号为APL117-3.3,芯片U8的型号为DC1212,二极管D101的型号为SS14;3. A data interaction intelligent host terminal according to claim 2, characterized in that: the power management unit consists of chip U1, chip U5, chip U8, diode D101, inductor L101, capacitor C101-capacitor C105, resistor R101 - composed of resistor R104; the model of the chip U1 is MP2403, the model of the chip U5 is APL117-3.3, the model of the chip U8 is DC1212, and the model of the diode D101 is SS14; 所述芯片U1的输入脚2脚接外部供电电源WB;芯片U1的输出脚3脚接电感L101的一端,电感L101的另一端为输出端+5V;电容C101接在芯片U1的输入脚2脚与地之间,二极管D101接在芯片U1的输出脚3脚与地之间,电容C102接在芯片U1的1脚与3脚之间,芯片U1的4脚接地,芯片U1的5脚经电阻R102接所述输出端+5V,电阻R101接在芯片U1的5脚与地之间,电容C104与电阻R103相串联后接在芯片U1的6脚与地之间,电容C105接在输出端+5V与地之间,电阻R104接在芯片U1的7脚与2脚之间,电容C103接在芯片U1的8脚与地之间;The input pin 2 of the chip U1 is connected to the external power supply WB; the output pin 3 of the chip U1 is connected to one end of the inductor L101, and the other end of the inductor L101 is the output terminal +5V; the capacitor C101 is connected to the input pin 2 of the chip U1 Between the ground and the ground, the diode D101 is connected between the output pin 3 of the chip U1 and the ground, the capacitor C102 is connected between the 1 pin and the 3 pin of the chip U1, the 4 pin of the chip U1 is grounded, and the 5 pin of the chip U1 is connected by a resistor R102 is connected to the output terminal +5V, resistor R101 is connected between pin 5 of chip U1 and ground, capacitor C104 is connected in series with resistor R103 between pin 6 of chip U1 and ground, and capacitor C105 is connected to output terminal + Between 5V and ground, resistor R104 is connected between pin 7 and pin 2 of chip U1, and capacitor C103 is connected between pin 8 of chip U1 and ground; 所述芯片U5的输入端Vin接输出端+5V,芯片U5的输出端Vout为输出端+3.3V,芯片U5的接地端接地;The input terminal Vin of the chip U5 is connected to the output terminal +5V, the output terminal Vout of the chip U5 is the output terminal +3.3V, and the ground terminal of the chip U5 is grounded; 所述芯片U8的输入脚2脚接外部供电电源WB,芯片U8的1脚与3脚接地,芯片U8的4脚为输出端+12V;The input pin 2 of the chip U8 is connected to the external power supply WB, the 1 pin and the 3 pin of the chip U8 are grounded, and the 4 pin of the chip U8 is the output terminal +12V; 所述核心控制单元包括嵌入式芯片1U1及其外围元器件开关1S2、晶振1Y101-1Y102、电阻1R101-1R103、电容1C101-1C107、数据锁存器1U2-1U3和反相器芯片1U8;所述嵌入式芯片1U1为植入了.Net Micro Framwork微型框架的型号为STM32F103ZET6的嵌入式芯片,所述开关1S2、电阻1R103和电容1C105组成的复位电路接在嵌入式芯片1U1的25脚与地之间,所述晶振1Y102、电阻1R102和电容1C103-1C104组成的第一晶振电路接在嵌入式芯片1U1的23脚与24脚之间,所述晶振1Y101、电阻1R101和电容1C101-1C102组成的第二晶振电路接在嵌入式芯片1U1的8脚与9脚之间;所述数据锁存器1U2-1U3的型号为74HC573,所述数据锁存器1U2的输入脚2脚-9脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚,数据锁存器1U2的10脚接地,数据锁存器1U2的20脚接所述输出端+3.3V;所述数据锁存器1U3的输入脚2脚-9脚分别接所述嵌入式芯片1U1的64脚-68脚、77脚-79脚,数据锁存器1U3的10脚接地,数据锁存器1U3的20脚接所述输出端+3.3V;所述反相器芯片1U8的型号为74LVC2G04,所述反相器芯片1U8的1脚接所述嵌入式芯片1U1的137脚,所述反相器芯片1U8的3脚接所述嵌入式芯片1U1的110脚,所述反相器芯片1U8的6脚接数据锁存器1U2的11脚和数据锁存器1U3的11脚,反相器芯片1U8的2脚接地,反相器芯片1U8的5脚接所述输出端+3.3V;The core control unit includes an embedded chip 1U1 and its peripheral components switch 1S2, crystal oscillator 1Y101-1Y102, resistors 1R101-1R103, capacitors 1C101-1C107, data latches 1U2-1U3 and inverter chip 1U8; The type chip 1U1 is an embedded chip of the type STM32F103ZET6 implanted with the .Net Micro Framwork microframe, and the reset circuit composed of the switch 1S2, the resistor 1R103 and the capacitor 1C105 is connected between pin 25 of the embedded chip 1U1 and the ground. The first crystal oscillator circuit composed of the crystal oscillator 1Y102, resistor 1R102 and capacitor 1C103-1C104 is connected between pin 23 and pin 24 of the embedded chip 1U1, and the second crystal oscillator circuit composed of the crystal oscillator 1Y101, resistor 1R101 and capacitor 1C101-1C102 The circuit is connected between pins 8 and 9 of the embedded chip 1U1; the model of the data latch 1U2-1U3 is 74HC573, and the input pins 2-9 of the data latch 1U2 are respectively connected to the embedded 86-85 pins, 114-115 pins, 58-60 pins, 63 pins of the chip 1U1, 10 pins of the data latch 1U2 are grounded, and 20 pins of the data latch 1U2 are connected to the output terminal +3.3 V; the input pins 2-9 pins of the data latch 1U3 are respectively connected to the 64-68 pins and 77-79 pins of the embedded chip 1U1, and the 10 pins of the data latch 1U3 are grounded, and the data lock Pin 20 of the memory 1U3 is connected to the output terminal +3.3V; the model of the inverter chip 1U8 is 74LVC2G04, and pin 1 of the inverter chip 1U8 is connected to pin 137 of the embedded chip 1U1. Pin 3 of the inverter chip 1U8 is connected to pin 110 of the embedded chip 1U1, and pin 6 of the inverter chip 1U8 is connected to pin 11 of the data latch 1U2 and pin 11 of the data latch 1U3, inverting Pin 2 of the inverter chip 1U8 is grounded, and pin 5 of the inverter chip 1U8 is connected to the output terminal +3.3V; 所述核心控制单元还包括芯片1U4、芯片1U5、芯片1U7;The core control unit also includes a chip 1U4, a chip 1U5, and a chip 1U7; 所述芯片1U4的型号为外扩SRAM芯片SRAM-IS62WV51216BLL,所述芯片1U4的7脚-10脚、13脚-16脚、29脚-32脚、35脚-38脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U4的5脚-1脚、44脚-42脚、27脚-24脚、22脚-19脚分别接所述数据锁存器1U2的输出脚19脚-12脚,数据锁存器1U3的输出脚19脚-12脚;所述芯片1U4的18脚、23脚、28脚分别接所述嵌入式芯片1U1的80脚-82脚;所述芯片1U4的6脚、17脚、39脚-41脚分别接所述嵌入式芯片1U1的123脚、119脚、41脚-42脚、118脚;芯片1U4的电源端11脚与33脚接所述输出端+3.3V,电容1C401接在芯片1U4的11脚与地之间,电容1C402接在芯片1U4的33脚与地之间,电阻1R401接在芯片1U4的6脚与所述输出端+3.3V之间;The model of the chip 1U4 is an externally expanded SRAM chip SRAM-IS62WV51216BLL, and the 7-pin-10 pin, 13-pin-16 pin, 29-pin-32 pin, and 35-pin-38 pin of the chip 1U4 are respectively connected to the embedded chip 86-85 pins, 114-115 pins, 58-60 pins, 63-68 pins, 77-79 pins of 1U1; 5-1 pins, 44-42 pins, 27 pins of the chip 1U4 Pin-24 pins, 22 pins-19 pins are respectively connected to the output pins 19-12 pins of the data latch 1U2, and the output pins 19-12 pins of the data latch 1U3; the 18 pins, Pins 23 and 28 are respectively connected to pins 80-82 of the embedded chip 1U1; pins 6, 17, 39-41 of the chip 1U4 are respectively connected to pins 123 and 119 of the embedded chip 1U1 , 41 pins-42 pins, 118 pins; the 11 pins and 33 pins of the power supply end of the chip 1U4 are connected to the output terminal +3.3V, the capacitor 1C401 is connected between the 11 pins of the chip 1U4 and the ground, and the capacitor 1C402 is connected to the chip 1U4 Between pin 33 and ground, resistor 1R401 is connected between pin 6 of chip 1U4 and the output terminal +3.3V; 所述芯片1U5的型号为外扩FLASH芯片MX29LV320,所述芯片1U5的29脚、31脚、33脚、35脚、38脚、40脚、42脚、44脚、30脚、32脚、34脚、36脚、39脚、41脚、43脚、45脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U5的25脚-18脚、8脚-1脚分别接所述数据锁存器1U2的输出脚19脚-12脚,数据锁存器1U3的输出脚19脚-12脚;所述芯片1U5的48脚、17脚-16脚、9脚-10脚分别接所述嵌入式芯片1U1的80脚-82脚、2脚-3脚;所述芯片1U5的11脚、12脚、15脚、28脚、26脚分别接所述嵌入式芯片1U1的119脚、25脚、122脚、118脚、125脚;所述芯片1U5的14脚经电阻1R502接所述输出端+3.3V,所述芯片1U5的15脚经电阻1R501接所述输出端+3.3V,所述芯片1U5的37脚接所述输出端+3.3V,滤波电容1C501接在芯片1U5的37脚与地之间;The model of the chip 1U5 is the external expansion FLASH chip MX29LV320, and the 29 pins, 31 pins, 33 pins, 35 pins, 38 pins, 40 pins, 42 pins, 44 pins, 30 pins, 32 pins, and 34 pins of the chip 1U5 , 36 pins, 39 pins, 41 pins, 43 pins, and 45 pins are respectively connected to 86 pins-85 pins, 114 pins-115 pins, 58 pins-60 pins, 63 pins-68 pins, and 77 pins of the embedded chip 1U1 -79 pins; 25 pins-18 pins and 8 pins-1 pins of the chip 1U5 are respectively connected to the output pins 19-12 pins of the data latch 1U2, and the output pins 19-12 pins of the data latch 1U3 Pins; 48 pins, 17 pins-16 pins, 9 pins-10 pins of the chip 1U5 are respectively connected to 80 pins-82 pins, 2 pins-3 pins of the embedded chip 1U1; 11 pins, 2 pins-3 pins of the chip 1U5 12 pins, 15 pins, 28 pins, and 26 pins are respectively connected to 119 pins, 25 pins, 122 pins, 118 pins, and 125 pins of the embedded chip 1U1; 14 pins of the chip 1U5 are connected to the output terminal through a resistor 1R502 +3.3V, the 15 pins of the chip 1U5 are connected to the output terminal +3.3V through the resistor 1R501, the 37 pins of the chip 1U5 are connected to the output terminal +3.3V, and the filter capacitor 1C501 is connected to the 37 pins of the chip 1U5 and Between the ground; 所述芯片1U7为外扩存储器MT29F1G08,所述芯片1U7的29脚-32脚、41脚-44脚、26脚-28脚、33脚、40脚、45脚-47脚分别接所述嵌入式芯片1U1的86脚-85脚、114脚-115脚、58脚-60脚、63脚-68脚、77脚-79脚;所述芯片1U7的7脚、8脚、9脚、18脚分别接所述嵌入式芯片1U1的122脚、118脚、124脚、119脚;所述芯片1U7的16脚-17脚分别接所述嵌入式芯片1U1的81脚-80脚;所述芯片1U7的19脚接所述芯片1U5的14脚;所述芯片1U7的12脚、34脚、37脚、39脚均接所述输出端+3.3V,电容1C701接在芯片1U7的12脚与地之间。The chip 1U7 is an external expansion memory MT29F1G08, and the 29 pins-32 pins, 41 pins-44 pins, 26 pins-28 pins, 33 pins, 40 pins, 45 pins-47 pins of the chip 1U7 are respectively connected to the embedded 86-pin-85 pin, 114-pin-115 pin, 58-pin-60 pin, 63-pin-68 pin, 77-pin-79 pin of chip 1U1; 7-pin, 8-pin, 9-pin, 18-pin of chip 1U7 respectively Connect the 122 pins, 118 pins, 124 pins, and 119 pins of the embedded chip 1U1; the 16 pins-17 pins of the chip 1U7 are respectively connected to the 81 pins-80 pins of the embedded chip 1U1; Pin 19 is connected to pin 14 of the chip 1U5; pins 12, 34, 37, and 39 of the chip 1U7 are all connected to the output terminal +3.3V, and the capacitor 1C701 is connected between pin 12 of the chip 1U7 and the ground . 4.根据权利要求3所述的一种数据交互智能主机终端,其特征在于:4. A data interaction intelligent host terminal according to claim 3, characterized in that: 所述IO扩展卡电路包括IO扩展总线通信电路和烽火接力主模块电路;The IO expansion card circuit includes an IO expansion bus communication circuit and a beacon relay main module circuit; 所述IO扩展卡电路包括IO扩展总线通信电路和烽火接力主模块电路;所述IO扩展总线通信电路由光耦2U5、与非门2U6、光耦2U1至2U4、芯片2U7至2U8、排阻2RP101至2RP104和电阻2R501至2R506组成;所述光耦2U5的型号为TLP281-2,与非门2U6的型号为74HC00,光耦2U1至2U4的型号为TLP281-4,芯片2U7至2U8的型号为74HC245;The IO expansion card circuit includes an IO expansion bus communication circuit and a beacon relay main module circuit; the IO expansion bus communication circuit consists of optocoupler 2U5, NAND gate 2U6, optocoupler 2U1 to 2U4, chips 2U7 to 2U8, and resistance 2RP101 to 2RP104 and resistors 2R501 to 2R506; the model of the optocoupler 2U5 is TLP281-2, the model of the NAND gate 2U6 is 74HC00, the model of the optocoupler 2U1 to 2U4 is TLP281-4, and the model of the chip 2U7 to 2U8 is 74HC245 ; 所述烽火接力主模块电路由芯片12U4、放大器12U3、光耦12U1、芯片12U2、芯片12U5、恒流源12U6、三极管12Q01-三极管12Q03、电位器12RJ01、电阻12R11-电阻12R15、电阻12R31-电阻12R35、电阻12R22-电阻12R27和电容12C31-电容12C33组成;所述芯片12U4的型号为74HC74,放大器12U3的型号为LM358,光耦12U1的型号为TLP281-4,芯片12U2的型号为LM393,芯片12U5的型号为CN5710,恒流源12U6的型号为E-102T;The beacon relay main module circuit consists of chip 12U4, amplifier 12U3, optocoupler 12U1, chip 12U2, chip 12U5, constant current source 12U6, triode 12Q01-transistor 12Q03, potentiometer 12RJ01, resistor 12R11-resistance 12R15, resistor 12R31-resistance 12R35 , resistor 12R22-resistor 12R27 and capacitor 12C31-capacitor 12C33; the model of the chip 12U4 is 74HC74, the model of the amplifier 12U3 is LM358, the model of the optocoupler 12U1 is TLP281-4, the model of the chip 12U2 is LM393, and the model of the chip 12U5 The model is CN5710, and the model of the constant current source 12U6 is E-102T; 所述串口隔离卡电路包括第一至第四串口隔离卡电路;所述第一至第四串口隔离卡电路结构相同;其中第一串口隔离卡电路由芯片10U1至芯片10U7、数字三极管10Q3至数字三极管10Q5、二极管10D1、电阻10R51至电阻10R59和电容10C11至电容10C21组成;所述芯片10U1的型号为MAX232,芯片10U2的型号为MAX485,芯片10U3的型号为SN75179B,芯片10U4的型号为XC6401,芯片10U5的型号为TLP281-2,芯片10U6的型号为ADUM1201ARZ,芯片10U7的型号为DC-DC05;所述三极管10Q3、三极管10Q4为PNP型数字三极管,三极管10Q5为NPN型数字三极管;二极管10D1为共阴极型二极管;所述第二路串口隔离卡电路由芯片2-10U1至芯片2-10U7、数字三极管2-10Q3至数字三极管2-10Q5、二极管2-10D1、电阻2-10R51至电阻2-10R59和电容2-10C11至电容2-10C21组成;所述第三路串口隔离卡电路由芯片3-10U1至芯片3-10U7、数字三极管3-10Q3至数字三极管3-10Q5、二极管3-10D1、电阻3-10R51至电阻3-10R59和电容3-10C11至电容3-10C21组成;所述第四路串口隔离卡电路由芯片4-10U1至芯片4-10U7、数字三极管4-10Q3至数字三极管4-10Q5、二极管4-10D1、电阻4-10R51至电阻4-10R59和电容4-10C11至电容4-10C21组成;The serial port isolation card circuit includes first to fourth serial port isolation card circuits; the first to fourth serial port isolation card circuits have the same structure; wherein the first serial port isolation card circuit is composed of chip 10U1 to chip 10U7, digital transistor 10Q3 to digital Transistor 10Q5, diode 10D1, resistors 10R51 to 10R59, and capacitors 10C11 to 10C21 are composed; the model of the chip 10U1 is MAX232, the model of the chip 10U2 is MAX485, the model of the chip 10U3 is SN75179B, and the model of the chip 10U4 is XC6401. The model of 10U5 is TLP281-2, the model of chip 10U6 is ADUM1201ARZ, and the model of chip 10U7 is DC-DC05; the transistor 10Q3 and transistor 10Q4 are PNP digital transistors, and the transistor 10Q5 is an NPN digital transistor; diode 10D1 is a common cathode type diode; the second serial port isolation card circuit consists of chip 2-10U1 to chip 2-10U7, digital transistor 2-10Q3 to digital transistor 2-10Q5, diode 2-10D1, resistor 2-10R51 to resistor 2-10R59 and Composed of capacitor 2-10C11 to capacitor 2-10C21; the third serial port isolation card circuit consists of chip 3-10U1 to chip 3-10U7, digital transistor 3-10Q3 to digital transistor 3-10Q5, diode 3-10D1, resistor 3 -10R51 to resistor 3-10R59 and capacitor 3-10C11 to capacitor 3-10C21; the fourth serial port isolation card circuit consists of chip 4-10U1 to chip 4-10U7, digital triode 4-10Q3 to digital triode 4-10Q5 , diode 4-10D1, resistor 4-10R51 to resistor 4-10R59 and capacitor 4-10C11 to capacitor 4-10C21; 所述AI隔离卡电路包括第一AI隔离电路和第二AI隔离电路;所述第一AI隔离电路由放大器4U1、放大器4U2、电阻4R11-4R18、电阻4R21-电阻4R28、电阻4R31-电阻4R38、电容4C11-4C12和排阻4RP511-4RP512组成;所述放大器4U1、放大器4U2的型号均为LM324;The AI isolation card circuit includes a first AI isolation circuit and a second AI isolation circuit; the first AI isolation circuit is composed of amplifier 4U1, amplifier 4U2, resistance 4R11-4R18, resistance 4R21-resistance 4R28, resistance 4R31-resistance 4R38, Composed of capacitors 4C11-4C12 and exclusion resistors 4RP511-4RP512; the models of the amplifier 4U1 and amplifier 4U2 are both LM324; 所述AO隔离卡电路由放大器5U1、三极管5Q1-5Q2、电阻5R1-5R12和电容5C1-5C2组成;所述放大器5U1的型号为LM324;The AO isolation card circuit is composed of an amplifier 5U1, transistors 5Q1-5Q2, resistors 5R1-5R12 and capacitors 5C1-5C2; the model of the amplifier 5U1 is LM324; 所述协处理单元电路由并串转换输入电路与串并转换输出电路组成;所述并串转换输入电路由芯片6U1、芯片6U5至芯片6U7、芯片6UA至芯片6UB、三极管6Q701-6Q702、三极管6Q602、电阻6R701-6R708、电阻6R601-6R603和电容6C701-6C702、电容6C601-6C605组成;所述芯片6U1的型号为TLP281-2,所述芯片6U5至芯片6U6的型号为74HC165,芯片6U7的型号为BL1551,芯片6UA的型号为74HC165,芯片6UB的型号为74HC86;The co-processing unit circuit is composed of a parallel-to-serial conversion input circuit and a serial-to-parallel conversion output circuit; the parallel-to-serial conversion input circuit consists of chip 6U1, chip 6U5 to chip 6U7, chip 6UA to chip 6UB, triode 6Q701-6Q702, triode 6Q602 , resistors 6R701-6R708, resistors 6R601-6R603, capacitors 6C701-6C702, and capacitors 6C601-6C605; the model of the chip 6U1 is TLP281-2, the model of the chips 6U5 to 6U6 is 74HC165, and the model of the chip 6U7 is BL1551, the model of the chip 6UA is 74HC165, and the model of the chip 6UB is 74HC86; 所述串并转换输出电路由芯片7U1至芯片7U5、芯片7U8至芯片7U9、电容7C701至电容7C705和电容7C708至电容7C709组成;所述芯片7U1至芯片7U5、芯片7U9的型号为74HC594,所述芯片7U8的型号为74HC139;The serial-to-parallel conversion output circuit is composed of chips 7U1 to 7U5, chips 7U8 to 7U9, capacitors 7C701 to 7C705, and capacitors 7C708 to 7C709; the models of chips 7U1 to 7U5 and chip 7U9 are 74HC594. The model of chip 7U8 is 74HC139; 所述IO扩展总线通信电路的光耦2U5的2脚、4脚均接地,光耦2U5的6脚与8脚接所述输出端+5V,光耦2U5的5脚、7脚分别经电阻2R504、电阻2R503接地;所述与非门2U6的1脚、5脚、10脚、13脚-14脚接所述输出端+5V,与非门2U6的3脚与12脚连接,与非门2U6的6脚与9脚连接,与非门2U6的2脚接所述光耦2U5的7脚,与非门2U6的4脚接所述光耦2U5的5脚;The 2 pins and 4 pins of the optocoupler 2U5 of the IO expansion bus communication circuit are grounded, the 6 pins and 8 pins of the optocoupler 2U5 are connected to the output terminal +5V, and the 5 pins and 7 pins of the optocoupler 2U5 are respectively connected to the resistor 2R504 , resistance 2R503 is grounded; pins 1, 5, 10, 13-14 of the NAND gate 2U6 are connected to the output +5V, pins 3 and 12 of the NAND gate 2U6 are connected, and the NAND gate 2U6 The 6 pins of the NAND gate 2U6 are connected to the 9 pins, the 2 pins of the NAND gate 2U6 are connected to the 7 pins of the optocoupler 2U5, and the 4 pins of the NAND gate 2U6 are connected to the 5 pins of the optocoupler 2U5; 光耦2U1至2U2、芯片2U7、排阻2RP101至2RP102组成信号输出电路;所述排阻2RP101至2RP102的一端接所述嵌入式芯片1U1的93脚、10-15脚、132脚,所述排阻2RP101至2RP102的另一端依次接所述光耦2U1的1脚、3脚、5脚、7脚,光耦2U2的1脚、3脚、5脚、7脚;所述光耦2U1的2脚、4脚、6脚、8脚,2U2的2脚、4脚、6脚、8脚均接地;所述光耦2U1的16脚、14脚、12脚、10脚,2U2的16脚、14脚、12脚、10脚均接所述输出端+3.3V;所述光耦2U1的15脚、13脚、11脚、9脚,2U2的15脚、13脚、11脚、9脚依次接芯片2U7的2脚-9脚;所述芯片2U7的1脚与20脚均接所述输出端+3.3V,芯片2U7的19脚接与非门2U6的6脚;Optocouplers 2U1 to 2U2, chip 2U7, and exclusion 2RP101 to 2RP102 form a signal output circuit; one end of the exclusion 2RP101 to 2RP102 is connected to pins 93, 10-15, and 132 of the embedded chip 1U1. The other end of resistance 2RP101 to 2RP102 is sequentially connected to pin 1, pin 3, pin 5, and pin 7 of the optocoupler 2U1, pin 1, pin 3, pin 5, and pin 7 of the optocoupler 2U2; pin 2 of the optocoupler 2U1 pins, 4 pins, 6 pins, 8 pins, 2 pins, 4 pins, 6 pins, 8 pins of 2U2 are grounded; 16 pins, 14 pins, 12 pins, 10 pins of the optocoupler 2U1, 16 pins of 2U2, Pins 14, 12, and 10 are all connected to the output terminal +3.3V; pins 15, 13, 11, and 9 of the optocoupler 2U1, and pins 15, 13, 11, and 9 of 2U2 are in order Connect pins 2-9 of the chip 2U7; pins 1 and 20 of the chip 2U7 are connected to the output terminal +3.3V, and pin 19 of the chip 2U7 is connected to pin 6 of the NAND gate 2U6; 光耦2U3至2U4、芯片2U8、排阻2RP103至2RP06组成信号输入电路;所述排阻2RP103至2RP104的一端依次接芯片2U7的18脚-11脚,所述排阻2RP103至2RP104的另一端依次接所述光耦2U3的1脚、3脚、5脚、7脚,光耦2U4的1脚、3脚、5脚、7脚;所述光耦2U3的2脚、4脚、6脚、8脚,2U4的2脚、4脚、6脚、8脚均接地;所述光耦2U3的16脚、14脚、12脚、10脚,2U4的16脚、14脚、12脚、10脚均接所述输出端+3.3V;所述光耦2U3的15脚、13脚、11脚、9脚,2U4的15脚、13脚、11脚、9脚依次接芯片2U8的2脚-9脚;所述芯片2U8的1脚与20脚均接所述输出端+3.3V,芯片2U8的19脚接协处理单元接口电路的串并转换输出电路的芯片7U9的4脚;芯片2U8的18脚-11脚依次接所述嵌入式芯片1U1的93脚、10-15脚、132脚,芯片2U8的2脚-9脚经排阻2RP105、2RP106接地;Optocouplers 2U3 to 2U4, chip 2U8, and exclusion 2RP103 to 2RP06 form a signal input circuit; one end of the exclusion 2RP103 to 2RP104 is sequentially connected to pins 18-11 of the chip 2U7, and the other end of the exclusion 2RP103 to 2RP104 is in turn Connect pins 1, 3, 5, and 7 of the optocoupler 2U3, pins 1, 3, 5, and 7 of the optocoupler 2U4; pins 2, 4, and 6 of the optocoupler 2U3 8 pins, 2 pins, 4 pins, 6 pins, and 8 pins of 2U4 are all grounded; 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 2U3, 16 pins, 14 pins, 12 pins, and 10 pins of 2U4 Both are connected to the output terminal +3.3V; the 15 pins, 13 pins, 11 pins, and 9 pins of the optocoupler 2U3, and the 15 pins, 13 pins, 11 pins, and 9 pins of the 2U4 are sequentially connected to the 2 pins-9 of the chip 2U8 pin; pin 1 and pin 20 of the chip 2U8 are all connected to the output terminal +3.3V, and pin 19 of the chip 2U8 is connected to pin 4 of the chip 7U9 of the serial-to-parallel conversion output circuit of the co-processing unit interface circuit; pin 18 of the chip 2U8 Pins-11 are sequentially connected to pins 93, 10-15, and 132 of the embedded chip 1U1, and pins 2-9 of the chip 2U8 are grounded through exclusion 2RP105 and 2RP106; 所述芯片12U4的12脚接嵌入式芯片1U1的49脚,芯片12U4的11脚接嵌入式芯片1U1的50脚,芯片12U4的5脚为烽火接力主模块电路的反馈信号FHFK,芯片12U4的1脚、4脚、10脚、13脚、14脚接所述输出端+3.3V,芯片12U4的2脚经电阻12R14接地,芯片12U4的3脚接所述三极管12Q03的集电极;所述三极管12Q03的集电极经电阻12R34接所述输出端+3.3V,其基极经电阻12R33接所述放大器12U3的7脚,三极管12Q03的发射极接地,电容12C32接在三极管12Q03的基极与地之间;所述放大器12U3的1脚接所述光耦12U1的6脚,电阻12R31、电阻12R32相串联后接在所述输出端+3.3V与地之间,放大器12U3的2脚与6脚均接电阻12R31与电阻12R32的节点,放大器12U3的7脚接所述光耦12U1的7脚;放大器12U3的3脚接所述芯片12U4的12脚,放大器12U3的5脚接所述芯片12U4的11脚;所述光耦12U1的3脚接所述芯片12U4的9脚,光耦12U1的1脚经所述电位器12RJ01接三极管12Q02的集电极,电阻12R25、电阻12R24相串联后接在所述12U2的7脚与地之间,三极管12Q02的基极接电阻12R25与电阻12R24的节点,三极管12Q02的发射极接地,光耦12U1的2脚经恒流源12U6接地,光耦12U1的4脚与光耦12U1的5脚相连接,光耦12U1的8脚经电阻12R15接地,光耦12U1的9脚经电阻12R13接地,光耦12U1的11脚经电阻12R12接地,光耦12U1的10脚、16脚接+5V,光耦12U1的15脚接所述芯片12U4的2脚;所述芯片12U2的5脚接所述光耦12U1的11脚,芯片12U2的7脚经电阻12R26接所述输出端+5V,芯片12U2的1脚经电阻12R23接所述输出端+5V,芯片12U2的6脚与2脚相连接,芯片12U2的3脚接所述光耦12U1的9脚;所述芯片12U5的1脚接所述芯片12U2的1脚,芯片12U5的3脚经电阻12R27接地,芯片12U5的5脚接所述三极管12Q02的集电极,芯片12U5的5脚为烽火接力主模块电路的时钟输出端口FHCLK;所述三极管12Q01的基极接所述光耦12U1的12脚,电阻12R21、电阻12R22相串联后接在所述输出端+5V与地之间,芯片12U2的2脚接电阻12R21与电阻12R22的节点,三极管12Q01的集电极为烽火接力主模块电路的信号发送端口FHn;The 12 pins of the chip 12U4 are connected to the 49 pins of the embedded chip 1U1, the 11 pins of the chip 12U4 are connected to the 50 pins of the embedded chip 1U1, the 5 pins of the chip 12U4 are the feedback signal FHFK of the beacon relay main module circuit, and the 1 pins of the chip 12U4 are Pin, pin 4, pin 10, pin 13, and pin 14 are connected to the output terminal +3.3V, pin 2 of the chip 12U4 is grounded through a resistor 12R14, pin 3 of the chip 12U4 is connected to the collector of the triode 12Q03; the triode 12Q03 The collector is connected to the output terminal +3.3V through the resistor 12R34, the base is connected to the pin 7 of the amplifier 12U3 through the resistor 12R33, the emitter of the triode 12Q03 is grounded, and the capacitor 12C32 is connected between the base of the triode 12Q03 and the ground ; Pin 1 of the amplifier 12U3 is connected to pin 6 of the optocoupler 12U1, resistor 12R31 and resistor 12R32 are connected in series between the output terminal +3.3V and ground, pin 2 and pin 6 of the amplifier 12U3 are connected The node of resistor 12R31 and resistor 12R32, pin 7 of the amplifier 12U3 is connected to pin 7 of the optocoupler 12U1; pin 3 of the amplifier 12U3 is connected to pin 12 of the chip 12U4, pin 5 of the amplifier 12U3 is connected to pin 11 of the chip 12U4 ; Pin 3 of the optocoupler 12U1 is connected to pin 9 of the chip 12U4, pin 1 of the optocoupler 12U1 is connected to the collector of the triode 12Q02 through the potentiometer 12RJ01, and the resistor 12R25 and resistor 12R24 are connected in series to the 12U2 Between pin 7 and the ground, the base of the triode 12Q02 is connected to the node of the resistor 12R25 and the resistor 12R24, the emitter of the triode 12Q02 is grounded, pin 2 of the optocoupler 12U1 is grounded through the constant current source 12U6, pin 4 of the optocoupler 12U1 is connected to the optocoupler The 5 pins of the optocoupler 12U1 are connected, the 8 pins of the optocoupler 12U1 are grounded through the resistor 12R15, the 9 pins of the optocoupler 12U1 are grounded through the resistor 12R13, the 11 pins of the optocoupler 12U1 are grounded through the resistor 12R12, the 10 pins and 16 pins of the optocoupler 12U1 are grounded Connect to +5V, pin 15 of the optocoupler 12U1 is connected to pin 2 of the chip 12U4; pin 5 of the chip 12U2 is connected to pin 11 of the optocoupler 12U1, pin 7 of the chip 12U2 is connected to the output terminal + through a resistor 12R26 5V, pin 1 of the chip 12U2 is connected to the output terminal +5V through the resistor 12R23, pin 6 of the chip 12U2 is connected to pin 2, pin 3 of the chip 12U2 is connected to pin 9 of the optocoupler 12U1; pin 1 of the chip 12U5 The pin is connected to pin 1 of the chip 12U2, the pin 3 of the chip 12U5 is grounded through the resistor 12R27, the pin 5 of the chip 12U5 is connected to the collector of the triode 12Q02, and the pin 5 of the chip 12U5 is the clock output port FHCLK of the beacon relay main module circuit ; The base of the triode 12Q01 is connected to the 12 pins of the optocoupler 12U1, the resistor 12R21 and the resistor 12R22 are connected in series between the output terminal +5V and the ground, and the 2 pins of the chip 12U2 are connected to The node of resistor 12R21 and resistor 12R22, the collector of triode 12Q01 is the signal sending port FHn of the beacon relay main module circuit; 所述第一串口隔离卡电路的芯片10U7的2脚接所述输出端+5V,第一串口隔离卡电路的芯片10U7的1脚接地,第一串口隔离卡电路的芯片10U7的3脚为输出隔离地,第一串口隔离卡电路的芯片10U7的4脚为输出的隔离电源,所述芯片10U4的2脚接所述芯片10U7的4脚,芯片10U4的1脚经电阻10R59接所述芯片10U7的4脚,数字三极管10Q5的集电极接芯片10U4的1脚,三极管10Q5的基极接芯片10U4的3脚,三极管10Q5的发射极接芯片10U7的3脚,电容10C21接在三极管10Q5的集电极与芯片10U7的3脚之间;芯片10U4的6脚为第一路输出端VCC1,芯片10U4的4脚为第二路输出端VCC2,芯片10U4的5脚接芯片10U7的3脚,芯片10U4的6脚接所述二极管10D1的第一阳极,芯片10U4的4脚接所述二极管10D1的第二阳极,二极管10D1的阴极为输出端VCC0,电容10C19接在芯片10U4的6脚与芯片10U7的3脚之间,电容10C20接在芯片10U4的4脚与芯片10U7的3脚之间;Pin 2 of the chip 10U7 of the first serial port isolation card circuit is connected to the output terminal +5V, pin 1 of the chip 10U7 of the first serial port isolation card circuit is grounded, and pin 3 of the chip 10U7 of the first serial port isolation card circuit is output In isolation, pin 4 of the chip 10U7 of the first serial port isolation card circuit is an output isolated power supply, pin 2 of the chip 10U4 is connected to pin 4 of the chip 10U7, pin 1 of the chip 10U4 is connected to the chip 10U7 via a resistor 10R59 The collector of digital transistor 10Q5 is connected to pin 1 of chip 10U4, the base of transistor 10Q5 is connected to pin 3 of chip 10U4, the emitter of transistor 10Q5 is connected to pin 3 of chip 10U7, and the capacitor 10C21 is connected to the collector of transistor 10Q5 Between pin 3 of chip 10U7; pin 6 of chip 10U4 is the first output terminal VCC1, pin 4 of chip 10U4 is the second output terminal VCC2, pin 5 of chip 10U4 is connected to pin 3 of chip 10U7, and pin 4 of chip 10U4 is connected to pin 3 of chip 10U4. Pin 6 is connected to the first anode of the diode 10D1, pin 4 of the chip 10U4 is connected to the second anode of the diode 10D1, the cathode of the diode 10D1 is the output terminal VCC0, and the capacitor 10C19 is connected to pin 6 of the chip 10U4 and pin 3 of the chip 10U7. Between pins, capacitor 10C20 is connected between pin 4 of chip 10U4 and pin 3 of chip 10U7; 所述芯片10U6的2脚接所述嵌入式芯片1U1的101脚,芯片10U6的3脚接所述嵌入式芯片1U1的102脚,芯片10U6的1脚接所述输出端+5V,电阻10R57接在芯片10U6的2脚与7脚之间,电阻10R58接在芯片10U6的3脚与6脚之间,芯片10U6的8脚接所述输出端VCC0,电容10C18接在芯片10U6的1脚与芯片10U7的3脚之间,电容10C17接在芯片10U6的8脚与芯片10U7的3脚之间;所述三极管10Q3的发射极接所述输出端VCC0,三极管10Q3的基极接所述芯片10U5的8脚,三极管10Q3的集电极经电阻10R53接芯片10U7的3脚,所述三极管10Q4的发射极接所述输出端VCC0,三极管10Q4的基极接所述芯片10U5的6脚,三极管10Q4的集电极经电阻10R54接芯片10U7的3脚,三极管10Q4的集电极接所述芯片10U4的3脚;所述芯片10U5的1脚经电阻10R55接7U9的1脚,芯片10U5的3脚经电阻10R56接7U1的15脚,三极管10Q3的集电极经电阻10R51接7U9的15脚,三极管10Q4的集电极经电阻10R52接7U1的15脚,芯片10U5的2脚、4脚、5脚、7脚均接芯片10U7的3脚;所述芯片10U2的1脚接芯片10U6的7脚,所述芯片10U2的2脚与3脚相连接后接三极管10Q3的集电极,芯片10U2的4脚接芯片10U6的6脚,芯片10U2的8脚接所述输出端VCC2,电容10C16接在芯片10U2的8脚与芯片10U7的3脚之间;所述芯片10U3的1脚接所述输出端VCC2,芯片10U3的2脚接芯片10U2的1脚,芯片10U3的3脚接芯片10U2的4脚,芯片10U3的7脚接芯片10U2的7脚,芯片10U3的8脚接芯片10U2的6脚;所述芯片10U1的11脚接芯片10U3的3脚,芯片10U1的12脚接芯片10U3的2脚,芯片10U1的13脚接芯片10U3的7脚,芯片10U1的14脚接芯片10U3的8脚,电容10C13接在芯片10U1的1脚与3脚之间,电容10C15接在芯片10U1的4脚与5脚之间,芯片10U1的16脚接所述输出端VCC1,电容10C11接在芯片10U1的16脚与芯片10U7的3脚之间,电容10C12接在芯片10U1的2脚与芯片10U7的3脚之间,电容10C14接在芯片10U1的6脚与芯片10U7的3脚之间;Pin 2 of the chip 10U6 is connected to pin 101 of the embedded chip 1U1, pin 3 of the chip 10U6 is connected to pin 102 of the embedded chip 1U1, pin 1 of the chip 10U6 is connected to the output terminal +5V, and the resistor 10R57 is connected to Between pin 2 and pin 7 of chip 10U6, resistor 10R58 is connected between pin 3 and pin 6 of chip 10U6, pin 8 of chip 10U6 is connected to the output terminal VCC0, and capacitor 10C18 is connected between pin 1 and pin 10U6 of chip 10U6. Between the 3 pins of 10U7, the capacitor 10C17 is connected between the 8 pins of the chip 10U6 and the 3 pins of the chip 10U7; the emitter of the triode 10Q3 is connected to the output terminal VCC0, and the base of the triode 10Q3 is connected to the chip 10U5 8 pins, the collector of the triode 10Q3 is connected to the 3 pin of the chip 10U7 through the resistor 10R53, the emitter of the triode 10Q4 is connected to the output terminal VCC0, the base of the triode 10Q4 is connected to the 6 pin of the chip 10U5, and the collector of the triode 10Q4 The electrode is connected to pin 3 of chip 10U7 via resistor 10R54, the collector of triode 10Q4 is connected to pin 3 of chip 10U4; pin 1 of chip 10U5 is connected to pin 1 of 7U9 via resistor 10R55, and pin 3 of chip 10U5 is connected to pin 3 of chip 10U5 via resistor 10R56 Pin 15 of 7U1, the collector of triode 10Q3 is connected to pin 15 of 7U9 through resistor 10R51, the collector of triode 10Q4 is connected to pin 15 of 7U1 through resistor 10R52, and pins 2, 4, 5 and 7 of chip 10U5 are all connected to the chip Pin 3 of 10U7; pin 1 of the chip 10U2 is connected to pin 7 of the chip 10U6; pin 2 and pin 3 of the chip 10U2 are connected to the collector of the triode 10Q3; pin 4 of the chip 10U2 is connected to pin 6 of the chip 10U6 , pin 8 of the chip 10U2 is connected to the output terminal VCC2, and a capacitor 10C16 is connected between pin 8 of the chip 10U2 and pin 3 of the chip 10U7; pin 1 of the chip 10U3 is connected to the output terminal VCC2, and pin 2 of the chip 10U3 Connect pin 1 of chip 10U2, pin 3 of chip 10U3 connect pin 4 of chip 10U2, pin 7 of chip 10U3 connect pin 7 of chip 10U2, pin 8 of chip 10U3 connect pin 6 of chip 10U2; pin 11 of chip 10U1 Connect to pin 3 of chip 10U3, pin 12 of chip 10U1 to pin 2 of chip 10U3, pin 13 of chip 10U1 to pin 7 of chip 10U3, pin 14 of chip 10U1 to pin 8 of chip 10U3, capacitor 10C13 to pin 10U1 Between pin 1 and pin 3, capacitor 10C15 is connected between pin 4 and pin 5 of chip 10U1, pin 16 of chip 10U1 is connected to the output terminal VCC1, capacitor 10C11 is connected between pin 16 of chip 10U1 and pin 3 of chip 10U7 between pin 2 of chip 10U1 and pin 3 of chip 10U7, and capacitor 10C14 is connected between pin 6 of chip 10U1 and pin 3 of chip 10U7; 所述第二串口隔离卡电路的芯片2-10U6的2脚接所述嵌入式芯片1U1的37脚,芯片2-10U6的3脚接所述嵌入式芯片1U1的36脚,芯片2-10U5的3脚接7U1的2脚,芯片2-10U5的1脚接所述7U9的1脚;所述第三串口隔离卡电路的芯片3-10U6的2脚接所述嵌入式芯片1U1的70脚,芯片3-10U6的3脚接所述嵌入式芯片1U1的69脚,芯片3-10U5的3脚接所述7U1的4脚,芯片3-10U5的1脚接所述7U9的2脚;所述第四串口隔离卡电路的芯片4-10U6的2脚接所述嵌入式芯片1U1的112脚,芯片4-10U6的3脚接所述嵌入式芯片1U1的111脚,芯片4-10U5的3脚接所述7U1的6脚,芯片4-10U5的1脚接所述7U9的3脚;The 2 pins of the chip 2-10U6 of the second serial port isolation card circuit are connected to the 37 pins of the embedded chip 1U1, the 3 pins of the chip 2-10U6 are connected to the 36 pins of the embedded chip 1U1, and the 36 pins of the chip 2-10U5 are connected to the embedded chip 1U1. Pin 3 is connected to pin 2 of 7U1, pin 1 of chip 2-10U5 is connected to pin 1 of 7U9; pin 2 of chip 3-10U6 of the third serial port isolation card circuit is connected to pin 70 of embedded chip 1U1, Pin 3 of the chip 3-10U6 is connected to pin 69 of the embedded chip 1U1, pin 3 of the chip 3-10U5 is connected to pin 4 of the 7U1, pin 1 of the chip 3-10U5 is connected to pin 2 of the 7U9; Pin 2 of the chip 4-10U6 of the fourth serial port isolation card circuit is connected to pin 112 of the embedded chip 1U1, pin 3 of the chip 4-10U6 is connected to pin 111 of the embedded chip 1U1, and pin 3 of the chip 4-10U5 Connect pin 6 of 7U1, pin 1 of chip 4-10U5 connect pin 3 of 7U9; 所述DIDO隔离卡电路包括DIDO隔离电路、DI隔离电路、DO隔离电路和DO驱动电路;The DIDO isolation card circuit includes a DIDO isolation circuit, a DI isolation circuit, a DO isolation circuit and a DO drive circuit; 所述DO驱动电路包括八路结构相同的驱动电路,分别为第一DO驱动电路至第八DO驱动电路;所述第一DO驱动电路由三极管Q1-Q2、发光二极管DS1、二极管D2、电阻R2-R3组成;所述三极管Q1的集电极依次经电阻R3、电阻R2接外部驱动电源WV,三极管Q1的集电极为输出脚O+,接开关信号端口,三极管Q1的发射极为第一DO驱动电路的输出脚O-,三极管Q1的基极接所述三极管Q2的集电极;所述三极管Q2的发射极经电阻R2接外部驱动电源WV,三极管Q2的基极为第一DO驱动电路的输入脚OC+;所述二极管D2接在外部驱动电源WV与所述输出脚O+之间,所述发光二极管DS1接在三极管Q2的发射极与所述输入脚OC+之间;The DO drive circuit includes eight drive circuits with the same structure, which are the first DO drive circuit to the eighth DO drive circuit; Composed of R3; the collector of the triode Q1 is connected to the external drive power WV through the resistor R3 and the resistor R2 in turn, the collector of the triode Q1 is the output pin O+, connected to the switch signal port, and the emitter of the triode Q1 is the output of the first DO drive circuit. Pin O-, the base of the triode Q1 is connected to the collector of the triode Q2; the emitter of the triode Q2 is connected to the external drive power WV through the resistor R2, and the base of the triode Q2 is the input pin OC+ of the first DO drive circuit; The diode D2 is connected between the external driving power supply WV and the output pin O+, and the light emitting diode DS1 is connected between the emitter of the triode Q2 and the input pin OC+; 所述第二DO驱动电路由三极管2-Q1至2-Q2、发光二极管2-DS1、二极管2-D2、电阻2-R2至2-R3组成;三极管2-Q1的集电极为输出脚O+,接开关信号端口,三极管2-Q1的发射极为第二DO驱动电路的输出脚O-,三极管2-Q2的基极为第二DO驱动电路的输入脚OC+;所述第三DO驱动电路由三极管3-Q1至3-Q2、发光二极管3-DS1、二极管3-D2、电阻3-R2至3-R3组成;三极管3-Q1的集电极为输出脚O+,接开关信号端口,三极管3-Q1的发射极为第三DO驱动电路的输出脚O-,三极管3-Q2的基极为第三DO驱动电路的输入脚OC+;所述第四DO驱动电路由三极管4-Q1至4-Q2、发光二极管4-DS1、二极管4-D2、电阻4-R2至4-R3组成;三极管4-Q1的集电极为输出脚O+,接开关信号端口,三极管4-Q1的发射极为第四DO驱动电路的输出脚O-,三极管4-Q2的基极为第四DO驱动电路的输入脚OC+;所述第五DO驱动电路由三极管5-Q1至5-Q2、发光二极管5-DS1、二极管5-D2、电阻5-R2至5-R3组成;三极管5-Q1的集电极为输出脚O+,接开关信号端口,三极管5-Q1的发射极为第五DO驱动电路的输出脚O-,三极管5-Q2的基极为第五DO驱动电路的输入脚OC+;所述第六DO驱动电路由三极管6-Q1至6-Q2、发光二极管6-DS1、二极管6-D2、电阻6-R2至6-R3组成;三极管6-Q1的集电极为输出脚O+,接开关信号端口,三极管6-Q1的发射极为第六DO驱动电路的输出脚O-,三极管6-Q2的基极为第六DO驱动电路的输入脚OC+;所述第七DO驱动电路由三极管7-Q1至7-Q2、发光二极管7-DS1、二极管7-D2、电阻7-R2至7-R3组成;三极管7-Q1的集电极为输出脚O+,接开关信号端口,三极管7-Q1的发射极为第七DO驱动电路的输出脚O-,三极管7-Q2的基极为第七DO驱动电路的输入脚OC+;所述第八DO驱动电路由三极管8-Q1至8-Q2、发光二极管8-DS1、二极管8-D2、电阻8-R2至8-R3组成;三极管8-Q1的集电极为输出脚O+,接开关信号端口,三极管8-Q1的发射极为第八DO驱动电路的输出脚O-,三极管8-Q2的基极为第八DO驱动电路的输入脚OC+;The second DO drive circuit is composed of triodes 2-Q1 to 2-Q2, light emitting diodes 2-DS1, diodes 2-D2, and resistors 2-R2 to 2-R3; the collector of the triode 2-Q1 is the output pin O+, Connect the switch signal port, the emitter of the triode 2-Q1 is the output pin O- of the second DO drive circuit, the base of the triode 2-Q2 is the input pin OC+ of the second DO drive circuit; the third DO drive circuit consists of the triode 3 -Q1 to 3-Q2, light-emitting diode 3-DS1, diode 3-D2, resistors 3-R2 to 3-R3; the collector of the triode 3-Q1 is the output pin O+, connected to the switch signal port, and the triode 3-Q1 The emitter is the output pin O- of the third DO drive circuit, the base of the triode 3-Q2 is the input pin OC+ of the third DO drive circuit; -DS1, diode 4-D2, and resistors 4-R2 to 4-R3; the collector of the triode 4-Q1 is the output pin O+, connected to the switch signal port, and the emitter of the triode 4-Q1 is the output pin of the fourth DO drive circuit O-, the base of the triode 4-Q2 is the input pin OC+ of the fourth DO drive circuit; the fifth DO drive circuit consists of triodes 5-Q1 to 5-Q2, light emitting diode 5-DS1, diode 5-D2, resistor 5 -R2 to 5-R3; the collector of the triode 5-Q1 is the output pin O+, connected to the switch signal port, the emitter of the triode 5-Q1 is the output pin O- of the fifth DO drive circuit, and the base of the triode 5-Q2 is The input pin OC+ of the fifth DO drive circuit; the sixth DO drive circuit is composed of transistors 6-Q1 to 6-Q2, light emitting diodes 6-DS1, diodes 6-D2, and resistors 6-R2 to 6-R3; the transistor 6 The collector of -Q1 is the output pin O+, connected to the switch signal port, the emitter of the triode 6-Q1 is the output pin O- of the sixth DO drive circuit, and the base of the triode 6-Q2 is the input pin OC+ of the sixth DO drive circuit; The seventh DO drive circuit is composed of triodes 7-Q1 to 7-Q2, light-emitting diodes 7-DS1, diodes 7-D2, and resistors 7-R2 to 7-R3; the collector of the triode 7-Q1 is the output pin O+, Connect the switch signal port, the emitter of the triode 7-Q1 is the output pin O- of the seventh DO drive circuit, the base of the triode 7-Q2 is the input pin OC+ of the seventh DO drive circuit; the eighth DO drive circuit is composed of the transistor 8 -Q1 to 8-Q2, light-emitting diode 8-DS1, diode 8-D2, resistors 8-R2 to 8-R3; the collector of the triode 8-Q1 is the output pin O+, connected to the switch signal port, and the triode 8-Q1 The emitter is the output pin O- of the eighth DO drive circuit, and the base of the transistor 8-Q2 is the input pin OC+ of the eighth DO drive circuit; 所述DO隔离电路包括第一DO隔离电路和第二DO隔离电路;所述第二DO隔离电路与第一DO隔离电路的结构相同;所述第一DO隔离电路由光耦3U1、排阻3RP1、发光二极管3DO1-3DO4组成;光耦3U1的2脚、4脚、6脚、8脚相连后接地,光耦3U1的1脚、3脚、5脚、7脚分别经发光二极管3DO1-3DO4接排阻3RP1的一端,排阻3RP1的另一端为第一DO隔离电路的输入端3MDKI0~3MDKI3,光耦3U1的16脚、14脚、12脚、10脚分别接第一DO驱动电路至第四DO驱动电路的输入脚OC+,光耦3U1的15脚、13脚、11脚、9脚分别接第一DO驱动电路至第四DO驱动电路的输出脚O-;The DO isolation circuit includes a first DO isolation circuit and a second DO isolation circuit; the structure of the second DO isolation circuit is the same as that of the first DO isolation circuit; , Light-emitting diodes 3DO1-3DO4; the 2 pins, 4 pins, 6 pins, and 8 pins of the optocoupler 3U1 are connected to the ground, and the 1 pins, 3 pins, 5 pins, and 7 pins of the optocoupler 3U1 are respectively connected to the light-emitting diodes 3DO1-3DO4 One end of the exclusion 3RP1, the other end of the exclusion 3RP1 is the input terminal 3MDKI0~3MDKI3 of the first DO isolation circuit, and the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 3U1 are respectively connected to the first DO drive circuit to the fourth The input pin OC+ of the DO drive circuit, and the 15 pins, 13 pins, 11 pins, and 9 pins of the optocoupler 3U1 are respectively connected to the output pin O- of the first DO drive circuit to the fourth DO drive circuit; 所述第二DO隔离电路由光耦2-3U1、排阻2-3RP1、发光二极管2-3DO1至2-3DO4组成;光耦2-3U1的1脚、3脚、5脚、7脚分别经发光二极管2-3DO1至2-3DO4接排阻2-3RP1的一端,排阻2-3RP1的另一端为第二DO隔离电路的输入端3MDKI0~3MDKI3,所述光耦2-3U1的16脚、14脚、12脚、10脚分别接第五DO驱动电路至第八DO驱动电路的输入脚OC+,光耦2-3U1的15脚、13脚、11脚、9脚分别接第五DO驱动电路至第八DO驱动电路的输出脚O-;The second DO isolation circuit is composed of optocoupler 2-3U1, exclusion 2-3RP1, and light-emitting diodes 2-3DO1 to 2-3DO4; pins 1, 3, 5, and 7 of optocoupler 2-3U1 are respectively The light-emitting diodes 2-3DO1 to 2-3DO4 are connected to one end of the resistance exclusion 2-3RP1, and the other end of the exclusion resistance 2-3RP1 is the input terminal 3MDKI0~3MDKI3 of the second DO isolation circuit. The 16 pins of the optocoupler 2-3U1, Pins 14, 12, and 10 are respectively connected to the input pin OC+ of the fifth DO drive circuit to the eighth DO drive circuit, and pins 15, 13, 11, and 9 of the optocoupler 2-3U1 are respectively connected to the fifth DO drive circuit. To the output pin O- of the eighth DO drive circuit; 所述DI隔离电路包括第一DI隔离电路和第二DI隔离电路;所述第二DI隔离电路与第一DI隔离电路的结构相同;所述第一DI隔离电路由光耦3U5、排阻3RP3-3RP4、发光二极管3DI1-3DI4组成;光耦3U5的2脚、4脚、6脚、8脚相连后接开关信号的公共端,光耦3U5的1脚、3脚、5脚、7脚分别经排阻3RP4、发光二极管3D11-3D14接四路开关信号端口,光耦3U5的10脚、12脚、14脚、16脚相连后接所述输出端+3.3V,光耦3U5的15脚、13脚、11脚、9脚经排阻3RP3接地,光耦3U5的15脚、13脚、11脚、9脚,分别为第一DI隔离电路的信号输出端3MDKO0~3MDKO3;所述第二DI隔离电路由光耦2-3U5、排阻2-3RP3至2-3RP4、发光二极管2-3DI1至2-3DI4组成;所述光耦2-3U5的15脚、13脚、11脚、9脚,分别为第二DI隔离电路的信号输出端3MDKO0~3MDKO3;The DI isolation circuit includes a first DI isolation circuit and a second DI isolation circuit; the second DI isolation circuit has the same structure as the first DI isolation circuit; -3RP4, light-emitting diode 3DI1-3DI4; the 2 pins, 4 pins, 6 pins, and 8 pins of the optocoupler 3U5 are connected to the common end of the switch signal, and the 1 pin, 3 pins, 5 pins, and 7 pins of the optocoupler 3U5 are respectively Connect the 4-way switch signal ports with 3RP4 and light-emitting diodes 3D11-3D14 through resistance exclusion, connect pins 10, 12, 14, and 16 of the optocoupler 3U5, and then connect the output terminal +3.3V, and connect pins 15 and 16 of the optocoupler 3U5. Pins 13, 11, and 9 are grounded through the exclusion 3RP3, and pins 15, 13, 11, and 9 of the optocoupler 3U5 are respectively the signal output terminals 3MDKO0~3MDKO3 of the first DI isolation circuit; the second DI The isolation circuit is composed of optocoupler 2-3U5, exclusion 2-3RP3 to 2-3RP4, light emitting diode 2-3DI1 to 2-3DI4; the 15 pins, 13 pins, 11 pins and 9 pins of the optocoupler 2-3U5, They are the signal output terminals 3MDKO0~3MDKO3 of the second DI isolation circuit; 所述DIDO隔离电路由芯片3U2-3U3、数字三极管3Q1、电阻3R1、电容3C1-3C2组成,芯片3U2-3U3的20脚均接所述输出端+3.3V,芯片3U2-3U3的10脚均接地,芯片3U2的19脚接芯片7U8的11脚,芯片3U2的18脚-11脚接芯片3U3的2脚-9脚,芯片3U2的18脚-11脚分别接所述嵌入式芯片1U1的56-57脚、87-92脚,芯片3U2的1脚接芯片7U9的5脚,芯片3U2的2脚-5脚接第一DI隔离电路的信号输出端3MDKO0~3MDKO3,芯片3U2的6脚-9脚接第二DI隔离电路的信号输出端3MDKO0~3MDKO3;芯片3U3的1脚接芯片7U5的3脚,11脚接数字三极管3Q1的集电极,芯片3U3的19脚-16脚接第一DO隔离电路的输入端3MDKI0~3MDKI3,芯片3U3的15脚-12脚接第二DO隔离电路的输入端3MDKI0~3MDKI3,数字三极管3Q1的基极接芯片3U2的1脚,数字三极管3Q1的发射极接芯片3U2的19脚,电阻3R1接在芯片3U3的11脚与地之间,电容3C1接在芯片3U2的20脚与地之间,电容3C2接在芯片3U3的20脚与地之间;The DIDO isolation circuit is composed of chips 3U2-3U3, digital transistor 3Q1, resistor 3R1, and capacitor 3C1-3C2. The 20 pins of the chips 3U2-3U3 are all connected to the output terminal +3.3V, and the 10 pins of the chips 3U2-3U3 are all grounded. , the 19 pins of the chip 3U2 are connected to the 11 pins of the chip 7U8, the 18 pins-11 pins of the chip 3U2 are connected to the 2 pins-9 pins of the chip 3U3, and the 18 pins-11 pins of the chip 3U2 are respectively connected to the 56-pins of the embedded chip 1U1 57 pins, 87-92 pins, pin 1 of the chip 3U2 is connected to pin 5 of the chip 7U9, pins 2-5 of the chip 3U2 are connected to the signal output terminal 3MDKO0~3MDKO3 of the first DI isolation circuit, pins 6-9 of the chip 3U2 Connect to the signal output terminal 3MDKO0~3MDKO3 of the second DI isolation circuit; pin 1 of the chip 3U3 is connected to pin 3 of the chip 7U5, pin 11 is connected to the collector of the digital transistor 3Q1, pins 19-16 of the chip 3U3 are connected to the first DO isolation circuit The input terminal 3MDKI0~3MDKI3 of the chip 3U3 is connected to the input terminal 3MDKI0~3MDKI3 of the second DO isolation circuit, the base of the digital triode 3Q1 is connected to the 1 pin of the chip 3U2, and the emitter of the digital triode 3Q1 is connected to the chip 3U2 The resistor 3R1 is connected between the 11th pin of the chip 3U3 and the ground, the capacitor 3C1 is connected between the 20th pin of the chip 3U2 and the ground, and the capacitor 3C2 is connected between the 20th pin of the chip 3U3 and the ground; 所述第一AI隔离电路的放大器4U1、放大器4U2的型号均为LM324,所述放大器4U1的同向输入端3脚待测量的模拟信号端口,放大器4U1的同向输入端3脚经电阻4R31接地,放大器4U1的反向输入端2脚经电阻4R12接地,放大器4U1的输出端1脚经反馈电阻4R11接放大器4U1的反向输入端2脚;所述放大器4U1的同向输入端5脚接待测量的模拟信号端口,放大器4U1的同向输入端5脚经电阻4R32接地,放大器4U1的反向输入端6脚经电阻4R14接地,放大器4U1的输出端7脚经反馈电阻4R13接放大器U1的反向输入端6脚;所述放大器4U1的同向输入端10脚接待测量的模拟信号端口,放大器4U1的同向输入端10脚经电阻4R33接地,放大器4U1的反向输入端9脚经电阻4R16接地,放大器4U1的输出端8脚经反馈电阻4R15接放大器4U1的反向输入端9脚;所述放大器4U1的同向输入端12脚接待测量的模拟信号端口,放大器4U1的同向输入端12脚经电阻4R34接地,放大器4U1的反向输入端13脚经电阻4R18接地,放大器4U1的输出端14脚经电阻4R17接放大器4U1的反向输入端13脚;所述放大器4U1的4脚接所述输出端+5V,所述电容4C11接在放大器4U1的4脚与地之间;The models of the amplifier 4U1 and the amplifier 4U2 of the first AI isolation circuit are both LM324, the same-direction input terminal 3 of the amplifier 4U1 is an analog signal port to be measured, and the same-direction input terminal 3 of the amplifier 4U1 is grounded through a resistor 4R31 , pin 2 of the reverse input terminal of the amplifier 4U1 is grounded through a resistor 4R12, pin 1 of the output terminal of the amplifier 4U1 is connected to pin 2 of the reverse input terminal of the amplifier 4U1 through a feedback resistor 4R11; pin 5 of the same input terminal of the amplifier 4U1 is used for measurement The analog signal port of the amplifier 4U1, the 5 pins of the same input end of the amplifier 4U1 are grounded through the resistor 4R32, the 6 pins of the reverse input end of the amplifier 4U1 are grounded through the resistor 4R14, the 7 pins of the output end of the amplifier 4U1 are connected to the reverse direction of the amplifier U1 through the feedback resistor 4R13 The 6-pin input terminal; the 10-pin input terminal of the amplifier 4U1 receives the analog signal port for measurement, the 10-pin input terminal of the amplifier 4U1 is grounded through the resistor 4R33, and the 9-pin reverse input terminal of the amplifier 4U1 is grounded through the resistor 4R16 , the output terminal 8 pins of the amplifier 4U1 are connected to the reverse input terminal 9 pins of the amplifier 4U1 through the feedback resistor 4R15; Grounded through resistor 4R34, the reverse input terminal 13 of the amplifier 4U1 is grounded through the resistor 4R18, the output terminal 14 of the amplifier 4U1 is connected to the reverse input terminal 13 of the amplifier 4U1 through the resistor 4R17; the 4 pin of the amplifier 4U1 is connected to the The output terminal is +5V, and the capacitor 4C11 is connected between pin 4 of the amplifier 4U1 and the ground; 所述放大器4U2的同向输入端3脚接待测量的模拟信号端口,放大器4U2的同向输入端3脚经电阻4R35接地,放大器4U2的反向输入端2脚经电阻4R22接地,放大器4U2的输出端1脚经反馈电阻4R21接放大器4U2的反向输入端2脚;所述放大器4U2的同向输入端5脚接待测量的模拟信号端口,放大器4U2的同向输入端5脚经电阻4R36接地,放大器4U2的反向输入端6脚经电阻4R24接地,放大器4U2的输出端7脚经反馈电阻4R23接放大器4U2的反向输入端6脚;所述放大器4U2的同向输入端10脚接待测量的模拟信号端口,放大器4U2的同向输入端10脚经电阻4R37接地,放大器4U2的反向输入端9脚经电阻4R26接地,放大器4U2的输出端8脚经反馈电阻4R25接放大器4U2的反向输入端9脚;所述放大器4U2的同向输入端12脚接待测量的模拟信号端口,放大器4U2的同向输入端12脚经电阻4R38接地,放大器4U2的反向输入端13脚经电阻4R28接地,放大器4U2的输出端14脚经反馈电阻4R27接放大器4U2的反向输入端13脚;所述放大器4U2的4脚接所述输出端+5V,所述电容4C12接在放大器4U2的4脚与地之间;The 3 pins of the same input end of the amplifier 4U2 receive the analog signal port for measurement, the 3 pins of the same input end of the amplifier 4U2 are grounded through the resistor 4R35, the 2 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R22, and the output of the amplifier 4U2 Pin 1 of the terminal is connected to pin 2 of the reverse input terminal of the amplifier 4U2 through the feedback resistor 4R21; pin 5 of the same input terminal of the amplifier 4U2 receives the analog signal port for measurement, and pin 5 of the same input terminal of the amplifier 4U2 is grounded through the resistor 4R36. The 6 pins of the reverse input terminal of the amplifier 4U2 are grounded through the resistor 4R24, the 7 pins of the output terminal of the amplifier 4U2 are connected to the 6 pins of the reverse input terminal of the amplifier 4U2 through the feedback resistor 4R23; the 10 pins of the same input terminal of the amplifier 4U2 are used for measurement Analog signal port, the 10 pins of the same input end of the amplifier 4U2 are grounded through the resistor 4R37, the 9 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R26, the 8 pins of the output end of the amplifier 4U2 are connected to the reverse input of the amplifier 4U2 through the feedback resistor 4R25 Terminal 9 pins; the 12 pins of the same-directional input end of the amplifier 4U2 receive the analog signal port for measurement, the 12 pins of the same-directional input end of the amplifier 4U2 are grounded through the resistor 4R38, and the 13 pins of the reverse input end of the amplifier 4U2 are grounded through the resistor 4R28, The output terminal 14 of the amplifier 4U2 is connected to the reverse input terminal 13 of the amplifier 4U2 via the feedback resistor 4R27; the 4 pin of the amplifier 4U2 is connected to the output terminal +5V, and the capacitor 4C12 is connected to the 4 pin of the amplifier 4U2 and the ground between; 所述放大器4U1的输出端1脚、7脚、8脚、14脚分别经排阻4RP511接所述嵌入式芯片1U1的34脚、35脚、42脚、43脚;所述放大器4U2的输出端1脚、7脚、8脚、14脚分别经排阻4RP512接所述嵌入式芯片1U1的46脚、47脚、26脚、27脚;The output terminals 1 pins, 7 pins, 8 pins and 14 pins of the amplifier 4U1 are respectively connected to the 34 pins, 35 pins, 42 pins and 43 pins of the embedded chip 1U1 through the exclusion 4RP511; the output terminals of the amplifier 4U2 Pin 1, pin 7, pin 8, and pin 14 are respectively connected to pin 46, pin 47, pin 26, and pin 27 of the embedded chip 1U1 through the exclusion 4RP512; 所述第二AI隔离电路与第一AI隔离电路结构相同,由放大器2-4U1、放大器2-4U2、电阻2-4R11至2-4R18、电阻2-4R21至电阻2-4R28、电阻2-4R31至电阻2-4R38、电容2-4C11至2-4C12和排阻2-4RP511至2-4RP512组成;所述放大器2-4U1的输出端1脚、7脚、8脚、14脚分别经排阻2-4RP511接所述嵌入式芯片1U1的28脚、29脚、44脚、45脚;所述放大器2-4U2的输出端1脚、7脚、8脚、14脚分别经排阻2-4RP512接所述嵌入式芯片1U1的18脚、19脚、20脚、21脚;放大器2-4U1及 2-4U2的同向输入端3脚、5脚、10脚、12脚分别接待测量的模拟信号端口;The second AI isolation circuit has the same structure as the first AI isolation circuit, consisting of amplifier 2-4U1, amplifier 2-4U2, resistors 2-4R11 to 2-4R18, resistor 2-4R21 to resistor 2-4R28, resistor 2-4R31 to resistor 2-4R38, capacitor 2-4C11 to 2-4C12, and exclusion 2-4RP511 to 2-4RP512; the output pins 1, 7, 8, and 14 of the amplifier 2-4U1 are respectively subjected to exclusion 2-4RP511 is connected to the 28 pins, 29 pins, 44 pins, and 45 pins of the embedded chip 1U1; the 1 pins, 7 pins, 8 pins, and 14 pins of the output terminals of the amplifier 2-4U2 are respectively blocked by 2-4RP512 Connect the 18 pins, 19 pins, 20 pins, and 21 pins of the embedded chip 1U1; the 3 pins, 5 pins, 10 pins, and 12 pins of the same input terminals of the amplifiers 2-4U1 and 2-4U2 respectively receive the measured analog signals port; 所述AO隔离卡电路的电阻5R4与电阻5R11相串联后接在所述放大器5U1的输入端5脚与地之间,电阻5R1与电阻5R12相串联后接在所述放大器5U1的输入端10脚与地之间,所述电阻5R4与电阻5R11的节点接所述嵌入式芯片1U1的41脚,所述电阻5R1与电阻5R12的节点接所述嵌入式芯片1U1的40脚;所述放大器5U1的1脚与2脚相连后经电阻5R2接放大器5U1的5脚,所述放大器5U1的7脚接所述三极管5Q2的基极,放大器5U1的6脚经电阻5R5接三极管5Q2的发射极,电阻5R7接在放大器5U1的6脚与地之间,电容5C1接在放大器5U1的7脚与地之间;所述三极管5Q2的集电极接所述所述输出端+12V,其发射极经电阻5R10接放大器5U1的3脚;所述放大器5U1的13脚与14脚相连后经电阻5R3接放大器5U1的10脚,所述放大器5U1的8脚接所述三极管5Q6的基极,放大器5U1的9脚经电阻5R6接三极管5Q1的发射极,电阻5R8接在放大器5U1的9脚与地之间,电容5C2接在放大器5U1的8脚与地之间;所述三极管5Q1的集电极接所述输出端+12V,其发射极经电阻5R9接放大器5U1的12脚;The resistor 5R4 of the AO isolation card circuit is connected in series with the resistor 5R11 and then connected between the input terminal 5 of the amplifier 5U1 and the ground, and the resistor 5R1 and the resistor 5R12 are connected in series and connected to the input terminal 10 of the amplifier 5U1 and the ground, the node of the resistor 5R4 and the resistor 5R11 is connected to pin 41 of the embedded chip 1U1, and the node of the resistor 5R1 and resistor 5R12 is connected to the pin 40 of the embedded chip 1U1; the node of the amplifier 5U1 Pin 1 and pin 2 are connected to pin 5 of the amplifier 5U1 via resistor 5R2, pin 7 of the amplifier 5U1 is connected to the base of the triode 5Q2, pin 6 of the amplifier 5U1 is connected to the emitter of the triode 5Q2 via resistor 5R5, and resistor 5R7 Connected between pin 6 of the amplifier 5U1 and the ground, capacitor 5C1 is connected between pin 7 of the amplifier 5U1 and the ground; the collector of the triode 5Q2 is connected to the output terminal +12V, and its emitter is connected through the resistor 5R10 Pin 3 of the amplifier 5U1; pin 13 of the amplifier 5U1 is connected to pin 14 of the amplifier 5U1 and connected to pin 10 of the amplifier 5U1 through a resistor 5R3; pin 8 of the amplifier 5U1 is connected to the base of the triode 5Q6; pin 9 of the amplifier 5U1 is connected to the base of the transistor 5Q6 The resistor 5R6 is connected to the emitter of the triode 5Q1, the resistor 5R8 is connected between pin 9 of the amplifier 5U1 and the ground, and the capacitor 5C2 is connected between the pin 8 of the amplifier 5U1 and the ground; the collector of the triode 5Q1 is connected to the output terminal + 12V, its emitter is connected to pin 12 of amplifier 5U1 through resistor 5R9; 所述并串转换输入电路的所述芯片6U1的1脚、4脚分别经电阻6R702、电阻6R701接入侵检测及中断输入信号,所述芯片6U1的6脚与8脚分别经电阻6R703与电阻6R704接所述输出端+3.3V,所述芯片6U1的5脚经电阻6R708接地,电容6C701与电阻6R708并联,所述芯片6U1的7脚经电阻6R707接地,电容6C702与电阻6R702并联,所述三极管6Q701的基极接芯片6U1的5脚,三极管6Q701的发射极接地,三极管6Q701的集电极经电阻6R706接所述输出端+3.3V,所述三极管6Q702的基极接芯片6U1的7脚,三极管6Q702的发射极接地,三极管6Q702的集电极经电阻6R705接所述输出端+3.3V,三极管6Q702的集电极接所述嵌入式芯片1U1的7脚;所述芯片6U5至芯片6U6、芯片6UA的2脚均接所述嵌入式芯片1U1的133脚,三极管6Q602的集电极经电阻6R601接所述输出端+3.3V,三极管6Q602的基极经电阻6R602接所述芯片6U7的6脚,三极管6Q602的发射极接地,电阻6R603与电容6C601并联后接在三极管6Q602的基极与地之间;所述芯片6U5至芯片6U6、芯片6UA的1脚均接三极管6Q602的集电极,芯片6U6的3脚接所述三极管6Q701的集电极,芯片6U6的14脚接所述芯片12U4的5脚;所述芯片6U7的4脚接所述嵌入式芯片1U1的134脚,所述芯片6UB的1脚接芯片6U6的3脚,所述芯片6UB的2脚接芯片6U6的4脚,所述芯片6UB的4脚、5脚分别接芯片6U5的13脚、12脚,所述芯片6UB的11脚接所述嵌入式芯片1U1的54脚,所述芯片6UB的3脚接所述芯片6UB的13脚,所述芯片6UB的6脚接所述芯片6UB的12脚;Pin 1 and pin 4 of the chip 6U1 of the parallel-to-serial conversion input circuit are respectively connected to intrusion detection and interrupt input signals through resistor 6R702 and resistor 6R701, and pin 6 and pin 8 of the chip 6U1 are connected to the input signal through resistor 6R703 and resistor 6R704 respectively. Connect the output terminal +3.3V, the 5 pin of the chip 6U1 is grounded through the resistor 6R708, the capacitor 6C701 is connected in parallel with the resistor 6R708, the 7 pin of the chip 6U1 is grounded through the resistor 6R707, the capacitor 6C702 is connected in parallel with the resistor 6R702, the triode The base of 6Q701 is connected to pin 5 of chip 6U1, the emitter of triode 6Q701 is grounded, the collector of triode 6Q701 is connected to the output terminal +3.3V through resistor 6R706, the base of triode 6Q702 is connected to pin 7 of chip 6U1, and the triode The emitter of 6Q702 is grounded, the collector of triode 6Q702 is connected to the output terminal +3.3V through resistor 6R705, and the collector of triode 6Q702 is connected to pin 7 of the embedded chip 1U1; the chip 6U5 to chip 6U6, chip 6UA Both pins 2 are connected to pin 133 of the embedded chip 1U1, the collector of the triode 6Q602 is connected to the output terminal +3.3V through a resistor 6R601, the base of the triode 6Q602 is connected to pin 6 of the chip 6U7 through a resistor 6R602, and the triode 6Q602 The emitter of the chip is grounded, the resistor 6R603 and the capacitor 6C601 are connected in parallel and then connected between the base of the triode 6Q602 and the ground; the chips 6U5 to 6U6, and pin 1 of the chip 6UA are all connected to the collector of the triode 6Q602, and pin 3 of the chip 6U6 Connect the collector of the triode 6Q701, the 14 pins of the chip 6U6 are connected to the 5 pins of the chip 12U4; the 4 pins of the chip 6U7 are connected to the 134 pins of the embedded chip 1U1, and the 1 pins of the chip 6UB are connected to the chip 3 pins of 6U6, 2 pins of the chip 6UB are connected to 4 pins of the chip 6U6, 4 pins and 5 pins of the chip 6UB are respectively connected to 13 pins and 12 pins of the chip 6U5, and 11 pins of the chip 6UB are connected to the Pin 54 of the embedded chip 1U1, pin 3 of the chip 6UB is connected to pin 13 of the chip 6UB, pin 6 of the chip 6UB is connected to pin 12 of the chip 6UB; 所述串并转换输出电路的芯片7U1至芯片7U5的11脚均接所述嵌入式芯片1U1的133脚;所述芯片7U1的14脚接所述嵌入式芯片1U1的135脚,芯片7U1的15脚、2脚、4脚、6脚分别接第一串口隔离卡电路的芯片10U6的3脚、第二串口隔离卡电路的芯片2-10U6的3脚、第三串口隔离卡电路的芯片3-10U6的3脚、第四串口隔离卡电路的芯片4-10U6的3脚;The 11 pins of the chip 7U1 to the chip 7U5 of the serial-to-parallel conversion output circuit are all connected to the 133 pins of the embedded chip 1U1; the 14 pins of the chip 7U1 are connected to the 135 pins of the embedded chip 1U1, and the 15 pins of the chip 7U1 The pins, 2 pins, 4 pins, and 6 pins are respectively connected to the 3 pins of the chip 10U6 of the first serial port isolation card circuit, the 3 pins of the chip 2-10U6 of the second serial port isolation card circuit, and the chip 3-10U6 of the third serial port isolation card circuit. Pin 3 of 10U6, pin 3 of chip 4-10U6 of the fourth serial port isolation card circuit; 所述芯片7U5的14脚接芯片7U2的9脚,所述芯片7U3的14脚接所述芯片7U5的9脚;所述芯片7U4的14脚接所述芯片7U3的9脚;The 14 pins of the chip 7U5 are connected to the 9 pins of the chip 7U2, the 14 pins of the chip 7U3 are connected to the 9 pins of the chip 7U5; the 14 pins of the chip 7U4 are connected to the 9 pins of the chip 7U3; 所述芯片7U8的15脚接芯片7U5的15脚,芯片7U8的1脚-3脚分别接嵌入式芯片1U1的110脚、55脚、126脚,芯片7U8的4脚接芯片7U1至芯片7U5的12脚、芯片6U7的6脚;The 15 pins of the chip 7U8 are connected to the 15 pins of the chip 7U5, the 1-3 pins of the chip 7U8 are respectively connected to the 110 pins, 55 pins, and 126 pins of the embedded chip 1U1, and the 4 pins of the chip 7U8 are connected to the chips 7U1 to 7U5. 12 pins, 6 pins of chip 6U7; 所述芯片7U9的6脚-7脚接芯片7U8的14脚-13脚,芯片7U9的11脚-12脚、14脚接所述嵌入式芯片1U1的75脚、76脚、74脚,芯片7U9的15脚、1脚-3脚分别第一串口隔离卡电路的芯片10U5的1脚、第二串口隔离卡电路的芯片2-10U5的1脚、第三串口隔离卡电路的芯片3-10U5的1脚、第四串口隔离卡电路的芯片4-10U5的1脚;芯片7U5的3脚经电阻2R501接所述光耦2U5的1脚,芯片7U9的4脚经电阻2R502接光耦2U5的3脚。Pins 6-7 of the chip 7U9 are connected to pins 14-13 of the chip 7U8, pins 11-12 and 14 of the chip 7U9 are connected to pins 75, 76, and 74 of the embedded chip 1U1, and the chip 7U9 15 pins, 1 pin - 3 pins of the chip 10U5 of the first serial port isolation card circuit, 1 pin of the chip 2-10U5 of the second serial port isolation card circuit, and 3-10U5 of the chip 3-10U5 of the third serial port isolation card circuit Pin 1, pin 1 of chip 4-10U5 of the fourth serial port isolation card circuit; pin 3 of chip 7U5 is connected to pin 1 of the optocoupler 2U5 through resistor 2R501, pin 4 of chip 7U9 is connected to pin 3 of optocoupler 2U5 through resistor 2R502 foot. 5.根据权利要4所述的一种数据交互智能主机终端,其特征在于所述PWM计数器隔离板电路由芯片8U4-8U7、光耦8U2-8U3、晶体管8Q201-8Q204、晶体管8Q301-8Q308、排阻8RP101、排阻8RP201、排阻8RP202、发光二极管8D301-8D304、发光二极管8D201-8D204和电阻8R301-8R304组成;所述芯片8U4-8U7的型号为模拟电子开关BL1551,光耦8U3的型号为TLP521-4,光耦8U4的型号为TLP281-4;所述芯片8U4-8U7的输入脚4脚分别接所述嵌入式芯片1U1的96脚、97脚、100脚、136脚;所述芯片8U4-8U7的输入脚6脚分别接所述串并转换输出电路中的7U2的2脚-5脚,芯片8U4-8U7的输出脚3脚分别经排阻8RP101、发光二极管8D301-8D304接光耦8U3的输入脚1脚、3脚、5脚、7脚,所述光耦8U3的2脚、4脚、6脚、8脚接地;5. A data interaction intelligent host terminal according to claim 4, characterized in that the PWM counter isolation board circuit consists of chips 8U4-8U7, optocouplers 8U2-8U3, transistors 8Q201-8Q204, transistors 8Q301-8Q308, row Resistance 8RP101, exclusion 8RP201, exclusion 8RP202, light emitting diode 8D301-8D304, light emitting diode 8D201-8D204 and resistance 8R301-8R304; the model of the chip 8U4-8U7 is analog electronic switch BL1551, and the model of optocoupler 8U3 is TLP521 -4, the model of the optocoupler 8U4 is TLP281-4; the input pins 4 of the chip 8U4-8U7 are respectively connected to the 96 pins, 97 pins, 100 pins, and 136 pins of the embedded chip 1U1; the chip 8U4- Input pin 6 of 8U7 is respectively connected to pins 2-5 of 7U2 in the serial-to-parallel conversion output circuit, and output pin 3 of chips 8U4-8U7 is respectively connected to optocoupler 8U3 through exclusion 8RP101 and light-emitting diode 8D301-8D304 The input pins 1, 3, 5, and 7 are grounded, and the 2, 4, 6, and 8 pins of the optocoupler 8U3 are grounded; 所述光耦8U3的9脚-16脚接了四路结构相同的脉冲输出电路;第一路脉冲输出电路由晶体管8Q301、晶体管8Q305和电阻8R301组成;所述光耦8U3的16脚接脉冲信号端口的相应端口,光耦8U3的16脚接晶体管8Q301的集电极,晶体管8Q301的发射极接电阻8R301的一端,晶体管8Q305的发射极接光耦8U3的15脚,晶体管8Q305的集电极接晶体管8Q301的基极,晶体管8Q305的基极接电阻8R301的另一端;所述第二路脉冲输出电路由晶体管8Q302、晶体管8Q306和电阻8R302组成;所述晶体管8Q302的集电极接光耦8U3的14脚,光耦8U3的14脚接脉冲信号端口的相应端口,晶体管8Q306的发射极接光耦8U3的13脚;所述第三路脉冲输出电路由晶体管8Q303、晶体管8Q307和电阻8R303组成;所述晶体管8Q303的集电极接光耦8U3的12脚,光耦8U3的12脚接脉冲信号端口的相应端口,晶体管8Q307的发射极接光耦8U3的11脚;所述第四路脉冲输出电路由晶体管8Q304、晶体管8Q308和电阻8R304组成;所述晶体管8Q304的集电极接光耦8U3的10脚,光耦8U3的10脚接脉冲信号端口的相应端口,晶体管8Q308的发射极接光耦8U3的9脚;The 9-16 pins of the optocoupler 8U3 are connected to four pulse output circuits with the same structure; the first pulse output circuit is composed of transistor 8Q301, transistor 8Q305 and resistor 8R301; the 16 pins of the optocoupler 8U3 are connected to the pulse signal The corresponding port of the port, the 16-pin of the optocoupler 8U3 is connected to the collector of the transistor 8Q301, the emitter of the transistor 8Q301 is connected to one end of the resistor 8R301, the emitter of the transistor 8Q305 is connected to the 15-pin of the optocoupler 8U3, and the collector of the transistor 8Q305 is connected to the transistor 8Q301 The base of transistor 8Q305 is connected to the other end of resistor 8R301; the second pulse output circuit is composed of transistor 8Q302, transistor 8Q306 and resistor 8R302; the collector of transistor 8Q302 is connected to pin 14 of optocoupler 8U3, Pin 14 of optocoupler 8U3 is connected to the corresponding port of the pulse signal port, and the emitter of transistor 8Q306 is connected to pin 13 of optocoupler 8U3; the third pulse output circuit is composed of transistor 8Q303, transistor 8Q307 and resistor 8R303; the transistor 8Q303 The collector is connected to the 12 pins of the optocoupler 8U3, the 12 pins of the optocoupler 8U3 are connected to the corresponding port of the pulse signal port, the emitter of the transistor 8Q307 is connected to the 11 pins of the optocoupler 8U3; the fourth pulse output circuit is composed of transistors 8Q304, Composed of transistor 8Q308 and resistor 8R304; the collector of the transistor 8Q304 is connected to pin 10 of the optocoupler 8U3, pin 10 of the optocoupler 8U3 is connected to the corresponding port of the pulse signal port, and the emitter of the transistor 8Q308 is connected to pin 9 of the optocoupler 8U3; 所述光耦8U2、数字晶体管8Q201-8Q204、排阻8RP201、排阻8RP202、发光二极管8D201-8D204组成的PWM计数器隔离板电路脉冲输入电路;所述发光二极管8D201-8D204的阳极分别晶体管8Q301-8Q304的发射极,所述发光二极管8D201-8D204的阴极分别接光耦8U2的1脚、3脚、5脚、7脚,所述光耦8U2的2脚、4脚、6脚、8脚分别经排阻8RP201接光耦8U3的16脚、14脚、12脚、10脚,所述光耦8U2的16脚、14脚、12脚、10脚分别接晶体管8Q201-8Q204的基极,所述光耦8U2的15脚、13脚、11脚、9脚均接地;所述晶体管8Q201-8Q204的集电极分别经排阻8RP202接地,晶体管8Q201-8Q204的集电极分别接芯片8U4的1脚、芯片8U5的1脚、芯片8U6的1脚、芯片8U7的1脚,晶体管8Q201-8Q204的发射极接所述输出端+3.3V;The PWM counter isolation board circuit pulse input circuit composed of the optocoupler 8U2, digital transistors 8Q201-8Q204, exclusion 8RP201, exclusion 8RP202, and light-emitting diodes 8D201-8D204; the anodes of the light-emitting diodes 8D201-8D204 are respectively transistors 8Q301-8Q304 The emitters of the light-emitting diodes 8D201-8D204 are respectively connected to pins 1, 3, 5, and 7 of the optocoupler 8U2, and pins 2, 4, 6, and 8 of the optocoupler 8U2 are respectively connected to The resistance exclusion 8RP201 is connected to the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 8U3, and the 16 pins, 14 pins, 12 pins, and 10 pins of the optocoupler 8U2 are respectively connected to the bases of the transistors 8Q201-8Q204. The 15 pins, 13 pins, 11 pins and 9 pins of the coupling 8U2 are all grounded; the collectors of the transistors 8Q201-8Q204 are respectively grounded through the resistance 8RP202, and the collectors of the transistors 8Q201-8Q204 are respectively connected to the 1 pin of the chip 8U4, the chip 8U5 pin 1 of the chip 8U6, pin 1 of the chip 8U7, and the emitters of the transistors 8Q201-8Q204 are connected to the output terminal +3.3V; 所述人机交互电路包括第一人机交互电路和第二人机交互电路;The human-computer interaction circuit includes a first human-computer interaction circuit and a second human-computer interaction circuit; 所述第一人机交互电路由电阻9R1-9R8和发光二极管9D1-9D8组成;所述电阻9R1与发光二极管9D1相串联后接在所述串并转换输出电路中的芯片7U4的3脚与地之间;所述电阻9R2与发光二极管9D2相串联后接在所述串并转换输出电路中的芯片7U4的2脚与地之间;所述电阻9R3与发光二极管9D3相串联后接在所述串并转换输出电路中的芯片7U4的1脚与地之间;所述电阻9R4与发光二极管9D4相串联后接在所述串并转换输出电路中的芯片7U4的15脚与地之间;所述电阻9R5与发光二极管9D5相串联后接在所述串并转换输出电路中的芯片7U4的5脚与地之间;所述电阻9R6与发光二极管9D6相串联后接在所述串并转换输出电路中的芯片7U4的4脚与地之间;所述电阻9R7与发光二极管9D7相串联后接在所述串并转换输出电路中的芯片7U4的7脚与地之间;所述电阻9R8与发光二极管9D8相串联后接在所述串并转换输出电路中的芯片7U4的6脚与地之间;The first human-computer interaction circuit is composed of resistors 9R1-9R8 and light-emitting diodes 9D1-9D8; the resistor 9R1 is connected in series with the light-emitting diode 9D1 and then connected to pin 3 of the chip 7U4 in the serial-to-parallel conversion output circuit and ground The resistor 9R2 is connected in series with the light emitting diode 9D2 and then connected between pin 2 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R3 is connected in series with the light emitting diode 9D3 and then connected to the Between pin 1 of the chip 7U4 in the serial-parallel conversion output circuit and the ground; the resistor 9R4 is connected in series with the light-emitting diode 9D4 and connected between pin 15 of the chip 7U4 in the serial-parallel conversion output circuit and the ground; The resistor 9R5 is connected in series with the light emitting diode 9D5 and then connected between pin 5 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R6 is connected in series with the light-emitting diode 9D6 and then connected to the serial-parallel conversion output Between pin 4 of the chip 7U4 in the circuit and the ground; the resistor 9R7 is connected in series with the light-emitting diode 9D7 and connected between pin 7 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; the resistor 9R8 and the ground The light-emitting diode 9D8 is connected in series between pin 6 of the chip 7U4 in the serial-to-parallel conversion output circuit and the ground; 所述第二人机交互电路由电阻9R11-9R18、开关9S1-9S8和电容9C1-9C8组成;所述电阻9R11与开关9S1串联后接在所述输出端+3.3V与地之间,所述电阻9R11与开关9S1的节点接所述并串转换输入电路中的芯片6UA的11脚;所述电阻9R12与开关9S2串联后接在所述输出端+3.3V与地之间,所述电阻9R12与开关9S2的节点接所述并串转换输入电路中的芯片6UA的12脚;所述电阻9R13与开关9S3串联后接在所述输出端+3.3V与地之间,所述电阻9R13与开关9S3的节点接所述并串转换输入电路中的芯片6UA的13脚;所述电阻9R14与开关9S4串联后接在所述输出端+3.3V与地之间,所述电阻9R14与开关9S4的节点接所述并串转换输入电路中的芯片6UA的14脚;所述电阻9R15与开关9S5串联后接在所述输出端+3.3V与地之间,所述电阻9R15与开关9S5的节点接所述并串转换输入电路中的芯片6UA的3脚;所述电阻9R16与开关9S6串联后接在所述输出端+3.3V与地之间,所述电阻9R16与开关9S6的节点接所述并串转换输入电路中的芯片6UA的4脚;所述电阻9R17与开关9S7串联后接在所述输出端+3.3V与地之间,所述电阻9R17与开关9S7的节点接所述并串转换输入电路中的芯片6UA的5脚;所述电阻9R18与开关9S8串联后接在所述输出端+3.3V与地之间,所述电阻9R18与开关9S8的节点接所述并串转换输入电路中的芯片6UA的6脚;所述电容9C1-9C8分别与开关9S1-9S8并联;The second human-computer interaction circuit is composed of resistors 9R11-9R18, switches 9S1-9S8 and capacitors 9C1-9C8; the resistor 9R11 is connected in series with the switch 9S1 and connected between the output terminal +3.3V and ground, and the The node of the resistor 9R11 and the switch 9S1 is connected to pin 11 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R12 is connected in series with the switch 9S2 between the output terminal +3.3V and ground, and the resistor 9R12 The node connected with the switch 9S2 is connected to pin 12 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R13 is connected in series with the switch 9S3 and then connected between the output terminal +3.3V and ground, and the resistor 9R13 is connected to the switch The node of 9S3 is connected to pin 13 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R14 is connected in series with the switch 9S4 and then connected between the output terminal +3.3V and ground, and the resistor 9R14 is connected to the switch 9S4 The node is connected to pin 14 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R15 is connected in series with the switch 9S5 between the output terminal +3.3V and ground, and the node of the resistor 9R15 is connected to the switch 9S5 Pin 3 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R16 is connected in series with the switch 9S6 between the output terminal +3.3V and ground, and the node of the resistor 9R16 and the switch 9S6 is connected to the Pin 4 of the chip 6UA in the parallel-to-serial conversion input circuit; the resistor 9R17 is connected in series with the switch 9S7 between the output terminal +3.3V and ground, and the node of the resistor 9R17 and the switch 9S7 is connected to the parallel string Convert pin 5 of the chip 6UA in the input circuit; the resistor 9R18 is connected in series with the switch 9S8 between the output terminal +3.3V and ground, and the node of the resistor 9R18 and the switch 9S8 is connected to the parallel-serial conversion input The 6 pins of the chip 6UA in the circuit; the capacitors 9C1-9C8 are respectively connected in parallel with the switches 9S1-9S8; 所述综合通信卡电路包括串口电路和CAN总线电路;所述串口电路由串口芯片11U11、电阻11R1-11R2和电容发11C1-11C5组成;所述串口芯片11U11的型号为MAX232,所述串口芯片11U11的11脚、12脚分别接所述嵌入式芯片1U1的113脚、116脚,串口芯片11U11的11脚、12脚分别接外部对应的串口信号,电阻11R1接在串口芯片11U11的10脚与12脚之间,电阻11R2接在串口芯片11U11的9脚与11脚之间,电容11C3接在串口芯片11U11的4脚与5脚之间,电容11C5接在串口芯片11U11的1脚与3脚之间,电容11C1接在串口芯片11U11的16脚与地之间,串口芯片11U11的16脚接所述输出端+5V,电容11C2接在串口芯片11U11的2脚与地之间,电容11C4接在串口芯片11U11的6脚与地之间;The integrated communication card circuit includes a serial port circuit and a CAN bus circuit; the serial port circuit is made up of a serial port chip 11U11, resistors 11R1-11R2 and capacitors 11C1-11C5; the model of the serial port chip 11U11 is MAX232, and the serial port chip 11U11 The 11 pins and 12 pins of the embedded chip 1U1 are respectively connected to the 113 pins and 116 pins of the embedded chip 1U1, the 11 pins and 12 pins of the serial port chip 11U11 are respectively connected to the corresponding external serial port signals, and the resistor 11R1 is connected to the 10 pins and 12 pins of the serial port chip 11U11. Between pins, resistor 11R2 is connected between pin 9 and pin 11 of serial chip 11U11, capacitor 11C3 is connected between pin 4 and pin 5 of serial chip 11U11, capacitor 11C5 is connected between pin 1 and pin 3 of serial chip 11U11 In between, capacitor 11C1 is connected between pin 16 of serial port chip 11U11 and the ground, pin 16 of serial port chip 11U11 is connected to the output +5V, capacitor 11C2 is connected between pin 2 of serial chip 11U11 and ground, capacitor 11C4 is connected to Between pin 6 of serial port chip 11U11 and ground; 所述CAN总线电路由隔离芯片11U21、和电容发11C6-11C7组成;所述隔离芯片11U21的型号为ISO1050;所述隔离芯片11U21的1脚接所述输出端+5V,其2脚接所述嵌入式芯片1U1的140脚,隔离芯片11U21的3脚接所述嵌入式芯片1U1的139脚,隔离芯片11U21的4脚与5脚均接地,隔离芯片11U21的6脚与7脚为CAN控制总线输出端,隔离芯片11U21的8脚接所述输出端+5V,电容11C6接在隔离芯片11U21的1脚与地之间,电容11C7接在隔离芯片11U21的8脚与地之间。Described CAN bus circuit is made up of isolating chip 11U21 and capacitor hair 11C6-11C7; The model of described isolating chip 11U21 is ISO1050; 1 pin of described isolating chip 11U21 is connected to described output +5V, and its 2 pins are connected to described Pin 140 of the embedded chip 1U1, pin 3 of the isolation chip 11U21 are connected to pin 139 of the embedded chip 1U1, pins 4 and 5 of the isolation chip 11U21 are grounded, pins 6 and 7 of the isolation chip 11U21 are CAN control bus At the output end, pin 8 of the isolation chip 11U21 is connected to the output +5V, capacitor 11C6 is connected between pin 1 of the isolation chip 11U21 and the ground, and capacitor 11C7 is connected between pin 8 of the isolation chip 11U21 and the ground. 6.一种拼装式数据交互智能终端系统,其特征在于:包括数据交互智能主机终端、数据总线、第1从机终端至第N从机终端,其中N为大于1的整数;所述第1从机终端至第N从机终端的结构相同,所述第1从机终端至第N从机终端的扩展形式为级联式;所述数据交互智能主机终端依次经第1从机终端、第2从机终端、…、第N-1从机终端与第N从机终端相连接;所述数据交互智能主机终端、第1从机终端至第N从机终端分别连接到数据总线上。6. An assembled data interactive intelligent terminal system, characterized in that: it includes a data interactive intelligent host terminal, a data bus, the first slave terminal to the Nth slave terminal, wherein N is an integer greater than 1; the first The structure from the slave terminal to the Nth slave terminal is the same, and the expansion form of the first slave terminal to the Nth slave terminal is a cascading type; the data interaction intelligent host terminal passes through the first slave terminal, the 2 Slave terminals, ..., the N-1th slave terminal are connected to the Nth slave terminal; the data interaction intelligent master terminal, the first slave terminal to the Nth slave terminal are respectively connected to the data bus. 7.根据权利要求6所述的一种拼装式数据交互智能终端系统,其特征在于:所述数据总线包括第一数据总线DWKZ0至第八数据总线DWKZ7、第九数据总线WKWRZ、第十数据总线WKOEZ、数据总线电源线和数据总线地线;数据总线电源线接+5V电源,数据总线地线接地;7. An assembled data interactive intelligent terminal system according to claim 6, wherein the data bus includes the first data bus DWKZ0 to the eighth data bus DWKZ7, the ninth data bus WKWRZ, the tenth data bus WKOEZ, data bus power wire and data bus ground wire; data bus power wire is connected to +5V power supply, data bus ground wire is grounded; 所述第1从机终端包括从机核心控制单元、从机隔离卡、从机电源管理单元、第1总线控制器和第1 烽火接力从模块电路;The first slave terminal includes a slave core control unit, a slave isolation card, a slave power management unit, a first bus controller and a first beacon relay slave module circuit; 从机核心控制单元与所述数据交互智能主机终端的核心控制单元结构相同;所述从机电源管理单元与数据交互智能主机终端的电源管理单元结构相同;The slave core control unit has the same structure as the core control unit of the data interaction intelligent host terminal; the slave power management unit has the same structure as the data interaction intelligent host terminal power management unit; 所述从机隔离卡、第1总线控制器和第1 烽火接力从模块电路分别与所述从机核心控制单元的相应端口相连接;The slave isolation card, the first bus controller and the first Beacon relay slave module circuit are respectively connected to the corresponding ports of the slave core control unit; 外部供电电源通过从机电源管理单元给从机核心控制单元、从机隔离卡、第1总线控制器和第1 烽火接力从模块电路供电;The external power supply supplies power to the core control unit of the slave, the isolation card of the slave, the first bus controller and the first beacon relay slave module circuit through the slave power management unit; 所述第1总线控制器由芯片13U7和电阻13R1组成;所述芯片13U7的型号为74HC245,芯片13U7的1脚接到数据总线的第九数据总线WKWRZ上;芯片13U7的2脚-9脚分别接所述嵌入式芯片1U1的93脚、10脚至15脚、132脚;芯片13U7的10脚接地;芯片13U7的18脚至11脚分别接到数据总线的第一数据总线DWKZ0至第八数据线DWKZ7上;芯片13U7的20脚接+5V电源;所述电阻13R1接在芯片13U7的19脚与20脚之间;The first bus controller is composed of a chip 13U7 and a resistor 13R1; the model of the chip 13U7 is 74HC245, and pin 1 of the chip 13U7 is connected to the ninth data bus WKWRZ of the data bus; pins 2-9 of the chip 13U7 are respectively Connect the 93 pins, 10 pins to 15 pins and 132 pins of the embedded chip 1U1; the 10 pins of the chip 13U7 are grounded; the 18 pins to the 11 pins of the chip 13U7 are respectively connected to the first data bus DWKZ0 to the eighth data bus of the data bus On line DWKZ7; pin 20 of chip 13U7 is connected to +5V power supply; the resistor 13R1 is connected between pin 19 and pin 20 of chip 13U7; 所述第1烽火接力从模块电路由光耦13U1、芯片13U2、芯片13U3、芯片13U4、恒流源13D1-13D2、三极管13Q01、电位器13RJ01、电阻13R11-13R13、电阻13R21-13R25和电容13C11-13C14组成;所述光耦13U1的型号为TLP281-4,芯片13U2的型号为LM393,芯片13U3的型号为CN5710,芯片13U4的型号为74HB74,恒流源13D1-13D2的型号为S-102T,三极管13Q1的型号为8550;所述光耦13U1的5脚经恒流源13D2为第1烽火接力从模块电路的信号输入端FHn-1,光耦13U1的7脚经电位器13RJ01接恒流源13D1的输入端,恒流源13D1的输出端为第1烽火接力从模块电路的时钟输入端CLK,所述第1烽火接力从模块电路的时钟输入端CLK接所述烽火接力主模块电路的时钟输出端口FHCLK;光耦13U1的1脚经电阻13R13接所述芯片13U4的5脚,光耦13U1的2脚与3脚相连接,光耦13U1的4脚、6脚、8脚接地,光耦13U1的9脚经电阻13R11接地,光耦13U1的11脚经电阻13R12接地,光耦13U1的10脚、12脚接所述输出端+5V,电容13C12接在光耦13U1的9脚与12脚之间,电容13C11接在光耦13U1的11脚与12脚之间,光耦13U1的15脚、16脚分别接所述所述烽火接力主模块电路中光耦12U1的13脚、14脚;光耦13U1的15脚接芯片13U7的10脚,所述光耦13U1的16脚接芯片13U7的19脚;所述芯片13U4的2脚、3脚分别接光耦13U1的11脚、9脚,芯片13U4的1脚、4脚、14脚均接所述输出端+5V;电阻13R22与电阻13R21的节点接芯片13U2的7脚,芯片13U2的7脚接所述芯片13U3的1脚,芯片13U2的5脚经电阻13R24接地,芯片13U2的5脚接光耦13U1的13脚,芯片13U2的2脚、3脚、4脚均接地;所述芯片13U3的3脚经电阻13R25接地,芯片13U3的5脚为烽火接力从模块电路的时钟输出端CLK,所述烽火接力从模块电路的时钟输出端CLK接恒流源13D1的输入端;所述三极管13Q01的基极接光耦13U1的14脚,三极管13Q01的发射极接所述输出端+5V,三极管13Q01的集电极为烽火接力从模块电路的信号输出端CFHn,所述第1烽火接力从模块电路的信号输出端CFHn接第2从机终端的烽火接力从模块电路的信号输入端;The first beacon relay module circuit consists of optocoupler 13U1, chip 13U2, chip 13U3, chip 13U4, constant current source 13D1-13D2, transistor 13Q01, potentiometer 13RJ01, resistor 13R11-13R13, resistor 13R21-13R25 and capacitor 13C11- 13C14; the model of the optocoupler 13U1 is TLP281-4, the model of the chip 13U2 is LM393, the model of the chip 13U3 is CN5710, the model of the chip 13U4 is 74HB74, the model of the constant current source 13D1-13D2 is S-102T, the triode The model of 13Q1 is 8550; pin 5 of the optocoupler 13U1 is the signal input terminal FHn-1 of the first beacon relay slave module circuit through the constant current source 13D2, and pin 7 of the optocoupler 13U1 is connected to the constant current source 13D1 through the potentiometer 13RJ01 The input terminal of the constant current source 13D1 is the clock input terminal CLK of the first beacon relay slave module circuit, and the clock input terminal CLK of the first beacon relay slave module circuit is connected to the clock output of the beacon relay master module circuit Port FHCLK; pin 1 of optocoupler 13U1 is connected to pin 5 of the chip 13U4 via resistor 13R13, pin 2 of optocoupler 13U1 is connected to pin 3, pin 4, pin 6 and pin 8 of optocoupler 13U1 are grounded, and pin 13U1 of optocoupler The 9 pins of the optocoupler 13U1 are grounded through the resistor 13R11, the 11 pins of the optocoupler 13U1 are grounded through the resistor 13R12, the 10 pins and 12 pins of the optocoupler 13U1 are connected to the output terminal +5V, and the capacitor 13C12 is connected between the 9 pins and the 12 pins of the optocoupler 13U1 Between, capacitor 13C11 is connected between pin 11 and pin 12 of optocoupler 13U1, pin 15 and pin 16 of optocoupler 13U1 are respectively connected to pin 13 and pin 14 of optocoupler 12U1 in the beacon relay main module circuit; The 15 pins of the coupling 13U1 are connected to the 10 pins of the chip 13U7, and the 16 pins of the optocoupler 13U1 are connected to the 19 pins of the chip 13U7; Pin 1, pin 4, and pin 14 of 13U4 are all connected to the output terminal +5V; the node of resistor 13R22 and resistor 13R21 is connected to pin 7 of chip 13U2, pin 7 of chip 13U2 is connected to pin 1 of chip 13U3, and the node of chip 13U2 is connected to pin 7 of chip 13U2. Pin 5 is grounded through resistor 13R24, pin 5 of chip 13U2 is connected to pin 13 of optocoupler 13U1, pin 2, pin 3 and pin 4 of chip 13U2 are grounded; pin 3 of chip 13U3 is grounded through resistor 13R25, pin 5 of chip 13U3 is grounded The pin is the clock output terminal CLK of the beacon relay slave module circuit, and the clock output terminal CLK of the beacon relay slave module circuit is connected to the input terminal of the constant current source 13D1; the base of the triode 13Q01 is connected to the 14 pin of the optocoupler 13U1, and the triode The emitter of 13Q01 is connected to the output terminal +5V, the collector of triode 13Q01 is the signal output terminal CFHn of the beacon relay slave module circuit, and the first beacon relay slave module circuit The signal output terminal CFHn of the circuit is connected to the signal input terminal of the beacon relay slave module circuit of the second slave terminal; 所述数据交互智能主机终端中IO扩展总线通信电路的芯片2U7的18脚至11脚分别接到数据总线的第一数据总线DWKZ0至第八数据总线DWKZ7上;所述数据交互智能主机终端中IO扩展总线通信电路的2U6的8脚和11脚分别接到数据总线的第九数据总线WKWRZ和第十数据总线WKOEZ上。Pins 18 to 11 of the chip 2U7 of the IO expansion bus communication circuit in the data interaction intelligent host terminal are respectively connected to the first data bus DWKZ0 to the eighth data bus DWKZ7 of the data bus; the IO in the data interaction intelligent host terminal Pin 8 and pin 11 of 2U6 of the expansion bus communication circuit are respectively connected to the ninth data bus WKWRZ and the tenth data bus WKOEZ of the data bus. 8.根据权利要求7所述的一种拼装式数据交互智能终端系统,其特征在于:所述从机隔离卡包括从机AI隔离卡电路和从机AO隔离卡电路,所述从机AI隔离卡电路与AI隔离卡电路结构相同,所述从机AO隔离卡电路与AO隔离卡电路结构相同;所述从机AI隔离卡电路与待测量的模拟信号端口相连接,从机AI隔离卡电路的输出单接从机核心控制单元的相应输入端,从机核心控制单元的输出端接所述从机AO隔离卡电路的相应输入端,从机AO隔离卡电路的输出端接模拟控制信号端口;所述从机电源管理单元的相应输出端分别接从机AI隔离卡电路、从机AO隔离卡电路的电源输入端。8. An assembled data interactive intelligent terminal system according to claim 7, characterized in that: the slave isolation card includes a slave AI isolation card circuit and a slave AO isolation card circuit, and the slave AI isolation The card circuit has the same structure as the AI isolation card circuit, and the slave AO isolation card circuit has the same structure as the AO isolation card circuit; the slave AI isolation card circuit is connected to the analog signal port to be measured, and the slave AI isolation card circuit The output of the slave machine is connected to the corresponding input terminal of the core control unit of the slave machine, the output terminal of the slave machine core control unit is connected to the corresponding input terminal of the AO isolation card circuit of the slave machine, and the output terminal of the AO isolation card circuit of the slave machine is connected to the analog control signal port ; The corresponding output terminals of the slave power management unit are respectively connected to the power input terminals of the slave AI isolation card circuit and the slave AO isolation card circuit. 9.根据权利要求7所述的一种拼装式数据交互智能终端系统,其特征在于:所述从机隔离卡包括从机DIDO隔离卡电路,所述从机DIDO隔离卡电路与DIDO隔离卡电路结构相同;从机DIDO隔离卡电路与从机核心控制单元双向连接;所述从机DIDO隔离卡电路与开关信号端口双向连接;所述从机电源管理单元的相应输出端接所述从机DIDO隔离卡电路的电源输入端。9. An assembled data interactive intelligent terminal system according to claim 7, characterized in that: the slave isolation card includes a slave DIDO isolation card circuit, and the slave DIDO isolation card circuit and the DIDO isolation card circuit The structure is the same; the slave DIDO isolation card circuit is bidirectionally connected to the slave core control unit; the slave DIDO isolation card circuit is bidirectionally connected to the switch signal port; the corresponding output terminal of the slave power management unit is connected to the slave DIDO Isolate the power input terminal of the circuit of the card. 10.利用权利要求7所述的拼装式数据交互智能终端系统进行通信的方法,其特征在于利用烽火接力主模块与烽火接力从模块进行的通信,具体步骤如下:10. The method for communicating using the assembled data interactive intelligent terminal system according to claim 7, characterized in that the communication between the beacon relay master module and the beacon relay slave module is carried out, and the specific steps are as follows: (1)将核心处理单元初始化,使烽火接力主模块的选择信号输入端FH的引脚为低电平,烽火接力主模块的时钟信号输入端CLK的引脚为高电平;(1) Initialize the core processing unit so that the pin of the selection signal input terminal FH of the beacon relay main module is at a low level, and the pin of the clock signal input terminal CLK of the beacon relay main module is at a high level; (2)嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送选择信号,即发送高电平;(2) The embedded chip 1U1 sends a selection signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, sends a high level; (3)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,即高电平—低电平—高电平;(3) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay main module, that is, high level-low level-high level; (4) 嵌入式芯片1U1向烽火接力主模块的选择信号输入端FH的引脚发送清除信号,即低电平,并将从机地址i清零;(4) The embedded chip 1U1 sends a clear signal to the pin of the selection signal input terminal FH of the beacon relay main module, that is, low level, and clears the slave address i; (5)嵌入式芯片1U1向烽火接力主模块的时钟信号输入端CLK的引脚发送一个周期的时钟信号,并将从机地址i自增1;(5) The embedded chip 1U1 sends a clock signal of one cycle to the pin of the clock signal input terminal CLK of the beacon relay master module, and increments the slave address i by 1; (6)嵌入式芯片1U1检测从机地址i是否大于从机极限数量m,如果是,则执行第(7)步,否则执行第(8)步;(6) The embedded chip 1U1 detects whether the slave address i is greater than the limit number m of the slave, if yes, then executes step (7), otherwise executes step (8); (7)当烽火接力从模块出现异常时,输出异常通知;(7) When the beacon relay slave module is abnormal, output an abnormal notification; (8)嵌入式芯片1U1判断是否接收到终止信号,烽火接力主模块的反馈信号输出端FHFK的引脚发送选择信号为低电平,如果未收到,则执行第(9)步,否则执行第(10)步;(8) The embedded chip 1U1 judges whether the termination signal is received, and the pin of the feedback signal output terminal FHFK of the beacon relay main module sends the selection signal to a low level. If not received, execute step (9), otherwise execute step (10); (9)嵌入式芯片1U1输出读写数据通知,然后跳转到第(5)步;(9) The embedded chip 1U1 outputs the read and write data notification, and then jumps to step (5); (10)嵌入式芯片1U1判断从机地址i是否超过了烽火接力主模块检测到的数据交互智能从机终端的数量n,如果是,跳转到第(2)步,否则执行第(11)步;(10) The embedded chip 1U1 judges whether the slave address i exceeds the number n of data interaction intelligent slave terminals detected by the beacon relay master module, if yes, jump to step (2), otherwise execute step (11) step; (11)嵌入式芯片1U1输出从机终端上下线通知;(11) Embedded chip 1U1 outputs the notification that the slave terminal goes online and offline; (12)重新设置数据交互智能从机终端数量n为i-1,跳转到第(2)步;(12) Reset the number n of data interaction intelligent slave terminals to i-1, and jump to step (2); 上述步骤中,i为从机地址;n为从机终端数量;m为从机终端极限数量;其中,i的取值范围是1~100,n的取值范围是1~100, m的取值范围是1~100。In the above steps, i is the slave address; n is the number of slave terminals; m is the limit number of slave terminals; wherein, the value range of i is 1~100, the value range of n is 1~100, and the value of m is The value range is 1~100.
CN201810505809.8A 2018-05-19 2018-05-19 A data interactive intelligent terminal system and communication method Active CN108445818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810505809.8A CN108445818B (en) 2018-05-19 2018-05-19 A data interactive intelligent terminal system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810505809.8A CN108445818B (en) 2018-05-19 2018-05-19 A data interactive intelligent terminal system and communication method

Publications (2)

Publication Number Publication Date
CN108445818A true CN108445818A (en) 2018-08-24
CN108445818B CN108445818B (en) 2023-12-12

Family

ID=63205399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810505809.8A Active CN108445818B (en) 2018-05-19 2018-05-19 A data interactive intelligent terminal system and communication method

Country Status (1)

Country Link
CN (1) CN108445818B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448275A (en) * 2021-07-30 2021-09-28 重庆市农业科学院 Embedded control greenhouse control system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5841670A (en) * 1994-03-09 1998-11-24 Texas Instruments Incorporated Emulation devices, systems and methods with distributed control of clock domains
RU56653U1 (en) * 2006-03-15 2006-09-10 Открытое акционерное общество "Концерн "Гранит-Электрон" RADAR STATION
CN1964232A (en) * 2006-09-30 2007-05-16 厦门大学 A serial communication card of optical fiber
CN101847135A (en) * 2009-03-26 2010-09-29 杭州士兰微电子股份有限公司 Series-connected communication system and communication method thereof
CN201910823U (en) * 2010-12-30 2011-07-27 海南义利达高新技术实业有限公司 Networking terminal for Internet of Things
CN103419916A (en) * 2013-08-15 2013-12-04 青岛远创机器人自动化有限公司 Shallow-water miniature-underwater robot system
CN203416252U (en) * 2013-08-16 2014-01-29 福兴达科技实业(深圳)有限公司 Wireless communication terminal with extensible functions and control circuit of wireless communication terminal
CN203673475U (en) * 2013-11-08 2014-06-25 安徽康海时代科技有限公司 Serial port server
CN203838503U (en) * 2014-02-20 2014-09-17 上海英集斯自动化技术有限公司 Real-time image processing card based on embedded microprocessor
CN104794091A (en) * 2014-01-22 2015-07-22 北京浩正泰吉科技有限公司 Communication card based on CPCI interface
CN204613681U (en) * 2015-05-28 2015-09-02 深圳市欣视景科技有限公司 A kind of industrial equipment state data access controller
CN205901445U (en) * 2016-08-11 2017-01-18 深圳市惠立智能电力科技有限公司 Centralized many platform system suitable for distribution network automation terminal
CN206411479U (en) * 2016-10-31 2017-08-15 杭州优稳自动化系统有限公司 A kind of intelligent controller for integrating control function and I/O functions
CN107465608A (en) * 2017-08-17 2017-12-12 浙江比弦物联科技有限公司 Internet of Things Multifunctional gateway based on NB IoT

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5841670A (en) * 1994-03-09 1998-11-24 Texas Instruments Incorporated Emulation devices, systems and methods with distributed control of clock domains
RU56653U1 (en) * 2006-03-15 2006-09-10 Открытое акционерное общество "Концерн "Гранит-Электрон" RADAR STATION
CN1964232A (en) * 2006-09-30 2007-05-16 厦门大学 A serial communication card of optical fiber
CN101847135A (en) * 2009-03-26 2010-09-29 杭州士兰微电子股份有限公司 Series-connected communication system and communication method thereof
CN201910823U (en) * 2010-12-30 2011-07-27 海南义利达高新技术实业有限公司 Networking terminal for Internet of Things
CN103419916A (en) * 2013-08-15 2013-12-04 青岛远创机器人自动化有限公司 Shallow-water miniature-underwater robot system
CN203416252U (en) * 2013-08-16 2014-01-29 福兴达科技实业(深圳)有限公司 Wireless communication terminal with extensible functions and control circuit of wireless communication terminal
CN203673475U (en) * 2013-11-08 2014-06-25 安徽康海时代科技有限公司 Serial port server
CN104794091A (en) * 2014-01-22 2015-07-22 北京浩正泰吉科技有限公司 Communication card based on CPCI interface
CN203838503U (en) * 2014-02-20 2014-09-17 上海英集斯自动化技术有限公司 Real-time image processing card based on embedded microprocessor
CN204613681U (en) * 2015-05-28 2015-09-02 深圳市欣视景科技有限公司 A kind of industrial equipment state data access controller
CN205901445U (en) * 2016-08-11 2017-01-18 深圳市惠立智能电力科技有限公司 Centralized many platform system suitable for distribution network automation terminal
CN206411479U (en) * 2016-10-31 2017-08-15 杭州优稳自动化系统有限公司 A kind of intelligent controller for integrating control function and I/O functions
CN107465608A (en) * 2017-08-17 2017-12-12 浙江比弦物联科技有限公司 Internet of Things Multifunctional gateway based on NB IoT

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448275A (en) * 2021-07-30 2021-09-28 重庆市农业科学院 Embedded control greenhouse control system

Also Published As

Publication number Publication date
CN108445818B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
CN101702275A (en) Short-wave digital radio station network simulated training system
CN105487999B (en) The extensive usb expansion device of tandem type and working method, system
CN112882420A (en) Universal IO-Link slave station system
CN201259629Y (en) Configurable I/O module for multiple bus interface
CN105549522B (en) A kind of embedded actual time safety control runtimes of PLC based on SPARC frameworks CPU and its operation method
CN104699055A (en) Field bus controller and method
CN104133692A (en) A multiple configuration system and configuration method for TCAM based on FPGA dynamic reconfiguration technology
CN108445818A (en) A kind of data interaction intelligent terminal system and communication means
CN204406757U (en) A kind of Internet of Things experimental box based on embedded system
CN208141188U (en) A kind of pin-connected panel data interaction intelligent terminal system
CN105426334B (en) Parallel extensive usb expansion device and working method, system
CN208141187U (en) A kind of data interaction smart host terminal
CN202939478U (en) ZigBee network-based user intelligent-identification system
CN202600428U (en) Intelligent control cabinet in communication with high-voltage frequency converter
CN117632663A (en) Server management control method and system based on domestic singlechip
CN201926904U (en) Multi-interface data acquisition unit based on OPC technology
CN201994926U (en) Computer finger-print switch
CN112959317B (en) Industrial robot human-computer interaction system
CN201749323U (en) Program control computer of embedded paper cutter
CN102854826B (en) Four-processor communication and control universal terminal of armed police information system
CN216145127U (en) Transformer substation temperature and humidity control system based on Internet of things
CN210955145U (en) An electronic reading room computer swiping card logout system
CN201145856Y (en) Multi-tower empty post status monitoring device
CN201532752U (en) Nixie tube display device based on Ethernet
CN102855788B (en) A kind of modularization information process experimental system based on panel computer and method

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
TR01 Transfer of patent right

Effective date of registration: 20250625

Address after: 211100 Jiangsu Province, Nanjing City, Jiangning Airport Economic Development Zone, General Da Road 699, Jimma Industrial Park, Building 6, Room 6111 (Jiangning Development Zone)

Patentee after: Nanjing Jie Chuan Technology Co.,Ltd.

Country or region after: China

Address before: 050000 Hebei Province Shijiazhuang City Xingtang County Longzhou Town Zhaoqilifeng Village Fengzhao Street 236 No.

Patentee before: Zhao Ming

Country or region before: China

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A data interaction intelligent terminal system and communication method

Granted publication date: 20231212

Pledgee: China Construction Bank Corporation Nanjing Jiangning sub branch

Pledgor: Nanjing Jie Chuan Technology Co.,Ltd.

Registration number: Y2026980003510