Reset circuit, control method and electronic device thereof
Through the reset circuit design of the onboard computer system, flexible reset control of the processor is achieved by combining the controller, timer circuit and logic gate circuit, which solves the problems of reset asynchrony and poor reliability in the onboard computer system, improves the stability and reliability of the system, and reduces power consumption.
Patent Information
- Application Number
- CN202510009575.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2045-01-03
AI Technical Summary
In onboard computer systems, core components such as processors, FPGAs, and memories are susceptible to high-energy particles in the space environment, resulting in asynchronous reset or poor reliability. When a single-particle upset occurs on-orbit, the FPGA needs to be powered on again, causing the equipment to frequently power on and off, increasing power consumption and heat dissipation, and failing to meet the needs of medium- and long-term power supply and high-performance onboard computers.
A reset circuit is adopted, including a controller, a timer circuit, a processor and a logic gate circuit combination. Through the combinational logic operation of the external control signal and the logic gate circuit combination, flexible reset control of the processor is realized. The timer circuit monitors the processor status and triggers the reset operation when an abnormality occurs. The ZL_FRST_EN# signal is introduced for fine control to reduce power consumption.
It improves the stability and reliability of the onboard computer system, reduces power consumption, simplifies circuit design, meets the needs of medium- and long-term power supply and high-performance onboard computers, and enhances the ability to respond quickly to faults.
Smart Images

Figure CN119917331B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of onboard computer systems, and in particular to a reset circuit, a control method and electronic equipment thereof. Background Art
[0002] In on-board controller (OBC) systems, core components such as processors, field-programmable gate arrays (FPGAs), and memories are susceptible to high-energy particles in the space environment, causing changes in storage content. This can lead to serious consequences such as software anomalies, program loss of control, and system disruption. To address this issue, existing designs employ watchdog timers and reset circuits for monitoring and correction.
[0003] However, existing designs have processors with independent power-on / watchdog reset circuits, and FPGAs have separate power-on reset circuits. The resets of the core components are not synchronized or have poor reliability. In particular, when a single-particle upset occurs in the FPGA on orbit, it needs to be powered on again to resolve the problem. This causes the equipment to be frequently powered on and off, increasing power consumption and heat dissipation, and cannot meet the needs of medium- and long-term power supply and high-performance onboard computers.
[0004] Therefore, a new reset circuit design scheme is urgently needed to improve the stability and reliability of onboard computers. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a reset circuit, control method, and electronic device thereof. This is to address the issues raised in the background art above, such as asynchronous reset or poor reliability between core components, and the need to power on the FPGA when a single-event upset occurs on-orbit, which results in frequent power cycles, increased power consumption and heat dissipation, and an inability to meet the requirements of medium- and long-term power supply and high-performance onboard computers.
[0006] To achieve the above objectives, the present invention adopts the following technical solutions:
[0007] In a first aspect, a reset circuit is provided, comprising a controller and a logic gate circuit combination;
[0008] The controller includes a timer circuit, a first processor, a second processor and a chip;
[0009] The PFI pin of the timer circuit is used to receive an external control signal, the WDI pin of the timer circuit is connected to the GPIO1 output terminal of the first processor, and the RST pin of the timer circuit is connected to the RST# pin of the first processor, and is used to output a power-on reset signal RST# according to the input GPIO1 signal;
[0010] The GPI02 pin of the first processor is connected to the logic gate circuit combination to output a GPI02 signal;
[0011] The output end of the second processor is connected to the first processor and the logic gate circuit combination respectively, for outputting a STATUS signal;
[0012] The chip is connected to the second processor, and the input end of the chip is connected to the logic gate circuit combination;
[0013] The logic gate circuit combination is used to generate a reset signal through combinational logic control based on receiving the timer circuit, the first processor, the second processor and the external control signal, and output the reset signal to the first processor and the second processor respectively;
[0014] The external control signal includes a ZL_RST# signal and a ZL_FRST_EN# signal to implement reset control among the timer circuit, the first processor, and the second processor, so that the first processor and the second processor can be reset individually or simultaneously.
[0015] In combination with the first aspect, in a possible implementation, the logic gate circuit combination includes a first OR gate, a second OR gate, a first AND gate, and a second AND gate;
[0016] The two input terminals of the first OR gate are respectively connected to the RST pin of the timer circuit and the ZL_FRST_EN# signal terminal, and are used to output the RS_RST# signal according to the input RST# signal and the ZL_FRST_EN# signal, and input the RS_RST# signal to the chip to trigger the refresh configuration of the chip;
[0017] The two input terminals of the first AND gate are respectively connected to the output terminal of the STATUS signal of the second processor and the output terminal of the first OR gate, and are used to output the FRST_EN1 signal according to the input STATUS signal and the RS_RST# signal;
[0018] The two input terminals of the second OR gate are respectively connected to the GPIO2 output terminal and the ZL_FRST_EN# signal terminal of the first processor, and are used to output the FRST_EN2 signal according to the GPIO2 signal output by the first processor and the ZL_FRST_EN# signal;
[0019] The two input terminals of the second AND gate are respectively connected to the output terminal of the first AND gate and the output terminal of the second OR gate, and are used to output the F_RST# signal according to the output FRST_EN1 signal and FRST_EN2 signal, and transmit the F_RST# signal to the second processor.
[0020] In combination with the first aspect, in one possible implementation, when the input ZL_RST# signal and the ZL_FRST_EN# signal are both at a low level, the reset circuit is in a reset state and enters a low power consumption mode;
[0021] When the input ZL_RST# signal is low and the ZL_FRST_EN# signal is high, the first processor is in a reset state, the second processor is in a normal working mode, and the reset circuit enters a local low power consumption mode;
[0022] When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is high, the first processor is reset and the second processor maintains a normal working mode;
[0023] When the input ZL_RST# signal is a high level signal and the ZL_FRST_EN# signal is a low level signal, the second processor is reset and the first processor maintains normal operation or the reset initialization state;
[0024] When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is also low, the entire system is reset and the reset circuit is reinitialized.
[0025] In combination with the first aspect, in a possible implementation, the logic gate circuit combination further includes a third OR gate and a third AND gate;
[0026] The input end of the third OR gate is connected to the WDO pin of the timer circuit, and is used to disable the timer circuit according to the input DOG_DISABLE signal;
[0027] The two input terminals of the third AND gate are respectively connected to the output terminal of the third OR gate and the PFO pin of the timer circuit, and the output terminal of the third AND gate is connected to the MR pin of the timer circuit.
[0028] In combination with the first aspect, in a possible implementation, the first processor is configured to periodically output a GPIO1 signal with high and low variations to the WDI pin of the timer circuit within a time interval not exceeding 800 milliseconds.
[0029] In a second aspect, a control method for the reset circuit as described above is provided, comprising the following steps:
[0030] S1: After power-on, the timer circuit is controlled to output a power-on reset signal RST#; S2: The first processor starts running after the power-on reset is completed, and periodically outputs a high-low changing GPI01 signal to the WDI pin of the timer circuit within a preset time to maintain the normal operation of the timer circuit;
[0031] S3: The logic gate circuit combination generates a reset signal through combinational logic control according to the RST# signal of the first processor, the STATUS signal of the second processor, the ZL_RST# signal and the ZL_FRST_EN# signal;
[0032] S4: Outputting the generated reset signal to the first processor and the second processor respectively, so as to reset the first processor and the second processor individually or simultaneously;
[0033] S5: According to different combinations of the ZL_RST# signal and the ZL_FRST_EN# signal, control the reset circuit to enter a low power mode, a partial low power mode, reset the first processor, reset the second processor, or reset the entire reset circuit.
[0034] In conjunction with the second aspect, in a possible implementation, the method further includes:
[0035] The program loading status of the second processor is detected, and when the loading of the second processor is completed, a control signal is generated by combining the logic gate circuits to complete the resetting of the second processor.
[0036] In combination with the second aspect, in a possible implementation, reset control of the first processor or the second processor is achieved by changing the level states of the input ZL_RST# signal and the ZL_FRST_EN# signal.
[0037] In combination with the second aspect, in one possible implementation, the disabling and enabling of the timer circuit is controlled according to the DOG_DISABLE signal, and the reset operation of the timer circuit is implemented through the MR pin of the timer circuit, thereby enhancing the stability and reliability of the reset circuit.
[0038] In a third aspect, an electronic device is provided, comprising the aforementioned reset circuit, wherein the electronic device is a space embedded computer.
[0039] Compared with the prior art, this application has the following beneficial effects:
[0040] The present application provides a reset circuit that realizes flexible reset control of the first processor and the second processor through combinational logic operations of an external control signal and a logic gate circuit. It can reset the first processor or the second processor individually, or reset the first processor and the second processor simultaneously. The timer circuit can monitor the operating status of the first processor. If the first processor malfunctions or stops working, the timer circuit can trigger a reset operation to ensure the reliability of the reset circuit. The design is simple and can flexibly solve the problem of reset asynchrony between core components, reduce power consumption, improve reliability, and meet the needs of medium- and long-term power-up and high-performance onboard computers.
[0041] In one possible implementation, a combination of logic gates enables multiple controls for chip refresh configuration, improving the stability of the reset circuit and avoiding instability caused by a single signal anomaly. This also enhances the reset circuit's flexibility, allowing refreshes to be triggered flexibly based on processor status and external signals. Compared to traditional, complex circuits, this invention simplifies the design and reduces costs. Furthermore, by introducing the ZL_FRST_EN# signal, the reset circuit's ability to quickly respond to faults is enhanced, ensuring that refresh operations do not cause malfunctions.
[0042] In one possible implementation, by introducing two control signals, ZL_RST# and ZL_FRST_EN#, fine control of the reset circuit's operating state and power consumption mode is achieved, improving the system's flexibility, energy efficiency, stability, and reliability while simplifying circuit design and maintenance.
[0043] In one possible implementation, by introducing the DOG_DISABLE signal and a corresponding logic gate circuit combination, fine control of the reset circuit is achieved, thereby improving the flexibility, reliability, and energy efficiency of the reset circuit, while simplifying the design and maintenance of the circuit.
[0044] In one possible implementation, a first processor periodically outputs a high-to-low-frequency GPIO1 signal to the WDI pin of a timer circuit, creating an efficient and reliable reset circuit design. This solution not only improves the stability and reliability of the reset circuit, but also simplifies circuit design and reduces costs.
[0045] This application provides a reset circuit control method that achieves stable, reliable, and flexible operation of the reset circuit through an efficient reset circuit control method. This method not only improves the stability and flexibility of the reset circuit, but also reduces power consumption and reset circuit design costs.
[0046] In one possible implementation, by adding detection of the second processor program loading state and reset control, the stability and reliability of the reset circuit are further improved. This step not only simplifies the debugging and maintenance process of the reset circuit, but also improves the startup efficiency of the reset circuit.
[0047] In one possible implementation, by inputting and changing the level states of the ZL_RST# signal and the ZL_FRST_EN# signal, the first processor and the second processor can be reset simultaneously or individually, and the reset blocking of non-task devices can be achieved, thereby enabling the reset circuit to autonomously switch to a low-power mode, reducing resource overhead and improving the reliability of the reset circuit.
[0048] In one possible implementation, by controlling the disabling and enabling of the timer circuit according to the DOG_DISABLE signal and implementing the reset operation through the MR pin of the timer circuit, the stability and reliability of the reset circuit are further enhanced, the control logic of the reset circuit is simplified, and the flexibility of the reset circuit is improved.
[0049] It is understandable that any of the reset circuit control methods and electronic devices provided above include technical features corresponding to the reset circuits described above. Therefore, the beneficial effects that can be achieved can be referenced to the beneficial effects of the reset circuits provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A schematic diagram of the overall structure of a reset circuit provided in an embodiment of the present application.
[0051] Reference numerals in the figure: 1, controller; 11, timer circuit; 12, first processor; 13, second processor; 14, chip; 2, logic gate circuit combination; 21, first OR gate; 22, second OR gate; 23, first AND gate; 24, second AND gate; 25, third OR gate; 26, third AND gate. DETAILED DESCRIPTION
[0052] The specific implementation of the embodiment of the present application is further described in detail below with reference to the accompanying drawings.
[0053] like Figure 1 , an embodiment of the present application provides a reset circuit, which may include a controller 1 and a logic gate circuit combination 2.
[0054] The controller 1 may further include a timer circuit 11 , a first processor 12 , a second processor 13 , and a chip 14 for external control signals.
[0055] External Control Signal The PFI pin of the timer circuit 11 is used to receive an external control signal.
[0056] The external control signal may include a ZL_RST# signal and a ZL_FRST_EN# signal.
[0057] Specifically, the timer circuit 11 is used to receive the ZL_RST# signal.
[0058] The ZL_RST# signal is used to trigger a reset operation of the entire reset circuit, and the ZL_FRST_EN# signal is used to control whether to allow the first processor 12 to be reset.
[0059] The WDI pin of the timer circuit 11 is connected to the GPI01 output terminal of the first processor 12 for receiving the GPI01 signal output by the first processor 12. The RST pin of the timer circuit 11 is connected to the RST# pin of the first processor 12 for outputting a power-on reset signal RST#.
[0060] Optionally, the timer circuit 11 may be a watchdog circuit.
[0061] The GPI02 pin of the first processor 12 is connected to the logic gate circuit combination 2, and is used to output the GPI02 signal to the logic gate circuit combination 2. The RST# pin of the first processor 12 is connected to the RST pin of the timer circuit 11, and is used to receive the power-on reset signal RST# output by the timer circuit 11. After the power-on reset is completed, the first processor 12 starts running the program and transmits the high and low changes of the GPI02 signal.
[0062] Optionally, the first processor 12 may be a processor.
[0063] The output end of the second processor 13 is connected to the first processor 12 and the logic gate circuit combination 2 respectively, for outputting a STATUS signal. The first processor 12 and the second processor 13 are connected via EMIF and SRIO.
[0064] Optionally, the second processor 13 may be an FPGA.
[0065] The chip 14 is connected to the second processor 13 via a SELECTMAP port, and an input end of the chip 14 is connected to the logic gate circuit combination 2 for refreshing the configuration chip 14 .
[0066] The logic gate circuit combination 2 receives signals from the timer circuit 11, the first processor 12, the second processor 13, and external control signals. It generates a reset signal through combinational logic control and outputs it to the first processor 12 and the second processor 13. When the ZL_RST# signal in the external control signal is triggered, the logic gate circuit combination 2 generates a global reset signal, resetting both the first processor 12 and the second processor 13.
[0067] When the ZL_FRST_EN# signal in the external control signal is activated, the logic gate circuit combination 2 can selectively reset the first processor 12 according to the state of the first processor 12 or the second processor 13 .
[0068] The logic gate circuit combination 2 can also monitor the operating status of the first processor 12 according to the timer circuit 11 and trigger a reset operation when necessary.
[0069] In an embodiment of the present application, flexible reset control of the first processor 12 and the second processor 13 is achieved through the combinational logic operation of the external control signal and the logic gate circuit combination 2. The first processor 12 or the second processor 13 can be reset individually, or the first processor 12 and the second processor 13 can be reset simultaneously.
[0070] At the same time, the operating status of the first processor 12 can be monitored by the timer circuit 11. If the first processor 12 becomes abnormal or stops working, the timer circuit 11 can trigger a reset operation to ensure the reliability of the reset circuit.
[0071] In addition, the system design is simple and can flexibly solve the problem of reset asynchrony between core components, reduce the long-term power consumption of the reset circuit, improve reliability, and meet the needs of medium- and long-term power supply and high-performance onboard computers.
[0072] In a possible embodiment, the logic gate circuit combination 2 may include a first OR gate 21 , a second OR gate 22 , a first AND gate 23 , and a second AND gate 24 .
[0073] The two input terminals of the first OR gate 21 are respectively connected to the RST pin and the ZL_FRST_EN# signal terminal of the timer circuit 11, and are used to output the RS_RST# signal according to the input RST# signal and the ZL_FRST_EN# signal, and input the RS_RST# signal to the chip 14 to trigger the refresh configuration of the chip 14.
[0074] Specifically, when either the RST signal or the ZL_FRST_EN# signal is at a high level, the first OR gate 21 will output the RS_RST# signal, which is then input to the chip 14 to trigger the refresh configuration process of the chip 14 .
[0075] The two input terminals of the first AND gate 23 are respectively connected to the STATUS signal output terminal of the second processor 13 and the output terminal of the first OR gate 21 , and are used to output the FRST_EN1 signal according to the input STATUS signal and the RS_RST# signal.
[0076] Specifically, the first AND gate 23 will output the FRST_EN1 signal only when the STATUS signal and the RS_RST# signal are both at a high level. This design ensures that the refresh enable signal is enabled only under certain conditions.
[0077] The two input terminals of the second OR gate 22 are respectively connected to the GPIO2 output terminal of the first processor 12 and the ZL_FRST_EN# signal terminal, and are used to output the FRST_EN2 signal according to the GPIO2 signal and the ZL_FRST_EN# signal output by the first processor 12.
[0078] Specifically, when either the GPIO2 signal or the ZL_FRST_EN# signal is at a high level, the second OR gate 22 outputs the FRST_EN2 signal.
[0079] The second AND gate 24 has two input terminals connected to the output terminal of the first AND gate 23 and the output terminal of the second OR gate 22 respectively, and is used to output the F_RST# signal according to the output FRST_EN1 signal and the FRST_EN2 signal, and transmit the F_RST# signal to the second processor 13.
[0080] Specifically, only when the FRST_EN1 signal and the FRST_EN2 signal are both high, the second AND gate 24 will output the F_RST# signal, which is then transmitted to the second processor 13 to trigger the second processor 13 to perform a reset operation.
[0081] In this embodiment of the present application, logic gate circuit combination 2 enables multiple controls for the refresh configuration of chip 14, improving the stability of the reset circuit and avoiding instability caused by a single signal anomaly. This also enhances the flexibility of the reset circuit, allowing refreshes to be flexibly triggered based on processor status and external signals. Compared to traditional complex circuits, this invention simplifies the design and reduces costs. Furthermore, the introduction of the ZL_FRST_EN# signal improves the ability to quickly respond to faults, ensuring that refresh operations do not cause malfunctions.
[0082] In one possible embodiment, when both the input ZL_RST# signal and the input ZL_FRST_EN# signal are low, the entire reset circuit is in a reset state and enters a low-power mode. At this time, both processors stop working, and the reset circuit enters a low-power mode to save energy.
[0083] When the input ZL_RST# signal is at a low level and the ZL_FRST_EN# signal is at a high level, the first processor 12 is in a reset state, the second processor 13 is in a normal operation mode, and the reset circuit enters a local low power consumption mode.
[0084] If only the ZL_RST# signal is at a low level and the ZL_FRST_EN# signal is at a high level, the first processor 12 enters a reset state and stops working, while the second processor 13 maintains a normal working mode.
[0085] This mode is suitable for scenarios where the first processor 12 needs to be restarted or reset while the second processor 13 still needs to continue executing tasks. The overall power consumption of the reset circuit is lower than that of a full reset.
[0086] When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is at a high level, the first processor 12 is reset and the second processor 13 maintains a normal operating mode.
[0087] When the ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal remains at a high level, only the first processor 12 is reset, and the second processor 13 is not affected and continues to operate normally.
[0088] When the input ZL_RST# signal is a high-level signal and the ZL_FRST_EN# signal is a low-level signal, the second processor 13 is reset, and the first processor 12 maintains normal operation or the reset initialization state.
[0089] If the ZL_RST# signal is high and the ZL_FRST_EN# signal is low, the second processor 13 enters the reset state, while the first processor 12 may be in normal operation or has recovered from a previous reset and is in the initialization state. This mode allows the reset circuit to restart or reset the second processor 13 without interfering with the first processor 12.
[0090] When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is also low, the entire system is reset, both processors stop working, and the reset circuit is reinitialized.
[0091] In an embodiment of the present application, by combining different input signal states, the system can flexibly enter different operating modes, including low-power mode, local low-power mode, and reset operations for different processors, providing a high degree of controllability and flexibility; at the same time, in low-power mode and local low-power mode, the reset circuit can reduce the power consumption of the processor as needed, thereby effectively extending the battery life of the device or reducing overall energy consumption; therefore, by providing multiple reset mechanisms, the reset circuit can quickly recover when an abnormal situation occurs, thereby improving the stability and reliability of the system reset circuit.
[0092] In a possible embodiment, the logic gate circuit combination 2 may further include a third OR gate 25 and a third AND gate 26 .
[0093] The input end of the third OR gate 25 is connected to the WDO pin of the timer circuit 11 , and is used to disable the timer circuit 11 according to the input DOG_DISABLE signal.
[0094] Two input terminals of the third AND gate 26 are connected to the output terminal of the third OR gate 25 and the PFO pin of the timer circuit 11 respectively, and the output terminal of the third AND gate 26 is connected to the MR pin of the timer circuit 11 .
[0095] When the DOG_DISABLE signal is high, the third OR gate 25 outputs a high signal, regardless of the state of the WDO pin of the timer circuit 11. This causes the output of the third AND gate 26 to be low, thereby disabling the reset operation of the timer circuit 11.
[0096] When the DOG_DISABLE signal is low, the output of the third OR gate 25 depends on the state of the WDO pin of the timer circuit 11. If the WDO pin outputs a high level, indicating that a system abnormality has been detected, the third OR gate 25 outputs a high level, which in turn activates the MR pin via the third AND gate 26, thereby resetting the timer circuit 11.
[0097] The state of the PFO pin of timer circuit 11 is typically used to indicate a power failure. If a power failure occurs, the PFO pin of timer circuit 11 may go high, which will prevent third AND gate 26 from outputting a high level, even if the WDO pin of timer circuit 11 is also high. However, in this embodiment, the DOG_DISABLE signal has a higher priority because it directly controls the disabling of the reset operation.
[0098] In the embodiment of the present application, by introducing the DOG_DISABLE signal and the corresponding logic gate circuit combination 2, fine control of the reset circuit is achieved, the flexibility, reliability and energy efficiency of the reset circuit are improved, and the design and maintenance of the reset circuit are simplified.
[0099] In a possible embodiment, the first processor 12 is configured to periodically output a GPIO1 signal with high and low changes to the WDI pin of the timer circuit 11 within a time interval not exceeding 800 milliseconds.
[0100] In this embodiment of the present application, an efficient and reliable reset circuit design is implemented by having the first processor 12 periodically output a high-low varying GPIO1 signal to the WDI pin of the timer circuit 11. This solution not only improves system stability and reliability, but also simplifies system design and reduces costs.
[0101] In a possible embodiment, the following steps are included:
[0102] S1: After power-on, the timer circuit 11 is controlled to output a power-on reset signal RST#;
[0103] Optionally, the power-on reset signal RST# can be any one of a low level signal, a low pulse signal, or a high level signal. Specifically, after the system is powered on, the timer circuit 11 is first activated and outputs a power-on reset signal RST#. This signal is used to initialize the system, including the first processor 12 and the second processor 13.
[0104] S2: The first processor 12 starts running after the power-on reset is completed, and periodically outputs a GPI01 signal with high and low changes to the WDI pin of the timer circuit 11 within a preset time to maintain the normal operation of the timer circuit 11.
[0105] After the power-on reset is completed, the first processor 12 starts to run. In order to maintain the normal operation of the timer circuit 11 and prevent it from triggering unnecessary reset operations, the first processor 12 periodically outputs a GPIO1 signal that changes between high and low to the WDI pin of the timer circuit 11 within a preset time, for example, every 800 milliseconds.
[0106] S3: The logic gate circuit combination 2 generates a reset signal through combinational logic control according to the RST# signal of the first processor 12, the STATUS signal of the second processor 13, the ZL_RST# signal, and the ZL_FRST_EN# signal.
[0107] The logic gate circuit combination 2 receives the RST# signal from the first processor 12, the STATUS signal, the ZL_RST# signal and the ZL_FRST_EN# signal from the second processor 13. These signals are processed by combinational logic to generate an appropriate reset signal.
[0108] Optionally, the ZL_FRST_EN# signal can be either a high level or a low level.
[0109] S4: Outputting the generated reset signal to the first processor 12 and the second processor 13 respectively, so as to reset the first processor 12 and the second processor 13 individually or simultaneously.
[0110] The reset signal generated by the logic gate circuit combination 2 is output to the first processor 12 and the second processor 13 respectively. Depending on the specific type of the reset signal, the first processor 12 and the second processor 13 will perform corresponding reset operations. Specifically, the first processor 12 and the second processor 13 are reset simultaneously, the first processor 12 is reset alone, or the second processor 13 is reset alone.
[0111] S5: According to different combinations of the ZL_RST# signal and the ZL_FRST_EN# signal, the reset circuit is controlled to enter a low power mode, a partial low power mode, the first processor 12 is reset, the second processor 13 is reset, or the entire reset circuit is reset.
[0112] By changing the combined state of the ZL_RST# signal and the ZL_FRST_EN# signal, the reset circuit can be flexibly controlled to enter different operating modes.
[0113] For example, when ZL_RST# is high and ZL_FRST_EN# is low, the reset circuit may enter a low power mode. When ZL_RST# is high and ZL_FRST_EN# is also high, a reset operation on the first processor 12 may be triggered.
[0114] In the embodiments of the present application, a highly efficient reset circuit control method is used to achieve stable, reliable, and flexible operation of the reset circuit. This method not only improves the stability and flexibility of the reset circuit, but also reduces power consumption and circuit design costs.
[0115] In a possible embodiment, the method further includes: detecting a program loading status of the second processor 13 , and when the loading of the second processor 13 is completed, generating a control signal through the logic gate circuit combination 2 to complete resetting the second processor 13 .
[0116] In the embodiment of the present application, the stability and reliability of the reset circuit are further improved by adding detection and reset control of the program loading status of the second processor 13. This step not only simplifies the debugging and maintenance process of the reset circuit, but also improves the startup efficiency of the reset circuit.
[0117] In a possible embodiment, reset control of the first processor 12 or the second processor 13 is achieved by changing the level states of the input ZL_RST# signal and the ZL_FRST_EN# signal.
[0118] In an embodiment of the present application, by inputting and changing the level states of the ZL_RST# signal and the ZL_FRST_EN# signal, the first processor 12 and the second processor 13 can be reset simultaneously or individually, and the reset blocking of non-task devices can be achieved, thereby enabling the reset circuit to autonomously switch to a low-power mode, reducing resource overhead and improving the reliability of the reset circuit.
[0119] In a possible embodiment, the disabling and enabling of the timer circuit 11 are controlled according to the DOG_DISABLE signal, and the reset operation of the timer circuit 11 is implemented through the MR pin of the timer circuit 11, thereby enhancing the stability and reliability of the reset circuit.
[0120] The timer circuit 11 is used to monitor the operating status of the first processor 12. When the first processor 12 does not send any signal within a specified time, the timer circuit 11 will trigger a reset operation.
[0121] In an embodiment of the present application, by controlling the disabling and enabling of the timer circuit 11 according to the DOG_DISABLE signal and implementing the reset operation through the MR pin of the timer circuit 11, the stability and reliability of the reset circuit are enhanced, the reset circuit control logic is simplified, and the flexibility of the reset circuit is improved.
[0122] Based on this, an embodiment of the present application further provides an electronic device, which includes any one of the reset circuits provided above. Optionally, the electronic device can be a space embedded computer.
[0123] In the embodiment of the present application, the electronic device can improve the flexibility and reliability of the computer and reduce long-term power consumption.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that modifications to the technical solutions described in the aforementioned embodiments, or equivalent replacement of some or all of the technical features therein, do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the application.
Claims
1. A reset circuit, characterized in that: It includes a controller (1) and a logic gate circuit combination (2); The controller (1) includes a timer circuit (11), a first processor (12), a second processor (13) and a chip (14); The PFI pin of the timer circuit (11) is used to receive an external control signal, the WDI pin of the timer circuit (11) is connected to the GPIO1 output end of the first processor (12), and the RST pin of the timer circuit (11) is connected to the RST# pin of the first processor (12) and is used to output a power-on reset signal RST# according to the input GPIO1 signal; The GPI02 pin of the first processor (12) is connected to the logic gate circuit combination (2) for outputting a GPI02 signal; The output end of the second processor (13) is connected to the first processor (12) and the logic gate circuit combination (2) respectively, and is used to output a STATUS signal; The chip (14) is connected to the second processor (13), and the input end of the chip (14) is connected to the logic gate circuit combination (2); The logic gate circuit combination (2) is used to generate a reset signal through combinational logic control based on receiving the timer circuit (11), the first processor (12), the second processor (13) and an external control signal, and output the reset signal to the first processor (12) and the second processor (13) respectively; The external control signal includes a ZL_RST# signal and a ZL_FRST_EN# signal to implement reset control among the timer circuit (11), the first processor (12), and the second processor (13), so that the first processor (12) and the second processor (13) can be reset individually or simultaneously.
2. The reset circuit according to claim 1, wherein: The logic gate circuit combination (2) includes a first OR gate (21), a second OR gate (22), a first AND gate (23) and a second AND gate (24); The two input terminals of the first OR gate (21) are respectively connected to the RST pin of the timer circuit (11) and the ZL_FRST_EN# signal terminal, and are used to output an RS_RST# signal according to the input RST# signal and the ZL_FRST_EN# signal, and input the RS_RST# signal to the chip (14) to trigger the refresh configuration of the chip (14); The two input terminals of the first AND gate (23) are respectively connected to the output terminal of the STATUS signal of the second processor (13) and the output terminal of the first OR gate (21), and are used to output the FRST_EN1 signal according to the input STATUS signal and the RS_RST# signal; The two input terminals of the second OR gate (22) are respectively connected to the GPIO2 output terminal and the ZL_FRST_EN# signal terminal of the first processor (12), and are used to output the FRST_EN2 signal according to the GPIO2 signal output by the first processor (12) and the ZL_FRST_EN# signal; The two input terminals of the second AND gate (24) are respectively connected to the output terminal of the first AND gate (23) and the output terminal of the second OR gate (22), and are used to output the F_RST# signal according to the output FRST_EN1 signal and the FRST_EN2 signal, and transmit the F_RST# signal to the second processor (13).
3. The reset circuit according to claim 1, wherein: When the input ZL_RST# signal and ZL_FRST_EN# signal are both low, the reset circuit is in reset state and enters low power mode; When the input ZL_RST# signal is at a low level and the ZL_FRST_EN# signal is at a high level, the first processor (12) is in a reset state, the second processor (13) is in a normal working mode, and the reset circuit enters a local low power consumption mode; When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is at a high level, the first processor (12) is reset and the second processor (13) maintains a normal working mode; When the input ZL_RST# signal is a high-level signal and the ZL_FRST_EN# signal is a low-level signal, the second processor (13) is reset, and the first processor (12) maintains normal operation or an initialization state after reset; When the input ZL_RST# signal is a low pulse signal and the ZL_FRST_EN# signal is also low, the entire system is reset and the reset circuit is reinitialized.
4. The reset circuit according to claim 1, wherein: The logic gate circuit combination (2) further includes a third OR gate (25) and a third AND gate (26); The input end of the third OR gate (25) is connected to the WDO pin of the timer circuit (11), and is used to disable the timer circuit (11) according to the input DOG_DISABLE signal; The two input ends of the third AND gate (26) are respectively connected to the output end of the third OR gate (25) and the PFO pin of the timer circuit (11), and the output end of the third AND gate (26) is connected to the MR pin of the timer circuit (11).
5. The reset circuit according to claim 1, wherein: The first processor (12) is configured to periodically output a high-low varying GPIO1 signal to the WDI pin of the timer circuit (11) within a time interval not exceeding 800 milliseconds.
6. A method for controlling a reset circuit according to any one of claims 1 to 5, characterized in that: The steps include: S1: After power-on, the timer circuit (11) is controlled to output a power-on reset signal RST#; S2: The first processor (12) starts running after power-on reset is completed, and periodically outputs a GPI01 signal with high and low changes to the WDI pin of the timer circuit (11) within a preset time to maintain the normal operation of the timer circuit (11); S3: the logic gate circuit combination (2) generates a reset signal through combinational logic control according to the RST# signal of the first processor (12), the STATUS signal of the second processor (13), the ZL_RST# signal and the ZL_FRST_EN# signal; S4: outputting the generated reset signal to the first processor (12) and the second processor (13) respectively, so as to achieve individual or simultaneous reset of the first processor (12) and the second processor (13); S5: According to different combinations of the ZL_RST# signal and the ZL_FRST_EN# signal, the reset circuit is controlled to enter a low power consumption mode, a partial low power consumption mode, the first processor (12) is reset, the second processor (13) is reset, or the entire reset circuit is reset.
7. The control method according to claim 6, characterized in that: Also includes: The program loading state of the second processor (13) is detected, and when the loading of the second processor (13) is completed, a control signal is generated through the logic gate circuit combination (2) to complete the resetting of the second processor (13).
8. The control method according to claim 6, characterized in that: By changing the level states of the input ZL_RST# signal and the ZL_FRST_EN# signal, reset control of the first processor (12) or the second processor (13) is achieved.
9. The control method according to claim 6, characterized in that: The disabling and enabling of the timer circuit (11) are controlled according to the input DOG_DISABLE signal, and the reset operation of the timer circuit (11) is realized through the MR pin of the timer circuit (11), thereby enhancing the stability and reliability of the reset circuit.
10. An electronic device comprising the reset circuit according to any one of claims 1 to 5, characterized in that: The electronic device is a space embedded computer.
Citation Information
Patent Citations
Dual-redundancy reconfigurable space-borne computer system based on CPCI bus
CN106776468A
Resetting management circuit among multiple processors
CN203070202U