CN103365273B - A kind of master slave mode identification selection system of redundant communication module based on hardware mutex - Google Patents

A kind of master slave mode identification selection system of redundant communication module based on hardware mutex Download PDF

Info

Publication number
CN103365273B
CN103365273B CN201310278834.4A CN201310278834A CN103365273B CN 103365273 B CN103365273 B CN 103365273B CN 201310278834 A CN201310278834 A CN 201310278834A CN 103365273 B CN103365273 B CN 103365273B
Authority
CN
China
Prior art keywords
slot
fastener
detect
select
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310278834.4A
Other languages
Chinese (zh)
Other versions
CN103365273A (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.)
BEIJING NEW INTELLIGENT TECH Co Ltd
Original Assignee
BEIJING NEW INTELLIGENT TECH 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 BEIJING NEW INTELLIGENT TECH Co Ltd filed Critical BEIJING NEW INTELLIGENT TECH Co Ltd
Priority to CN201310278834.4A priority Critical patent/CN103365273B/en
Publication of CN103365273A publication Critical patent/CN103365273A/en
Application granted granted Critical
Publication of CN103365273B publication Critical patent/CN103365273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Hardware Redundancy (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention proposes the master slave mode identification selection system of a kind of redundant communication module based on hardware mutex, including main website, the gating passage being connected with main website, with the channel attached fastener box of gating, slot A and slot B is had on described fastener box, being also associated with conversion in fastener box selects module, conversion to select module to be connected with slot A and slot B respectively.

Description

A kind of master slave mode identification selection system of redundant communication module based on hardware mutex
Technical field
The invention belongs to mechanics of communication apparatus field, especially relate to the master slave mode identification selection system of a kind of redundant communication module based on hardware mutex.
Background technology
Along with the development of science and technology, people are more and more stricter to the safety requirements of production process.Particularly at industrial control field, once go wrong, huge property and personal casualty loss can be caused.Therefore, Contemporary Industrial Design increasingly highlights safety.Using redundancy designed system, its security performance is greatly improved, and fault rate is greatly lowered, and increases productivity.
Summary of the invention
More safe and reliable in order to reach above-mentioned communication link, can Weigh sensor master slave mode, seamless be switched fast, it is ensured that communication link unimpeded.Using hardware mutual exclusion, more safe and reliable advantage, the present invention proposes the master slave mode identification selection system of a kind of redundant communication module based on hardware mutex.
The technical scheme realizing above-mentioned beneficial effect is, a kind of master slave mode identification selection system of redundant communication module based on hardware mutex, including main website, the gating passage being connected with main website, with the channel attached fastener box of gating, described fastener box has slot A and slot B, it is characterised in that, being also associated with conversion in fastener box selects module, conversion to select module to be connected with slot A and slot B respectively.
The present invention uses method based on hardware mutex, it is judged that the communication link in redundant channel so that communication link is more safe and reliable.Can Weigh sensor master slave mode, seamless be switched fast, it is ensured that communication link unimpeded.Use hardware mutual exclusion, more safe and reliable.
Accompanying drawing explanation
Fig. 1 is the structural representation of the whole communication link of the communication controler of the present invention;
Fig. 2 is the structural representation being attached the DETECT of two-way with SELECT signal on base of the present invention;
Fig. 3 is that the present invention is inserted simultaneously into two fasteners, the then topology view of the connection of DETECT and SELECT signal;
Fig. 4 is the data exchange schematic diagram of CPU Yu CPLD original paper of the present invention;
Fig. 5 is the schematic diagram of a kind of embodiment of signal of the present invention output.
Detailed description of the invention
The present invention will be further described below in conjunction with the accompanying drawings.In conjunction with Fig. 1, the master slave mode identification selection system of redundant communication module based on hardware mutex, including main website, the gating passage being connected with main website, with the channel attached fastener box of gating, described fastener box has slot A and slot B, it is characterised in that, being also associated with conversion in fastener box selects module, conversion to select module to be connected with slot A and slot B respectively.In order to realize the redundancy feature of Profibus DP slave station communication controller, Profibus DP slave station communication controller module need to possess and automatically identifies master, from state, and realizes automatically switching, and communication controler is at whole communication link-termination structure such as Fig. 1.For the angle of main website, itself be not aware that data from IO fastener group A or IO fastener group B, he only obtains data from Profibus bus, and gates channel module itself and only does inspection physically, and which paths has signal, is switched on which road.Therefore the gating of fastener group must have the communication transfer interface module inserted in slot A or B identify and select.
Insert the fastener itself in slot A or B and there is no master and slave point, but in working order under, have heat, standby point.Heat, the path being the most just operated, standby, i.e. it is in SBR, but is not involved in collection and the communication of data.
Key component of the present invention is to check circuit, for inquiry hot, for future reference and switching.Such as Fig. 2, on base, the DETECT to two-way is attached with SELECT signal, and passes through resistance eutral grounding.Fastener checks DETECT when being low, then it is assumed that oneself be Warm status, open communication function, and draws high SELECT signal, to represent that the other side's fastener is for standby state.Therefore, under single deck tape-recorder state, no matter fastener inserts A or B slot, is all considered Warm status, carries out proper communication.If being inserted simultaneously into two fasteners, then DETECT and connection such as Fig. 3 of SELECT signal, in the case of fastener is not inserted into slot, DETECT signal is high, represents that fastener is in standby state, and ceaselessly inquires about the state of oneself, in order to enters Warm status at any time.If being inserted simultaneously into A, two fasteners of B, then it is constantly present the problem (Great possibility) successively that powers on, by electric resistance partial pressure on plate, one fastener of total existence first detects that DETECT signal is low, and fastener enters Warm status, and the SELECT signal of itself is drawn high by the fastener entering Warm status, to identify the DETECT of another fastener, it is allowed to enter standby state.Here, we always assume that fastener has powered on sequencing, but in the case of very small probability, fastener powers on simultaneously, then two signals can vibrate output.Gathering DETECT in this output frequency and fastener, the frequency of output SELECT signal is relevant, if if realizing with CPLD, then relevant with clock frequency, therefore adds filtering on hardware so that signal avoids this concussion frequency.The CPU of the present invention carries out heat, the lookup of standby state by the signal of CPLD, as shown in Figure 4, after CPU powers on, judges state the hottest, standby by sts signal pins.If sts is high, then it represents that for Warm status, CPU enters Warm status, if sts is 0, then carries out the inquiry of a period of time, if in inquiry a period of time not yet 0, then CPU enters for state.Either Warm status fastener, or standby state fastener, the moment monitors int pin, once int pin transmission interrupt signal, then CPU inquiry sts pin, to judge and to enter heat, standby state.Additionally, in order to make system relatively reliable, the output to SELECT, many condition judgement can be carried out, such as Fig. 5, the output of SELECT signal, not only relevant with DETECT, also relevant with some states of CPU itself, therefore, once CPU crashes or occurs abnormal, and the heat of fastener, standby state also can automatically switch.
The above; preferable case study on implementation for the present invention; not the present invention is imposed any restrictions, every any simple modification, change and equivalent structure change above example made according to the technology of the present invention essence, all still fall within the protection domain of technical solution of the present invention.

Claims (1)

1. a master slave mode identification selection system for redundant communication module based on hardware mutex, Including main website, the gating passage being connected with main website, with the channel attached fastener box of gating, described fastener Slot A and slot B is had, it is characterised in that in fastener box, be also associated with conversion select mould on box Block, conversion selects module to be connected with slot A and slot B respectively;The circuit of conversion selection module is concrete For: DETECT in slot A is connected and is passed through resistance eutral grounding with the SELECT in slot B, will insert In groove A, SELECT is connected with the DETECT in slot B and passes through resistance eutral grounding;When inserting A, B During two fasteners, then it is constantly present the situation successively that powers on, by electric resistance partial pressure, one card of total existence Part first detects that DETECT signal is low, and fastener enters Warm status, and the fastener entering Warm status incite somebody to action this The SELECT signal of body is drawn high, and to identify the DETECT of another fastener, allows it enter standby state.
CN201310278834.4A 2013-07-04 2013-07-04 A kind of master slave mode identification selection system of redundant communication module based on hardware mutex Active CN103365273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310278834.4A CN103365273B (en) 2013-07-04 2013-07-04 A kind of master slave mode identification selection system of redundant communication module based on hardware mutex

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310278834.4A CN103365273B (en) 2013-07-04 2013-07-04 A kind of master slave mode identification selection system of redundant communication module based on hardware mutex

Publications (2)

Publication Number Publication Date
CN103365273A CN103365273A (en) 2013-10-23
CN103365273B true CN103365273B (en) 2016-12-28

Family

ID=49366840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310278834.4A Active CN103365273B (en) 2013-07-04 2013-07-04 A kind of master slave mode identification selection system of redundant communication module based on hardware mutex

Country Status (1)

Country Link
CN (1) CN103365273B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423695B2 (en) * 2005-01-19 2013-04-16 Broadcom Corporation Dual PCI-X/PCI-E card
JP2010079445A (en) * 2008-09-24 2010-04-08 Toshiba Corp Ssd device
CN101739326A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 False pull prevention device of multi-storage device system
CN101699422B (en) * 2009-09-30 2012-04-25 曙光信息产业(北京)有限公司 Device for carrying out data transmission with terminal
CN103186126B (en) * 2011-12-31 2017-03-01 北京国电智深控制技术有限公司 Realize interface arrangement and method that dcs is interconnected with smart machine

Also Published As

Publication number Publication date
CN103365273A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN101916218B (en) Double-CPU redundancy control system based on analysis redundancy mechanism
CN103634150B (en) A kind of high security CAN communication means of redundancy
CN205068381U (en) A secure computer platform for track traffic
CN110376876B (en) Double-system synchronous safety computer platform
CN102055633B (en) Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system
CN102281178A (en) Ring network link redundancy control system and control method thereof
CN110427283B (en) Dual-redundancy fuel management computer system
CN110442073A (en) A kind of redundance Aircraft Management Computer MIO board channel fault logic judgment method
CN102830647A (en) Double 2-vote-2 device for fail safety
CN204990103U (en) Novel two take advantage of two to get two trusted computer system
CN107678997A (en) Hot-plug method, system, device and the readable storage medium storing program for executing of PCIE plug-in cards
CN101131570B (en) Redundancy switch-over control method and control circuit thereof
CN101232357B (en) Apparatus and method for realizing main and spare plate card rearrange
CN109301919A (en) A kind of uninterruptible power supply bypass adapter tube control method
CN105681131A (en) Main-backup system and parallel outputting method thereof
CN202261334U (en) Looped network link redundancy control system
CN103779943A (en) Battery management system of electric car
CN103365273B (en) A kind of master slave mode identification selection system of redundant communication module based on hardware mutex
CN201262707Y (en) Monitoring system for entire car controller
CN202583865U (en) Dual-redundancy control circuit
CN104200148A (en) Smart card redundancy switching method based on independently domestic redundancy server
CN106648998A (en) Safety computer system based on CMC chip
CN101397020A (en) Intelligent acquisition driving device
CN203097556U (en) Door controller beside platform
CN204695092U (en) A kind of pcs system of boron heating system

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