Processor board monitoring diagnostic circuit and electronic equipment

By introducing logic chips to monitor power supply and watchdog signals on the processor board, real-time monitoring and diagnosis of power supply up and down timing and watchdog signals is achieved, and the problems of voltage fluctuations and insufficient signal monitoring in the existing technology are solved, improving the The processor board safety and troubleshooting efficiency are provided.

CN116027759BActive Publication Date: 2024-11-22CRRC ZHUZHOU ELECTRIC LOCOMOTIVE RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111250336.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-11-22
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

The current processor board is difficult to effectively monitor voltage fluctuations during startup or operation, especially abnormal phenomena caused by instability in the multi-channel power supply voltage is difficult to diagnose, and the watchdog circuit cannot monitor important signals such as feeding signals and reset signals. This leads to difficulty in troubleshooting.

Method used

A processor board monitoring and diagnosis circuit is designed, and the logic chip is used to monitor the status of the power supply and watchdog circuit in the board, and the power up and down timing is controlled and monitored by comparing units and interrupt signals. Combined with logging and display units, it is quickly Diagnose and record abnormalities in power and watchdog signals.

Benefits of technology

It significantly improves the safety and reliability of the processor board, can monitor power-up and down timing, multi-channel overvoltage and watchdog signal abnormalities, quickly diagnose and store fault information, and improves the efficiency and real-timeness of troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116027759B_ABST
    Figure CN116027759B_ABST
Patent Text Reader

Abstract

The present application provides a processor board monitoring and diagnostic circuit and electronic equipment, including: a logic chip powered by a logic chip power supply, and a processor powered by an on-board power supply; a first digital output of the logic chip is connected to the on-board power supply, and an input enable of the on-board power supply is controlled to control the power-on timing and power-off timing of the on-board power supply; the output enable of the on-board power supply is connected to the first digital input of the logic chip to diagnose the status of the power-on timing and the power-off timing; the output of the on-board power supply is connected to the negative input of a comparison unit, the output of the on-board power supply is compared with a reference value of the positive input, and the output of the comparison unit is connected to the second digital input of the logic chip to monitor the operating status of the on-board power supply; a signal of a watchdog circuit is led to a third digital input of the logic chip to monitor the status of the watchdog circuit; an interrupt signal of the processor is connected to an interrupt signal of the logic chip, and the processor and the logic chip are connected via a parallel bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit design, and in particular to a processor board monitoring and diagnostic circuit and electronic equipment. Background Art

[0002] At present, in the on-board control system of the rail transit industry, the owners have higher and higher requirements for the safety and reliability of products. On-board processors usually require a multi-channel power supply system with different levels. Abnormal power-on timing or unstable voltage of any channel power supply will cause the single board to fail to start, start stuck, restart or power off abnormally, and fail to complete the normal startup, operation or power-off storage functions of the single board, which restricts the improvement of the company's product quality.

[0003] At present, the industry uses a watchdog circuit to monitor voltage fluctuations during the startup or operation of the processor. However, there are obvious shortcomings in the watchdog circuit monitoring: 1. The number of monitoring voltage channels is limited; 2. There is no device to monitor the important signals of the watchdog circuit (including the dog feeding signal WDI, the dog feeding mode WDS and the reset signal RST). Once the voltage fluctuations of other channels in the board are abnormal, causing a fault during the startup or operation of the processor board, and this abnormality is not easy to recur, it will bring great difficulties to the troubleshooting and location of the problem. Summary of the invention

[0004] In view of the above problems, the present application provides a processor board monitoring and diagnostic circuit and electronic equipment.

[0005] The present application provides a processor board monitoring and diagnostic circuit, comprising:

[0006] Processor, watchdog circuit, logic chip, on-board power supply, logic chip power supply and comparison unit;

[0007] The logic chip is powered by a logic chip power supply, and the processor is powered by an on-board power supply; the first digital output of the logic chip is connected to the on-board power supply and controls the input enable of the on-board power supply to control the power-on timing and power-off timing of the on-board power supply; the output enable of the on-board power supply is connected to the first digital input of the logic chip to diagnose the status of the power-on timing and the power-off timing; the output of the on-board power supply is connected to the negative input of the comparison unit, the output of the on-board power supply is compared with the reference value of the positive input, and the output of the comparison unit is connected to the second digital input of the logic chip to monitor the operating status of the on-board power supply; the signal of the watchdog circuit is led to the third digital input of the logic chip to monitor the status of the watchdog circuit; the interrupt signal of the processor is connected to the interrupt signal of the logic chip, the processor and the logic chip are connected via a parallel port bus, and the interrupt signal notifies the processor to receive messages using the parallel port bus.

[0008] In some embodiments, the diagnostic circuit further comprises:

[0009] Logging unit and display unit;

[0010] The processor is connected to the log recording unit in a serial manner to transmit the status record monitored by the logic chip to the log recording unit; the display unit is connected to the digital output of the processor to display the changes of the key signals triggered in the circuit board of the processor.

[0011] In some embodiments, the on-board power supply is composed of N power modules, each power module has independent input enable and output enable, and the output enable of the previous power module is connected to the input enable of the next power module; the first digital output of the logic chip is connected to the input enable of the first power module of the on-board power supply; the first digital input of the logic chip has N input pins, which are respectively connected to the output enables of the N power modules.

[0012] In some embodiments, the first digital output of the logic chip is connected to the on-board power supply to control the input enable of the on-board power supply, and the specific method of controlling the power-on timing of the on-board power supply includes:

[0013] When the output voltage of the first power module rises to a preset value of a certain percentage of its steady-state value, its output enable output changes from a low level to a high level, and the power output enable of the previous level is used to control the power input enable of the next level, thereby achieving the power output voltage rising to a steady-state level in a specific order;

[0014] The start-up time interval of each power module output voltage is preset to a predetermined duration, which is configured by the start-up capacitor of the power module;

[0015] The first digital output of the logic chip is connected to the power supply in the board, and the input enable of the power supply in the board is controlled to control the power-off timing of the power supply in the board. The specific method includes:

[0016] When the output voltage of the first power supply module drops to a preset value of a certain percentage of its steady-state value, its output enable output changes from a high level to a low level, and the power output enable of the previous level is used to control the input enable of the next level of power supply, thereby realizing power-off of the multi-channel power supplies in the board in a specific order;

[0017] The output of the on-board power supply is enabled to be connected to the first digital input of the logic chip to diagnose the status of the power-on timing sequence and the power-off timing sequence. The specific method includes:

[0018] When powered on, the logic chip monitors the state of the level of its first digital input changing from low to high and records the time interval between the rising edges between the pins, thereby diagnosing the abnormal power-on condition of the circuit board of the processor caused by the power-on timing sequence;

[0019] When powered off, the logic chip monitors the state of the level of its first digital input changing from high to low and records the time interval between the falling edges between the pins, thereby diagnosing the abnormal power-off condition of the circuit board of the processor caused by the power-off timing sequence.

[0020] In some embodiments, the comparison unit is composed of N comparators, the negative input of each comparator is respectively connected to the output of each power module, and the positive input of each comparator is respectively connected to the reference value;

[0021] The output voltage of the power module is connected to the negative input of the comparator after being divided by resistors in series.

[0022] In some embodiments, the output of the on-board power supply is connected to the negative input of the comparison unit, the output of the on-board power supply is compared with the reference value of the positive input, and the output of the comparison unit is connected to the second digital input of the logic chip. The specific method for monitoring the operating state of the on-board power supply includes:

[0023] When the output voltage of the power supply in the board exceeds the maximum value of its normal working range, a pulse changing from high to low is detected on the second digital input of the logic chip, and then the state information of the second digital input is recorded, and then the input enable of the first power supply module is turned off through the first digital output of the logic chip, thereby turning off the power of all channels in the board;

[0024] After a preset time period has elapsed after power is turned off for all channels in the board, the logic chip enables the first digital output again, and notifies the processor of an abnormal critical signal in the circuit board through an interrupt signal of the logic chip.

[0025] In some embodiments, the specific connection method of leading the signal of the watchdog circuit to the third digital input of the logic chip includes: the dog feeding signal, dog feeding mode and reset signal of the watchdog circuit are led to the three input pins of the third digital input of the logic chip.

[0026] In some embodiments, the signal of the watchdog circuit is led to the third digital input of the logic chip to monitor the state of the watchdog circuit. The specific method includes:

[0027] During the system power-on process, the logic chip detects that there is no dog feeding signal of the watchdog circuit, the dog feeding mode is high level, and the reset signal of the watchdog circuit is triggered after a preset time, and it is determined that the startup stuck phenomenon is caused by the abnormal dog feeding signal;

[0028] During the operation of the system, the logic chip detects that the dog feeding signal of the watchdog circuit has not timed out, the dog feeding mode is low, and the reset signal is triggered, and it is determined that the circuit board of the processor is restarted due to the level fluctuation of two power modules among the N power modules monitored by the watchdog circuit;

[0029] The logic chip detects that the reset signal of the watchdog circuit is triggered, the dog feeding mode is low, and the signal pulse width of the dog feeding mode exceeds the specified maximum dog feeding pulse width. It can be determined that the circuit board of the processor is restarted due to the watchdog feeding mode stopping dog feeding.

[0030] In some embodiments, the power supply of the logic chip and the power supply of the processor are independent of each other. Since the logic chip power supply is powered separately, its output enable pin is led to the input pin of the processor. When the processor detects that the enable pin of the logic chip power supply is triggered by an edge changing from high to low, it can be determined that the power supply of the logic chip is abnormal.

[0031] An embodiment of the present application provides an electronic device, comprising any of the processor board monitoring and diagnostic circuits described above.

[0032] The present application provides a processor board monitoring and diagnostic circuit and electronic equipment, which have the following beneficial effects:

[0033] (1) Use logic chips to monitor the physical key signals in the board to ensure the safety and reliability of the processor board quality;

[0034] (2) The power supplies of the logic circuit and the processor circuit are completely independent, the logic chip starts quickly, and the logic chip is used to control the power-on and power-off timing of the multi-channel power supply in the processor board, and monitor the PG signal and the watchdog circuit signal;

[0035] (3) This monitoring method can monitor the power on and off timing, multi-channel overvoltage, and abnormal watchdog signals that cause the processor board to fail to start, start stuck, restart, and other failures;

[0036] (4) When the logic chip monitors the edge transition of the key signal, it notifies the processor to receive the diagnostic message through the Int pin. The processor quickly reads the diagnostic message through the parallel port and stores the diagnostic message at this moment in the log memory;

[0037] (5) The security, reliability and real-time performance of processor board diagnosis have been significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Hereinafter, the present application will be described in more detail based on embodiments and with reference to the accompanying drawings.

[0039] Figure 1 A schematic diagram of a processor board monitoring and diagnostic circuit provided by an embodiment of the present application;

[0040] Figure 2 A power-on timing control diagram provided for an embodiment of the present application.

[0041] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0043] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0044] If similar descriptions of "first\second\third" appear in the application documents, the following instructions will be added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0046] Before introducing a processor board monitoring and diagnosis method provided by an embodiment of the present application, a brief introduction to the problems existing in the related art is given:

[0047] At present, the industry uses watchdog circuits to monitor voltage fluctuations during processor startup or operation. However, watchdog circuit monitoring has obvious shortcomings:

[0048] 1. The number of monitoring voltage channels is limited, and it is impossible to determine which channel’s power supply voltage instability caused the reset;

[0049] 2. There is no device to monitor the important signals of the watchdog circuit (including the watchdog feeding signal WDI, the watchdog feeding mode WDS and the reset signal RST). Once the voltage fluctuations of other channels in the board are abnormal, causing a malfunction during the startup or operation of the processor board, and this abnormality is not easy to recur, it will bring great difficulties to the troubleshooting and location of the problem. The use of logic chips to monitor the watchdog signal and voltage signal in the processor board can solve the shortcomings of watchdog monitoring.

[0050] Based on the problems existing in the related art, an embodiment of the present application provides a processor board monitoring and diagnostic circuit, which is applied to a large processor board monitoring and diagnostic device, and the processor board monitoring and diagnostic device can be an electronic device, such as a computer, a mobile terminal, etc. The functions implemented by the processor board monitoring and diagnostic circuit provided in the embodiment of the present application can be implemented by calling a program code by a processor of the electronic device, wherein the program code can be stored in a computer storage medium.

[0051] Embodiment 1

[0052] The embodiment of the present application provides a processor board monitoring and diagnostic circuit. Figure 1 A processor board monitoring and diagnostic circuit diagram provided in an embodiment of the present application, such as Figure 1 As shown, including:

[0053] Processor U1, watchdog circuit U3, logic chip U2, on-board power supply D, logic chip power supply P and comparison unit X;

[0054] The logic chip U2 is powered by a logic chip power supply P, and the processor U1 is powered by an on-board power supply D;

[0055] In some embodiments, the power supply of the logic chip U2 is independent from the power supply of the processor U1. Since the logic chip power supply P is powered separately, its output enable pin is connected to the input pin of the processor U1. When the processor U1 detects that the enable pin of the logic chip power supply P changes from high to low, it can be determined that the power supply of the logic chip U2 is abnormal.

[0056] PG0 of the logic chip U2 is connected to the on-board power supply D, and the power-on timing and power-off timing of the on-board power supply D are controlled by pulling up the input enable of PG0 to control the on-board power supply D; the output enable PG1...PGN of the on-board power supply D is connected to the first digital input P1...PN of the logic chip U2 to diagnose the status of the power-on timing and the power-off timing;

[0057] In some embodiments, the on-board power supply D is composed of N power modules D1...DN, each power module has independent input enable and output enable, and the output enable of the previous power module is connected to the input enable of the next power module; PG0 of the logic chip U2 is connected to the input enable of the first power module of the on-board power supply D; the first digital input of the logic chip U2 has N input pins, which are respectively connected to the output enable PG1...PGN of the N power modules;

[0058] In some embodiments, the PG0 of the logic chip U2 is connected to the on-board power supply D, and the input enable of the on-board power supply D is controlled to control the power-on timing of the on-board power supply D. The specific method includes:

[0059] When the output voltage V1 of the first power module D1 rises to 85% to 95% of its steady-state value, its output enable output changes from a low level to a high level, and the power output enable of the previous level is used to control the power input enable of the next level, thereby achieving the power output voltage rising to a steady-state level in a specific order;

[0060] like Figure 2 As shown, the start-up time interval of the output voltage of each power module is 10-30ms, preferably 20ms or about 20ms, which is configured by the start-up capacitor of the power module;

[0061] The PG0 of the logic chip U2 is connected to the board power supply D, and the specific method of controlling the input enable of the board power supply D to control the power-off timing of the board power supply D includes:

[0062] When the output voltage V1 of the first power module D1 drops to 85% to 95% of its steady-state value, its output enable output changes from high level to low level, and the power output enable of the previous level is used to control the input enable of the next level power supply, thereby realizing the power-off of the multi-channel power supplies in the board in a specific order;

[0063] The output enable PG1...PGN of the on-board power supply D is connected to the first digital input P1...PN of the logic chip U2 to diagnose the status of the power-on timing sequence and the power-off timing sequence. The specific method includes:

[0064] When powered on, the logic chip U2 monitors the state of the level of its first digital input P1…PN changing from low to high and records the time interval between the rising edges between the pins, thereby diagnosing the abnormal power-on condition of the circuit board of the processor U1 caused by the power-on timing sequence;

[0065] When powered off, the logic chip U2 monitors the state of the level of its first digital input P1…PN changing from high to low and records the time interval between the falling edges between the pins, thereby diagnosing the abnormal power-off condition of the processor U1 board caused by the power-off timing sequence;

[0066] The output of the on-board power supply D is connected to the negative input of the comparison unit X and compared with the reference value Vref of the positive input. The output of the comparison unit X is connected to the second digital input V1_I…V1_N of the logic chip U2 to monitor the operating state of the on-board power supply D;

[0067] In some embodiments, the comparison unit X is composed of N comparators X1 . . . XN, the negative input of each comparator is respectively connected to the output of each power module, and the positive input of each comparator is respectively connected to the reference value Vref;

[0068] The output voltage of the power module is connected to the negative input of the comparator after being divided by resistors in series;

[0069] In some embodiments, the output of the on-board power supply D is connected to the negative input of the comparison unit X and compared with the positive input reference value Vref, and the output of the comparison unit X is connected to the second digital input V1_I…V1_N of the logic chip U2. The specific method for monitoring the operating state of the on-board power supply D includes:

[0070] When the output voltage of the power supply D in the board exceeds the maximum value of its normal working range, a pulse changing from high to low is detected on the second digital input V1_I…V1_N of the logic chip U2, and then the state information of the second digital input V1_I…V1_N is recorded, and then the input enable of the first power module is turned off through PG0 of the logic chip U2, thereby turning off the power of all channels in the board;

[0071] After turning off the power of all channels in the board, the logic chip U2 enables PG0 again after an interval of 3-10 seconds, preferably 5 seconds or so, and notifies the processor U1 of abnormal critical signals in the circuit board through the interrupt signal of the logic chip U2;

[0072] The signal of the watchdog circuit U3 is led to the third digital input of the logic chip U2 to monitor the state of the watchdog circuit U3;

[0073] In some embodiments, the specific connection method of the signal of the watchdog circuit U3 leading to the third digital input of the logic chip U2 includes: the dog feeding signal WDI, the dog feeding mode WDS and the reset signal RST of the watchdog circuit U3 are led to the three input pins WS, WI and RT of the third digital input of the logic chip U2;

[0074] In some embodiments, the signal of the watchdog circuit U3 is led to the third digital input of the logic chip U2 to monitor the state of the watchdog circuit U3. The specific method includes:

[0075] During the system power-on process, the logic chip U2 detects that the watchdog circuit U3's feeding signal WDI has not been present, and the feeding mode WDS is at a high level. After a few minutes, generally 2-10 minutes, the reset signal RST of the watchdog circuit U3 is triggered, and it is determined that the startup stuck phenomenon is caused by the abnormal feeding signal WDI.

[0076] During the system operation, the logic chip U2 detects that the watchdog circuit U3's feeding signal WDI has not timed out, the feeding mode WDS is low, and the reset signal RST is triggered. It is determined that the circuit board of the processor U1 is restarted due to the fluctuation of the levels V3 and V4 of two power modules among the N power modules monitored by the watchdog circuit U3;

[0077] The logic chip U2 detects that the reset signal RST of the watchdog circuit U3 is triggered, the dog feeding mode WDS is low, and the signal pulse width of the dog feeding mode WDS exceeds the specified maximum dog feeding pulse width. It can be determined that the circuit board of the processor U1 is restarted because the watchdog feeding mode WDS stops feeding the dog;

[0078] The interrupt signal Interrupt pin of the processor U1 is connected to the interrupt signal Int of the logic chip U2. The processor U1 and the logic chip U2 are connected via a parallel bus. When the logic chip U2 detects the effective edge transition of the detected signal, it records the status of all detected signals and notifies the processor U1 via the interrupt signal Int pin to receive the message using the parallel bus.

[0079] In some embodiments, the diagnostic circuit further comprises:

[0080] Log recording unit U5, display unit U4 and RTC chip U6;

[0081] The processor U1 is connected to the log recording unit U5 via the serial SPI, and the status records monitored by the logic chip U2 are transmitted to the log recording unit U5. The processor U1 obtains the timetable of the RTC chip U6 through the IIC, and the design and maintenance personnel can analyze and handle the fault mechanism by querying the log records; the display unit U4 is connected to the digital output of the processor U1, controls the 8 LED status indicators, supports the display of 256 states in total, and intuitively displays the signal changes of the key signals triggered in the processor board.

[0082] The processor board monitoring and diagnostic circuit provided by the present application has the following beneficial effects:

[0083] (1) Use logic chips to monitor the physical key signals in the board to ensure the safety and reliability of the processor board quality;

[0084] (2) The power supplies of the logic circuit and the processor circuit are completely independent, the logic chip starts quickly, and the logic chip is used to control the power-on and power-off timing of the multi-channel power supply in the processor board, and monitor the PG signal and the watchdog circuit signal;

[0085] (3) The logic chip can detect the overvoltage signal in the board and take safety measures according to the edge transition of the overvoltage input signal;

[0086] (4) This monitoring method can monitor the power on and off timing, multi-channel overvoltage, abnormal watchdog signal causing the processor board to fail to start, start stuck, restart and other faults;

[0087] (5) When the logic chip monitors the edge transition of the key signal, it notifies the processor to receive the diagnostic message through the Int pin. The processor quickly reads the diagnostic message through the parallel port and stores the diagnostic message at this moment in the log memory;

[0088] (6) During operation, the processor monitors the PG pin of the logic chip power supply through GPIO, thereby achieving the purpose of mutual monitoring between the processor and the logic chip;

[0089] (7) 8 LED lights can be used to indicate abnormal conditions of key signals in the board in a total of 256 states, and the human-machine exchange is good;

[0090] (8) Significantly improved the security, reliability and real-time performance of processor board diagnosis.

[0091] Embodiment 2

[0092] Based on the aforementioned embodiments, an embodiment of the present application provides an electronic device, comprising the processor board monitoring and diagnostic circuit described in Embodiment 1.

[0093] The present application adopts a logic chip to monitor the watchdog signal and voltage signal in the processor board to solve the shortcomings of watchdog monitoring.

[0094] This application adopts the architecture of processor + logic monitoring circuit. The logic circuit and the processor circuit are powered independently. The logic circuit starts very quickly and can be monitored during the CPU circuit startup process or power-off process. It can also diagnose power supply voltage fluctuations in the board during processor operation.

[0095] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0096] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0097] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0098] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0099] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0100] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A processor board monitoring and diagnostic circuit, characterized in that: include: Processor, watchdog circuit, logic chip, on-board power supply, logic chip power supply and comparison unit; The logic chip is powered by a logic chip power supply, and the processor is powered by an on-board power supply; the first digital output of the logic chip is connected to the on-board power supply and controls the input enable of the on-board power supply to control the power-on timing and power-off timing of the on-board power supply; the output enable of the on-board power supply is connected to the first digital input of the logic chip to diagnose the status of the power-on timing and the power-off timing; the output of the on-board power supply is connected to the negative input of the comparison unit, the output of the on-board power supply is compared with the reference value of the positive input, and the output of the comparison unit is connected to the second digital input of the logic chip to monitor the operating status of the on-board power supply; the signal of the watchdog circuit is led to the third digital input of the logic chip to monitor the status of the watchdog circuit; the interrupt signal of the processor is connected to the interrupt signal of the logic chip, the processor and the logic chip are connected via a parallel port bus, and the interrupt signal notifies the processor to receive messages using the parallel port bus; The on-board power supply is composed of N power modules, each power module has independent input enable and output enable, and the output enable of the previous power module is connected to the input enable of the next power module; the first digital output of the logic chip is connected to the input enable of the first power module of the on-board power supply; the first digital input of the logic chip has N input pins, which are respectively connected to the output enable of the N power modules; Among them, the specific connection method of leading the signal of the watchdog circuit to the third digital input of the logic chip includes: the dog feeding signal, dog feeding mode and reset signal of the watchdog circuit are led to three input pins of the third digital input of the logic chip.

2. The processor board monitoring and diagnostic circuit according to claim 1, characterized in that: The monitoring and diagnostic circuit further comprises: Logging unit and display unit; The processor is connected to the log recording unit in a serial manner to transmit the status record monitored by the logic chip to the log recording unit; the display unit is connected to the digital output of the processor to display the changes of the key signals triggered in the circuit board of the processor.

3. The processor board monitoring and diagnostic circuit according to claim 1, characterized in that: The first digital output of the logic chip is connected to the power supply in the board, and the input of the power supply in the board is controlled to be enabled, so that the specific method for controlling the power-on timing of the power supply in the board includes: When the output voltage of the first power module rises to a preset value of a certain percentage of its steady-state value, its output enable output changes from a low level to a high level, and the power output enable of the previous level is used to control the power input enable of the next level, thereby achieving the power output voltage rising to a steady-state level in a specific order; The start-up time interval of each power module output voltage is preset to a predetermined duration, which is configured by the start-up capacitor of the power module; The first digital output of the logic chip is connected to the power supply in the board, and the input enable of the power supply in the board is controlled to control the power-off timing of the power supply in the board. The specific method includes: When the output voltage of the first power supply module drops to a preset value of a certain percentage of its steady-state value, its output enable output changes from a high level to a low level, and the power output enable of the previous level is used to control the input enable of the next level of power supply, thereby realizing power-off of the multi-channel power supplies in the board in a specific order; The output of the on-board power supply is enabled to be connected to the first digital input of the logic chip to diagnose the status of the power-on timing sequence and the power-off timing sequence. The specific method includes: When powered on, the logic chip monitors the state of the level of its first digital input changing from low to high and records the time interval between the rising edges between the pins, thereby diagnosing the abnormal power-on condition of the circuit board of the processor caused by the power-on timing sequence; When powered off, the logic chip monitors the state of the level of its first digital input changing from high to low and records the time interval between the falling edges between the pins, thereby diagnosing the abnormal power-off condition of the circuit board of the processor caused by the power-off timing sequence.

4. The processor board monitoring and diagnostic circuit according to claim 1, characterized in that: The comparison unit is composed of N comparators, the negative input of each comparator is respectively connected to the output of each power module, and the positive input of each comparator is respectively connected to the reference value; The output voltage of the power module is connected to the negative input of the comparator after being divided by resistors in series.

5. The processor board monitoring and diagnostic circuit according to claim 4, characterized in that: The output of the on-board power supply is connected to the negative input of the comparison unit, the output of the on-board power supply is compared with the reference value of the positive input, and the output of the comparison unit is connected to the second digital input of the logic chip to monitor the operating state of the on-board power supply. The specific method includes: When the output voltage of the power supply in the board exceeds the maximum value of its normal working range, a pulse changing from high to low is detected on the second digital input of the logic chip, and then the state information of the second digital input is recorded, and then the input enable of the first power supply module is turned off through the first digital output of the logic chip, thereby turning off the power of all channels in the board; After a preset time period has elapsed after power is turned off for all channels in the board, the logic chip enables the first digital output again, and notifies the processor of an abnormal critical signal in the circuit board through an interrupt signal of the logic chip.

6. The processor board monitoring and diagnostic circuit according to claim 1, characterized in that: The signal of the watchdog circuit is led to the third digital input of the logic chip to monitor the state of the watchdog circuit. The specific method includes: During the system power-on process, the logic chip detects that there is no dog feeding signal of the watchdog circuit, the dog feeding mode is high level, and the reset signal of the watchdog circuit is triggered after a preset time, and it is determined that the startup stuck phenomenon is caused by the abnormal dog feeding signal; During the operation of the system, the logic chip detects that the dog feeding signal of the watchdog circuit has not timed out, the dog feeding mode is low, and the reset signal is triggered, and it is determined that the circuit board of the processor is restarted due to the level fluctuation of two power modules among the N power modules monitored by the watchdog circuit; The logic chip detects that the reset signal of the watchdog circuit is triggered, the dog feeding mode is low, and the signal pulse width of the dog feeding mode exceeds the specified maximum dog feeding pulse width. It can be determined that the circuit board of the processor is restarted due to the watchdog feeding mode stopping dog feeding.

7. The processor board monitoring and diagnostic circuit according to claim 1, characterized in that: The power supply of the logic chip and the power supply of the processor are independent of each other. Since the logic chip power supply is powered separately, its output enable pin is led to the input pin of the processor. When the processor detects that the enable pin of the logic chip power supply is triggered by an edge changing from high to low, it can be determined that the power supply of the logic chip is abnormal.

8. An electronic device, characterized in that: A processor board monitoring and diagnostic circuit comprising any one of claims 1 to 7.