Movatterモバイル変換


[0]ホーム

URL:


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

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

Info

Publication number
CN110727220B
CN110727220BCN201910976658.9ACN201910976658ACN110727220BCN 110727220 BCN110727220 BCN 110727220BCN 201910976658 ACN201910976658 ACN 201910976658ACN 110727220 BCN110727220 BCN 110727220B
Authority
CN
China
Prior art keywords
output
pin
fpga
low
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.)
Active
Application number
CN201910976658.9A
Other languages
Chinese (zh)
Other versions
CN110727220A (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

Images

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, reconfiguration, 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 performed when abnormality is found.
Disclosure of Invention
Object 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 a low effective output enable pin OEn, and a data input/output end of the bus transceiver is used for realizing data transceiving between the redundancy FPGA and the bus.
The parts have the following connection relationship:
a WDI pin of the watchdog reset module is connected with a 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.
A WDOn pin of the watchdog reset module is connected with an input of a NOT gate 1, and an output of the NOT gate 1 is connected with a 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 also 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 of the output of 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 CONF _ DONE pin output changes, the watchdog pulse output logic in the main redundancy FPGA works quickly, so that a pulse signal is output periodically through the IOi pin to avoid the watchdog action 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 output of the pin RSTn of the watchdog reset module changes from low to high, if the FPGA works abnormally, a pulse signal cannot be periodically output through the pin IOi. 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 make the bus transceiver 1 output non-enable, the bus transceiver 2 output enable to follow redundancy FPGA and can normally communicate with the bus, the main redundancy FPGA can not receive and send bus data, thus 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 a low effective output enable pin OEn, and a data input/output end of the bus transceiver is used for realizing data transceiving between the redundancy FPGA and the bus.
The parts have the following connection relationship:
a WDI pin of the MAX706T is connected with a general IO pin IOi of the main redundancy FPGA;
and an MRn pin of the MAX706T is connected with a CONF _ DONE output pin configured by a 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 the 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 a CONF _ DONE output pin, so that the MRn pin input of 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 the pull-up resistor R1 of 10k omega, the MRn input of the MAX706T is high, and therefore the RSTn pin output is changed from low to high after a certain time.
After the CONF _ DONE pin is output and changed, the watchdog pulse output logic in the main redundancy FPGA works quickly, so that a pulse signal is output periodically through the IOi pin to avoid the action of a watchdog of MAX706T, and the WDOn can maintain a 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 that bus transceiver 1 outputs enable and bus transceiver 2 outputs disable will be maintained, at this moment, the master redundancy FPGA can communicate with the bus normally, the slave redundancy FPGA can not receive and transmit bus data.
After the output of the pin RSTn of the watchdog reset module changes from low to high, if the FPGA works abnormally, a pulse signal cannot be periodically output through the pin IOi. 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, it is possible to make various improvements and modifications without departing from the technical principle of the present invention, and those improvements and modifications should be considered 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
CN110727220A CN110727220A (en)2020-01-24
CN110727220Btrue 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112578723B (en)*2020-12-072022-09-13天津津航计算技术研究所Redundancy CPLD switching control device
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
AU6894491A (en)*1989-11-271991-06-26Olin CorporationMethod and apparatus for providing backup process control
US7154723B1 (en)*2003-06-272006-12-26Emc CorporationHighly available dual serial bus architecture
JP6322434B2 (en)*2014-02-172018-05-09矢崎総業株式会社 Backup signal generation circuit for load control
CN104484303A (en)*2014-12-092015-04-01中国航空工业集团公司第六三一研究所1553B node circuit based on SoC (system on a chip) chip
CN109491823B (en)*2018-11-122022-01-04积成电子股份有限公司Irreversible watchdog switching circuit and switching method thereof

Also Published As

Publication numberPublication date
CN110727220A (en)2020-01-24

Similar Documents

PublicationPublication DateTitle
CN110727220B (en)Master-slave dual-redundancy FPGA switching control circuit
CN102935849B (en)Redundancy input and output achievement system of vehicle-mounted signal equipment
EP1198909A1 (en)Electrical insulation device with optocoupler for bidirectional connecting lines
CN108808811B (en)Semiconductor device, battery monitoring system, and method for starting semiconductor device
CN108322211A (en)A kind of detection circuit and electronic system of I/O interface circuits output state
CN115328706A (en)Comprehensive control method and system for dual-CPU redundant architecture
CN212435663U (en)Reset circuit and reset system
CN113615089B (en)Switching device for converting a differential input signal and system having a switching device
CN218866345U (en)Safety controller
CN110166334B (en)Spatial information system based on SpaceVPX standard
CN118017805A (en)Power supply system, vehicle, method, apparatus, and storage medium
US9710342B1 (en)Fault-tolerant mastership arbitration in a multi-master system
CN216527159U (en)Communication isolation circuit and device
CN213634464U (en)Main-standby dual-computer switching control system based on PowerPC
CN101662405B (en)Communication circuit of CAN bus
CN113868077A (en)Computer platform with double-double parallel system structure
CN111077764B (en)Cold and hot standby load cross control method and circuit with power-on and reset
CN210780766U (en)RS485 full-duplex communication circuit with reset function
CN107070547A (en)A kind of CPCI type gigabit Ethernet devices with failure monitoring ability
CN107203439A (en)Modularity redundancy computer based on PCIe
US10887074B1 (en)Full duplex communication using edge timing in a signal
CN112583416A (en)Data transmission method, device and system
CN111915869A (en) A high reliability RS422 serial communication circuit device
CN110572205B (en)Serial communication circuit of multiple slave machines
CN220254490U (en)Low-power-consumption power-on reset circuit and main 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