Anti-power-down circuit and anti-power-down method thereof

By designing power-down circuits in airborne avionics equipment and using energy storage modules to provide power when voltage drops, the impact of voltage drop on CPU data access and signal processing is solved, and the stability and reliability of the system are improved.

CN118983928APending Publication Date: 2024-11-19TIANJIN JINHANG COMP TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411063850.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The large capacitive or inductive load of airborne avionics equipment at startup causes shocks to the power supply network, which may cause voltage drops, which in turn affects the accuracy of the CPU during data access and critical signal processing, resulting in serious consequences.

Method used

A power-down circuit is designed, including power supply module, energy storage module, power conversion module and switching module. By monitoring the voltage threshold, switch to the energy storage module for power supply when the voltage is lower than the set value, avoiding the power supply voltage drop or instantaneous the consequences of state.

Benefits of technology

It effectively avoids data errors and system failures caused by power supply voltage drop or transients, and improves the stability and reliability of avionics equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118983928A_ABST
    Figure CN118983928A_ABST
Patent Text Reader

Abstract

The invention provides an anti-power-down circuit and an anti-power-down method thereof.The anti-power-down circuit comprises a power module, an energy storage module connected with the power module, a power conversion module and a switching module, the anti-power-down circuit comprises a first state and a second state, when in the first state, the power conversion module is conducted with the power module, and when in the second state, the power conversion module is conducted with the switching module; when in the first state, the power conversion module is connected with the energy storage module and is disconnected with the power module, and the energy storage module discharges electricity to supply power to the CPU processing module, when in the second state, the power conversion module is connected with the energy storage module and is disconnected with the power module; and the switching module is used for driving the anti-power-down circuit to be switched from the first state to the second state when the voltage is judged to be smaller than a first voltage threshold value. According to the invention, when the voltage is lower than the first voltage threshold value, power can be supplied to the CPU processing module through the energy storage module, so that serious consequences caused by power supply voltage drop or transient disappearance are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field, and in particular to a power-off prevention circuit and a power-off prevention method thereof. Background Art

[0002] There are many types of airborne avionics equipment, and the power consumption of each avionics equipment varies greatly, and the power-on sequence is different. The startup of large capacitive or inductive loads will cause shocks to the power supply network, and even voltage drops. When the CPU voltage drops during avionics data access, it will inevitably cause data access errors. If the voltage drops occur during the critical signal input judgment or output, serious consequences will also occur. Summary of the invention

[0003] In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a power-off prevention circuit and a power-off prevention method thereof.

[0004] In a first aspect, the present application provides an anti-power-off circuit, comprising:

[0005] Power module;

[0006] An energy storage module, the energy storage module having a first end and a second end, the first end being connected to the output end of the power module, and the second end being grounded;

[0007] A power conversion module, wherein the output end of the power conversion module is connected to the input end of the CPU processing module;

[0008] The anti-power-off circuit has a first state and a second state. When in the first state, the power conversion module is connected to the power module, and the energy storage module is in a charging state; when in the second state, the power conversion module is connected to the energy storage module and disconnected from the power module, and the energy storage module is in a discharging state;

[0009] A switching module is used to drive the anti-power-off circuit to switch from the first state to the second state when the circuit voltage is less than a first voltage threshold.

[0010] According to the technical solution provided in the embodiment of the present application, the switching module has a first output end and a second output end; when the anti-power-off circuit is in the first state, the first input end is connected to the input end of the power conversion module; when the anti-power-off circuit is in the second state, the first end is connected to the input end of the power conversion module and disconnected from the output end of the power module.

[0011] According to the technical solution provided in the embodiment of the present application, it also includes a monitoring module, the input end of the monitoring module is connected to the output end of the power supply module, and the output end is connected to the CPU processing module. The monitoring module is used to send an interrupt request to the CPU processing module when it is determined that the circuit voltage is undervoltage for a period of time that exceeds a set period of time.

[0012] According to the technical solution provided in the embodiment of the present application, it also includes a filtering module, the input end of the filtering module is connected to the output end of the power module, and the output end of the filtering module is connected to the input end of the switching module.

[0013] According to the technical solution provided in the embodiment of the present application, it also includes a signal acquisition module, the input end of the signal acquisition module is connected to the output end of the power supply module, and the output end is connected to the input end of the monitoring module, for converting the analog voltage signal into a digital voltage signal.

[0014] According to the technical solution provided in the embodiment of the present application, it also includes a signal conditioning module, the input end of the signal conditioning module is connected to the output end of the power supply module, and the output end is connected to the input end of the signal acquisition module, for converting the high voltage signal into a low voltage signal.

[0015] According to the technical solution provided in the embodiment of the present application, the monitoring module includes a voltage comparison module connected to the signal acquisition module and an undervoltage detection module connected to the voltage comparison module; the voltage comparison module is used to send a timing request to the undervoltage detection module when determining whether the voltage is lower than a second voltage threshold; the undervoltage detection module is used to send an interrupt request to the CPU processing module when the accumulated undervoltage duration exceeds a set duration.

[0016] According to the technical solution provided in the embodiment of the present application, the monitoring module also includes a digital filtering module, the input end of the digital filtering module is connected to the signal acquisition module, and the output end is connected to the voltage comparison module.

[0017] In a second aspect, the present application proposes a power-off prevention method for a power-off prevention circuit, comprising the following steps:

[0018] S100. Setting a first voltage threshold;

[0019] S110. Powered by the power module;

[0020] S130. Compare the circuit voltage with the first voltage threshold through the switching module. When the circuit voltage is greater than or equal to the first voltage threshold, the power supply module and the power conversion module are turned on, and the power supply module supplies power to the CPU processing module; when the circuit voltage is less than the first voltage threshold, the energy storage module and the power conversion module are turned on, and the energy storage module supplies power to the CPU processing module.

[0021] According to the technical solution provided in the embodiment of the present application, the following steps are also included:

[0022] S200. Setting a second voltage threshold;

[0023] S210. Periodically collect digital voltage signals according to the sampling duration;

[0024] S220. Compare the digital voltage signal with the second voltage threshold through the monitoring module, and issue a timing instruction when the digital voltage signal is less than the second voltage threshold;

[0025] S230. In response to the timing instruction, obtaining the sampling duration;

[0026] S240. Repeat steps S210-S230 and accumulate the sampling time;

[0027] S250. When it is determined that the continuous cumulative sampling time exceeds the set time, an interrupt request is sent to the CPU processing module.

[0028] In summary, the present application proposes an anti-power-off circuit, including a power module, an energy storage module connected to the power module, a power conversion module, and a switching module. The anti-power-off circuit includes a first state and a second state. When in the first state, the power conversion module is connected to the power module and disconnected from the energy storage module, and the power is supplied to the CPU processing module through the power module. When in the second state, the power conversion module is connected to the energy storage module and disconnected from the power module, and the power is supplied to the CPU processing module through the discharge of the energy storage module; and also includes a switching module that can drive the anti-power-off circuit to switch from the first state to the second state when it is determined that the voltage is less than the first voltage threshold. The present application can supply power to the CPU processing module through the energy storage module when the voltage is lower than the first voltage threshold, thereby avoiding serious consequences caused by power supply voltage drop or transient disappearance. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of a power-off protection circuit provided in Example 1 of the present application;

[0030] Figure 2 A flow chart of a power-off prevention method for a power-off prevention circuit provided in Embodiment 2 of the present application;

[0031] Figure 3 A flow chart of a power-off prevention method for a power-off prevention circuit provided in Embodiment 3 of the present application;

[0032] The text annotations in the figure represent:

[0033] 1. Power supply block; 2. Filter module; 3. Power conversion module; 4. CPU processing module; 5. Energy storage module; 61. First diode; 62. Second diode; 7. Signal conditioning module; 8. Signal acquisition module; 9. Monitoring module. DETAILED DESCRIPTION

[0034] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0035] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0036] Example 1

[0037] As mentioned in the background technology, the present application proposes a power-off prevention circuit, comprising:

[0038] Power module 1;

[0039] The power module 1 is a multi-channel power input circuit, which optionally includes multiple DC inputs and is isolated by diodes. The number of DC inputs varies in different application scenarios. In some scenarios, there is only one voltage input and the current is large. In this scenario, diodes are not used. Optionally, each DC input is DC 28V.

[0040] An energy storage module 5, wherein the energy storage module 5 has a first end and a second end, wherein the first end is connected to the output end of the power module 1, and the second end is grounded;

[0041] The energy storage module 5 is a customized capacitor, and different parameters are selected according to the voltage power consumption and the duration of the device when the top-level file requires power failure. A 6600uF large capacitor is usually combined with an isolation diode to realize the energy storage function.

[0042] A power conversion module 3, wherein the output end of the power conversion module 3 is connected to the input end of the CPU processing module 4;

[0043] The power conversion module 3 includes a multi-stage conversion module, which can convert high voltage into low voltage according to the voltage required by the CPU processing module 4, and convert 28V voltage into 5V, 3.3V or 1.8V, etc. The CPU processing module 4 realizes the functions of normal operation of the circuit, reading and storing important data, etc. The CPU processing module 4 includes a reset circuit, a program storage circuit, a memory circuit, an interface circuit, a storage module, etc.

[0044] The anti-power-off circuit has a first state and a second state. When in the first state, the power conversion module 3 is connected to the power module 1, and the energy storage module 5 is in a charging state; when in the second state, the power conversion module 3 is connected to the energy storage module 5 and disconnected from the power module 1, and the energy storage module 5 is in a discharging state;

[0045] When the anti-power-off circuit is in the first state, the power supply module 1 supplies power to the CPU processing module 4; when the anti-power-off circuit is in the second state, the power storage module 5 supplies power to the CPU processing module 4;

[0046] A switching module is used to drive the anti-power-off circuit to switch from the first state to the second state when the circuit voltage is less than a first voltage threshold.

[0047] The present application can supply power to the CPU processing module 4 through the energy storage module 5 when the voltage is lower than the first voltage threshold, thereby avoiding serious consequences caused by power supply voltage drop or transient disappearance.

[0048] In a preferred embodiment, the switching module has a first output terminal and a second output terminal; when the anti-power-off circuit is in the first state, the first input terminal is connected to the input terminal of the power conversion module 3; when the anti-power-off circuit is in the second state, the first terminal is connected to the input terminal of the power conversion module 3 and is disconnected from the output terminal of the power module 1.

[0049] like Figure 1 As shown, optionally, the switching module includes two diodes, a first diode 61 and a second diode 62, the first diode 61 is arranged behind the power module 1, and its output end is the first output end, and the second diode 62 is connected to the first end, when the anti-power-off circuit is in the first state, the first diode 61 is turned on, the second diode 62 is turned off, and the power module 1, the switching module, the power conversion module 3, and the CPU processing module 4 form a power supply branch; when the anti-power-off circuit is in the second state, the second diode 62 is turned on, the first diode 61 is turned off, and the energy storage module 5, the power conversion module 3, and the CPU processing module 4 form a power supply branch.

[0050] In a preferred embodiment, the anti-power-off circuit further includes a filter module 2, the input end of the filter module 2 is connected to the output end of the power module 1, and the output end of the filter module 2 is connected to the input end of the switching module.

[0051] Among them, the filtering module 2 is used to filter out power supply interference, which is to prevent power supply noise from being transmitted to the main power supply and to prevent interference from other equipment from being transmitted to this circuit. The filtering module 2 is combined with a TVS protection device to effectively prevent voltage surges from damaging the subsequent circuits.

[0052] In a preferred embodiment, it also includes a monitoring module 9, the input end of the monitoring module 9 is connected to the output end of the power module 1, and the output end is connected to the CPU processing module 4. The monitoring module 9 is used to send an interrupt request to the CPU processing module 4 when it is determined that the circuit voltage is undervoltage for a period of time that exceeds a set period of time.

[0053] Among them, the interrupt request is a non-maskable interrupt with the highest priority. Once the CPU processing module 4 receives the interrupt request, the CPU processing module 4 directly enters the interrupt exception handler, stops the read and write operations on the key storage device, and delays the processing of key input and output signals.

[0054] In a preferred embodiment, the anti-power-off circuit also includes a signal acquisition module 8, the input end of the signal acquisition module 8 is connected to the output end of the power module 1, and the output end is connected to the input end of the monitoring module 9, for converting the analog voltage signal into a digital voltage signal.

[0055] The signal acquisition module 8 adopts high-speed ADC sampling. The ADC can use a parallel interface or a serial interface. Optionally, the accuracy is 10 Bit and the conversion time is 1 us.

[0056] In a preferred embodiment, a signal conditioning module 7 is further included, the input end of the signal conditioning module 7 is connected to the output end of the power supply module 1, and the output end of the signal conditioning module 7 is connected to the input end of the signal acquisition module 8, for converting the high voltage signal into a low voltage signal.

[0057] Optionally, the signal conditioning module 7 is an operational amplifier with an isolation function, and the voltage signal is scaled by a proportional circuit in the operational amplifier. In addition, in order to filter high-order harmonics and interference signals, a low-pass filter function is added to the signal conditioning module 7. The power supply module 1, the signal conditioning module 7, the signal acquisition module 8, the monitoring module 9, and the CPU processing module 4 form a conducting branch.

[0058] In a preferred embodiment, the monitoring module 9 includes a voltage comparison module connected to the signal acquisition module 8 and an undervoltage detection module connected to the voltage comparison module; the voltage comparison module is used to send a timing request to the undervoltage detection module when determining whether the voltage is lower than a second voltage threshold; the undervoltage detection module is used to send an interrupt request to the CPU processing module 4 when the accumulated undervoltage duration exceeds a set duration.

[0059] Optionally, the voltage comparison module is a digital comparator, the CPU processing module 4 is connected to the voltage comparison module via an SPI bus, the second voltage threshold is configured via the CPU processing module 4, and the second voltage threshold is transmitted to the voltage comparison module via the SPI bus. The voltage signal passes through the signal conditioning module 7 and the signal acquisition module 8 and then enters the monitoring module 9, and outputs a single-bit 0 / 1 signal after passing through the digital comparator. When the sampled voltage is greater than the second voltage threshold, the digital comparator outputs a high level; otherwise, the output is a low level.

[0060] In some scenarios, when starting a large device, a voltage drop may occur. After the voltage drops, if the storage capacitor discharges until the voltage returns to normal, the CPU processing module 4 does not need to be interrupted and can operate normally. Therefore, in order to enhance the reliability of the system, the present application does not cause the CPU processing module 4 to immediately enter the interrupt exception handling program when the digital comparator outputs a low level. Instead, the CPU processing module 4 enters the interrupt exception handling program only when the undervoltage module determines that the undervoltage duration exceeds the set duration; optionally, the undervoltage module is a gate array discrimination module.

[0061] In a preferred embodiment, the monitoring module 9 further includes a digital filtering module 2, the input end of the digital filtering module 2 is connected to the signal acquisition module 8, and the output end of the digital filtering module 2 is connected to the voltage comparison module.

[0062] Optionally, the digital filter module 2 is a FIR filter, which can filter out higher harmonics and noise in the voltage signal collected by the signal acquisition module 8. In order to improve the filtering efficiency of the digital filter module 2 and reduce hardware consumption, the present invention adopts a 64-order FIR filter with a coefficient of 1, which first performs Xiaofeng processing to remove unreasonable data and then performs filtering. Compared with only using digital circuits to sample signals, the present application can reliably detect and determine whether a voltage drop occurs in the case of a slow voltage drop waveform through means such as ADC sampling signal conditioning sampling circuit and logical digital signal processing logic threshold judgment; compared with the software detection method, the present application uses a gate array hardware method to implement voltage drop detection, which has a faster detection speed and does not have the problem of software crashes.

[0063] Example 2

[0064] The present application proposes a detection method for an anti-power-off circuit, comprising the following steps:

[0065] S100. Setting a first voltage threshold;

[0066] S110. Powered by the power module 1;

[0067] S130. Compare the circuit voltage with the first voltage threshold through the switching module. When the circuit voltage is greater than or equal to the first voltage threshold, the power supply module 1 and the power conversion module 3 are turned on, and the power supply module 1 supplies power to the CPU processing module 4, and the energy storage module 5 is in a charging state; when the circuit voltage is less than the first voltage threshold, the energy storage module 5 and the power conversion module 3 are turned on, and the energy storage module 5 supplies power to the CPU processing module 4; the energy storage module 5 is in a discharging state.

[0068] The first diode 61 and the second diode 62 of the switching module can be selected according to the first voltage threshold. When the circuit voltage is greater than or equal to the first voltage threshold, the CPU processing module 4 is powered through the power module 1, the filter module 2, the first diode 61, and the power conversion module 3; when the circuit voltage is less than the first voltage threshold, the CPU processing module 4 is powered through the energy storage module 5, the second diode 62, and the power conversion module 3, thereby avoiding system failures caused by voltage drops.

[0069] Example 3

[0070] Based on Example 1 and Example 2, the following steps are also included:

[0071] S200. Setting a second voltage threshold;

[0072] The second voltage threshold is set in the CPU processing module 4 and transmitted to the digital comparator via the SPI bus;

[0073] S210. Periodically collect digital voltage signals according to the sampling duration;

[0074] The analog voltage signal is converted into a digital voltage signal by the ADC signal acquisition module 8, and sampling is performed. Different models can be selected according to the required sampling time;

[0075] S220. Compare the digital voltage signal with the second voltage threshold through the monitoring module 9, and issue a timing instruction when the digital voltage signal is less than the second voltage threshold;

[0076] The signal acquisition module 8 transmits the collected digital voltage signal to the digital comparator, compares it with the second voltage threshold through the digital comparator, and sends a timing instruction to the undervoltage module when the above conditions are met;

[0077] S230. In response to the timing instruction, obtaining the sampling duration;

[0078] The undervoltage module responds to the timing instruction and obtains the sampling duration transmitted by the digital comparator;

[0079] S240. Repeat steps S210-S230 and accumulate the sampling time;

[0080] S240. When it is determined that the continuous cumulative sampling time exceeds the set time, an interrupt request is sent to the CPU processing module 4. Through the gate array discrimination of the undervoltage module, voltage anomalies can be detected more reliably, thereby improving the stability of the circuit.

[0081] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A power-off prevention circuit, It is characterized in that include: Power module (1); An energy storage module, the energy storage module having a first end and a second end, the first end being connected to the output end of the power module (1), and the second end being grounded; A power conversion module (3), wherein an output end of the power conversion module (3) is connected to an input end of a CPU processing module (4); The anti-power-off circuit has a first state and a second state. When in the first state, the power conversion module (3) is connected to the power module (1), and the energy storage module is in a charging state; when in the second state, the power conversion module (3) is connected to the energy storage module and disconnected from the power module (1), and the energy storage module is in a discharging state. A switching module is used to drive the anti-power-off circuit to switch from the first state to the second state when the circuit voltage is less than a first voltage threshold.

2. The power-off prevention circuit according to claim 1, It is characterized in that The switching module has a first output end and a second output end; when the anti-power-off circuit is in the first state, the first input end is connected to the input end of the power conversion module (3); when the anti-power-off circuit is in the second state, the first end is connected to the input end of the power conversion module (3) and is disconnected from the output end of the power module (1).

3. The anti-power-off circuit according to claim 1, It is characterized in that It also comprises a monitoring module (9), the input end of the monitoring module (9) being connected to the output end of the power module (1), and the output end of the monitoring module (9) being connected to the CPU processing module (4), and the monitoring module (9) being used for sending an interrupt request to the CPU processing module (4) when it is determined that the circuit voltage undervoltage duration exceeds a set duration.

4. The power-off prevention circuit according to claim 1, It is characterized in that It also comprises a filter module (2), the input end of the filter module (2) being connected to the output end of the power module (1), and the output end of the filter module (2) being connected to the input end of the switching module.

5. The power-off prevention circuit according to claim 1, It is characterized in that It also comprises a signal acquisition module (8), the input end of the signal acquisition module (8) being connected to the output end of the power supply module (1), and the output end of the signal acquisition module (8) being connected to the input end of the monitoring module (9), and being used for converting the analog voltage signal into a digital voltage signal.

6. The power-off prevention circuit according to claim 5, It is characterized in that It also comprises a signal conditioning module (7), the input end of the signal conditioning module (7) being connected to the output end of the power supply module (1), and the output end of the signal conditioning module (7) being connected to the input end of the signal acquisition module (8), for converting a high-voltage signal into a low-voltage signal.

7. The power-off prevention circuit according to claim 5, It is characterized in that The monitoring module (9) comprises a voltage comparison module connected to the signal acquisition module (8) and an undervoltage detection module connected to the voltage comparison module; the voltage comparison module is used to send a timing request to the undervoltage detection module when judging whether the voltage is lower than a second voltage threshold; the undervoltage detection module is used to send an interrupt request to the CPU processing module (4) when the accumulated undervoltage duration exceeds a set duration.

8. The power-off prevention circuit according to claim 7, It is characterized in that The monitoring module (9) further comprises a digital filtering module (2), wherein the input end of the digital filtering module (2) is connected to the signal acquisition module (8), and the output end of the digital filtering module (2) is connected to the voltage comparison module.

9. A power-off prevention method for the power-off prevention circuit according to any one of claims 3 to 9, It is characterized in that The steps include: S100. Setting a first voltage threshold; S110. Power is supplied through the power module (1); S130. Compare the circuit voltage with the first voltage threshold through the switching module. When the circuit voltage is greater than or equal to the first voltage threshold, the power module (1) and the power conversion module (3) are turned on, and the power module (1) supplies power to the CPU processing module (4); when the circuit voltage is less than the first voltage threshold, the energy storage module and the power conversion module (3) are turned on, and the energy storage module supplies power to the CPU processing module (4).

10. The detection method according to claim 9, It is characterized in that The following steps are also included: S200. Setting a second voltage threshold; S210. Periodically collect digital voltage signals according to the sampling duration; S220. Compare the digital voltage signal with the second voltage threshold through the monitoring module (9), and issue a timing instruction when the digital voltage signal is less than the second voltage threshold; S230. In response to the timing instruction, obtaining the sampling duration; S240. Repeat steps S210-S230 and accumulate the sampling time; S250. When it is determined that the continuous cumulative sampling time exceeds the set time, an interrupt request is sent to the CPU processing module (4).