Main-standby dual-CPU arbitration circuit

By designing the main and backup dual-CPU arbitration circuits in the railway train wireless communication equipment, automatic switching to the backup core board is realized, which solves the problem of outage when the equipment fails and improves the stability and reliability of the system.

CN118869007APending Publication Date: 2024-10-29SHANGHAI HANCHUAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765349.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing railway train wireless communication equipment cannot self-recover when it fails and requires manual replacement of the equipment, which affects the stable operation of the system and may cause train outages.

Method used

A master-slave dual-CPU arbitration circuit is designed, which automatically switches to the backup core board through the arbitration chip and chip switching circuit to ensure that the wireless communication equipment continues to operate stably in the event of a fault.

Benefits of technology

It realizes the automatic switching and continuous stable operation of wireless communication equipment in the event of failure, reduces the need for human intervention, and improves the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869007A_ABST
    Figure CN118869007A_ABST
Patent Text Reader

Abstract

The invention relates to a main-standby dual-CPU arbitration circuit, which is suitable for being installed in wireless communication equipment of a railway train and comprises a first core board, a second core board, an arbitration circuit and a chip switching circuit, the arbitration circuit and the chip switching circuit are electrically connected to the main power supply; the main power supply is provided with a first power supply switching chip and a second power supply switching chip, and the first power supply switching chip and the second power supply switching chip are correspondingly and electrically connected to the first core board and the second core board; the first core board and the second core board are electrically connected to the arbitration circuit and the chip switching circuit, and the arbitration circuit is electrically connected to the chip switching circuit; the arbitration circuit comprises an arbitration chip and a detection chip. A P5 pin of the arbitration chip is electrically connected to the first core board, and a P11 pin of the arbitration chip is electrically connected to the second core board; the P6 pin and the P10 pin of the arbitration chip are correspondingly and electrically connected to the P12 pin and the P9 pin of the detection chip, and the P8 pin, the P10 pin, the P11 pin and the P13 pin of the detection chip are electrically connected to the chip switching circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of railway train communication technology, and in particular to a main-standby dual CPU arbitration circuit. Background Art

[0002] Railway train communication equipment is a special wireless communication system used to command train operation. Wireless train dispatching systems usually include "big triangle" communication and "small triangle" communication. "Big triangle" communication refers to the communication between train dispatchers, station attendants and locomotive drivers; "small triangle" communication refers to the communication between station attendants, locomotive drivers and train drivers. Railway train wireless communication equipment mainly consists of a host, an operation display terminal (MMI), a transmitter (receiver) and a printing system terminal. Existing railway train wireless communication equipment plays an important role in ensuring the safe and punctual operation of trains, realizing centralized and unified command of railway transportation and coordinated operations of various departments, improving the train's passing capacity, notifying dangerous conditions, preventing accidents, and rescue and emergency rescue.

[0003] At present, most of the wireless communication equipment of railway trains use the main control board of a single CPU platform to form the host and operation display terminal. When the equipment fails, the wireless communication equipment of the entire railway train is completely paralyzed and cannot recover by itself. It is necessary to manually replace the equipment or even tow the train to solve the problem, thus affecting the efficient and stable operation of the entire train dispatching system. There are even cases where the train has to be towed or stopped due to the lack of unified dispatching of the wireless communication equipment of railway trains when the equipment is paralyzed. Summary of the invention

[0004] In view of this, the present application proposes a main-standby dual CPU arbitration circuit to solve the problem of requiring manual replacement of machine equipment when the wireless communication equipment of a railway train fails.

[0005] According to one aspect of the present application, there is provided a main-standby dual-CPU arbitration circuit, which is suitable for being installed in a wireless communication device of a railway train, comprising: a first core board, a second core board, an arbitration circuit, a chip switching circuit and a main power supply; the arbitration circuit and the chip switching circuit are both electrically connected to the main power supply; the main power supply has a first power switching chip and a second power switching chip, and the first power switching chip and the second power switching chip are electrically connected to the first core board and the second core board respectively; the first core board and the second core board are both electrically connected to the arbitration circuit and the chip switching circuit, and the arbitration circuit is electrically connected to the chip switching circuit; the arbitration circuit comprises: an arbitration chip, a detection chip, a resistor R27, a resistor R29, a resistor R30 and a resistor R34; the arbitration chip The P5 pin of the arbitration chip is electrically connected to the first core board, and the P11 pin of the arbitration chip is electrically connected to the second core board; the P6 pin and P10 pin of the arbitration chip are electrically connected to the P12 pin and P9 pin of the detection chip, and the P8 pin, P10 pin, P11 pin and P13 pin of the detection chip are electrically connected to the chip switching circuit; the P5 pin, P11 pin, P3 pin and P14 pin of the arbitration chip are electrically connected to one end of the resistor R27, the resistor R34, the resistor R29 and the resistor R30, the other end of the resistor R27 is electrically connected to the other end of the resistor R29, and the other end of the resistor R34 is electrically connected to the other end of the resistor R30; the other ends of the resistor R29 and the resistor R30 are electrically connected to the main power supply.

[0006] In a possible implementation, the arbitration circuit also includes: a resistor R25, a resistor R32, a capacitor C9, a capacitor C10 and a capacitor C8; the P2 pin and the P13 pin of the arbitration chip are electrically connected to one end of the resistor R25 and the resistor R32, and the other end of the resistor R25 and the resistor R32 is electrically connected to the main power supply; the P2 pin, the P14 pin and the P16 pin of the arbitration chip are electrically connected to one end of the capacitor C9, the capacitor C10 and the capacitor C8, and the other end of the capacitor C9, the capacitor C10 and the capacitor C8 is grounded; the model of the arbitration chip is 74HC4538D, and the model of the detection chip is SN74HC00PWR.

[0007] In a possible implementation, it also includes: a first hardware watchdog circuit and a second hardware watchdog circuit; the first hardware watchdog circuit is electrically connected to the first core board, and the first hardware watchdog circuit is electrically connected to the first power switching chip; the second hardware watchdog circuit is electrically connected to the second core board, and the second hardware watchdog circuit is electrically connected to the second power switching chip; wherein the first hardware watchdog circuit includes: a first watchdog chip, a resistor R56, a capacitor C41 and a capacitor C42; the P5 pin of the first watchdog chip is electrically connected to one end of the resistor R56, and the other end of the resistor R56 is electrically connected to the first core board; the P1 pin of the first watchdog chip is electrically connected to the capacitor C 41 and one end of the capacitor C42, one end of the capacitor C41 and the capacitor C42 are electrically connected to the D1 pin, E1 pin, A1 pin and B1 pin of the first power switching chip; wherein the second hardware watchdog circuit includes: a second watchdog chip, a resistor R65, a capacitor C46 and a capacitor C47; the P5 pin of the second watchdog chip is electrically connected to one end of the resistor R65, and the other end of the resistor R65 is electrically connected to the second core board; the P1 pin of the second watchdog chip is electrically connected to one end of the capacitor C46 and the capacitor C47, and one end of the capacitor C46 and the capacitor C47 are electrically connected to the D1 pin, E1 pin, A1 pin and B1 pin of the second power switching chip.

[0008] In a possible implementation, it also includes: a first data synchronization circuit, a second data synchronization circuit and a network transformer; the first data synchronization circuit is electrically connected to the second data synchronization circuit through the network transformer; the first data synchronization circuit is electrically connected to the first core board, and the first data synchronization circuit is electrically connected to the first power switching chip; wherein the first data synchronization circuit has a first PHY chip; the P1 pin, P3 pin, P6 pin and P7 pin of the first PHY chip are all electrically connected to the network transformer; the P9 pin, P11 pin, P14 pin and P16 pin of the first PHY chip are all electrically connected to the first core board; the second data synchronization circuit is electrically connected to the second core board, and the second data synchronization circuit is electrically connected to the second power switching chip; wherein the second data synchronization circuit has a second PHY chip; the P1 pin, P3 pin, P6 pin and P7 pin of the second PHY chip are all electrically connected to the network transformer; the P9 pin, P11 pin, P14 pin and P16 pin of the second PHY chip are all electrically connected to the second core board.

[0009] In a possible implementation, the first hardware watchdog circuit further includes: a timer J4, a connector J5, a resistor R37, a resistor R52, a resistor R54, a resistor R53, a resistor R55 and a capacitor C43; a P2 pin of the first watchdog chip is electrically connected to a P2 pin of the timer J4; a P3 pin of the first watchdog chip is electrically connected to one end of the resistor R37, and the other end of the resistor R37 is electrically connected to a B2 pin and a D2 pin of the first power switching chip; a P4 pin, a P6 pin and a P7 pin of the first watchdog chip are electrically connected to a P6 pin, a P2 pin and a P3 pin of the connector J5 respectively; a P1 pin of the timer J4 is electrically connected to a P2 pin of the timer J4; a P2 pin of the timer J4 is electrically connected to a P3 pin of the timer J4 ...3 pin of the timer J4 is electrically connected to a P2 pin of the timer J4; a P3 pin of the timer J4 is electrically connected to a P2 pin of the timer J4; a P3 pin of the timer J4 is electrically connected to a P3 pin of the timer J4; a P4 pin, a P6 pin and a P7 pin of the first watchdog chip are electrically connected to a P2 pin of the timer J4; a P3 pin of the timer J4 is electrically connected to a P3 pin of the timer J4; a P3 pin of the timer J4 is electrically connected to a P3 pin of the timer J4; a P3 pin of the timer J4 is electrically connected to a P3 pin of the timer The P1 pin and the P2 pin are electrically connected to one end of the resistor R54 and the resistor R52 respectively; the other end of the resistor R52 is electrically connected to the first power switching chip, and the other end of the resistor R54 is grounded; the P4 pin of the first watchdog chip is electrically connected to one end of the resistor R55, and the other end of the resistor R55 is electrically connected to the resistor R53 and one end of the capacitor C43; the other end of the resistor R53 is electrically connected to the first power switching chip, and the other end of the capacitor C43 is grounded; the P5 pin of the connector J5 is electrically connected to the main power supply, and the P4 pin of the connector J5 is grounded; the model of the first watchdog chip is PIC12F629-E.

[0010] In a possible implementation, the second hardware watchdog circuit further includes: a timer J6, a connector J7, a resistor R43, a resistor R57, a resistor R61, a resistor R62, a resistor R58 and a capacitor C48; a P2 pin of the second watchdog chip is electrically connected to a P2 pin of the timer J6; a P3 pin of the second watchdog chip is electrically connected to one end of the resistor R43, and the other end of the resistor R43 is electrically connected to a B2 pin and a D2 pin of the second power switching chip; a P4 pin, a P6 pin and a P7 pin of the second watchdog chip are electrically connected to a P6 pin, a P2 pin and a P3 pin of the connector J7 respectively; a P1 pin of the timer J6 The P1 pin and the P2 pin are electrically connected to one end of the resistor R57 and the resistor R61 respectively; the other end of the resistor R57 is electrically connected to the first power switching chip, and the other end of the resistor R61 is grounded; the P4 pin of the second watchdog chip is electrically connected to one end of the resistor R62, and the other end of the resistor R62 is electrically connected to the resistor R58 and one end of the capacitor C48; the other end of the resistor R58 is electrically connected to the first power switching chip, and the other end of the capacitor C48 is grounded; the P5 pin of the connector J7 is electrically connected to the main power supply, and the P4 pin of the connector J7 is grounded; the model of the second watchdog chip is PIC12F629-E.

[0011] In a possible implementation, the main power supply further includes: a third power switching chip, an electrolytic capacitor C32, an electrolytic capacitor C33, an electrolytic capacitor C35 and an electrolytic capacitor C36; the third power switching chip is electrically connected to the arbitration circuit, and the third power switching chip is electrically connected to the chip switching circuit; the D1 pin, E1 pin, A1 pin and B1 pin of the third power switching chip are electrically connected to the arbitration circuit; the D1 pin and E1 pin of the third power switching chip are electrically connected to the chip switching circuit; The E2 pin, D3 pin, A2 pin and B3 pin of the third power switching chip are all electrically connected to the main power supply; one end of the electrolytic capacitor C32 and the electrolytic capacitor C33 are both electrically connected to the A1 pin and the B1 pin of the third power switching chip; one end of the electrolytic capacitor C35 and the electrolytic capacitor C36 are both electrically connected to the D1 pin and the E1 pin of the third power switching chip; the other ends of the electrolytic capacitor C32, the electrolytic capacitor C33, the electrolytic capacitor C35 and the electrolytic capacitor C36 are grounded respectively.

[0012] In a possible implementation, it also includes: a reset circuit; the reset circuit is electrically connected to the first power switching chip, the second power switching chip and the third power switching chip; the reset circuit is electrically connected to the detection chip; specifically, the reset circuit includes: a reset chip, a resistor R63, a resistor R64, a resistor R65, a resistor R59, a resistor R60 and a capacitor C49; the P1 pin and the P2 pin of the reset chip are electrically connected to the P8 pin and the P11 pin of the detection chip respectively; the P4 pin of the reset chip is electrically connected to one end of the resistor R63, the resistor R64 and the resistor R65; the P1 pin, the P2 pin and the P5 pin of the reset chip Correspondingly electrically connected to the resistor R59, the resistor R60 and one end of the capacitor C49; the other end of the resistor R59 is electrically connected to the other end of the resistor R60; the P5 pin of the reset chip is electrically connected to the main power supply; the other end of the resistor R63 is electrically connected to the B2 pin and the D4 pin of the first power switching chip; the other end of the resistor R64 is electrically connected to the B2 pin and the D4 pin of the second power switching chip; the other end of the resistor R65 is electrically connected to the B2 pin and the D4 pin of the third power switching chip; the other end of the resistor R59 is electrically connected to the main power supply, the other end of the capacitor C49 is grounded, and the P3 pin of the reset chip is grounded.

[0013] In a possible implementation, it also includes: an indication circuit; the indication circuit is electrically connected to the arbitration circuit; the indication circuit is electrically connected to the third power switching chip, and the indication circuit is electrically connected to the chip switching circuit; the indication circuit includes: a light-emitting diode LED1, a light-emitting diode LED1, a resistor R28 and a resistor R26; the anode of the light-emitting diode LED1 is electrically connected to the P10 pin and the P11 pin of the detection chip, and the anode of the light-emitting diode LED2 is electrically connected to the P8 pin and the P9 pin of the detection chip; the cathode of the light-emitting diode LED1 and the cathode of the light-emitting diode LED2 are electrically connected to one end of the resistor R28 and the resistor R26 respectively, and the other end of the resistor R28 and the resistor R26 is electrically connected to the main power supply.

[0014] In a possible implementation, the main power supply further includes: an electrolytic capacitor C14, an electrolytic capacitor C15, an electrolytic capacitor C17, an electrolytic capacitor C18, an electrolytic capacitor C23, an electrolytic capacitor C24, an electrolytic capacitor C26 and an electrolytic capacitor C27; one end of the electrolytic capacitor C14 and the electrolytic capacitor C15 are electrically connected to the A1 pin and the B1 pin of the first power switching chip; one end of the electrolytic capacitor C17 and the electrolytic capacitor C18 are electrically connected to the D1 pin and the E1 pin of the first power switching chip;

[0015] One end of the electrolytic capacitor C23 and the electrolytic capacitor C24 are both electrically connected to the A1 pin and the B1 pin of the second power switching chip; one end of the electrolytic capacitor C26 and the electrolytic capacitor C27 are both electrically connected to the D1 pin and the E1 pin of the second power switching chip; the A1 pin, B1 pin, D1 pin and E1 pin of the first power switching chip and the second power switching chip are electrically connected to the first core board and the second core board respectively; the other ends of the electrolytic capacitor C14, the electrolytic capacitor C15, the electrolytic capacitor C17, the electrolytic capacitor C18, the electrolytic capacitor C23, the electrolytic capacitor C24, the electrolytic capacitor C26 and the electrolytic capacitor C27 are grounded respectively; the model of the first power switching chip is LTM4622EY#PBF; the model of the second power switching chip is LTM4622EY#PBF; the model of the third power switching chip is LTM4622EY#PBF.

[0016] Beneficial effects of this application:

[0017] The main and standby dual CPU arbitration circuit proposed in this application has a simple connection mode, and solves the adverse effects and troubles caused by failures in the wireless communication equipment of railway trains, taking into account the advantages of optimizing cost reduction, system design complexity, and simplified design. When one of the core boards fails, the failure is detected and automatically switched to the standby core board working mode, so that the wireless communication equipment of the railway train can continue to work stably without power failure. Specifically, if the first core board fails, the arbitration circuit judges the working state of the first core board, and transmits a signal to the chip switching circuit, and the chip switching circuit promptly cuts off the relevant circuits of the first power switching chip, at which time the first core board stops working, switches the second core board to work, and always keeps the entire railway train able to work stably.

[0018] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.

[0020] Figure 1 A circuit diagram showing an arbitration chip of a master-slave dual CPU arbitration circuit according to an embodiment of the present application;

[0021] Figure 2 A circuit diagram showing a detection chip of a master-slave dual CPU arbitration circuit according to an embodiment of the present application;

[0022] Figure 3 A circuit diagram showing a first watchdog chip according to an embodiment of the present application;

[0023] Figure 4 A circuit diagram showing a second watchdog chip according to an embodiment of the present application;

[0024] Figure 5 A circuit diagram showing a data synchronization circuit of a master-slave dual CPU arbitration circuit according to an embodiment of the present application;

[0025] Figure 6 A circuit diagram showing a first power switching chip according to an embodiment of the present application;

[0026] Figure 7 A circuit diagram showing a second power switching chip according to an embodiment of the present application;

[0027] Figure 8 A circuit diagram showing a third power switching chip according to an embodiment of the present application;

[0028] Fig. 9A circuit diagram showing a reset circuit of a master-slave dual CPU arbitration circuit according to an embodiment of the present application;

[0029] Fig.10 A circuit diagram showing an indication circuit of a master-slave dual CPU arbitration circuit according to an embodiment of the present application;

[0030] Fig.11 A circuit diagram showing a serial port of a chip switching circuit according to an embodiment of the present application;

[0031] Fig.12 A circuit diagram of a switching chip of a chip switching circuit according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0032] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings need not be drawn to scale unless otherwise specified. It should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, only for the convenience of describing the present application or simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically limited. The special word "exemplary" here means "used as an example, embodiment or illustrative". Any embodiment described here as "exemplary" is not necessarily interpreted as being superior to or better than other embodiments. In addition, in order to better illustrate the present application, numerous specific details are given in the specific embodiments below. Those skilled in the art should understand that the present application can also be implemented without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present application.

[0033] like Figure 1-Figure 12As shown, the main standby dual CPU arbitration circuit is suitable for being installed in the wireless communication equipment of railway train, including: the first core board, the second core board, the arbitration circuit, the chip switching circuit and the main power supply. The arbitration circuit and the chip switching circuit are both electrically connected to the main power supply. The main power supply has a first power switching chip U6 and a second power switching chip U7, and the first power switching chip U6 and the second power switching chip U7 are electrically connected to the first core board and the second core board respectively. The first core board and the second core board are both electrically connected to the arbitration circuit and the chip switching circuit, and the arbitration circuit is electrically connected to the chip switching circuit. The arbitration circuit includes: arbitration chip U5, detection chip U4, resistor R27, resistor R29, resistor R30 and resistor R34. The P5 pin of arbitration chip U5 is electrically connected to the first core board, and the P11 pin of arbitration chip U5 is electrically connected to the second core board. The P6 pin and P10 pin of arbitration chip U5 are electrically connected to the P12 pin and P9 pin of detection chip U4 respectively, and the P8 pin, P10 pin, P11 pin and P13 pin of detection chip U4 are all electrically connected to the chip switching circuit. The P5 pin, P11 pin, P3 pin and P14 pin of the arbitration chip U5 are electrically connected to one end of the resistor R27, the resistor R34, the resistor R29 and the resistor R30 respectively, the other end of the resistor R27 is electrically connected to the other end of the resistor R29, and the other end of the resistor R34 is electrically connected to the other end of the resistor R30. The other ends of the resistors R29 and R30 are electrically connected to the main power supply.

[0034] The main standby dual CPU arbitration circuit proposed in this embodiment has a simple connection mode, and solves the adverse effects and troubles caused by the failure of the railway train during the wireless communication process, taking into account the advantages of optimizing cost reduction, system design complexity, simplified design, etc. When one of the core boards fails, the failure is detected and automatically switched to the standby core board working mode, so that the railway train wireless communication equipment can continue to work stably without power failure. Specifically, the main standby dual CPU arbitration circuit of the present application sets an arbitration circuit, and the arbitration circuit can pass through the use state of the first core board and the second core board, and switch the first core board and the second core board through the chip switching circuit, so that the wireless communication equipment of the railway train can always operate normally. And by setting the first power switching chip U6 and the second power switching chip U7, and the first power switching chip U6 and the first core board are electrically connected, and the second power switching chip U7 and the second core board are electrically connected, so that the first core board and the second core board can operate separately, and complementary interference. Preferably, the model of the first core board is RK3568 and the model of the second core board is RK3568. It should be further explained that the first core board and the second core board send heartbeat pulse signals at the same time, and the heartbeat pulse chips of the two core boards correspond to the P5 pin and P11 pin input of the arbitration chip U5, following the "who is faster who makes the decision logic design", and the arbitration chip U5 is internally provided with a high-speed CMOS multifunctional monostable chip, and the input timing signal is converted into the output monostable pulse signal, corresponding to the P6 pin and P10 pin output from the arbitration chip U5, so the arbitration circuit is used for various timing and timing control applications. The arbitration circuit feedbacks the main standby detection signal to be transmitted to the P9 pin and P10 pin using the detection chip U4, and the truth table detection is performed by the P12 pin and P13 pin of the detection chip U4. The P8 pin and P11 pin of the arbitration chip U5 are electrically connected to the reset circuit, and the corresponding output signal triggers the control of the first core board second core board enable signal, resets the enable pin of the first power switching chip U6 and resets the enable pin of the second power switching chip U7. In addition, the software part involved in this application can be solved by the prior art, so it is not repeated too much in this embodiment.

[0035] like Figure 1 and Figure 2As shown, in one specific embodiment, the arbitration circuit also includes: resistor R25, resistor R32, capacitor C9, capacitor C10 and capacitor C8. The P2 pin and P13 pin of the arbitration chip U5 are electrically connected to one end of the resistor R25 and the resistor R32, and the other end of the resistor R25 and the resistor R32 is electrically connected to the main power supply. The P2 pin, P14 and P16 pins of the arbitration chip U5 are electrically connected to one end of the capacitor C9, capacitor C10 and capacitor C8, and the other end of the capacitor C9, capacitor C10 and capacitor C8 is grounded. The model of the arbitration chip U5 is 74HC4538D, and the model of the detection chip U4 is SN74HC00PWR. In this embodiment, it should be noted that the arbitration chip U5 The pin of arbitration chip U5 is electrically connected to the first core board, and the 1Q pin of arbitration chip U5 is electrically connected to the 4A pin of detection chip U4. The pin is electrically connected to the second core board, and the 2Q pin of the arbitration chip U5 is electrically connected to the 3A pin of the detection chip U4.

[0036] The first core board sends the arbitration chip U5 Pin input pulse signal, the second core board arbitration chip U5 Pin inputs pulse signals, and the arbitration chip U5 converts the timing signals input by the first core board and the second core board into pulse signals for judgment. The 1Q pin of the arbitration chip U5 then inputs the 4A pin of the detection chip U4, and the 2Q pin of the arbitration chip U5 then inputs the 3A pin of the detection chip U4. The detection chip U4 detects the working status of the first core board and the second core board in real time, and inputs signals to the A pin and B pin of the reset chip U13. The Y pin of the reset chip U13 transmits signals to the RUNI pin and RUN2 pin of the first power switching chip U6, the second power switching chip U7 and the third power switching chip U8 respectively to control the operation of the first core board and the second core board, so that the wireless communication equipment of the railway train can continue to work stably when a fault occurs. It should also be noted that the arbitration chip U5 The pin is electrically connected to one end of the resistor R27, and the arbitration chip U5 The pin is electrically connected to one end of resistor R29, the other end of resistor R27 is electrically connected to the other end of resistor R29, and the other end of resistor R29 is electrically connected to the main power supply. The resistance of resistor R27 is 1K, and it is packaged in 0603. The resistance of resistor R29 is 30R, and it is packaged in 0603. Resistor R27 is mainly used for signal conditioning and protection. Resistor R29 is mainly used for current detection and power supply stability. The arbitration chip U5 The pin is electrically connected to one end of resistor R34, the 2REXT pin of arbitration chip U5 is electrically connected to one end of resistor R30, the CEXT pin of arbitration chip U5 is electrically connected to one end of resistor R30, the other end of resistor R34 is electrically connected to the other end of resistor R30, and the other end of resistor R30 is electrically connected to the main power supply. Resistor R30 is 33K. Resistor R34 is 1K, and resistor R34 is packaged in 0603. One end of resistor R30 is electrically connected to one end of capacitor C10, and the other end of capacitor C10 is grounded. Resistor R34 is used for current limiting, protection and signal isolation, resistor R30 is used as a pull-up resistor, voltage divider and current limiting, and capacitor C10 plays a filtering role to ensure the stable operation of the circuit. It should also be noted that the 1REXT pin of arbitration chip U5 is electrically connected to one end of resistor R25, the CEXT pin of arbitration chip U5 is electrically connected to one end of the fifth resistor R25, and the other end of resistor R25 is electrically connected to the main power supply. The resistance of resistor R25 is 33K and is packaged in 0603. The main functions of resistor R25 in the circuit are current limiting, voltage division, improving circuit stability and energy saving. These functions together ensure the normal operation and long-term stability of the arbitration chip U5. In addition, the resistor R25 in 0603 package also has the advantages of small size and high integration, which is suitable for the needs of modern electronic equipment for miniaturization and high performance. The 1REXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C9, the CEXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C9, and the other end of the capacitor C9 is grounded. The capacitance of capacitor C9 is 47μF and is packaged in 0806. The main functions of capacitor C9 in the circuit are filtering, energy storage and circuit protection. It should be further explained that the arbitration chip U5 The pin is electrically connected to one end of the resistor R32, the VCC pin of the arbitration chip U5 is electrically connected to one end of the capacitor C8, and one end of the capacitor C8 is electrically connected to the other end of the sixth resistor R32. The other end of the resistor R32 is electrically connected to the main power supply, and the other end of the capacitor C8 is grounded. The resistance of the resistor R32 is 30R. The capacitance of the capacitor C8 is 0.11μF, and it is packaged in 0603. The resistor R32 mainly plays the role of current limiting and power connection, while the capacitor C8 is mainly used for filtering to ensure the stable power supply and operation of the arbitration chip U5. It should also be noted that the 1REXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C10, the CEXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C10, and the other end of the capacitor C10 is grounded. The 1CD pin of the arbitration chip U5 is electrically connected to the capacitor. The IREXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C9, and the CEXT pin of the arbitration chip U5 is electrically connected to one end of the capacitor C9, and the other end of the capacitor C9 is grounded. The 1B pin of the arbitration chip U5 is electrically connected to one end of the resistor R31, and the other end of R31 is grounded. The 2B pin of the arbitration chip U5 is electrically connected to one end of the resistor R33, and the other end of the resistor R33 is grounded. The GND pin of the arbitration chip U5 is grounded, the 1CEXT pin of the arbitration chip U5 is grounded, and the 2CEXT pin of the arbitration chip U5 is grounded. It should also be noted that the resistance values ​​of the resistor R31 and the resistor R33 are both 30R. One end of the resistor R31 is electrically connected to the 1B pin of the arbitration chip U5, and the other end is grounded. One end of the resistor R33 is electrically connected to the 2B pin of the arbitration chip U5, and the other end is grounded.

[0037] like Figure 3 and Figure 4, in one of the specific embodiments, it also includes: a first hardware watchdog circuit and a second hardware watchdog circuit. The first hardware watchdog circuit is electrically connected to the first core board, and the first hardware watchdog circuit is electrically connected to the first power switching chip U6. The second hardware watchdog circuit is electrically connected to the second core board, and the second hardware watchdog circuit is electrically connected to the second power switching chip U7. Wherein, the first hardware watchdog circuit includes: a first watchdog chip U10, a resistor R56, a capacitor C41, and a capacitor C42. The P5 pin of the first watchdog chip U10 is electrically connected to one end of the resistor R56, and the other end of the resistor R56 is electrically connected to the first core board. The P1 pin of the first watchdog chip U10 is electrically connected to one end of the capacitor C41 and the capacitor C42, and one end of the capacitor C41 and the capacitor C42 is electrically connected to the D1 pin, the E1 pin, the A1 pin, and the B1 pin of the first power switching chip U6. Wherein, the second hardware watchdog circuit includes: a second watchdog chip U12, a resistor R65, a capacitor C46, ​​and a capacitor C47. The P5 pin of the second watchdog chip U12 is electrically connected to one end of the resistor R65, and the other end of the resistor R65 is electrically connected to the second core board. The P1 pin of the second watchdog chip U12 is electrically connected to one end of the capacitor C46 and the capacitor C47, and one end of the capacitor C46 and the capacitor C47 is electrically connected to the D1 pin, E1 pin, A1 pin and B1 pin of the second power switching chip U7. In this embodiment, it should be noted that the mainboard is designed with 2 hardware watchdog chips, respectively, to supervise the A / B core board, mainly by sending heartbeat pulses through the A / B core board to determine whether A / B is still working normally. It should also be noted that the capacitance of capacitor C41 is 10μF, and the withstand voltage is 50V, and capacitor C41 is packaged in 0806. The capacitance of capacitor C42 is 0.1μF, and capacitor C42 is packaged in 0402. The resistance of resistor R56 is 100R, which is a precision resistor with an accuracy of 1%, and is packaged in 0402. The capacitance of capacitor C46 is 10μF, and the withstand voltage is 50V, and capacitor C46 is packaged in 0806. The capacitance of capacitor C47 is 0.1μF, and capacitor C47 is packaged in 0402. The resistance of resistor R65 is 100R, which is a precision resistor with an accuracy of 1%, and is packaged in 0402. Capacitor C41, capacitor C42, capacitor C46 and capacitor C47 are mainly used for power supply filtering and voltage stabilization to ensure the stable operation of the watchdog chip. Resistor R56 connects the P5 pin of the first watchdog chip U10 and the first core board, and plays a role in signal transmission. It ensures the stable transmission of the signal and may be used for current limiting or protection circuits. Resistor R65 connects the P5 pin of the second watchdog chip U12 and the second core board, and plays a role in signal transmission. It ensures the stable transmission of the signal and may be used for current limiting or protection circuits.

[0038] like Figure 5As shown, in one of the specific embodiments, it also includes: a first data synchronization circuit, a second data synchronization circuit and a network transformer. The first data synchronization circuit is electrically connected to the second data synchronization circuit through the network transformer. The first data synchronization circuit is electrically connected to the first core board, and the first data synchronization circuit is electrically connected to the first power switching chip U6. Wherein, the first data synchronization circuit has a first PHY chip. The P1 pin, P3 pin, P6 pin and P7 pin of the first PHY chip are all electrically connected to the network transformer. The P9 pin, P11 pin, P14 pin and P16 pin of the first PHY chip are all electrically connected to the first core board. The second data synchronization circuit is electrically connected to the second core board, and the second data synchronization circuit is electrically connected to the second power switching chip U7. Wherein, the second data synchronization circuit has a second PHY chip. The P1 pin, P3 pin, P6 pin and P7 pin of the second PHY chip are all electrically connected to the network transformer. The P9 pin, P11 pin, P14 pin and P16 pin of the second PHY chip are all electrically connected to the second core board. In this embodiment, it should be noted that the first core board and the second core board are powered on at the same time. When the first core board is used as the main work, the second core board needs to obtain the real-time data of the first core board, and needs A to send the data to B for data synchronization. The first PHY chip needs the first power switching chip U6 independent power supply to be powered. The second PHY chip needs the second power switching chip U7 independent power supply to be powered. The network connection of the first core board and the network connection of the second core board need to add a network transformer to connect the work. The same IO pin of the first core board and the second core board is designed to be pulled up and pulled down by default. This IO is used as the A / B board synchronous network IP detection signal, so that the software personnel set the A / B board IP address through this IO. The two networks have the same gateway, but the IP addresses are different. For example, the first core board IP is fixedly set to 192.168.3.232, and the second core board IP address is set to 192.168.3.231. The first core board or the second core board performs data synchronization and can transfer files through the scp command. More specifically, the first data synchronization circuit is electrically connected to the first core board, the first data synchronization circuit is electrically connected to the VOUT1 pin of the first power switching chip U6, and the first data synchronization circuit is electrically connected to the VOUT1-2 pin of the first power switching chip U6. The second data synchronization circuit is electrically connected to the second core board, the second data synchronization circuit is electrically connected to the VOUT1 pin of the second power switching chip U7, and the second data synchronization circuit is electrically connected to the VOUT1-2 pin of the second power switching chip U7. It should be further explained that the first data synchronization circuit has a first PHY chip, and the second data synchronization circuit has a second PHY chip. The TD+ pin of the first PHY chip, the TD- pin of the first PHY chip, the RD+ pin of the first PHY chip, and the RD+ pin of the first PHY chip are all electrically connected to the network transformer.The TX+ pin of the first PHY chip, the TX- pin of the first PHY chip, the RX+ pin of the first PHY chip, and the RX+ pin of the first PHY chip are all electrically connected to the first core board. The TD+ pin of the second PHY chip, the TD- pin of the second PHY chip, the RD+ pin of the second PHY chip, and the RD+ pin of the second PHY chip are all electrically connected to the network transformer. The TX+ pin of the second PHY chip, the TX- pin of the second PHY chip, the RX+ pin of the second PHY chip, and the RX+ pin of the second PHY chip are all electrically connected to the second core board.

[0039] As shown in Table 1, the truth value detection table of the first core board and the second core board, "0" defaults to the core board working, and "1" defaults to the core board backup.

[0040]

[0041]

[0042] Table 1 Truth value detection table of the first core board and the second core board

[0043] As shown in Table 1, it can be known that if both the first core board and the second core board output "0" or "1", the first core board and the second core board are not working. If the output of the first core board is "0", when the output of the second core board is "1", it means that the first core board is in the main working state, and the second core is in the state of backing up the first core board working data. If the output of the second core board is "0", when the output of the first core board is "1", it means that the second core board is in the main working state, and the second core board is in the state of backing up the first core board working data.

[0044] like Figure 3As shown, in one specific embodiment, the first hardware watchdog circuit also includes: a timer J4, a connector J5, a resistor R37, a resistor R52, a resistor R54, a resistor R53, a resistor R55 and a capacitor C43. The P2 pin of the first watchdog chip U10 is electrically connected to the P2 pin of the timer J4. The P3 pin of the first watchdog chip U10 is electrically connected to one end of the resistor R37, and the other end of the resistor R37 is electrically connected to the B2 pin and the D2 pin of the first power switching chip U6. The P4 pin, the P6 pin and the P7 pin of the first watchdog chip U10 are electrically connected to the P6 pin, the P2 pin and the P3 pin of the connector J5 respectively. The P1 pin and the P2 pin of the timer J4 are electrically connected to one end of the resistor R54 and the resistor R52 respectively. The other end of the resistor R52 is electrically connected to the first power switching chip U6, and the other end of the resistor R54 is grounded. The P4 pin of the first watchdog chip U10 is electrically connected to one end of a resistor R55, and the other end of the resistor R55 is electrically connected to one end of a resistor R53 and a capacitor C43. The other end of the resistor R53 is electrically connected to the first power switching chip U6, and the other end of the capacitor C43 is grounded. The P5 pin of the connector J5 is electrically connected to the main power supply, and the P4 pin of the connector J5 is grounded. The model of the first power switching chip U6 is LTM4622EY#PBF, and the model of the first watchdog chip U10 is PIC12F629-E. In this embodiment, it should be noted that the working principle of the first watchdog chip U10 is that the first watchdog chip U10 is powered by the first power switching chip U6 independent power supply. After the first watchdog chip U10 is powered on, it waits for the heartbeat pulse sent by the first core board to check whether the first core board is working. Specifically, the first core board is electrically connected to the P5 pin of the first watchdog chip U10, and the waiting time can be set to 1 minute. If the waiting timeout, the first core board will trigger the P2 pin of the first watchdog chip U10 of the power enable signal, cut off the power supply for 5s and then power on again, the first watchdog circuit continues to wait for the heartbeat pulse signal, the watchdog count + 1, if the watchdog count exceeds 3 times, the first power switching chip U6 will be completely shut down. More specifically, the resistance of resistor R37 is 1K, and 0603 packaging is performed. Connecting a 1K resistor between the first watchdog chip U10 and the first power switching chip U6 is mainly to limit current, achieve impedance matching, absorb interference pulses and facilitate debugging and testing. It should be noted that the resistance of resistor R52 is 10K, which is a precision resistor with an accuracy of 1%, and 0402 packaging is performed. The resistance of resistor R54 is 1K, which is a precision resistor with an accuracy of 1%, and 0402 packaging is performed. It should be noted here that resistor R52 is mainly used as a pull-up resistor to set a high level state and provide current limiting protection. Resistor R54 is used as a pull-down resistor to provide a stable low-level reference, a current loop and a certain protection effect. It should also be noted that the resistance of resistor R53 is 47K and is packaged in 0402.The resistance value of resistor R55 is 100R, which is a precision resistor with an accuracy of 1%, and is packaged in 0402. The capacitance value of capacitor C43 is 0.1μF, and is packaged in 0402. It should be noted here that resistor R55 is mainly used for current limiting and protecting the first watchdog chip U10. In addition to voltage division and current limiting, resistor R53 may also be used as a pull-up or pull-down resistor. Capacitor C43 is mainly used for power supply filtering and energy storage buffering.

[0045] like Figure 4As shown, in one specific embodiment, the second hardware watchdog circuit also includes: a timer J6, a connector J7, a resistor R43, a resistor R57, a resistor R61, a resistor R62, a resistor R58 and a capacitor C48. The P2 pin of the second watchdog chip U12 is electrically connected to the P2 pin of the timer J6. The P3 pin of the second watchdog chip U12 is electrically connected to one end of the resistor R43, and the other end of the resistor R43 is electrically connected to the B2 pin and the D2 pin of the second power switching chip U7. The P4 pin, the P6 pin and the P7 pin of the second watchdog chip U12 are electrically connected to the P6 pin, the P2 pin and the P3 pin of the connector J7 respectively. The P1 pin and the P2 pin of the timer J6 are electrically connected to one end of the resistor R57 and the resistor R61 respectively. The other end of the resistor R57 is electrically connected to the first power switching chip U6, and the other end of the resistor R61 is grounded. The P4 pin of the second watchdog chip U12 is electrically connected to one end of a resistor R62, and the other end of the resistor R62 is electrically connected to one end of a resistor R58 and a capacitor C48. The other end of the resistor R58 is electrically connected to the first power switching chip U6, and the other end of the capacitor C48 is grounded. The P5 pin of the connector J7 is electrically connected to the main power supply, and the P4 pin of the connector J7 is grounded. The model of the second power switching chip U7 is LTM4622EY#PBF. The model of the second watchdog chip U12 is PIC12F629-E. In this embodiment, it should be noted that the second watchdog chip U12 is powered by the second power switching chip U7 independent power supply. After the second watchdog chip U12 is powered on, it waits for the heartbeat second rush sent by the second core board to be checked, and is input from the P5 pin of the second watchdog chip U12. Whether the second core board works, the waiting time can be set to 1 minute. If the waiting timeout occurs, the second core board will trigger the power enable signal P2 pin of the second watchdog chip U12U10, cut off the power supply for 5s and then power on again. The watchdog continues to wait for the heartbeat pulse signal, and the watchdog counts +1. If the watchdog count exceeds 3 times, the second power switching chip U7 will be completely shut down. It should be noted that the resistance value of resistor R43 is 1K, and 0603 is packaged. Connecting a 1K resistor between the second watchdog chip U12 and the second power switching chip U7 is mainly to limit current, achieve impedance matching, absorb interference pulses, and facilitate debugging and testing. These measures jointly improve the stability and reliability of the circuit and ensure normal communication and operation between chips. It should also be noted that the resistance value of resistor R57 is 10K, which is a precision resistor with an accuracy of 1%, and the resistor R57 is packaged in R0402. The resistance value of resistor R61 is 1K, which is a precision resistor with an accuracy of 1%, and the resistor R61 is packaged in R0402. It should be noted that the resistor R57 is mainly used as a pull-up resistor to set the high level state and provide current limiting protection, while the resistor R61 is used as a pull-down resistor to provide a stable low level reference, current loop and certain protection.It should also be noted that the resistance value of resistor R62 is 100R, and resistor R62 is a precision resistor with a precision value of 1%, and is packaged in 0402. The resistance value of resistor R58 is 47K, and is packaged in 0402. The capacitance value of capacitor C48 is 0.1μF, and is packaged in 0402. It should be noted here that resistor R62 is mainly used for current limiting and protecting the second watchdog chip U12. In addition to voltage division and current limiting, resistor R58 may also be used as a pull-up or pull-down resistor. Capacitor C48 is mainly used for power supply filtering, decoupling, and energy storage buffering. It should also be noted that the 0402 package refers to a component with a width of 0.04 inches and a length of 0.02 inches. That is, the package size, the width of the component is about 1.0mm and the length is 0.5mm, which is mainly used for compact circuit boards and microelectronic devices. The 0806 package refers to a component with a width of 0.08 inches and a length of 0.06 inches. That is, the package size, the width of the component is about 2.0mm and the length is 1.5mm.

[0046] like Figure 8As shown, in one specific embodiment, the main power supply also includes: a third power switching chip U8, an electrolytic capacitor C32, an electrolytic capacitor C33, an electrolytic capacitor C35 and an electrolytic capacitor C36. The third power switching chip U8 is electrically connected to the arbitration circuit, and the third power switching chip U8 is electrically connected to the chip switching circuit. The D1 pin, E1 pin, A1 pin and B1 pin of the third power switching chip U8 are electrically connected to the arbitration circuit. The D1 pin and E1 pin of the third power switching chip U8 are electrically connected to the chip switching circuit. The E2 pin, D3 pin, A2 pin and B3 pin of the third power switching chip U8 are all electrically connected to the main power supply. One end of the electrolytic capacitor C32 and the electrolytic capacitor C33 are both electrically connected to the A1 pin and the B1 pin of the third power switching chip U8. One end of the electrolytic capacitor C35 and the electrolytic capacitor C36 are both electrically connected to the D1 pin and the E1 pin of the third power switching chip U8. The other ends of the electrolytic capacitor C32, the electrolytic capacitor C33, the electrolytic capacitor C35 and the electrolytic capacitor C36 are grounded respectively. In this embodiment, it should be noted that the VOUT1 pin of the third power switching chip U8, the VOUT1-2 pin of the third power switching chip U8, the VOUT2 pin of the third power switching chip U8, and the VOUT2-2 pin of the third power switching chip U8 are all electrically connected to the arbitration circuit. More specifically, the VOUT2 pin of the third power switching chip U8 and the VOUT2-2 pin of the third power switching chip U8 are all electrically connected to one end of the electrolytic capacitor C32 and the electrolytic capacitor C33, and the other end of the electrolytic capacitor C32 and the electrolytic capacitor C33 is grounded. The VOUT1 pin of the third power switching chip U8 and the VOUT1-2 pin of the third power switching chip U8 are all electrically connected to the chip switching circuit. The VOUT1 pin of the third power switching chip U8 and the VOUT1-2 pin of the third power switching chip U8 are all electrically connected to one end of the electrolytic capacitor C35 and the electrolytic capacitor C36, and the other end of the electrolytic capacitor C35 and the electrolytic capacitor C36 is grounded. Electrolytic capacitors C32, C33, C35 and C36 are mainly used for filtering, voltage stabilization and improving circuit reliability. The VIN1 pin of the third power switching chip U8, the VIN1-1 pin of the third power switching chip U8, the VIN2 pin of the third power switching chip U8 and the VIN2-2 pin of the third power switching chip U8 are all electrically connected to the main power supply. The VIN1 pin of the third power switching chip U8, the VIN1-1 pin of the third power switching chip U8, the VIN2 pin of the third power switching chip U8 and the VIN2-2 pin of the third power switching chip U8 are all electrically connected to one end of the electrolytic capacitor C30, the electrolytic capacitor C31 and the transient suppression diode TVS3, and the other ends of the electrolytic capacitor C30, the electrolytic capacitor C31 and the transient suppression diode TVS3 are grounded. The electrolytic capacitors C30 and C31 play the role of filtering and energy storage, while the transient suppression diode TVS3 provides overvoltage and electrostatic discharge protection.In addition, it should be noted that the FB1 pin of the third power switching chip U8 is electrically connected to one end of the resistor R50, the FB2 pin of the third power switching chip U8 is electrically connected to one end of the resistor R49, and the other end of the resistor R49 and the other end of the resistor R50 are grounded. The FB1 pin of the third power switching chip U8 and the FB2 pin of the third power switching chip U8 are mainly used to monitor and adjust the output voltage, while the resistors R49 and R50 play the role of voltage division, current limiting and protection of the feedback pin.

[0047] like Fig. 9As shown, in one specific embodiment, it also includes: a reset circuit. The reset circuit is electrically connected to the first power switching chip U6, the second power switching chip U7 and the third power switching chip U8. The reset circuit is electrically connected to the detection chip U4. Specifically, the reset circuit includes: a reset chip U13, a resistor R63, a resistor R64, a resistor R65, a resistor R59, a resistor R60 and a capacitor C49. The P4 pin of the reset chip U13 is electrically connected to one end of the resistor R63, the resistor R64 and the resistor R65. The P1 pin and the P2 pin of the reset chip U13 are electrically connected to the P8 pin and the P11 pin of the detection chip U4 respectively. The P1 pin, the P2 pin and the P5 pin of the reset chip U13 are electrically connected to one end of the resistor R59, the resistor R60 and the capacitor C49 respectively. The other end of the resistor R59 is electrically connected to the other end of the resistor R60. The P5 pin of the reset chip U13 is electrically connected to the main power supply. The other end of the resistor R63 is electrically connected to the B2 pin and the D4 pin of the first power switching chip U6. The other end of the resistor R64 is electrically connected to the B2 pin and the D4 pin of the second power switching chip U7. The other end of the resistor R65 is electrically connected to the B2 pin and the D4 pin of the third power switching chip U8. The other end of the resistor R59 is electrically connected to the main power supply, the other end of the capacitor C49 is grounded, and the P3 pin of the reset chip U13 is grounded. In this embodiment, it should be noted that, specifically, the reset circuit has a reset chip U13, the Y pin of the reset chip U13 is electrically connected to the first power switching chip U6, the Y pin of the reset chip U13 is electrically connected to the second power switching chip U7, and the Y pin of the reset chip U13 is electrically connected to the second power switching chip U7. The A pin of the reset chip U13 and the B pin of the reset chip U13 are both electrically connected to the main power supply, the VCC pin of the reset chip U13 is electrically connected to the main power supply, and the GND pin of the reset chip U13 is grounded. It should be further explained that, regarding the above three power supplies, there are enable pins, which are enabled by default. The first power switching chip U6 and the second power switching chip U7 can switch the enable signal through the watchdog hardware chip, the first power switching chip U6, the first power switching chip U6 and the third power switching chip U8 enable pin PB2 pin (need to be confirmed), and finally can also be reset through the global reset pin, such as the output enable of the P4 pin of the reset chip U13. More specifically, the resistance values ​​of resistors R63, R64 and R65 are all 10K, and they are packaged in 0603. Resistors R63, R64 and R65 are electrically connected to the B2 and D4 pins of the three power switching chips, which are used to transmit reset signals and limit current at the same time, protecting the reset chip U13 and the power switching chip from potential overcurrent damage. The resistance values ​​of resistors R59 and R60 are 10K, and they are packaged in 0603. The capacitance of capacitor C49 is 0.1μF, and it is packaged in 0402.Resistors R59 and R60 are used for voltage division to protect the reset chip U13 from the high voltage impact directly from the main power supply. Capacitor C49 is connected to the P5 pin of the reset chip U13 and grounded, and may be used as a filter capacitor to reduce the impact of power supply noise on the reset chip U13 and provide a stable power supply environment. It should be further explained that the reset chip U13.

[0048] like Fig.10 As shown, in one of the specific embodiments, it also includes: an indication circuit. The indication circuit is electrically connected to the arbitration circuit. The indication circuit is electrically connected to the third power switching chip U8, and the indication circuit is electrically connected to the chip switching circuit. The indication circuit includes: light emitting diode LED1, light emitting diode LED1, resistor R28 and resistor R26. The anode of light emitting diode LED1 is electrically connected to the P10 pin and P11 pin of the detection chip U4, and the anode of light emitting diode LED2 is electrically connected to the P8 pin and P9 pin of the detection chip U4. The cathode of light emitting diode LED1 and the cathode of light emitting diode LED2 are electrically connected to one end of resistor R28 and resistor R26, and the other end of resistor R28 and resistor R26 is electrically connected to the main power supply. In this embodiment, it should be noted that the arbitration circuit can also output the working status indicator light of the first core board and the second core board, and the indicator light can be used to determine who is working on the first core board and the second core board. The anode of the first indicator light is electrically connected to the 3B pin of the detection chip U4, the anode of the light emitting diode LED1 is electrically connected to the 4Y pin of the detection chip U4, the anode of the light emitting diode LED2 is electrically connected to the 4B pin of the detection chip U4, and the anode of the light emitting diode LED2 is electrically connected to the 3Y pin of the detection chip U4. The cathode of the light emitting diode LED1 is electrically connected to the main power supply, and the cathode of the light emitting diode LED1 is electrically connected to the main power supply. More specifically, the resistance values ​​of the resistor R28 and the resistor R26 are both 1K, and are packaged in 0603. The models of the light emitting diodes LED1 and LED2 are SMD0805. Further, the power supply is 5V.

[0049] like Figure 6 and Figure 7As shown, in one of the specific embodiments, the main power supply also includes: electrolytic capacitor C14, electrolytic capacitor C15, electrolytic capacitor C17, electrolytic capacitor C18, electrolytic capacitor C23, electrolytic capacitor C24, electrolytic capacitor C26 and electrolytic capacitor C27. One end of electrolytic capacitor C14 and electrolytic capacitor C15 are electrically connected to the A1 pin and B1 pin of the first power switching chip U6. One end of electrolytic capacitor C17 and electrolytic capacitor C18 are electrically connected to the D1 pin and E1 pin of the first power switching chip U6. One end of electrolytic capacitor C23 and electrolytic capacitor C24 are electrically connected to the A1 pin and B1 pin of the second power switching chip U7. One end of electrolytic capacitor C26 and electrolytic capacitor C27 are electrically connected to the D1 pin and E1 pin of the second power switching chip U7. The A1 pin, B1 pin, D1 pin and E1 pin of the first power switching chip U6 and the second power switching chip U7 are electrically connected to the first core board and the second core board respectively. The other ends of electrolytic capacitors C14, C15, C17, C18, C23, C24, C26 and C27 are grounded respectively. The model of the first power switching chip U6 is LTM4622EY#PBF. The model of the second power switching chip U7 is LTM4622EY#PBF. The model of the third power switching chip U8 is LTM4622EY#PBF.

[0050] In this embodiment, it should be noted that the VOUT1 pin of the first power switching chip U6, the VOUT1-2 pin of the first power switching chip U6, the VOUT2 pin of the first power switching chip U6, and the VOUT2-2 pin of the first power switching chip U6 are all electrically connected to the arbitration circuit. And the VOUT2 pin of the first power switching chip U6 and the VOUT2-2 pin of the first power switching chip U6 are all electrically connected to one end of the electrolytic capacitor C14 and the electrolytic capacitor C15, and the other end of the electrolytic capacitor C14 and the electrolytic capacitor C15 is grounded. The VOUT1 pin of the first power switching chip U6 and the VOUT1-2 pin of the first power switching chip U6 are all electrically connected to the chip switching circuit. The VOUT1 pin of the first power switching chip U6 and the VOUT1-2 pin of the first power switching chip U6 are all electrically connected to one end of the electrolytic capacitor C17 and the electrolytic capacitor C18, and the other end of the electrolytic capacitor C17 and the electrolytic capacitor C18 is grounded. Electrolytic capacitors C14, C15, C17 and C18 are mainly used for filtering, voltage stabilization and improving circuit reliability. The VIN1 pin of the first power switching chip U6, the VIN1-1 pin of the first power switching chip U6, the VIN2 pin of the first power switching chip U6 and the VIN2-2 pin of the first power switching chip U6 are all electrically connected to the main power supply. The VIN1 pin of the first power switching chip U6, the VIN1-1 pin of the first power switching chip U6, the VIN2 pin of the first power switching chip U6 and the VIN2-2 pin of the first power switching chip U6 are all electrically connected to one end of the electrolytic capacitor C12, the electrolytic capacitor C13 and the transient suppression diode TVS1, and the other ends of the electrolytic capacitor C12, the electrolytic capacitor C13 and the transient suppression diode TV1 are grounded. The electrolytic capacitors C12 and C13 play the role of filtering and energy storage, while the transient suppression diode TVS1 provides overvoltage and electrostatic discharge protection. In addition, it should be noted that the FB1 pin of the first power switching chip U6 is electrically connected to one end of the resistor R39, the FB2 pin of the first power switching chip U6 is electrically connected to one end of the resistor R38, and the other end of the resistor R39 and the other end of the resistor R38 are grounded. The FB1 pin of the first power switching chip U6 and the FB2 pin of the first power switching chip U6 are used to monitor and adjust the output voltage, and the resistors R38 and R39 play the role of voltage division, current limiting and protection of the feedback pin.

[0051] More specifically, the VOUT1 pin of the second power switching chip U7, the VOUT1-2 pin of the second power switching chip U7, the VOUT2 pin of the second power switching chip U7, and the VOUT2-2 pin of the second power switching chip U7 are all electrically connected to the arbitration circuit. And the VOUT2 pin of the second power switching chip U7 and the VOUT2-2 pin of the second power switching chip U7 are all electrically connected to one end of the electrolytic capacitor C24 and the electrolytic capacitor C23, and the other end of the electrolytic capacitor C23 and the electrolytic capacitor C24 is grounded. The VOUT1 pin of the second power switching chip U7 and the VOUT1-2 pin of the second power switching chip U7 are all electrically connected to the chip switching circuit. The VOUT1 pin of the second power switching chip U7 and the VOUT1-2 pin of the second power switching chip U7 are all electrically connected to one end of the electrolytic capacitor C27 and the electrolytic capacitor C26, and the other end of the electrolytic capacitor C27 and the electrolytic capacitor C26 is grounded. Electrolytic capacitors C24, C23, C27 and C26 are mainly used for filtering, voltage stabilization and improving circuit reliability. The VIN1 pin of the second power switching chip U7, the VIN1-1 pin of the second power switching chip U7, the VIN2 pin of the second power switching chip U7 and the VIN2-2 pin of the second power switching chip U7 are all electrically connected to the main power supply. The VIN1 pin of the second power switching chip U7, the VIN1-1 pin of the second power switching chip U7, the VIN2 pin of the second power switching chip U7 and the VIN2-2 pin of the second power switching chip U7 are all electrically connected to one end of the electrolytic capacitor C21, the electrolytic capacitor C22 and the transient suppression diode TVS2, and the other end of the electrolytic capacitor C21, the electrolytic capacitor C22 and the transient suppression diode TVS2 is grounded. The electrolytic capacitors C21 and C22 play the role of filtering and energy storage, while the transient suppression diode TVS2 provides overvoltage and electrostatic discharge protection. It should also be noted that the FB1 pin of the second power switching chip U7 is electrically connected to one end of the resistor R45, and the FB2 pin of the second power switching chip U7 is electrically connected to one end of the resistor R44, and the other end of the resistor R44 and the other end of the resistor R45 are grounded. The FB1 pin of the second power switching chip U7 and the FB2 pin of the second power switching chip U7 are mainly used to monitor and adjust the output voltage, while the resistors R44 and R45 play the role of voltage division, current limiting and protection feedback pins. It should be further noted that the main power supply of the mainboard, such as 12V power supply, mainly converts the following three independent working power supplies: the first power switching chip U6, converts VCC5V_A and VCC33V_A, and independently supplies the first core board work and the first part of the peripheral chip work power supply (for example, PHY network, temperature control, ADC and other chips). The second power switching chip U7, converts VCC5V_B and VCC33V_B, and independently supplies the second core board work and the second part of the peripheral chip work power supply.For example, PHY network, temperature control, ADC and other chips. The third power switching chip U8 converts VCC5V and VCC33V, mainly supplying arbitration circuit power, chip switching circuit power, and the final peripheral chip power. Such as serial port chip, LED.

[0052] like Fig.11 and Fig.12 As shown, the chip switching circuit mainly uses switching chips corresponding to some signals. The model of the switching chip U39 is preferably SN74CBT16390DGGR, and the P18 pin, P37 pin and P21 pin of the switching chip U39 are electrically connected to one end of the resistor R216, the resistor R215 and the resistor R214 respectively, and the other ends of the resistor R216, the resistor R215 and the resistor R214 are connected to the 33V power supply of the third power switching chip. Fig.12 As shown, the model of the network port U30 is preferably TS3L4892RHHR. The P5 pin and the P13 pin of the network port U30 are both used to electrically connect the light-emitting diode LED1. The P6 pin and the P14 pin of the network port U30 are both used to electrically connect the light-emitting diode LED2. The P27 pin of the network port U30 is connected to the resistor R164. The P27 pin of the network port U30 is connected to the resistor R166, and the other end of the resistor R166 is grounded. Select the corresponding switching chip for auxiliary design according to actual needs.

[0053] It should be noted that although the present application is used as an example to introduce the active-standby dual CPU arbitration circuit as above, those skilled in the art will appreciate that the present application should not be limited thereto. In fact, the user can flexibly set parameters according to personal preferences and / or actual application scenarios, as long as they are reasonable.

[0054] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A main-standby dual CPU arbitration circuit, suitable for installation in a wireless communication device of a railway train, characterized in that: It includes: a first core board, a second core board, an arbitration circuit, a chip switching circuit and a main power supply; the arbitration circuit and the chip switching circuit are both electrically connected to the main power supply; The main power supply comprises a first power switching chip and a second power switching chip, wherein the first power switching chip and the second power switching chip are electrically connected to the first core board and the second core board respectively; the first core board and the second core board are both electrically connected to the arbitration circuit and the chip switching circuit, and the arbitration circuit is electrically connected to the chip switching circuit; The arbitration circuit includes: an arbitration chip, a detection chip, a resistor R27, a resistor R29, a resistor R30 and a resistor R34; the P5 pin of the arbitration chip is electrically connected to the first core board, and the P11 pin of the arbitration chip is electrically connected to the second core board; the P6 pin and the P10 pin of the arbitration chip are electrically connected to the P12 pin and the P9 pin of the detection chip respectively, and the P8 pin, the P10 pin, the P11 pin and the P13 pin of the detection chip are all electrically connected to the chip switching circuit; The P5 pin, P11 pin, P3 pin and P14 pin of the arbitration chip are electrically connected to one end of the resistor R27, the resistor R34, the resistor R29 and the resistor R30 respectively, the other end of the resistor R27 is electrically connected to the other end of the resistor R29, and the other end of the resistor R34 is electrically connected to the other end of the resistor R30; the other ends of the resistor R29 and the resistor R30 are both electrically connected to the main power supply.

2. The active / standby dual CPU arbitration circuit according to claim 1, characterized in that: The arbitration circuit also includes: a resistor R25, a resistor R32, a capacitor C9, a capacitor C10 and a capacitor C8; the P2 pin and the P13 pin of the arbitration chip are electrically connected to one end of the resistor R25 and the resistor R32, and the other end of the resistor R25 and the resistor R32 is electrically connected to the main power supply; the P2 pin, the P14 pin and the P16 pin of the arbitration chip are electrically connected to one end of the capacitor C9, the capacitor C10 and the capacitor C8, and the other end of the capacitor C9, the capacitor C10 and the capacitor C8 is grounded; the model of the arbitration chip is 74HC4538D, and the model of the detection chip is SN74HC00PWR.

3. The active / standby dual CPU arbitration circuit according to claim 1, characterized in that: Also includes: A first hardware watchdog circuit and a second hardware watchdog circuit; The first hardware watchdog circuit is electrically connected to the first core board, and the first hardware watchdog circuit is electrically connected to the first power switching chip; The second hardware watchdog circuit is electrically connected to the second core board, and the second hardware watchdog circuit is electrically connected to the second power switching chip; Wherein, the first hardware watchdog circuit includes: a first watchdog chip, a resistor R56, a capacitor C41 and a capacitor C42; a P5 pin of the first watchdog chip is electrically connected to one end of the resistor R56, and the other end of the resistor R56 is electrically connected to the first core board; a P1 pin of the first watchdog chip is electrically connected to one end of the capacitor C41 and the capacitor C42, and one end of the capacitor C41 and the capacitor C42 is electrically connected to the D1 pin, the E1 pin, the A1 pin and the B1 pin of the first power switching chip; Among them, the second hardware watchdog circuit includes: a second watchdog chip, a resistor R65, a capacitor C46 and a capacitor C47; the P5 pin of the second watchdog chip is electrically connected to one end of the resistor R65, and the other end of the resistor R65 is electrically connected to the second core board; the P1 pin of the second watchdog chip is electrically connected to one end of the capacitor C46 and the capacitor C47, and one end of the capacitor C46 and the capacitor C47 is electrically connected to the D1 pin, E1 pin, A1 pin and B1 pin of the second power switching chip.

4. The active / standby dual CPU arbitration circuit according to claim 1, characterized in that: Also includes: A first data synchronization circuit, a second data synchronization circuit and a network transformer; the first data synchronization circuit is electrically connected to the second data synchronization circuit via the network transformer; The first data synchronization circuit is electrically connected to the first core board, and the first data synchronization circuit is electrically connected to the first power switching chip; wherein the first data synchronization circuit has a first PHY chip; the P1 pin, the P3 pin, the P6 pin and the P7 pin of the first PHY chip are all electrically connected to the network transformer; the P9 pin, the P11 pin, the P14 pin and the P16 pin of the first PHY chip are all electrically connected to the first core board; The second data synchronization circuit is electrically connected to the second core board, and the second data synchronization circuit is electrically connected to the second power switching chip; wherein the second data synchronization circuit has a second PHY chip; the P1 pin, P3 pin, P6 pin and P7 pin of the second PHY chip are all electrically connected to the network transformer; the P9 pin, P11 pin, P14 pin and P16 pin of the second PHY chip are all electrically connected to the second core board.

5. The active / standby dual CPU arbitration circuit according to claim 3, characterized in that: The first hardware watchdog circuit also includes: a timer J4, a connector J5, a resistor R37, a resistor R52, a resistor R54, a resistor R53, a resistor R55 and a capacitor C43; the P2 pin of the first watchdog chip is electrically connected to the P2 pin of the timer J4; the P3 pin of the first watchdog chip is electrically connected to one end of the resistor R37, and the other end of the resistor R37 is electrically connected to the B2 pin and the D2 pin of the first power switching chip; the P4 pin, the P6 pin and the P7 pin of the first watchdog chip are electrically connected to the P6 pin, the P2 pin and the P3 pin of the connector J5 respectively; the P1 pin and the P2 pin of the timer J4 ... Correspondingly electrically connected to one end of the resistor R54 and the resistor R52; the other end of the resistor R52 is electrically connected to the first power switching chip, and the other end of the resistor R54 is grounded; the P4 pin of the first watchdog chip is electrically connected to one end of the resistor R55, and the other end of the resistor R55 is electrically connected to the resistor R53 and one end of the capacitor C43; the other end of the resistor R53 is electrically connected to the first power switching chip, and the other end of the capacitor C43 is grounded; the P5 pin of the connector J5 is electrically connected to the main power supply, and the P4 pin of the connector J5 is grounded; the model of the first watchdog chip is PIC12F629-E.

6. The active / standby dual CPU arbitration circuit according to claim 3, characterized in that: The second hardware watchdog circuit also includes: a timer J6, a connector J7, a resistor R43, a resistor R57, a resistor R61, a resistor R62, a resistor R58 and a capacitor C48; the P2 pin of the second watchdog chip is electrically connected to the P2 pin of the timer J6; the P3 pin of the second watchdog chip is electrically connected to one end of the resistor R43, and the other end of the resistor R43 is electrically connected to the B2 pin and the D2 pin of the second power switching chip; the P4 pin, the P6 pin and the P7 pin of the second watchdog chip are electrically connected to the P6 pin, the P2 pin and the P3 pin of the connector J7 respectively; the P1 pin and the P2 pin of the timer J6 ... Correspondingly electrically connected to one end of the resistor R57 and the resistor R61; the other end of the resistor R57 is electrically connected to the first power switching chip, and the other end of the resistor R61 is grounded; the P4 pin of the second watchdog chip is electrically connected to one end of the resistor R62, and the other end of the resistor R62 is electrically connected to the resistor R58 and one end of the capacitor C48; the other end of the resistor R58 is electrically connected to the first power switching chip, and the other end of the capacitor C48 is grounded; the P5 pin of the connector J7 is electrically connected to the main power supply, and the P4 pin of the connector J7 is grounded; the model of the second watchdog chip is PIC12F629-E.

7. The active / standby dual CPU arbitration circuit according to any one of claims 1 to 6, characterized in that: Also includes: A reset circuit; the reset circuit is electrically connected to the first power switching chip and the second power switching chip; The reset circuit is electrically connected to the detection chip; Specifically, the reset circuit includes: a reset chip, a resistor R63, a resistor R64, a resistor R65, a resistor R59, a resistor R60 and a capacitor C49; the P1 pin and the P2 pin of the reset chip are electrically connected to the P8 pin and the P11 pin of the detection chip respectively; the P4 pin of the reset chip is electrically connected to the resistor R63 and one end of the resistor R64; the P1 pin, the P2 pin and the P5 pin of the reset chip are electrically connected to the resistor R59, the resistor R60 and one end of the capacitor C49 respectively; the other end of the resistor R59 is electrically connected to the other end of the resistor R60; the P5 pin of the reset chip is electrically connected to the main power supply; the other end of the resistor R63 is electrically connected to the B2 pin and the D4 pin of the first power switching chip; the other end of the resistor R64 is electrically connected to the B2 pin and the D4 pin of the second power switching chip; the other end of the resistor R59 is electrically connected to the main power supply, the other end of the capacitor C49 is grounded, and the P3 pin of the reset chip is grounded.

8. The active / standby dual CPU arbitration circuit according to claim 7, characterized in that: Also includes: Indicator circuit; The indication circuit is electrically connected to the arbitration circuit; The indication circuit is electrically connected to the power main chip, and the indication circuit is electrically connected to the chip switching circuit; The indicating circuit comprises: a light emitting diode LED1, a light emitting diode LED1, a resistor R28 and a resistor R26; The anode of the light-emitting diode LED1 is electrically connected to the P10 pin and the P11 pin of the detection chip, and the anode of the light-emitting diode LED2 is electrically connected to the P8 pin and the P9 pin of the detection chip; the cathode of the light-emitting diode LED1 and the cathode of the light-emitting diode LED2 are electrically connected to one end of the resistor R28 and the resistor R26 respectively, and the other ends of the resistor R28 and the resistor R26 are electrically connected to the main power supply.

9. The active / standby dual CPU arbitration circuit according to claim 7, characterized in that: It also includes: electrolytic capacitor C14, electrolytic capacitor C15, electrolytic capacitor C17 and electrolytic capacitor C18; one end of the electrolytic capacitor C14 and the electrolytic capacitor C15 are electrically connected to the A1 pin and the B1 pin of the first power switching chip; one end of the electrolytic capacitor C17 and the electrolytic capacitor C18 are electrically connected to the D1 pin and the E1 pin of the first power switching chip; the A1 pin, B1 pin, D1 pin and E1 pin of the first power switching chip are electrically connected to the first core board respectively; the other ends of the electrolytic capacitor C14, the electrolytic capacitor C15, the electrolytic capacitor C17 and the electrolytic capacitor C18 are grounded respectively; the model of the first power switching chip is LTM4622EY#PBF.

10. The active / standby dual CPU arbitration circuit according to claim 7, characterized in that: It also includes: an electrolytic capacitor C23, an electrolytic capacitor C24, an electrolytic capacitor C26 and an electrolytic capacitor C27; one end of the electrolytic capacitor C23 and the electrolytic capacitor C24 are electrically connected to the A1 pin and the B1 pin of the second power switching chip; one end of the electrolytic capacitor C26 and the electrolytic capacitor C27 are electrically connected to the D1 pin and the E1 pin of the second power switching chip; the A1 pin, the B1 pin, the D1 pin and the E1 pin of the second power switching chip are electrically connected to the second core board respectively; the other ends of the electrolytic capacitor C23, the electrolytic capacitor C24, the electrolytic capacitor C26 and the electrolytic capacitor C27 are grounded respectively; the model of the second power switching chip is LTM4622EY#PBF.