CN201307236Y - Multi-channel serial communication converter and distributed control system employing same - Google Patents
Multi-channel serial communication converter and distributed control system employing same Download PDFInfo
- Publication number
- CN201307236Y CN201307236Y CNU2008201528626U CN200820152862U CN201307236Y CN 201307236 Y CN201307236 Y CN 201307236Y CN U2008201528626 U CNU2008201528626 U CN U2008201528626U CN 200820152862 U CN200820152862 U CN 200820152862U CN 201307236 Y CN201307236 Y CN 201307236Y
- Authority
- CN
- China
- Prior art keywords
- serial communication
- computer
- communication interface
- upper computer
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000004891 communication Methods 0.000 title claims abstract description 231
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 239000000284 extract Substances 0.000 abstract description 2
- 238000012545 processing Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 4
- 238000004064 recycling Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 239000002351 wastewater Substances 0.000 description 4
- 238000005259 measurement Methods 0.000 description 3
- 238000013075 data extraction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000033116 oxidation-reduction process Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
本实用新型涉及一种多路串行通信转换器,从各种带不同的串行通信接口、串行通信协议、串行通信参数设备上传的信息中,提取所需的数据、状态等,经过加工、整理后统一以常用的标准串行通信协议与上位机进行数据传输,为此,该多路串行通信转换器包括:多个与下位机兼容的第一通信接口,一与上位机兼容的第二通信接口,多个从微控制器使用与对应下位机的串行通信协议兼容的第一串行通信协议经第一通信接口与下位机进行数据通信,一主微控制器使用与上位机的标准串行通信协议兼容的第二串行通信协议经第二通信接口与上位机进行数据通信,其中主微控制器经由一内部数据总线与各从微控制器传输数据。
The utility model relates to a multi-channel serial communication converter, which extracts required data, status, etc. from information uploaded by various devices with different serial communication interfaces, serial communication protocols, and serial communication parameters. After processing and sorting, the commonly used standard serial communication protocol is used for data transmission with the upper computer. For this reason, the multi-channel serial communication converter includes: a plurality of first communication interfaces compatible with the lower computer, one compatible with the upper computer The second communication interface, multiple slave microcontrollers use the first serial communication protocol compatible with the serial communication protocol of the corresponding lower computer to carry out data communication with the lower computer through the first communication interface, and one master microcontroller uses the first serial communication protocol compatible with the upper computer The second serial communication protocol compatible with the standard serial communication protocol of the computer performs data communication with the host computer through the second communication interface, wherein the master microcontroller transmits data with each slave microcontroller through an internal data bus.
Description
技术领域 technical field
本实用新型涉及工业自动化控制系统中的数据传输装置,尤其涉及一种多路串行通信转换器及其应用的集散控制系统。The utility model relates to a data transmission device in an industrial automation control system, in particular to a multi-channel serial communication converter and a distributed control system for its application.
背景技术 Background technique
随着计算机技术的发展,在工业自动化领域内基于工业PC机的集散控制系统已获得广泛的运用。参照图1所示,集散控制系统从系统架构来看,基本为二级主从结构,即上位机10采用工业PC机,在PC机的操作系统(如Windows98/2000/XP)环境下运行各种组态软件。下位机30为各种工业测量、控制设备(如仪表、模块、可编程控制器、变频器等),这些设备均配置了各种串行通信接口(如RS232、RS485、RS422),并分别具有各自的串行通信协议。上位机10和下位机30之间以串行通信总线20相连,根据串行通信接口的不同以及串行通信协议的区别,下位机设备30要分成多组分别连接至上位机10的某个串行通信接口上,这样上位机10就可能需要扩展多个串行通信接口。也可能出现这样的情况,即某设备的串行通信协议不在上位机组态软件支持的范围内(非标准的串行通信协议),这样就要利用其串行通信协议得到组态软件支持的其他设备的模拟信号接口来采集上述设备模拟信号接口输出的模拟信号,转换为数字信号后再传输至上位机。这样就可能带来新的问题,如产生转换误差、易受干扰、增加成本(因增加模拟信号输入/输出接口)等。With the development of computer technology, the distributed control system based on industrial PC has been widely used in the field of industrial automation. Referring to Fig. 1, the distributed control system is basically a two-level master-slave structure from the perspective of the system architecture, that is, the upper computer 10 adopts an industrial PC, and runs various programs under the operating system (such as Windows98/2000/XP) of the PC. configuration software. The lower computer 30 is a variety of industrial measurement and control equipment (such as instruments, modules, programmable controllers, frequency converters, etc.), all of which are equipped with various serial communication interfaces (such as RS232, RS485, RS422), and have respective serial communication protocols. The upper computer 10 and the lower computer 30 are connected by a serial communication bus 20. According to the difference of the serial communication interface and the difference of the serial communication protocol, the lower computer equipment 30 should be divided into multiple groups and respectively connected to a certain serial number of the upper computer 10. On the serial communication interface, the host computer 10 may need to expand multiple serial communication interfaces like this. It may also happen that the serial communication protocol of a device is not supported by the configuration software of the upper computer (non-standard serial communication protocol), so it is necessary to use its serial communication protocol to obtain the support of the configuration software. The analog signal interface of other equipment is used to collect the analog signal output by the analog signal interface of the above equipment, convert it into a digital signal and then transmit it to the host computer. This may bring new problems, such as conversion errors, susceptibility to interference, and increased cost (due to the increase of analog signal input/output interfaces) and so on.
以图1为例,设备A、B、C、D、E是指具有不同的串行通信协议的设备,分别以不同的字母来区分。图中设备D1、D2的的串行通信协议不在上位机组态软件支持的范围内,所以就要利用设备E1的模拟信号接口来采集设备D1、D2输出的模拟信号,再转换为数字信号后传输至上位机。此系统的工业PC机一则需要扩充至四个串行接口、四条通信总线,二则组态软件中需配置四种串行通信协议,由此带来配置上的成本增加和结构复杂化。Taking Figure 1 as an example, devices A, B, C, D, and E refer to devices with different serial communication protocols, which are distinguished by different letters. The serial communication protocols of devices D1 and D2 in the figure are not within the range supported by the configuration software of the upper computer, so the analog signal interface of device E1 must be used to collect the analog signals output by devices D1 and D2, and then converted to digital signals transmitted to the host computer. The industrial PC of this system needs to be expanded to four serial interfaces and four communication buses on the one hand, and four serial communication protocols need to be configured in the configuration software, which brings about increased configuration cost and complicated structure.
实用新型内容 Utility model content
本实用新型所要解决的技术问题是提供一种多路串行通信转换器,用以在工业自动化控制系统的上、下位机之间充当一个数据缓冲转换装置,从各种带不同的串行通信接口、串行通信协议、串行通信参数设备上传的信息中,提取所需的数据、状态等,经过加工、整理后统一以常用的标准串行通信协议与上位机进行数据传输。The technical problem to be solved by the utility model is to provide a multi-channel serial communication converter, which is used as a data buffer conversion device between the upper and lower computers of the industrial automation control system, from various serial communication From the information uploaded by the interface, serial communication protocol, and serial communication parameter equipment, the required data, status, etc. are extracted, and after processing and sorting, the commonly used standard serial communication protocol is used for data transmission with the host computer.
本实用新型为解决上述技术问题而采用的技术方案是提出一种多路串行通信转换器,用以在集散控制系统的上位机与多个下位机之间进行协议转换,其中每一下位机具有串行通信接口及至少一串行通信协议,上位机具有串行通信接口,上位机上运行的组态软件具有至少一串行通信协议,该多路串行通信转换器包括:The technical solution adopted by the utility model to solve the above-mentioned technical problems is to propose a multi-channel serial communication converter, which is used for protocol conversion between the upper computer and multiple lower computers of the distributed control system, wherein each lower computer Have a serial communication interface and at least one serial communication protocol, the upper computer has a serial communication interface, the configuration software running on the upper computer has at least one serial communication protocol, and the multi-channel serial communication converter includes:
多个第一通信接口,一一对应地连接多个下位机,其中各第一通信接口和与之连接的下位机的串行通信接口兼容;A plurality of first communication interfaces are connected to a plurality of lower computers in one-to-one correspondence, wherein each first communication interface is compatible with the serial communication interface of the lower computer connected thereto;
第二通信接口,连接所述上位机,所述第二通信接口与上位机的串行通信接口兼容;The second communication interface is connected to the upper computer, and the second communication interface is compatible with the serial communication interface of the upper computer;
多个从微控制器,一一对应地连接各第一通信接口,其中各从微控制器使用与对应下位机的串行通信协议兼容的第一串行通信协议与下位机进行数据通信;以及A plurality of slave microcontrollers are connected to each first communication interface in one-to-one correspondence, wherein each slave microcontroller uses a first serial communication protocol compatible with the serial communication protocol of the corresponding lower computer to perform data communication with the lower computer; and
主微控制器,连接所述第二通信接口,并使用与上位机组态软件中的串行通信协议兼容的第二串行通信协议与上位机进行数据通信,其中所述主微控制器经由一内部数据总线与各从微控制器传输数据。The main microcontroller is connected to the second communication interface, and uses the second serial communication protocol compatible with the serial communication protocol in the upper computer configuration software to perform data communication with the upper computer, wherein the main microcontroller is via An internal data bus transfers data with each slave microcontroller.
上述的多路串行通信转换器中,各从微控制器的第一串行通信协议是根据对应的下位机的串行通信协议而编制。In the above multi-channel serial communication converter, the first serial communication protocol of each slave microcontroller is compiled according to the serial communication protocol of the corresponding lower computer.
上述的多路串行通信转换器中,主微控制器经由一内部控制总线控制与各从微控制器之间的数据传输方向。In the above multi-channel serial communication converter, the master microcontroller controls the direction of data transmission with each slave microcontroller via an internal control bus.
上述的多路串行通信转换器中,内部数据总线为并行总线。In the above multi-channel serial communication converter, the internal data bus is a parallel bus.
上述的多路串行通信转换器中,各从微控制器具有不同的的地址编号,所述主微控制器按照地址编号与各从微控制器传输数据并保存所述数据。In the above multi-channel serial communication converter, each slave microcontroller has a different address number, and the master microcontroller transmits data with each slave microcontroller according to the address number and stores the data.
上述的多路串行通信转换器中,多个第一通信接口可分别为RS232、RS485、RS422串行通信接口之一,而第二通信接口可为RS232、RS485、RS422串行通信接口之一。In the above-mentioned multi-channel serial communication converter, a plurality of first communication interfaces can be one of RS232, RS485, RS422 serial communication interfaces respectively, and the second communication interface can be one of RS232, RS485, RS422 serial communication interfaces .
另一方面,本实用新型提出一种集散控制系统,包括一上位机、多个下位机及至少一多路串行通信转换器,至少一多路串行通信转换器连接在所述上位机和多个下位机之间,用以进行协议转换,其中每一下位机具有串行通信接口及至少一串行通信协议,该上位机具有串行通信接口,上位机上运行的组态软件具有至少一串行通信协议,每一多路串行通信转换器包括:On the other hand, the utility model proposes a distributed control system, including a host computer, a plurality of lower computers and at least one multi-channel serial communication converter, at least one multi-channel serial communication converter is connected between the upper computer and the Between multiple lower computers, it is used for protocol conversion, wherein each lower computer has a serial communication interface and at least one serial communication protocol, the upper computer has a serial communication interface, and the configuration software running on the upper computer has at least one Serial communication protocol, each multi-channel serial communication converter includes:
多个第一通信接口,一一对应地连接多个下位机,其中各第一通信接口和与之连接的下位机的串行通信接口兼容;A plurality of first communication interfaces are connected to a plurality of lower computers in one-to-one correspondence, wherein each first communication interface is compatible with the serial communication interface of the lower computer connected thereto;
第二通信接口,连接所述上位机,所述第二通信接口与上位机的串行通信接口兼容;The second communication interface is connected to the upper computer, and the second communication interface is compatible with the serial communication interface of the upper computer;
多个从微控制器,一一对应地连接各第一通信接口,其中各从微控制器使用与对应下位机的串行通信协议兼容的第一串行通信协议与下位机进行数据通信;以及A plurality of slave microcontrollers are connected to each first communication interface in one-to-one correspondence, wherein each slave microcontroller uses a first serial communication protocol compatible with the serial communication protocol of the corresponding lower computer to perform data communication with the lower computer; and
主微控制器,连接所述第二通信接口,并使用与上位机组态软件中的串行通信协议兼容的第二串行通信协议与上位机进行数据通信,其中所述主微控制器经由一内部数据总线与各从微控制器传输数据。The main microcontroller is connected to the second communication interface, and uses the second serial communication protocol compatible with the serial communication protocol in the upper computer configuration software to perform data communication with the upper computer, wherein the main microcontroller is via An internal data bus transfers data with each slave microcontroller.
本实用新型由于采用了多路串行通信转换器,可以将各下位机经由不同通信接口和通信协议传输来的数据、状态等,经过加工、整理后统一以与上位机组态软件中的的串行通信协议兼容的第二串行通信协议传输给上位机。这样就可大大简化系统的硬件架构和软件配置,也可将具有非标准串行通信协议的设备集成至系统中去。Because the utility model adopts a multi-channel serial communication converter, the data and states transmitted by each lower computer through different communication interfaces and communication protocols can be processed and sorted to be unified with the configuration software of the upper computer. The second serial communication protocol compatible with the serial communication protocol is transmitted to the host computer. In this way, the hardware architecture and software configuration of the system can be greatly simplified, and devices with non-standard serial communication protocols can also be integrated into the system.
附图说明 Description of drawings
为让本实用新型的上述目的、特征和优点能更明显易懂,以下结合附图对本实用新型的具体实施方式作详细说明,其中:In order to make the above-mentioned purposes, features and advantages of the utility model more obvious and easy to understand, the specific implementation of the utility model will be described in detail below in conjunction with the accompanying drawings, wherein:
图1是现有的一种集散控制系统架构示意图。Fig. 1 is a schematic diagram of an existing distributed control system architecture.
图2是根据本实用新型的一种采用多路串行通信转换器的集散控制系统架构示意图。Fig. 2 is a schematic diagram of the structure of a distributed control system using a multi-channel serial communication converter according to the present invention.
图3是根据本实用新型一实施例的多路串行通信转换器架构图。FIG. 3 is a structural diagram of a multi-channel serial communication converter according to an embodiment of the present invention.
图4A是多路串行通信转换器的主微控制器程序流程图。Figure 4A is a flow chart of the main microcontroller program of the multi-channel serial communication converter.
图4B是多路串行通信转换器的从微控制器程序流程图。Fig. 4B is a flowchart of the slave microcontroller program of the multi-channel serial communication converter.
图5是根据本实用新型的一种采用多路串行通信转换器的无机废水资源化移动专家系统示意图。Fig. 5 is a schematic diagram of a mobile expert system for recycling inorganic wastewater using a multi-channel serial communication converter according to the utility model.
具体实施方式 Detailed ways
本实用新型为解决工业自动化控制系统需配置多个串行通信接口和多种串行通信协议的问题而提出一种多路串行通信转换器,用以在工业自动化控制系统的上、下位机之间充当一个数据缓冲转换装置,串行通信转换器所进行的转换可包括串行通信接口转换和/或串行通信协议转换。The utility model proposes a multi-channel serial communication converter in order to solve the problem that the industrial automation control system needs to be equipped with multiple serial communication interfaces and multiple serial communication protocols, which is used in the upper and lower computers of the industrial automation control system Acting as a data buffer conversion device, the conversion performed by the serial communication converter may include serial communication interface conversion and/or serial communication protocol conversion.
图2示出根据本实用新型的一种采用多路串行通信转换器的集散控制系统架构示意图。图3示出根据本实用新型一实施例的多路串行通信转换器架构图。参照图2、图3所示,一种集散控制系统100包括一个上位机110、多个下位机130及多个多路串行通信转换器120。上位机110例如采用工业PC机,在PC机的操作系统(如Windows 98/2000/XP)环境下运行各种组态软件。下位机130可为各种工业测量、控制设备,包括但不限于仪表、模块、可编程控制器、变频器等。这些设备均配置了各种串行通信接口,如RS232、RS485、RS422,并分别具有各自的串行通信协议。Fig. 2 shows a schematic diagram of the structure of a distributed control system using a multi-channel serial communication converter according to the present invention. Fig. 3 shows a structure diagram of a multi-channel serial communication converter according to an embodiment of the present invention. Referring to FIG. 2 and FIG. 3 , a
上位机110配置一个或多个串行通信接口,上位机上运行的组态软件具有一种或多种串行通信协议。在图2所示实施例中,上位机110可以只配置一个串行通信接口,其运行的组态软件只具有一种串行通信协议,在此称之为标准串行通信协议,其可以是常用的Modbus RTU协议。The
多个多路串行通信转换器120连接在上位机110和多个下位机130之间,每一转换器120可连接多个下位机。转换器可以进行下位机与上位机通信所需的接口转换,例如将RS232接口转换为上位机所支持的RS485接口。更重要的是,转换器还可以进行下位机与上位机通信所需的协议转换,例如将其他串行通信协议(一般为上位机组态软件不支持的串行通信协议)传输的数据格式转换为上位机组态软件支持的Modbus协议的数据格式。根据需要,多路串行通信转换器120可以只进行接口的转换,或者只进行协议的转换。A plurality of multi-channel
如图2所示,编号为A、B、C、D、E的四种设备分别具有不同的串行通信协议。其中,设备A例如具有与上位机组态软件所具有的串行通信协议互相兼容的串行通信协议,也就是说,组态软件支持设备A的串行通讯协议。集散控制系统100采用三个多路串行通信转换器120,编号为B、C、D的三组下位机设备分别经由三个多路串行通信转换器120进行接口和/或协议转换后,使用与组态软件所具有的串行通信协议兼容的串行通信协议与上位机110通信。由于同一串行通信协议的多个设备可以共用一个串行接口(只是具有不同的地址),因此如图2所示,本实用新型的集散控制系统的工业PC机只需要一个串行接口,组态软件中只需配置一种标准串行通信协议。As shown in Figure 2, the four devices numbered A, B, C, D, and E have different serial communication protocols. Wherein, the device A has, for example, a serial communication protocol compatible with the serial communication protocol of the host computer configuration software, that is, the configuration software supports the serial communication protocol of the device A. The
参照图3所示,多路串行通信转换器120采用N路输入/一路输出结构,即N路串行信息输入至转换器120,一路串行信息输出至上位机110。输入的N路串行信息可采用不同的串行通信协议,输出的一路串行信息一般采用常用的标准串行通信协议。Referring to FIG. 3 , the multi-channel
具体地说,每一多路串行通信转换器包括多个(如N个,N为>1的正整数)第一通信接口121、多个从微控制器122、总线驱动器123,以及一个主微控制器124、第二通信接口125;一个内部数据总线126以及内部控制总线127。第一通信接口121一一对应地连接多个下位机130(参照图2),其中各第一通信接口121和与之连接的下位机130的通信接口互相兼容。其中,第一通信接口121可以选择采用不同的串行通信接口,例如RS232、RS485、RS422。各第一通信接口121的参数(如字长、波特率、停止位、校验位等)设置可不完全相同。Specifically, each multi-channel serial communication converter includes multiple (such as N, N is a positive integer>1) first communication interfaces 121,
多路串行通信转换器120采用“一个主微控制器+N个从微控制器”的架构。其中N个从微控制器122一一对应地连接各第一通信接口121,各从微控制器122内配置与下位机130的串行通信协议兼容的第一串行通信协议,以经由各第一通信接口121与下位机130进行数据通信。在一个实例中,由于下位机130的串行通信协议的多样性,可在从微控制器122内预留用于串行通信协议编程的程序存储空间,然后,根据所要连接的下位机130选择或编制一种兼容的串行通信协议。The multi-channel
主、从微控制器124、122之间通过总线驱动器123以内部数据总线126相连,主微控制器124经由内部数据总线126与各从微控制器122传输数据。另外,主微控制器124通过内部控制总线127控制上述传输数据的流向。The master and
第二通信接口125连接于主微控制器124与上位机110的串行通信接口之间,第二通信接口125与上位机110的串行通信接口兼容。举例来说,第二通信接口125与上位机110都选用RS485接口。当然,第二通信接口125与上位机110还可选用诸如RS232、RS422等其他接口。The
另外,主微控制器124还具有与上位机组态软件所具有的标准串行通信协议兼容的第二串行通信协议,以便通过第二通信接口125与上位机进行数据通信。举例来说,第二串行通信协议选用Modbus协议。In addition, the
多路串行通信转换器120的主微控制器124负责与各从微控制器122间数据传输的控制,以及所有数据的整理、上传的过程。各从微控制器122负责输入串行数据信息(由各设备输出)的接收、数据提取的过程。下面描述它们的工作过程。The
主、从微控制器间的数据传输按事先约定的方式进行。在一个实施例中,主微控制器的程序流程如图4A所示,启动后,检测上位机是否需要获取数据(步骤201),若上位机不需获取数据,则等待采样周期是否到来(步骤202),采样周期到来后,按照当前的从微控制器地址编号和协议传输数据(步骤203),直到传输结束(步骤204),然后更新从微控制器地址编号并整理和保存数据(步骤205)。另一方面,若上位机需获取数据,则提取数据并按标准串行通信协议与上位机间传输数据(步骤206),直到传输结束(步骤207)。The data transmission between the master and slave microcontrollers is carried out in a pre-agreed manner. In one embodiment, the program flow of the main microcontroller is as shown in Figure 4A. After starting, detect whether the upper computer needs to obtain data (step 201), if the upper computer does not need to obtain data, then wait for whether the sampling period arrives (step 201) 202), after the sampling period arrives, according to the current slave microcontroller address numbering and protocol transmission data (step 203), until the end of transmission (step 204), then update the slave microcontroller address numbering and organize and save the data (step 205 ). On the other hand, if the host computer needs to obtain data, it extracts the data and transmits the data with the host computer according to the standard serial communication protocol (step 206), until the transmission ends (step 207).
相应地,从微控制器的程序流程参见图4B所示,启动后,检测主微控制器是否需要获取数据(步骤301),若主微控制不需获取数据,则等待采样周期是否到来(步骤302),采样周期到来后,按照设备的通信协议传输数据(步骤303),直到传输结束(步骤304),然后整理和保存数据(步骤305)。另一方面,若主微控制需获取数据,则将当前数据按顺序传输(步骤306),直到传输结束(步骤307)。Correspondingly, refer to shown in Figure 4B from the program flow of microcontroller, after starting, detect whether master microcontroller needs to obtain data (step 301), if master microcontroller does not need to obtain data, then wait for whether the sampling period arrives (step 301) 302), after the sampling period arrives, transmit data according to the communication protocol of the device (step 303), until the end of the transmission (step 304), and then organize and save the data (step 305). On the other hand, if the main micro-controller needs to acquire data, it transmits the current data sequentially (step 306) until the transmission ends (step 307).
图5示出一种采用多路串行通信转换器的无机废水资源化移动专家系统示意图。在“无机废水资源化移动专家系统”集散控制系统400中,使用了与如图2所示集散控制系统基本相同的架构,因此在此不再详细展开。仅就本实施例的不同之处加以描述。在本实施例中,上位机410使用的是昆仑通泰的MCGS组态软件。三个可编程控制器(PLC)为RS485串行接口,使用Modbus RTU串行通信协议;所有的作为下位机430的PH(酸碱度)、ORP(氧化还原电位)、EC(电导率)仪表均为RS232串行接口,但MCGS组态软件均不支持其串行通信协议。通过三个多路串行通信转换器420,可以采集到所有仪表的测量数据,并将其按约定的顺序进行编排,以Modbus RTU串行通信协议通过RS485串行接口上传至上位机410。以上这些使用Modbus RTU串行通信协议以及RS485串行接口的设备(三个PLC、三个转换器),占用了上位机的一个串行接口。另外,二个调节控制器占用了上位机另一个串行接口,使用的是MCGS组态软件支持的AI仪表串行通信协议。Fig. 5 shows a schematic diagram of a mobile expert system for recycling inorganic wastewater using a multi-channel serial communication converter. In the distributed
在本例的多路串行通信转换器120结构中,主微控制器采用了AT89C52单片机;各从微控制器采用了AT89C2051单片机;串行接口为MAX232及MAX485;总线驱动器为74HC245。In the multi-channel
因此在上述“无机废水资源化移动专家系统”应用实例中,通过使用三个多路串行通信转换器,进行多通道智能仪表的串行信息的采集、转换,完成了PH、ORP、EC数据的传输。而上位机只需使用少量的串行接口和串行通信协议,并能与不兼容的设备进行通信。Therefore, in the above-mentioned application example of "Mobile Expert System for Recycling Inorganic Wastewater", three multi-channel serial communication converters are used to collect and convert serial information of multi-channel smart meters, and the PH, ORP, and EC data are completed. transmission. The upper computer only needs to use a small amount of serial interfaces and serial communication protocols, and can communicate with incompatible devices.
虽然本实用新型已以较佳实施例揭示如上,然其并非用以限定本实用新型,任何本领域技术人员,在不脱离本实用新型的精神和范围内,当可作些许的修改和完善,因此本实用新型的保护范围当以权利要求书所界定的为准。Although the present utility model has been disclosed above with preferred embodiments, it is not intended to limit the present utility model. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present utility model. Therefore, the protection scope of the present utility model should be defined by the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201528626U CN201307236Y (en) | 2008-09-09 | 2008-09-09 | Multi-channel serial communication converter and distributed control system employing same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201528626U CN201307236Y (en) | 2008-09-09 | 2008-09-09 | Multi-channel serial communication converter and distributed control system employing same |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201307236Y true CN201307236Y (en) | 2009-09-09 |
Family
ID=41099704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2008201528626U Expired - Lifetime CN201307236Y (en) | 2008-09-09 | 2008-09-09 | Multi-channel serial communication converter and distributed control system employing same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201307236Y (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053580A (en) * | 2009-11-10 | 2011-05-11 | 江苏云联科技有限公司 | Method for controlling electronic device and design construction system |
CN102253666A (en) * | 2011-01-10 | 2011-11-23 | 哈尔滨工程大学 | Adjustable pitch propeller CAN (Controller Area Network) bus pitch adjustment controller |
CN102354175A (en) * | 2011-08-01 | 2012-02-15 | 李遇浦 | Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor |
CN104597817A (en) * | 2015-01-12 | 2015-05-06 | 北京慧物科联科技有限公司 | Parallel acquisition system of multi-channel digital sensor |
CN110166481A (en) * | 2019-06-03 | 2019-08-23 | 易事特智能化系统集成有限公司 | A kind of power equipment protocol conversion system and method |
CN112460747A (en) * | 2020-11-19 | 2021-03-09 | 珠海格力电器股份有限公司 | Communication control method and device of split air conditioner, storage medium and lower computer |
CN114172578A (en) * | 2021-12-08 | 2022-03-11 | 武汉兴思为光电科技有限公司 | DWDM optical module and optical fiber communication system |
-
2008
- 2008-09-09 CN CNU2008201528626U patent/CN201307236Y/en not_active Expired - Lifetime
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053580A (en) * | 2009-11-10 | 2011-05-11 | 江苏云联科技有限公司 | Method for controlling electronic device and design construction system |
CN102053580B (en) * | 2009-11-10 | 2015-08-26 | 数伦计算机技术(上海)有限公司 | Control method and the design construction system of electronic equipment |
CN102253666A (en) * | 2011-01-10 | 2011-11-23 | 哈尔滨工程大学 | Adjustable pitch propeller CAN (Controller Area Network) bus pitch adjustment controller |
CN102354175A (en) * | 2011-08-01 | 2012-02-15 | 李遇浦 | Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor |
CN102354175B (en) * | 2011-08-01 | 2014-10-15 | 李遇浦 | Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor |
CN104597817A (en) * | 2015-01-12 | 2015-05-06 | 北京慧物科联科技有限公司 | Parallel acquisition system of multi-channel digital sensor |
CN110166481A (en) * | 2019-06-03 | 2019-08-23 | 易事特智能化系统集成有限公司 | A kind of power equipment protocol conversion system and method |
CN112460747A (en) * | 2020-11-19 | 2021-03-09 | 珠海格力电器股份有限公司 | Communication control method and device of split air conditioner, storage medium and lower computer |
CN112460747B (en) * | 2020-11-19 | 2021-11-23 | 珠海格力电器股份有限公司 | Communication control method and device of split air conditioner, storage medium and lower computer |
CN114172578A (en) * | 2021-12-08 | 2022-03-11 | 武汉兴思为光电科技有限公司 | DWDM optical module and optical fiber communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101673107B (en) | Multi-path serial communication converter and distributed control system applied by same | |
CN201307236Y (en) | Multi-channel serial communication converter and distributed control system employing same | |
CN201583945U (en) | Serial communication system for multiple singlechips based on FPGA | |
CN104597817A (en) | Parallel acquisition system of multi-channel digital sensor | |
CN103945017A (en) | Automatic mapping technique method and converting device based on Modbus-ZigBee protocol link addresses | |
CN102665292B (en) | Sensor node device for wireless sensor network and operation method of sensor node device | |
CN201716587U (en) | Multi-channel current analog quantity conversion/distribution module | |
CN103293460B (en) | ZigBee technology based outdoor solar cell monitoring system | |
CN202205069U (en) | Analog quantity collecting module for programmable logical controller (PLC) controller | |
CN201312329Y (en) | LON-CAN gateway device taking AT89C51 as processing unit | |
CN203596016U (en) | Universal port for communication of sensor and micro controller | |
CN206575428U (en) | A kind of CANopen networks concentrated collection device | |
CN102231751A (en) | Wire train bus (WTB) data recorder and working method thereof | |
CN109901506B (en) | Configurable PLC based on PCIe bus | |
CN201340541Y (en) | FPGA-based industrial mixed signal output control equipment | |
CN201319135Y (en) | System architecture based on FPGA for industrial composite signal acquiring equipment | |
CN201876874U (en) | Chip module of communication interface | |
CN201471700U (en) | Injection molding machine PROFIBUS-DP network slave station interface circuit | |
CN202077059U (en) | Bus bridge capable of changing PROFIBUS protocol to MODBUS protocol | |
CN105739384A (en) | Distributed data acquisition device based on microprocessor | |
CN201229673Y (en) | Electric experiment process monitoring terminal apparatus based on network technology | |
CN201892870U (en) | CAN (Controller Area Network)-bus analog-quantity acquisition node | |
CN201467170U (en) | A communication protocol converter for converting HART protocol into Profibus protocol | |
CN104155891A (en) | I2C-based networked transmitter and its communication implementation method | |
CN207503220U (en) | A kind of circuit for extending microcontroller serial port and Modbus buses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20090909 Effective date of abandoning: 20080909 |
|
RGAV | Abandon patent right to avoid regrant |