A restart circuit for automatic intervention of rail transit dynamic map mainboard
By designing the automatic restart circuit of the watchdog circuit and power control switch on the railroad dynamic map motherboard, the problems of motherboard crashes and power failures are solved, automatic hard restart and power protection are realized, self-diagnosis capabilities are improved, and self-diagnosis capabilities are simplified. Operation and maintenance ensures the stable operation of the motherboard.
Patent Information
- Application Number
- CN202411285035.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-13
AI Technical Summary
The rail dynamic map motherboard is prone to accidental failures such as crashes during operation or startup. Existing solutions such as manual intervention restart and minimum system automatic soft restart have limitations, and cannot effectively deal with power timing changes caused by parts aging or interference from external equipment. Problems, increasing the maintenance operation burden and difficulty in fault location.
Designed an automatic restart circuit including a watchdog circuit and a power control switch. By connecting the motherboard in two directions, detecting system faults and power failures, automatically triggering hard restart or power off, simplifying operation and maintenance, quickly locate fault points, and improving Self-diagnosis ability.
It realizes the automated hard restart and power protection of the rail transit dynamic map motherboard, simplifies maintenance operations, ensures the stable and safe operation of the motherboard, improves self-diagnosis capabilities, and avoids the burden of manual intervention and the limitations of minimal system restart.
Smart Images

Figure CN118779144B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of rail transit dynamic map mainboards, and in particular to a restart circuit for automatic intervention of rail transit dynamic map mainboards. Background Art
[0002] At present, there will be occasional failures such as freezing and failure to start during the operation or startup of the rail transit dynamic map motherboard. As time goes by, the aging life of the parts decreases and this phenomenon will become more serious. The failure rate of this phenomenon is relatively low, but this failure phenomenon exists for a long time. There are currently two main solutions:
[0003] Manual intervention and power-on to restart the system;
[0004] The minimal system automatically restarts.
[0005] The disadvantages of these two current solutions are:
[0006] Manual intervention and restart increase the maintenance and operation burden;
[0007] The minimum system automatically soft restarts. This method has limitations because the minimum system restart only resets the minimum RAM system. If the power timing changes due to component aging or interference caused by external devices, the automatic restart cannot be successful. In other words, the soft restart has limitations. Summary of the invention
[0008] The object of the present invention is to provide a restart circuit for automatic intervention of a rail transit dynamic map mainboard to solve the problems raised in the above-mentioned background technology.
[0009] To achieve the above purpose, a restart circuit for automatic intervention of a rail transit dynamic map mainboard is provided, which includes:
[0010] A watchdog circuit is bidirectionally connected to the mainboard and is used for fault detection of the mainboard;
[0011] as well as,
[0012] A power control switch, whose input end is connected to the output end of the watchdog circuit and whose output end is connected to the power supply, is used to control the on and off of the power supply;
[0013] Among them, the detection results of the faults generated by the fault detection of the mainboard include system faults and power supply faults;
[0014] Wherein, after a system failure occurs, the watchdog circuit sends a hard restart signal to the mainboard to trigger the mainboard to perform a hard restart;
[0015] Wherein, after a power failure occurs, the watchdog circuit sends a control signal to the power control switch to trigger the power control switch to turn off the power.
[0016] In the above scheme, when a system failure or power failure is detected, the watchdog circuit automatically triggers a hard restart or shuts down the power supply, thereby simplifying operation and maintenance, realizing a hard restart and quickly locating the fault point, and improving the self-diagnosis capability of the mainboard.
[0017] When the watchdog circuit detects a short circuit abnormality in each group of power supplies (i.e., a power failure), the watchdog circuit will trigger the power control switch to automatically shut down the system power supply protection system to achieve the purpose of shutting down the power supply until the power short circuit abnormality is resolved and automatically restored;
[0018] When the watchdog circuit detects that the system is not started or the network communication is abnormal or the RK628D is not running correctly (collectively referred to as system failure), the watchdog circuit will automatically implement a hard reset of the motherboard;
[0019] When the watchdog circuit fails, the power is turned on by default without affecting the operation of the motherboard.
[0020] Specifically, the main component of the watchdog circuit is chip U3, which at least includes:
[0021] PIN1 is a detection port, which is used to detect whether there are abnormalities in the voltages of the system. If any short circuit occurs, the PIN3 of chip U2 will be locked until the abnormality is resolved and the chip recovers automatically. Specifically, the detection port detects whether the power supply 12V0 VDD_5VVDD_3V3 VCC3V3_SYS is normal. When all the power supplies are normal, the PIN1 of chip U3 is at a high level. When it is detected that one of the power supplies is abnormal, the PIN1 of chip U3 is pulled down to a low level. At this time, the PIN3 of chip U3 sends a low level to lock the PIN3 of chip U2 until the power failure is resolved and the chip recovers automatically.
[0022] as well as,
[0023] PIN3 is an output port. The power is turned off through the power control switch. When the detection result of the detection port is normal, the PIN3 output of the chip U3 is high level, and the red LED light D7 is off; when the detection result is abnormal, the PIN3 output of the chip U3 is low level, and the red LED light D7 is on (indicating a power failure); the control output MCU_RST_12V0 is connected to the power control switch. When the power level is low, the power control switch turns off the power, and when the power level is high, the power control switch turns on the power. This port is used to control the power off and restart to replace manual operations to achieve a hard restart.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] In the restart circuit used for automatic intervention of the rail transit dynamic map mainboard, the watchdog circuit is optimized to realize programmed control, which is simple and effective, realizes precise operation, facilitates maintenance and operation, improves the self-diagnosis ability of the rail transit dynamic map mainboard, and ensures that the dynamic map mainboard is in a stable and safe operating state in real time. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a block diagram of the overall circuit composition of the present invention;
[0027] Figure 2 This is a schematic diagram of a watchdog circuit with chip U2 of the present invention;
[0028] Figure 3 The present invention is a watchdog circuit with a chip U3. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] See also Figure 1 The present invention provides a restart circuit for automatic intervention of the rail transit dynamic map mainboard, which includes a watchdog circuit and a power control switch. When a system fault or a power fault is detected, the watchdog circuit automatically triggers a hard restart or shuts down the power, thereby simplifying operation and maintenance, realizing a soft restart, and quickly locating the fault point, thereby improving the mainboard's self-diagnosis capability.
[0031] When the watchdog circuit detects a short circuit abnormality in each group of power supplies (i.e., a power failure), the watchdog circuit will trigger the power control switch to automatically shut down the system power supply protection system to achieve the purpose of shutting down the power supply until the power short circuit abnormality is resolved and automatically restored;
[0032] When the watchdog circuit detects that the system is not started or the network communication is abnormal or the RK628D is not running correctly (collectively referred to as system failure), the watchdog circuit will automatically implement a hard reset of the motherboard;
[0033] When the watchdog circuit fails, the power is turned on by default without affecting the operation of the motherboard.
[0034] Specifically, a watchdog circuit is bidirectionally connected to the mainboard and is used to detect faults on the mainboard;
[0035] A power control switch, whose input end is connected to the output end of the watchdog circuit and whose output end is connected to the power supply, is used to control the on and off of the power supply;
[0036] Among them, the detection results of the faults generated by the fault detection of the mainboard include system faults and power supply faults;
[0037] Wherein, after a system failure occurs, the watchdog circuit sends a hard restart signal to the mainboard to trigger the mainboard to perform a hard restart;
[0038] Wherein, after a power failure occurs, the watchdog circuit sends a control signal to the power control switch to trigger the power control switch to turn off the power.
[0039] In order to facilitate the explanation of the principle of the restart circuit, this embodiment will set the above-mentioned restart circuit on the RK3568+RK628DHDMI TO 4K Vbyone dynamic map mainboard, but does not limit the model of the dynamic map mainboard to which the restart circuit is applicable.
[0040] First, the dynamic map mainboard settings are:
[0041] Power supply reverse connection protection circuit to prevent circuit failure caused by reverse connection of 12V input;
[0042] The power supply LDO conversion circuit is used to supply power to the watchdog circuit. As long as the 12V power supply is connected, it will continue to supply power without being controlled by restart. When the power supply fails or the watchdog circuit fails, the power control switch is in the power-on state by default, that is, the failure of the power supply LDO conversion or the watchdog circuit does not affect the independent operation of the mainboard;
[0043] The power control switch is turned on by default;
[0044] The watchdog circuit is used to detect the power supply, SOC RK3568 communication, network status and display status in real time. When a power short circuit abnormality (i.e. power failure) is detected, the power control switch controls the power supply to be turned off until the fault is effectively eliminated. When a motherboard system fault is detected (SOC RK3568 communication fault, network fault and display fault, etc.), the hard restart function can be turned on. In order to avoid falling into an infinite restart state, a soft restart threshold is set. Assuming that the set threshold is 3, a maximum of 3 soft restart detections can be achieved. If the fault still cannot be eliminated, the hard restart is locked and turned off;
[0045] There are three DC conversion circuits, which respectively provide power to RK809-5 power management, logic ports (network PHY circuit, network SWITCH circuit, network interface circuit) and USB interfaces (USB3.0 OTG circuit, USB2.0 HOST circuit);
[0046] RK809-5 power management, which is used to provide voltage to each channel, and the audio output is connected to the power amplifier, that is, the audio power amplifier circuit;
[0047] Taking into account that the circuits on the dynamic map mainboard have become a technology well known to those skilled in the art, all the circuits of all the dynamic map mainboards will not be described one by one. However, in order to facilitate understanding of the circuit composition of the dynamic map mainboard, the dynamic map mainboard of this embodiment is also provided with: infrared remote control receiving circuit, debugging port circuit, address code grouping setting resistor, SD card circuit, light brightness sensing circuit, RK3568 SOC circuit, eMMC circuit, LDDR4 circuit, impedance matching circuit, HDMI output, RK628D HDMI to Vbyone circuit and 4K output display circuit, etc.
[0048] The improved technical solution of this embodiment lies in the watchdog circuit. The background of the improvement is: most of the current watchdog circuits on the dynamic map mainboard can only realize the soft restart function. The soft restart is limited to the minimum RAM system. When the power timing and other abnormalities occur, it will cause the restart failure. The problem point cannot be effectively located, which increases the difficulty of operation and maintenance.
[0049] like Figure 2 and Figure 3 As shown, the watchdog circuit includes chip U2 and chip U3, wherein:
[0050] The model of chip U2 is WR0116-33A21R / LP3993-33X3F, and the model of chip U3 is STC08G1K08A;
[0051] The voltage of chip U2 is always present. +12V is stepped down to 3.3V through the LDO module (i.e., power LDO conversion circuit) of chip U2 to power the MCU. That is, the 3.3V voltage is connected to PIN2 of chip U3. As long as the device is put into use, the 3.3V supply voltage is always present unless the power is cut off manually.
[0052] Chip U3 includes:
[0053] PIN1 is a detection port, which is used to detect whether there are abnormalities in the voltages of the system. If any short circuit occurs, the PIN3 of chip U2 will be locked until the abnormality is resolved and the chip recovers automatically. Specifically, the detection port detects whether the power supply 12V0 VDD_5VVDD_3V3 VCC3V3_SYS is normal. When all the power supplies are normal, the PIN1 of chip U3 is at a high level. When it is detected that one of the power supplies is abnormal, the PIN1 of chip U3 is pulled down to a low level. At this time, the PIN3 of chip U3 sends a low level to lock the PIN3 of chip U2 until the power failure is resolved and the chip recovers automatically.
[0054] PIN3 is an output port. The power is turned off through the power control switch. When the detection result of the detection port is normal, the PIN3 output of the chip U3 is high level, and the red LED D7 is off; when the detection result is abnormal, the PIN3 output of the chip U3 is low level, and the red LED D7 is on (indicating a power failure); the control output MCU_RST_12V0 is connected to the power control switch. When the power control switch is at a low level, the power is turned off, and when the power control switch is at a high level, the power is turned on. This port is used to control the power off and restart to replace manual operations;
[0055] PIN5 and PIN6 are used to burn the program;
[0056] as well as,
[0057] PIN7 and PIN8 are used to form a "feed the dog" signal to communicate with the system. When the "feed the dog" signal is abnormal (the system is not started or the network communication is abnormal or RK628D is not running correctly), it means that a system failure has occurred. The watchdog circuit will automatically restart the motherboard softly, and restart up to 3 times until the fault is automatically resolved. If the fault has not been automatically resolved after 3 times, the power control switch will control the power to turn off and recover automatically after detection, which is the process of hard restart.
[0058] This embodiment optimizes the watchdog circuit to implement programmed control, which is simple and effective, achieves precise operation, facilitates maintenance and operation, improves the self-diagnosis capability of the rail transit dynamic map mainboard, and ensures that the dynamic map mainboard is in a stable and safe operating state in real time.
[0059] Specifically, when the watchdog circuit detects that each group of power supply short circuit is abnormal, the watchdog circuit will automatically shut down the system power supply protection system until the power supply short circuit abnormality is resolved and automatically restored;
[0060] When the watchdog circuit detects that the system is not started or the network communication is abnormal or the RK628D is not running correctly, the watchdog circuit will automatically implement a soft restart of the mainboard. It will also implement a hard restart if the fault has not been eliminated after the soft restart threshold limit times. There is also a hard restart threshold to limit the number of restarts. After exceeding the limit, if the fault still cannot be eliminated, the hard restart will be locked and closed. In this way, the power cannot be automatically restored after being turned off, and it must be automatically restored after the fault is eliminated;
[0061] When the watchdog circuit itself fails or malfunctions, it does not affect the operation of the motherboard by default.
[0062] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A restart circuit for automatic intervention of a rail transit dynamic map mainboard, characterized in that: It includes: A watchdog circuit is bidirectionally connected to the mainboard and is used for fault detection of the mainboard; as well as, A power control switch, whose input end is connected to the output end of the watchdog circuit and whose output end is connected to the power supply, is used to control the on and off of the power supply; Among them, the detection results of the faults generated by the fault detection of the mainboard include system faults and power supply faults; Wherein, after a system failure occurs, the watchdog circuit sends a hard restart signal to the mainboard to trigger the mainboard to perform a hard restart; Wherein, after a power failure occurs, the watchdog circuit sends a control signal to the power control switch to trigger the power control switch to turn off the power; When the watchdog circuit fails, the power is turned on by default; The watchdog circuit includes a chip U2 and a chip U3, wherein the chip U2 has a power supply LDO conversion circuit, and the power supply LDO conversion circuit is used to reduce the voltage of 12V to 3.3V to supply power to the chip U3; The chip U3 includes: PIN1 is a detection port, which is used to detect whether there are abnormalities in the voltages of each channel. When all the voltages are normal, the detection port is at a high level; when one of the voltages is detected to be abnormal, the detection port is pulled down to a low level; PIN3 is an output port. When the detection result of the detection port is normal, PIN3 outputs a high level, and the power is turned on through the power control switch; when the detection result is abnormal, PIN3 outputs a low level, and the power is turned off through the power control switch; PIN5 and PIN6 are used to burn the program; as well as, PIN7 and PIN8 are used to form a "feed the dog" signal to communicate with the system. When the "feed the dog" signal is abnormal, it indicates a system failure. It also includes a hard restart threshold, which is used to limit the number of restarts of the hard restart. After the number of restarts exceeds the restart threshold, if the fault still cannot be eliminated, the hard restart is locked and closed; After the number of restarts exceeds the restart threshold limit, if the fault still cannot be eliminated, the hard restart is locked and closed; If the fault cannot be eliminated after exceeding the hard restart threshold number of times, the hard restart function will be locked and disabled.
2. The restart circuit for automatic intervention of the rail transit dynamic map mainboard according to claim 1 is characterized in that: The system failures include communication failures, network failures and display failures.
3. The restart circuit for automatic intervention of the rail transit dynamic map mainboard according to claim 1 is characterized in that: The power failure includes a power short circuit anomaly.
