Movatterモバイル変換


[0]ホーム

URL:


CN110727220A - Master-slave dual-redundancy FPGA switching control circuit - Google Patents

Master-slave dual-redundancy FPGA switching control circuit
Download PDF

Info

Publication number
CN110727220A
CN110727220ACN201910976658.9ACN201910976658ACN110727220ACN 110727220 ACN110727220 ACN 110727220ACN 201910976658 ACN201910976658 ACN 201910976658ACN 110727220 ACN110727220 ACN 110727220A
Authority
CN
China
Prior art keywords
output
pin
fpga
gate
redundancy
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
CN201910976658.9A
Other languages
Chinese (zh)
Other versions
CN110727220B (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research InstitutefiledCriticalTianjin Jinhang Computing Technology Research Institute
Priority to CN201910976658.9ApriorityCriticalpatent/CN110727220B/en
Publication of CN110727220ApublicationCriticalpatent/CN110727220A/en
Application grantedgrantedCritical
Publication of CN110727220BpublicationCriticalpatent/CN110727220B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention belongs to the field of digital circuit design, and relates to a master-slave dual-redundancy FPGA (field programmable gate array) switching control circuit which is composed of a watchdog reset module, an AND gate, two NOT gates, two groups of bus transceivers and two pull-up resistors. The circuit of the invention uses the watchdog reset module to carry out state monitoring by a core, and realizes FPGA redundancy switching control through the AND gate, the NOT gate and the bus transceiver, and the circuit is simple, has strong reliability and has higher practical value.

Description

Master-slave dual-redundancy FPGA switching control circuit
Technical Field
The invention belongs to the field of digital circuit design, and relates to a master-slave dual-redundancy FPGA switching control circuit.
Background
The FPGA has the advantages of flexible design, strong reconfigurability, strong parallelism and the like, and is widely applied to the fields of industry, military, medical electronics and the like. For equipment with higher reliability requirements, in order to avoid system function and even safety problems caused by single FPGA failure, a master-slave dual-redundancy FPGA design scheme is often adopted. The existing redundancy switching control is usually composed of devices such as a single chip microcomputer and a CPLD (complex programmable logic device) and related peripheral circuits, the working state of the FPGA is judged according to data interaction with the FPGA, and redundancy switching is carried out when abnormality is found.
Disclosure of Invention
Objects of the invention
The purpose of the invention is: aiming at the problems of complex control logic, poor reliability and the like of the existing master-slave dual-redundancy FPGA switching control mode, a simple and reliable master-slave dual-redundancy FPGA switching control circuit is provided.
(II) technical scheme
In order to solve the technical problem, the invention provides a master-slave dual-redundancy FPGA switching control circuit, which comprises a watchdog reset module, an AND gate, two NOT gates, two groups of bus transceivers and two pull-up resistors, wherein:
the watchdog module provides a watchdog input pin WDI, a low-effective watchdog output pin WDOn, a low-effective reset output pin RSTn and a low-effective manual reset input pin MRn;
the bus transceiver 1 provides a low effective output enable pin OEn, and reserves a data input end Ax (or Bx) and a corresponding data output end Bx (or Ax) for the switching control circuit, and the other data input and output ends are used for realizing data transceiving between the main redundancy FPGA and the bus.
The bus transceiver 2 provides an active low output enable pin OEn, and a data input/output terminal thereof is used for data transceiving between the redundant FPGA and the bus.
The parts have the following connection relationship:
the WDI pin of the watchdog reset module is connected with the general IO pin IOi of the main redundancy FPGA;
and a pin MRn of the watchdog reset module is connected with a CONF _ DONE of a configuration completion output pin of the main redundancy FPGA and is connected with a pull-up resistor.
The WDOn pin of the watchdog reset module is connected with the input of the NOT gate 1, and the output of the NOT gate 1 is connected with the data input end Ax (or Bx) of the bus transceiver 1;
a pin RSTn of the watchdog reset module is connected with a general IO pin IOj of the main redundancy FPGA to provide a reset signal for FPGA logic, and is simultaneously connected with the input of an AND gate, the other input end of the AND gate is connected with a data output end Bx (or Ax) of the bus transceiver 1 and is simultaneously connected with a pull-up resistor, and the pull-up resistor is used for maintaining the high level state of the signal in the non-enabled state output by the bus transceiver 1;
the output end of the AND gate is connected with an OEn pin of the bus transceiver 1 and is also connected with the input of the NOT gate 2;
the output of the not gate 2 is connected to the OEn pin of the bus transceiver 2.
The working flow of the master-slave dual-redundancy FPGA switching control circuit is as follows:
after the equipment is powered on, the main FPGA pulls down a CONF _ DONE output pin, so that the input of a MRn pin of a watchdog reset module is low, and the output of an RSTn pin is low;
since one input of the and gate is low, the output is low, i.e., the OEn input of the bus transceiver 1 is low and the OEn input of the bus transceiver 2 is high, so that the bus transceiver 1 output is enabled and the bus transceiver 2 output is not enabled.
After the main redundancy FPGA receives all configuration data of the FPGA configuration chip, the CONF _ DONE pin is not pulled down any more, at the moment, due to the existence of a pull-up resistor, the input of the watchdog reset module MRn is high, and therefore the output of the RSTn pin is changed from low to high after a certain time.
After the output of the CONF _ DONE pin is changed, the watchdog pulse output logic in the main redundancy FPGA works quickly, so that a pulse signal is periodically output through the IOi pin to avoid the action of a watchdog of the watchdog reset module, and the WDOn can maintain a high-level output state.
Since WDOn outputs high level, the not gate 1 outputs low level, and the low level enters the input end of the and gate through the bus transceiver 1, so that the and gate outputs low level, therefore, even if the watchdog reset module RSTn is changed from low to high, the state of enabling output of the bus transceiver 1 and disabling output of the bus transceiver 2 is still maintained, at this moment, the master redundancy FPGA can normally communicate with the bus, and the slave redundancy FPGA cannot transmit and receive bus data.
After the pin output of the watchdog reset module RSTn changes from low to high, if the FPGA works abnormally, a pulse signal cannot be output through the pin IOi periodically. When pulse interval time received by WDI exceeds a set threshold, the watchdog action of the watchdog reset module is triggered, so that the WDOn pin outputs low level, the NOT gate 1 outputs high level, and two input ends of the AND gate are both high level. And the AND gate outputs high level to enable the bus transceiver 1 to output non-enable and the bus transceiver 2 to output enable, so that the slave redundancy FPGA can normally communicate with a bus, and the master redundancy FPGA cannot receive and transmit bus data, thereby realizing redundancy switching.
(III) advantageous effects
The master-slave dual-redundancy FPGA switching control circuit provided by the technical scheme has the advantages that the watchdog reset module carries out state monitoring by using a core, the FPGA redundancy switching control is realized by using a AND gate, a NOT gate and a bus transceiver, the circuit is simple, the reliability is high, and the practical value is high.
Drawings
Fig. 1 is a schematic connection diagram of a master-slave dual-redundancy FPGA switching control circuit according to the present invention.
Detailed Description
In order to make the objects, contents and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
Referring to fig. 1, the specific implementation of the master-slave dual-redundancy FPGA switching control circuit of the present invention is as follows:
the master-slave redundancy FPGA adopts an EP3C55F484I7N chip of Altera corporation.
The utility model provides a master slaver dual-redundancy FPGA switches control circuit, by watchdog reset module, an AND gate, two NOT gates, two sets of bus transceiver and two pull-up resistance constitute, wherein:
the watchdog module is constructed by using a MAX706T chip and provides a watchdog input pin WDI, a low-effective watchdog output pin WDOn, a low-effective reset output pin RSTn and a low-effective manual reset input pin MRn;
the bus transceiver 1 is constructed by a bus transceiver from 3.3V to 3.3V, provides a low effective output enable pin OEn, reserves a data input end Ax (or Bx) and a corresponding data output end Bx (or Ax) for the switching control circuit, and the other data input and output ends are used for realizing data transceiving between the main redundancy FPGA and the bus.
The bus transceiver 2 provides an active low output enable pin OEn, and a data input/output terminal thereof is used for data transceiving between the redundant FPGA and the bus.
The parts have the following connection relationship:
the WDI pin of the MAX706T is connected with a general IO pin IOi of the main redundancy FPGA;
the MRn pin of the MAX706T is connected with a configuration completion output pin CONF _ DONE of the main redundancy FPGA, and is also connected with a 10k omega pull-up resistor R1.
The WDOn pin of the MAX706T is connected with the input of a NOT gate 1, and the output of the NOT gate 1 is connected with the data input end Ax (or Bx) of the bus transceiver 1;
the RSTn pin of the MAX706T is connected with a general IO pin IOj of the main redundancy FPGA to provide a reset signal for FPGA logic, and is simultaneously connected with the input of an AND gate, the other input end of the AND gate is connected with a data output end Bx (or Ax) of the bus transceiver 1 and is simultaneously connected with a 4.7k omega pull-up resistor R2, and the pull-up resistor is used for maintaining the high level state of the signal when the bus transceiver 1 outputs a non-enabled state;
the output end of the AND gate is connected with OEn of the bus transceiver 1 and is also connected with the input of the NOT gate 2;
the output of the not gate 2 is connected to OEn of the bus transceiver 2.
The working flow of the master-slave dual-redundancy FPGA switching control circuit is as follows:
after the equipment is powered on, the main FPGA pulls down the CONF _ DONE output pin, so that the MRn pin input of the MAX706T is low, and the RSTn pin output is low;
since one input of the and gate is low, the output is low, i.e., the OEn input of the bus transceiver 1 is low and the OEn input of the bus transceiver 2 is high, so that the bus transceiver 1 output is enabled and the bus transceiver 2 output is not enabled.
After the main redundancy FPGA receives all configuration data of the FPGA configuration chip, the CONF _ DONE pin is not pulled down any more, at the moment, due to the existence of a pull-up resistor R1 of 10k omega, the MRn input of the MAX706T is high, and therefore the output of the RSTn pin is changed from low to high after a certain time.
After the output of the CONF _ DONE pin changes, the watchdog pulse output logic in the main redundancy FPGA will work quickly, so that the pulse signal is periodically output through IOi pins to avoid the watchdog action of MAX706T, and thus WDOn will maintain the high level output state.
Since WDOn outputs high level, not gate 1 outputs low level, and this low level will enter the input end of and gate through bus transceiver 1, and make and gate output low level, therefore even if RSTn of MAX706T is changed from low to high, the state of bus transceiver 1 output enable and bus transceiver 2 output disable will still be maintained, at this moment, the master redundancy FPGA can communicate with the bus normally, the slave redundancy FPGA can not transmit and receive bus data.
After the pin output of the watchdog reset module RSTn changes from low to high, if the FPGA works abnormally, a pulse signal cannot be output through the pin IOi periodically. When the pulse interval time received by the WDI is too long, the watchdog action of the watchdog reset module is triggered, so that the WDOn pin outputs low level, the NOT gate 1 outputs high level, and the two input ends of the AND gate are both high level. And the AND gate outputs high level to enable the bus transceiver 1 to output non-enable and the bus transceiver 2 to output enable, so that the slave redundancy FPGA can normally communicate with a bus, and the master redundancy FPGA cannot receive and transmit bus data, thereby realizing redundancy switching.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (2)

CN201910976658.9A2019-10-152019-10-15Master-slave dual-redundancy FPGA switching control circuitActiveCN110727220B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910976658.9ACN110727220B (en)2019-10-152019-10-15Master-slave dual-redundancy FPGA switching control circuit

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910976658.9ACN110727220B (en)2019-10-152019-10-15Master-slave dual-redundancy FPGA switching control circuit

Publications (2)

Publication NumberPublication Date
CN110727220Atrue CN110727220A (en)2020-01-24
CN110727220B CN110727220B (en)2022-10-14

Family

ID=69221272

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910976658.9AActiveCN110727220B (en)2019-10-152019-10-15Master-slave dual-redundancy FPGA switching control circuit

Country Status (1)

CountryLink
CN (1)CN110727220B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112578723A (en)*2020-12-072021-03-30天津津航计算技术研究所Redundancy CPLD switching control device
CN114442521A (en)*2021-12-292022-05-06中国航空工业集团公司西安航空计算技术研究所Cross control circuit between dual-redundancy signal channels
CN115509159A (en)*2022-08-312022-12-23北京空间机电研究所 A high-speed data interface active-standby automatic switching logic control system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5185693A (en)*1989-11-271993-02-09Olin CorporationMethod and apparatus for providing backup process control
US7154723B1 (en)*2003-06-272006-12-26Emc CorporationHighly available dual serial bus architecture
CN104484303A (en)*2014-12-092015-04-01中国航空工业集团公司第六三一研究所1553B node circuit based on SoC (system on a chip) chip
US20150234696A1 (en)*2014-02-172015-08-20Yazaki CorporationLoad-control backup signal generation circuit
CN109491823A (en)*2018-11-122019-03-19积成电子股份有限公司A kind of irreversible house dog switching circuit and its switching method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5185693A (en)*1989-11-271993-02-09Olin CorporationMethod and apparatus for providing backup process control
US7154723B1 (en)*2003-06-272006-12-26Emc CorporationHighly available dual serial bus architecture
US20150234696A1 (en)*2014-02-172015-08-20Yazaki CorporationLoad-control backup signal generation circuit
CN104484303A (en)*2014-12-092015-04-01中国航空工业集团公司第六三一研究所1553B node circuit based on SoC (system on a chip) chip
CN109491823A (en)*2018-11-122019-03-19积成电子股份有限公司A kind of irreversible house dog switching circuit and its switching method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
廖华等: "双TSC695F处理器在微小卫星电子平台中的应用", 《今日电子》*

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112578723A (en)*2020-12-072021-03-30天津津航计算技术研究所Redundancy CPLD switching control device
CN114442521A (en)*2021-12-292022-05-06中国航空工业集团公司西安航空计算技术研究所Cross control circuit between dual-redundancy signal channels
CN114442521B (en)*2021-12-292024-03-19中国航空工业集团公司西安航空计算技术研究所Cross control circuit between dual-redundancy signal channels
CN115509159A (en)*2022-08-312022-12-23北京空间机电研究所 A high-speed data interface active-standby automatic switching logic control system and method

Also Published As

Publication numberPublication date
CN110727220B (en)2022-10-14

Similar Documents

PublicationPublication DateTitle
CN110727220B (en)Master-slave dual-redundancy FPGA switching control circuit
KR970068366A (en) Bus-network operation of electronic devices with microcontrollers
CN112445751B (en)Computer host interface board suitable for multi-mode redundant system
EP1198909A1 (en)Electrical insulation device with optocoupler for bidirectional connecting lines
CN110347095B (en)Three-redundancy switching circuit applied to aviation electric heating control system
CN104917700A (en)Management unit and exchange unit dual-redundancy switch
CN115328706A (en)Comprehensive control method and system for dual-CPU redundant architecture
CN212435663U (en)Reset circuit and reset system
CN111400109B (en)Dual-machine redundancy backup system based on PCIe high-speed bus interface
CN220419954U (en)Multi-serial-port double-backup data storage processing system
CN112422175A (en)Cascade device
CN213634464U (en)Main-standby dual-computer switching control system based on PowerPC
CN113868077A (en)Computer platform with double-double parallel system structure
WO2024016916A1 (en)Long-distance serial wire debug interface circuit and signal transmission method
CN212658972U (en)Hot plug communication protection circuit
CN111077764B (en)Cold and hot standby load cross control method and circuit with power-on and reset
CN101166415B (en)Master/slave switch circuit and method
CN116248619A (en)Multi-node dynamic management method and system based on PCIe switch
CN211236597U (en)Dual-redundancy CAN network photoelectric isolation device
CN107203439A (en)Modularity redundancy computer based on PCIe
CN103378902B (en)The main/standby switching method of OLT system and OLT system
CN109491823B (en)Irreversible watchdog switching circuit and switching method thereof
CN220254490U (en)Low-power-consumption power-on reset circuit and main board
CN110572205B (en)Serial communication circuit of multiple slave machines
CN219758824U (en)One-to-many asynchronous communication interface debugging device and debugging board

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp