CN1168021C - Internal module connecting bus for site controlling computer and its realization method - Google Patents

Internal module connecting bus for site controlling computer and its realization method Download PDF

Info

Publication number
CN1168021C
CN1168021C CNB011344636A CN01134463A CN1168021C CN 1168021 C CN1168021 C CN 1168021C CN B011344636 A CNB011344636 A CN B011344636A CN 01134463 A CN01134463 A CN 01134463A CN 1168021 C CN1168021 C CN 1168021C
Authority
CN
China
Prior art keywords
bus
module
circuit
hub
controlling computer
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
Application number
CNB011344636A
Other languages
Chinese (zh)
Other versions
CN1417695A (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.)
Tongfang Technovator International Technology (Beijing) Co., Ltd.
Original Assignee
Qinghua Tongfang Co Ltd
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 Qinghua Tongfang Co Ltd filed Critical Qinghua Tongfang Co Ltd
Priority to CNB011344636A priority Critical patent/CN1168021C/en
Publication of CN1417695A publication Critical patent/CN1417695A/en
Application granted granted Critical
Publication of CN1168021C publication Critical patent/CN1168021C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The present invention discloses an internal module connection bus of a site control machine and a realization method, which belongs to the site bus technology in an automatization system. The internal module connection bus of a site control machine comprises a full duplex bus and a concentrator, wherein the full duplex bus is connected with the concentrator so as to be used as an input / output opening of the concentrator; a plurality of input ends of a Boolean calculation circuit are respectively connected with the input of the concentrator, and the output end of the Boolean calculation circuit is connected with each output of the concentrator by the bus. The present invention has the realization method that external modules carry out data interchange of a half-duplex mode by the full duplex bus and the concentrator; the concentrator enables input data of each module to couple to the bus by Boolean calculation, and the input data is sent to each module by the bus. The present invention solves the defects of poor reliability of bus type connection, double overheads of hardware because of redundance design, complex software, etc. in the prior art. The present invention is mainly applied to the connection and the communication of site control modules in the automatization system.

Description

Equipment and implementation method with the communication of site controlling computer internal module
Technical field
The present invention relates to the connection and the communication of the These field control modules in a kind of automated system, particularly with the equipment and the implementation method of site controlling computer internal module communication.
Background technology
Fieldbus is used in the bidirectional linked list multinode digital communication between the production scene realization computerized measurement equipment, and it is widely used in the automated system of industries such as manufacturing industry, process industry and traffic.At present, fieldbus adopts the universal serial bus topological structure to realize physical connection usually, and promptly all control modules, measuring unit all are connected on this universal serial bus with bus type.Though this connected mode has simple advantage, break down and will cause system to be paralysed comprehensively in the bus somewhere, so its functional reliability is poor.Particularly in requiring the automated system of high reliability, will there be great risk in this kind connected mode.In order to improve the reliability of fieldbus, generally consider the Redundancy Design method, promptly adopt dual-bus structure.But this standby universal serial bus scheme can be brought the dual expense of communication hardware interface and communication line, and more outstanding is that the communication program expense is excessive, makes bitcom become complicated.
Summary of the invention
At the shortcoming that prior art exists, one of purpose of the present invention provides a kind of simple in structure, that cost is low and reliability is high and the equipment communication of site controlling computer internal module; Another object of the present invention provides the implementation method of the equipment of described and the communication of site controlling computer internal module.
Of the present invention and the equipment communication of site controlling computer internal module comprises full duplex bus, its design feature is, also comprise hub and have with the door function logical operation circuit, described full duplex bus one end is connected the I/O port as hub with described hub, a plurality of input ends of described logical operation circuit are connected with the input of hub respectively, and the output terminal of described logical operation circuit is connected respectively to each output terminal of hub by a bus.
According to technique scheme, be connected with the bus protection circuit between described logical operation circuit and the hub input end; Described bus protection circuit prevents that module from taking a described bus for a long time because of breaking down.
According to technique scheme, described bus protection circuit is made of monostalbe trigger.
According to technique scheme, described logical operation circuit is one to have the AND gate circuit of many input ends.
According to technique scheme, described logical operation circuit comprises NOT-AND gate integrated circuit and "NOT" circuit of input end more than; The data that the input end receiver module of described NOT-AND gate integrated circuit sends, the input of its output terminal and "NOT" circuit is connected, and the output of described "NOT" circuit connects a described bus.
The implementation method of the equipment of described and the communication of site controlling computer internal module is characterized in:
Inner each module of site controlling computer is carried out the exchanges data of half-duplex mode by full duplex bus and hub;
Hub is coupled to the input data of described each module on the bus by the logical computing, through a described bus data of coupling is sent to described each module again;
Described each module judges according to the data that receive whether a described bus is taken by other module, and communications protocol is according to the rules waited for that bus is released or carried out the operation of bus test then.
According to technique scheme, the input data of described module are carried out the logical computing again after by the bus protection circuit, and described bus protection circuit prevents that module from taking a described bus for a long time because of breaking down.
According to technique scheme, described bus protection circuit is a single-shot trigger circuit; When some modules or several module hinder and long-time the transmission when taking bus signals for some reason, described single-shot trigger circuit can be blocked it, and the data that malfunctioning module is sent are not coupled on the described bus.
The present invention connects the typical bus formula of fieldbus to change by hub becomes Y-connection, the bitcom that is applicable to the unibus system network topology is not being carried out under the situation of any change, its functional reliability is increased substantially, also avoided simultaneously the communication hardware interface that Redundancy Design caused and the dual expense of communication line, and shortcoming such as bitcom complexity.Advantages such as the of the present invention and equipment communication of site controlling computer internal module also has simple in structure, and manufacturing cost and use cost is low and easy to use.The equipment connection mode that adopts the inventive method to realize under the situation that any one module breaks down, can not influence the normal communication of other module, thereby more can guarantee the high reliability of module communication.
Description of drawings
Fig. 1 is circuit theory diagrams of the present invention;
Fig. 2 is another structural circuit schematic diagram of the present invention.
Embodiment
As shown in Figure 1, present embodiment realizes being connected to example with 4 control modules.Modules A~D is the control module in the site controlling computer, and the software and hardware of the corresponding task finished is arranged in each control module.Be made up of hub 1, logical operation circuit 2 and full duplex bus 4 with the equipment of site controlling computer internal module communication, full duplex bus 4 is the RS422 full duplex bus.
Hub 1 is connected with modules A~D by full duplex bus 4.Logical operation circuit 2 is connected in series by NAND circuit IC25 and "NOT" circuit IC26, and wherein four input ends of NAND circuit IC25 are connected with IC15 with four RS422 receiver IC3, IC7, IC11T of hub 1 respectively.The output of "NOT" circuit IC26 is connected to RS422 transmitter IC4, IC8, IC12 and the IC16 of hub 1 by a bus 3.Hub 1 is all finished by the RS422 receiver and the RS422 transmitter of each self-configuring with the exchanges data of modules A~D.
In implementation method of the present invention, communications protocol between the module and bitcom are all same as the prior art.When a certain module need take bus, first frame was listened bus, received data by the RS422 receiver from the RS422 bus.If the data that receive are " 0 ", promptly low level signal represents that then bus is shared by other module, and this module this moment communications protocol according to the rules waits for that bus is released; If the data that receive are " 1 ", i.e. high level signal, then communications protocol is according to the rules carried out bus test to confirm the bus free time.For application of the present invention is not made any change to the bitcom that is applicable to the unibus system network topology in the prior art, hub 1 only carries out exchanges data with half-duplex mode with each link block, and promptly module of a certain moment can only send data and maybe can only receive data.
For example: when modules A need take bus and carries out communication, receive data and data are judged from bus by RS422 receiver IC2 earlier, if digital " 0 " waits for that then bus is released; If numeral is " 1 " then send test patterns.When confirming that bus is after the free time, RS422 transmitter IC1 by modules A sends low level signal to full duplex bus 4, the RS422 receiver IC3 of hub 1 receives this low level signal, then signal is delivered to NAND circuit IC25 and inverter IC26.Signal exports a bus 3 to through inverter IC26, is delivered to RS422 transmitter IC4, IC8, IC12, the IC16 of hub 1 again, sends to RS422 receiver IC2, IC6, IC10, the IC14 of modules A~D at last by full duplex bus 4.In like manner, the low level information that module B, module C and module D send, each module also can both receive.
As seen from Figure 1, implementation method of the present invention is, module 1~4 is carried out the half-duplex mode communication by full duplex bus 4 and hub 1, NAND circuit IC25 in the logical operation circuit 4 the input data of module 1~4 are carried out " with " NOT operation and the result is coupled on the bus 3 through "NOT" circuit IC26, a bus 3 is passed to it full duplex bus 4 again.According to this method for interchanging data, utilize RS422 bus and hub to be achieved as a kind of bus of new structure.
Figure 2 shows that the circuit diagram of the another kind of structure of the present invention and site controlling computer internal module communication apparatus.This structure is to have increased bus protection circuit 5 on the basis of structure shown in Figure 1, with the reliability of further raising bus.From accompanying drawing 1 as can be seen, when a certain module, when breaking down as modules A, may send low level signal to bus for a long time, other all modules can both be received this low level signal from bus interface, and modules A will be monopolized bus for a long time like this, thereby make other module can't operate as normal.Bus protection circuit 5 can be avoided occurring because of the situation that module failure is monopolized bus.
Bus protection circuit 5 is the single-shot trigger circuit that monostable trigger IC17 and OR-circuit IC21 form, and monostable trigger IC17 model is 74HC133.2,3 pin of monostable trigger IC17 connect high level, and input pin 14,15 connects resistance R 1 and capacitor C 1.Resistance R 1 and capacitor C 1 makeup time constant τ=R1C1, the width of this time constant decision monostable circuit output pulse.When 1 pin of monostable trigger IC17 has a negative edge trigger pulse, will be the low level pulse of τ=R1C1 at 4 pin output width.Under the situation of normal communication, the communication information that 1 pin of monostable trigger IC17 is received is the pulse train of being made up of high level and low level that module is sent.When signal when high level becomes low level, the negative edge of pulse makes 4 pin of monostable trigger IC17 produce the low level pulse that width is τ=R1C1, communication information is delivered on the bus by logical-arithmetic unit 2 behind OR-circuit IC21 again.A kind of possible situation is, when a certain module, break down as modules A, when sending low level signal for a long time, because of it the negative edge pulse can not occur again, therefore, after elapsed time τ=R1C1, to export high level signal on 4 pin of monostable trigger IC17, and force OR circuit IC21 to be output as high level simultaneously.Therefore, the low level signal of modules A can not be sent to bus again, so just plays the protection to bus.
The attachable control module of present embodiment can be for a plurality of; Full duplex bus 4 can be the full duplex bus of other conformance with standard standard, as RS232 etc.; NAND circuit IC25 in the logical-arithmetic unit 2 and "NOT" circuit IC26 can replace with an AND gate circuit that has many input ends, and its principle of work is identical with this example with implementation method.

Claims (8)

1, a kind of equipment of and site controlling computer internal module communication, comprise full duplex bus, it is characterized in that also comprising hub and have logical operation circuit with the door function, described full duplex bus one end is connected the I/O port as hub with described hub, a plurality of input ends of described logical operation circuit are connected with the input of hub respectively, and the output terminal of described logical operation circuit is connected respectively to each output terminal of hub by a bus.
2, the equipment of according to claim 1 and site controlling computer internal module communication is characterized in that being connected with the bus protection circuit between described logical operation circuit and the hub input end; Described bus protection circuit prevents that module from taking a described bus for a long time because of breaking down.
3, the equipment of according to claim 2 and site controlling computer internal module communication is characterized in that described bus protection circuit is made of monostalbe trigger.
4, the equipment of according to claim 1 and 2 and site controlling computer internal module communication is characterized in that described logical operation circuit comprises NAND circuit and "NOT" circuit of input end more than; The data that the input end receiver module of described NAND circuit sends, its output terminal is connected with the input of "NOT" circuit, and the output of described "NOT" circuit connects a described bus.
5, the equipment of according to claim 1 and 2 and site controlling computer internal module communication is characterized in that described logical operation circuit is the AND gate circuit with many input ends.
6, a kind of implementation method of equipment of and site controlling computer internal module communication is characterized in that:
Inner each module of site controlling computer is carried out the exchanges data of half-duplex mode by full duplex bus and hub;
Hub is coupled to the input data of described each module on the bus by the logical computing, through a described bus data of coupling is sent to described each module again;
Described each module judges according to the data that receive whether a described bus is taken by other module, and communication protocol is according to the rules waited for that bus is released or carried out the operation of bus test then.
7, the implementation method of the equipment of according to claim 6 and site controlling computer internal module communication; the input data that it is characterized in that described module are carried out the logical computing again after by the bus protection circuit, described bus protection circuit prevents that module from taking a described bus for a long time because of breaking down.
8, the implementation method of the equipment of according to claim 7 and site controlling computer internal module communication is characterized in that described bus protection circuit is a single-shot trigger circuit; When some modules or several module hinder and long-time the transmission when taking bus signals for some reason, described single-shot trigger circuit can be blocked it, and the data that malfunctioning module is sent are not coupled on the described bus.
CNB011344636A 2001-11-05 2001-11-05 Internal module connecting bus for site controlling computer and its realization method Expired - Lifetime CN1168021C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011344636A CN1168021C (en) 2001-11-05 2001-11-05 Internal module connecting bus for site controlling computer and its realization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011344636A CN1168021C (en) 2001-11-05 2001-11-05 Internal module connecting bus for site controlling computer and its realization method

Publications (2)

Publication Number Publication Date
CN1417695A CN1417695A (en) 2003-05-14
CN1168021C true CN1168021C (en) 2004-09-22

Family

ID=4672512

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011344636A Expired - Lifetime CN1168021C (en) 2001-11-05 2001-11-05 Internal module connecting bus for site controlling computer and its realization method

Country Status (1)

Country Link
CN (1) CN1168021C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7288962B2 (en) * 2006-02-08 2007-10-30 Kyocera Wireless Corp. Level shifting multiplexing circuit for connecting a two conductor full duplex bus to a bidirectional single conductor bus
EP2073128B1 (en) 2007-12-21 2014-04-09 Telefonaktiebolaget LM Ericsson (publ) Technique for interconnecting functional modules of an apparatus

Also Published As

Publication number Publication date
CN1417695A (en) 2003-05-14

Similar Documents

Publication Publication Date Title
CN107870584A (en) A kind of business board input power working state detecting method and machine frame type equipment
EP0791874B1 (en) Method and apparatus for controlling binary sensors and/or actuators
CN1168021C (en) Internal module connecting bus for site controlling computer and its realization method
US4803481A (en) Asynchronous communications system
CN2522938Y (en) Internal module connecting bus for on-site control machine
DE19515194C2 (en) Communication network
EP1198103B1 (en) Method for adapting between bus systems
US20100229041A1 (en) Device and method for expediting feedback on changes of connection status of monitioring equipments
CN209627394U (en) A kind of digital signal acquiring device and system
CN2420694Y (en) Linkage controller for fire alarm controller
CN210518371U (en) Network topology positioning device of transformer substation
JP2905075B2 (en) Programmable controller and its exclusive control communication method
EP3620661B1 (en) Connecting device, system and method for operating a connecting device
CN2640135Y (en) Network interconnection unit for connecting high-speed Ethernet and HART bus
JPH06509459A (en) Centralized management system using bus interface unit
CN218276761U (en) Master-slave parallel communication system of single-phase multi-phase alternating current power supply
CN110244631A (en) A kind of analog signal collector, method and system
CN2547070Y (en) Communication processing apparatus
DE10239846B4 (en) Fail-silent controller
CN200959602Y (en) Twisted train bus protocol controller
CN213182729U (en) Bus extension device based on FPGA chip
CN211720564U (en) Fault monitoring system of single network cable Ethernet looped network
CN213659195U (en) Comprehensive control system based on HSC (high-performance computer) serial bus technology
CN208781217U (en) Computer card
CN210691097U (en) Program-controlled digital quantity input/output board card based on domestic CPU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: TONGFANG CO., LTD.

Free format text: FORMER NAME OR ADDRESS: TSINGHUA TONGFANG CO., LTD.

CP03 Change of name, title or address

Address after: 100083 Beijing Tsinghua Tongfang science and Technology Square A block 2907

Patentee after: Tongfang Co., Ltd.

Address before: 100083 Beijing Tsinghua Tongfang science and Technology Square A block 2907

Patentee before: Qinghua Tongfang Co., Ltd.

ASS Succession or assignment of patent right

Owner name: TONGFANG TECHNOVATOR INT. (BEIJING) CO., LTD.

Free format text: FORMER OWNER: TONGFANG CO., LTD.

Effective date: 20120919

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 CHAOYANG, BEIJING TO: 100083 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20120919

Address after: 100083 Haidian District Tsinghua Tongfang Technology Plaza, block A, floor 29, Beijing

Patentee after: Tongfang Technovator International Technology (Beijing) Co., Ltd.

Address before: 100083 Beijing Tsinghua Tongfang science and Technology Square A block 2907

Patentee before: Tongfang Co., Ltd.

CX01 Expiry of patent term

Granted publication date: 20040922

CX01 Expiry of patent term