A self-test circuit and method for analog quantity acquisition
By designing a self-test circuit in the solid-state power controller and utilizing the impedance voltage dividing technology of the processor, CPLD and BIT circuits to implement analog self-test, it solves the problem of analog device fault detection and improves the fault detection rate and system reliability.
Patent Information
- Application Number
- CN202111336793.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-11-12
AI Technical Summary
In solid-state power controllers, analog devices have various failure modes, which makes the design and development of analog BITs more difficult, affecting the effectiveness of the fault detection function and system reliability.
By designing a self-test circuit in the solid-state power controller, using the processor, CPLD, BIT circuit and sampling conditioning circuit, combined with the impedance voltage dividing technology, the self-test function of the analog quantity is realized, including the processor generating the BIT enable signal. The CPLD performs logical operations, and the BIT circuit forms an excitation signal, which is sent to the sampling conditioning circuit. After conditioning by the operational amplifier, it is compared with the original signal to determine the self-test status.
This circuit implements multiple analog self-tests through different impedance voltage division methods, which improves the fault detection rate, reduces circuit complexity, and enhances product reliability.
Smart Images

Figure CN114115180B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of aviation electrical technology and relates to a self-checking circuit and method for analog quantity acquisition. Background Art
[0002] The solid-state power controller is an intelligent switching device with protection function. Its function is similar to that of a traditional circuit breaker, a combination of a fuse and a relay in series, or other control protectors, but it is much better than these traditional devices in terms of performance and function. It can control the on and off of DC / AC loads and has overcurrent protection and short-circuit protection functions. In addition, the solid-state power controller can collect the current and voltage values of the load, as well as the on / off status, trip (protection) status, light load / full load status of the channel, and perform channel self-detection according to each status. The digital solid-state power controller has a bus interface, which can receive control commands from the host computer through the bus interface and upload the current, voltage values and various status signals of the load. It realizes the functions of remote control, protection and information collection.
[0003] As solid-state power controllers are increasingly used, as the most important online fault diagnosis technology, the application requirements of BIT technology in solid-state power controllers are also getting higher and higher. BIT self-test is a technology that relies on the circuits and programs of electronic equipment to complete fault diagnosis and fault isolation. It is a key technology to improve the testability of circuit systems and thus improve system reliability and reduce system maintenance costs. Because analog devices have many failure modes and often have tolerance failures, the design and development of analog BIT is difficult, and the analog detection function
[0004] It can be seen that improving the BIT detection rate of solid-state power controllers plays an important role in improving product testability and system reliability. Summary of the invention
[0005] The purpose of the present invention is to provide an analog function self-test circuit and method for a solid-state power controller in response to the above technical problems, which realizes the self-test functions of multiple analog quantities by means of impedance voltage division.
[0006] Technical solution of the present invention:
[0007] A self-checking circuit for analog quantity acquisition generates excitation through an internal circuit and then realizes self-checking of multiple analog quantities through impedance voltage division, comprising a processor (1), a CPLD (2), a BIT circuit (3) and a sampling conditioning circuit (4);
[0008] The invention is characterized in that, during analog quantity self-check, the processor (1) gives a BIT enable signal, which is input to the CPLD (2), and the BIT signal is output to the BIT circuit (3) through the internal logic of the CPLD (2), and the BIT circuit (3) forms a BIT excitation, which is sent to the sampling and conditioning circuit (4), and after being conditioned by an operational amplifier, the conditioned analog quantity signal is sent to the processor (1), and the processor (1) determines whether the received analog quantity signal is consistent with the given BIT enable signal, and forms a self-check state to be reported, thereby realizing the analog quantity self-check function of the solid-state power controller.
[0009] It is characterized in that the BIT enable signal includes a rated enable signal and an overcurrent enable signal.
[0010] The invention is characterized in that the CPLD (2) generates a BIT signal through an internal OR gate. When the CPLD (2) receives a rated enable signal, the rated enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output and sent to the BIT circuit (3). When the CPLD (2) receives an overcurrent enable signal, the overcurrent enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output, and the overcurrent enable signal is directly output as a BIT signal 2. The BIT signal 1 and the BIT signal 2 are sent to the BIT circuit (3) at the same time.
[0011] The invention is characterized in that the BIT circuit (3) receives the BIT signal sent by the CPLD (2); if the BIT circuit (3) receives only the BIT signal 1, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate a rated BIT excitation, which is sent to the sampling and conditioning circuit (4); if the BIT circuit (3) receives the BIT signal 1 and the BIT signal 2 at the same time, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate one BIT excitation, and the BIT signal 2 passes through the voltage divider circuit 2 inside the BIT circuit (3) to generate another BIT excitation, and the sum of the two BIT excitations forms an overcurrent BIT excitation, which is sent to the sampling and conditioning circuit (4).
[0012] The feature of the invention is that the voltage divider circuit 1 and the voltage divider circuit 2 inside the BIT circuit (3) realize voltage division through impedances of different sizes according to detection requirements.
[0013] A self-test method for analog quantity acquisition, the method comprising the following steps:
[0014] 1) During analog self-test, the processor (1) gives a BIT enable signal, which is input to the CPLD (2);
[0015] 2) After receiving the BIT enable signal, the CPLD (2) performs different logic operations on the BIT enable signal according to the type of the received BIT enable signal, forms a corresponding BIT signal and sends it to the BIT function circuit (3);
[0016] 3) The BIT function circuit (3) simulates the excitation signal generated when the analog quantity is actually collected through different voltage divider circuits according to the type of the received BIT signal, and sends the corresponding BIT excitation to the conditioning sampling circuit (4);
[0017] 4) a sampling and conditioning circuit (4), which sends the conditioned analog signal to the processor (1) after being conditioned by an operational amplifier;
[0018] 5) The processor (1) compares the analog signal sent by the sampling and conditioning circuit (4) with the BIT enable signal given by the processor (1). If the two are the same, it is determined that the analog acquisition function is normal. Otherwise, it is determined that the analog acquisition function is abnormal, and the judgment result is formed into a self-test state to be reported.
[0019] The invention is characterized in that in the step 2), the CPLD (2) generates a BIT signal through an internal OR gate. When the CPLD (2) receives a rated enable signal, the rated enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output and sent to the BIT circuit (3); when the CPLD (2) receives an overcurrent enable signal, the overcurrent enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output, and the overcurrent enable signal is directly output as a BIT signal 2. The BIT signal 1 and the BIT signal 2 are sent to the BIT circuit (3) at the same time.
[0020] The invention is characterized in that, in the step 3), the BIT circuit (3) receives the BIT signal sent by the CPLD (2); if the BIT circuit (3) receives only the BIT signal 1, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate a rated BIT excitation, which is sent to the sampling and conditioning circuit (4); if the BIT circuit (3) receives the BIT signal 1 and the BIT signal 2 at the same time, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate one BIT excitation, and the BIT signal 2 passes through the voltage divider circuit 2 inside the BIT circuit (3) to generate another BIT excitation, and the sum of the two BIT excitations forms an overcurrent BIT excitation, which is sent to the sampling and conditioning circuit (4).
[0021] Beneficial effects of the invention:
[0022] The present invention completes the acquisition of current analog quantity and overcurrent protection functions in a solid-state power controller by using a BIT circuit (3) in conjunction with a processor (1), a CPLD (2), and a sampling and conditioning circuit (4), and belongs to a BIT self-checking simplified circuit. The circuit can realize the self-checking functions of multiple analog quantities through different impedance voltage division modes, while improving the fault detection rate of the acquisition circuit and reducing the circuit complexity, thereby enhancing product reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the principle of the present invention.
[0024] Figure 2 It is the internal logic diagram of CPLD.
[0025] Figure 3 This is the internal logic diagram of the BIT circuit. DETAILED DESCRIPTION
[0026] The connection structure of the present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0027] like Figure 1 As shown, the self-test circuit for analog quantity acquisition of the present invention performs analog quantity self-test by adding excitation, while not affecting the normal external analog quantity input state, and comprises a processor (1), a CPLD (2), a BIT circuit (3) and a sampling and conditioning circuit (4). During analog quantity self-test, the processor (1) gives an overcurrent enable signal and inputs it to the CPLD (2). After receiving the overcurrent enable signal, the CPLD (2) simultaneously sends a BIT signal 1 and a BIT signal 2 to the BIT circuit (3) through an OR gate operation. After the BIT circuit (3) simultaneously receives the BIT signal 1 and the BIT signal 2, it simulates the collected excitation signal through the voltage divider circuit 1 and the voltage divider circuit 2, forms an overcurrent BIT excitation and transmits it to the sampling and conditioning circuit (4). After being conditioned by an operational amplifier, the sampling and conditioning circuit (4) sends the conditioned analog quantity signal to the processor (1). The processor (1) determines whether the received analog quantity signal is consistent with the given overcurrent enable signal, forms a self-test state to be reported, and realizes the analog quantity self-test function of the solid-state power controller.
[0028] In another example of the present invention, during analog self-test, the processor (1) gives a rated enable signal and inputs it to the CPLD (2). After receiving the rated enable signal, the CPLD (2) simultaneously sends a BIT signal 1 to the BIT circuit (3) through an OR gate operation. After receiving the BIT signal 1, the BIT circuit (3) simulates the collected excitation signal through the voltage divider circuit 1 to form a rated BIT excitation and transmits it to the sampling and conditioning circuit (4). After being conditioned by the operational amplifier, the sampling and conditioning circuit (4) sends the conditioned analog signal to the processor (1). The processor (1) determines whether the received analog signal is consistent with the given rated enable signal, forms a self-test state to be reported, and realizes the analog self-test function of the solid-state power controller.
[0029] Figure 2 This is the internal logic block diagram of CPLD. When CPLD (2) receives the rated enable signal, it forms BIT signal 1 through OR gate operation. When CPLD (2) receives the overcurrent enable signal, it forms BIT signal 1 and BIT signal 2 at the same time through OR gate operation.
[0030] Figure 3 The block diagram of the BIT circuit is as follows. When the BIT circuit (3) receives the BIT signal 1, it forms a rated BIT excitation through the voltage divider circuit 1. When the BIT circuit (3) receives the BIT signal 1 and the BIT signal 2 at the same time, it forms an overcurrent BIT excitation through the voltage divider circuit 1 and the voltage divider circuit 2.
Claims
1. A self-checking circuit for analog quantity acquisition, which generates excitation through an internal circuit and then realizes self-checking of multiple analog quantities through impedance voltage division, comprising a processor (1), a CPLD (2), a BIT circuit (3) and a sampling conditioning circuit (4); It is characterized in that During analog quantity self-test, the processor (1) gives a BIT enable signal, which is input to the CPLD (2), and the BIT signal is output to the BIT circuit (3) through the internal logic of the CPLD (2). The BIT circuit (3) forms a BIT excitation and sends it to the sampling and conditioning circuit (4). After being conditioned by the operational amplifier, the conditioned analog quantity signal is sent to the processor (1). The processor (1) determines whether the received analog quantity signal is consistent with the given BIT enable signal, and forms a self-test state to be reported, thereby realizing the analog quantity self-test function of the solid-state power controller; The BIT enable signal includes a rated enable signal and an overcurrent enable signal; The CPLD (2) generates a BIT signal through an internal OR gate. When the CPLD (2) receives a rated enable signal, the rated enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output and sent to the BIT circuit (3). When the CPLD (2) receives an overcurrent enable signal, the overcurrent enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output, and the overcurrent enable signal is directly output as a BIT signal 2. The BIT signal 1 and the BIT signal 2 are sent to the BIT circuit (3) at the same time.
2. A self-test circuit for analog quantity acquisition as claimed in claim 1, characterized in that: The BIT circuit (3) receives the BIT signal sent by the CPLD (2). If the BIT circuit (3) receives only the BIT signal 1, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate a rated BIT excitation, which is then sent to the sampling and conditioning circuit (4). If the BIT circuit (3) receives both the BIT signal 1 and the BIT signal 2 at the same time, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate one BIT excitation, and the BIT signal 2 passes through the voltage divider circuit 2 inside the BIT circuit (3) to generate another BIT excitation. The sum of the two BIT excitations forms an overcurrent BIT excitation, which is then sent to the sampling and conditioning circuit (4).
3. A self-test circuit for analog quantity acquisition as claimed in claim 2, characterized in that: The voltage divider circuit 1 and the voltage divider circuit 2 inside the BIT circuit (3) realize voltage division through impedances of different sizes according to detection requirements.
4. A self-test method using a self-test circuit for analog quantity acquisition according to any one of claims 1 to 3, the method comprising the following steps: 1) During analog self-test, the processor (1) gives a BIT enable signal, which is input to the CPLD (2); 2) After receiving the BIT enable signal, the CPLD (2) performs different logic operations on the BIT enable signal according to the type of the received BIT enable signal, forms a corresponding BIT signal and sends it to the BIT circuit (3); 3) The BIT circuit (3) simulates the excitation signal generated when the analog quantity is actually collected through different voltage divider circuits according to the type of the received BIT signal, and sends the corresponding BIT excitation to the sampling and conditioning circuit (4); 4) a sampling and conditioning circuit (4), which sends the conditioned analog signal to the processor (1) after being conditioned by an operational amplifier; 5) The processor (1) compares the analog signal sent by the sampling and conditioning circuit (4) with the BIT enable signal given by the processor (1). If the two are the same, it is determined that the analog acquisition function is normal. Otherwise, it is determined that the analog acquisition function is abnormal, and the judgment result is formed into a self-test state to be reported.
5. The method according to claim 4, characterized in that In the step 2), the CPLD (2) generates a BIT signal through an internal OR gate. When the CPLD (2) receives a rated enable signal, the rated enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output and sent to the BIT circuit (3). When the CPLD (2) receives an overcurrent enable signal, the overcurrent enable signal is used as one input of the OR gate, and the other input is at a low level. Through the OR gate operation, a BIT signal 1 is output, and the overcurrent enable signal is directly output as a BIT signal 2. The BIT signal 1 and the BIT signal 2 are sent to the BIT circuit (3) at the same time.
6. The method according to claim 5, characterized in that In the step 3), the BIT circuit (3) receives the BIT signal sent by the CPLD (2). If the BIT circuit (3) receives only the BIT signal 1, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate a rated BIT excitation, which is then sent to the sampling and conditioning circuit (4). If the BIT circuit (3) receives both the BIT signal 1 and the BIT signal 2 at the same time, the BIT signal 1 passes through the voltage divider circuit 1 inside the BIT circuit (3) to generate one BIT excitation, and the BIT signal 2 passes through the voltage divider circuit 2 inside the BIT circuit (3) to generate another BIT excitation. The sum of the two BIT excitations forms an overcurrent BIT excitation, which is then sent to the sampling and conditioning circuit (4).
