Configurable DIO circuit and digital signal input / output control equipment
By designing a configurable DIO circuit, and utilizing the collaborative work of the input detection module, output control switch, and configuration control module, precise control over the operating status of the input detection module and the power supply to the output load is achieved. This solves the problem of high power consumption in existing technologies, enabling the development of miniaturized and high-density DIO products suitable for various application scenarios.
Patent Information
- Application Number
- CN202423253041.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2034-12-27
AI Technical Summary
Existing configurable DIO technology has high power consumption, making it difficult to support the development of miniaturized, high-density point-to-point products. In particular, high-side applications are costly and not easy to use, and directly piecing together DI and DO functions is unlikely to reduce power consumption.
Design a configurable DIO circuit, including an input detection module, an output control switch, and a configuration control module. By rationally closing or opening these modules in different modes, precise control over the operating status of the input detection module and the power supply to the output load can be achieved. By utilizing the coordinated operation of the output control switch and the configuration control module, disordered power consumption can be avoided and power can be flexibly allocated.
It effectively reduces overall power consumption, supports the miniaturization and high-density development of configurable DIO products, is suitable for low-side and high-side application scenarios, reduces system power consumption and improves circuit energy efficiency.
Smart Images

Figure CN223513471U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of industrial automation, and in particular to a configurable DIO circuit and digital signal input / output control device. Background Technology
[0002] In the field of industrial automation, configurable technology is increasingly widely used in scenarios such as remote I / O due to its flexible point-to-point configuration and easy-to-use configuration methods. Configurable DIO (Digital Input / Output) is divided into high-side and low-side applications. Integrated ICs (Integrated Circuits) have been developed for high-side applications, but there is no integrated solution for low-side applications. Currently, the common approach is to directly combine the DI (Digital Input) and DO (Digital Output) functions.
[0003] In configurable DIO applications, power consumption control becomes increasingly important as miniaturization trends develop. However, existing configurable DIO technologies have several shortcomings. They ultimately result in high power consumption, making it difficult to support the development of future miniaturized, high-density point-to-point products. Furthermore, while integrated ICs exist for high-side applications, their cost is high and ease of use is limited. The overall approach of directly piecing together DI and DO functions also makes it difficult to reduce power consumption. Utility Model Content
[0004] Therefore, it is necessary to provide a configurable DIO circuit and digital signal input / output control device that can reduce power consumption to address the aforementioned technical problems.
[0005] In a first aspect, this application provides a configurable DIO circuit, comprising: an input detection module, an output control switch connected between the input detection module and a first power supply terminal, and a configuration control module connected between the input detection module and a second power supply terminal; the input detection module is connected to an output load in output mode and to an input signal terminal in input mode; the output control switch is closed or open in output mode and open in input mode;
[0006] The configuration control module is configured to disconnect under the action of a first configuration control signal in the output mode, so that the input detection module is not working, and to close under the action of a second configuration control signal in the input mode, so that the input detection module is working.
[0007] Secondly, this application also provides a digital signal input / output control device, including: a configurable DIO circuit as described in the first aspect.
[0008] The aforementioned configurable DIO circuit includes: an input detection module, an output control switch connected between the input detection module and a first power supply terminal, and a configuration control module connected between the input detection module and a second power supply terminal. The input detection module connects to an output load in output mode and to an input signal terminal in input mode. The output control switch closes or opens in output mode and opens in input mode. The configuration control module is used to open in output mode based on a first configuration control signal, so that the input detection module is not working; and to close in input mode based on a second configuration control signal, so that the input detection module is working. This configurable DIO circuit, by utilizing the output control switch and the configuration control module to perform reasonable closing or opening operations in different modes according to the corresponding configuration control signals, achieves precise control over the working state of the input detection module and the power supply to the output load. The coordinated operation of each module avoids disorderly and unnecessary power consumption, and can flexibly allocate power according to actual working needs, thereby effectively reducing overall power consumption. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a schematic diagram of a configurable DIO circuit.
[0011] Figure 2 This is a schematic diagram of an N-type configurable DIO circuit;
[0012] Figure 3 This is a schematic diagram of an N-type configurable DIO circuit configured in output mode (i.e., NDO mode);
[0013] Figure 4 This is a schematic diagram of an N-type configurable DIO circuit configured in input mode (i.e., NDI mode);
[0014] Figure 5 A schematic diagram of the circuit structure of the configuration control module 13 in the configurable DIO circuit described above. Figure 1 ;
[0015] Figure 6 This is a schematic diagram of a P-type configurable DIO circuit;
[0016] Figure 7This is a schematic diagram of a P-type configurable DIO circuit configured in input mode (i.e., PDI mode);
[0017] Figure 8 This is a schematic diagram of a P-type configurable DIO circuit configured in output mode (i.e., PDO mode);
[0018] Figure 9 A schematic diagram of the circuit structure of the configuration control module 13 in the configurable DIO circuit described above. Figure 2 . Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0020] In configurable DIO applications, power consumption control is becoming increasingly important as miniaturization trends develop. However, existing configurable DIO technologies have several shortcomings. They ultimately generate high power consumption, making it difficult to support the development of future miniaturized, high-density point-to-point products. Furthermore, while integrated ICs exist for high-side applications, they are costly and lack ease of use. The overall approach of directly piecing together DI and DO functions also makes it difficult to reduce power consumption.
[0021] To address the aforementioned issues, this application provides a configurable DIO circuit and a digital signal input / output control device. This device enables precise control over the operating status of the input detection module and the power supply to the output load in different modes, thereby effectively reducing overall power consumption. It can directly cover all configurable DIO applications, both low-side and high-side, supporting the miniaturization and high-density development of future configurable DIO products.
[0022] The following is a description of the key terms used in the embodiments of this application:
[0023] Configurable DIO: This means that DI and DO can be configured to any working mode on the same connection channel;
[0024] PDI: High-side digital input detection, current flows inward relative to the connection port;
[0025] PDO: High-side digital output control, which controls the output switch for the high side, i.e., the positive power supply output.
[0026] NDI: Low-side digital input detection, current flows outward relative to the connection port;
[0027] NDO: Low-side digital output control, which is the output control switch for the low side, i.e., the power ground (0V).
[0028] For example, Figure 1 This is a schematic diagram of a configurable DIO circuit. Figure 1 As shown, the configurable DIO circuit includes:
[0029] The input detection module 11, the output control switch 12 connected between the input detection module 11 and the first power supply terminal, and the configuration control module 13 connected between the input detection module 11 and the second power supply terminal; the input detection module 11 is connected to the output load in output mode and to the input signal terminal in input mode; the output control switch 12 is closed or open in output mode and open in input mode.
[0030] The configuration control module 13 is configured to disconnect the input detection module 11 in output mode based on the action of the first configuration control signal, so that the input detection module 11 does not work, and to close the input detection module 11 in input mode based on the action of the second configuration control signal.
[0031] The aforementioned input detection module is used to detect the state of the input signal. Within the input detection module 11, the coupling method between the input and output terminals can be direct coupling or any form of isolated coupling; this embodiment does not impose any limitation.
[0032] The configuration control signal output by the above configuration control terminal can be either the first configuration control signal or the second configuration control signal.
[0033] In the above embodiments, Figure 1 The configuration control module 13 can be disconnected in output mode based on the action of the first configuration control signal, so that the input detection module 11 does not work. Therefore, in output mode, the system power consumption of the configurable DIO circuit can be reduced.
[0034] The aforementioned configurable DIO circuit utilizes an output control switch and a configuration control module to perform reasonable closing or opening operations in different modes based on corresponding configuration control signals. This enables precise control over the working status of the input detection module and the power supply to the output load. The coordinated cooperation among the modules avoids disorderly and unnecessary power consumption and allows for flexible allocation of power according to actual working needs, thereby effectively reducing overall power consumption.
[0035] In some embodiments, the above Figure 1 The configuration control module 13 is also used to limit the input current of the input detection module 11.
[0036] The input current after the above restrictions can meet the following conditions: the input current is greater than the current threshold, and the difference between the input current and the current threshold is less than a preset value.
[0037] The aforementioned current threshold is a crucial current reference value. It plays a vital role in limiting the input current, especially for input detection modules, in configurable DIO circuits. To meet relevant specifications, the input current needs to exceed this threshold even at low input voltage drops. The current threshold defines whether the input current meets the basic functional requirements of the circuit and serves as an important reference standard for subsequent current limiting control. In this embodiment, the current threshold can be set according to actual needs, and this application does not impose specific limitations.
[0038] The aforementioned preset value is used to measure the allowable deviation range between the input current after current limiting and the current threshold. Specifically, the limited input current must meet the condition that "the input current is greater than the current threshold, and the difference between the input current and the current threshold is less than the preset value." In other words, the preset value determines the maximum range within which the input current can fluctuate above the current threshold, ensuring that the input current is maintained near the current threshold and preventing excessive power consumption due to excessive input current, thereby further reducing power consumption. In the embodiments of this application, this preset value can be set according to actual needs, and this application does not impose specific limitations.
[0039] In other words, the above Figure 1 The configuration control module 13 can implement current limiting to keep the input current of the input detection module 11 near the current threshold, preventing the input current from becoming too large and thus avoiding excessive power consumption. This further reduces power consumption.
[0040] In traditional configurable DIO circuits, the DI input current (i.e., the input current of the input detection module 11 mentioned above) varies linearly with the input voltage. To meet relevant specifications, the input current needs to be greater than the aforementioned current threshold under low input voltage differential conditions. However, as the input voltage differential increases, the DI input current increases exponentially, and the power consumption also increases dramatically. The configurable DIO circuit provided in this application, after current limiting, maintains the input current of the input detection module 11 near the current threshold. Even under high voltage differential conditions, it can still maintain low power consumption, thereby reducing the system power consumption of the configurable DIO circuit.
[0041] In some embodiments, the configuration control module may include a switching unit and a current limiting unit; one end of the current limiting unit is connected to the input detection module, and the other end of the current limiting unit is connected to the first end of the switching unit; the second end of the switching unit is connected to the second power supply terminal. The switching unit is configured to open in output mode based on the action of a first configuration control signal, and close in input mode based on the action of a second configuration control signal. The current limiting unit is configured to limit the input current of the input detection module.
[0042] In this embodiment, an N-type configurable DIO circuit and a P-type configurable DIO circuit are included.
[0043] In some embodiments, Figure 1 On the basis of, such as Figure 2 The diagram shown is a schematic of an N-type configurable DIO circuit. The first power supply terminal is the negative terminal COM, the second power supply terminal is the positive terminal V1, and the input signal terminal is the negative terminal COM.
[0044] The above-mentioned configuration control module 13 may include: a switching unit 131 and a current limiting unit 132; one end of the current limiting unit 132 is connected to the input detection module 11, and the other end of the current limiting unit 132 is connected to the first end of the switching unit 131; the second end of the switching unit 131 is connected to the positive power supply V1.
[0045] The switching unit 131 is used to open in output mode based on the action of a first configuration control signal and close in input mode based on the action of a second configuration control signal.
[0046] The current limiting unit 132 is used to limit the input current of the input detection module 11.
[0047] The above-mentioned input detection module 11 is connected in output mode. Figure 2 The DO output load in the circuit is connected to the input signal terminal in input mode, i.e., connected to the negative COM terminal of the power supply. For example... Figure 2 As shown, the DI input signal is transmitted from the negative terminal COM of the power supply. The output control switch 12 is closed or open in output mode and open in input mode.
[0048] In some embodiments, such as Figure 2 As shown, the input terminal of the configuration control module 13 is connected to the positive terminal V1 of the power supply, the configuration control signal terminal of the configuration control module 13 is used to input a first configuration control signal or a second configuration control signal, and the output terminal of the configuration control module 13 is connected to the input terminal of the input detection module 11. The first configuration control signal or the second configuration control signal input to the configuration control signal terminal is used to input a first configuration control signal or a second configuration control signal. Figure 2 This is represented as NDIO_C. The output of the input detection module 11 (i.e., Figure 2 The NDIO shown is connected to the input terminal of the output control switch 12; the output terminal of the output control switch 12 is connected to the negative terminal COM of the power supply, and the output control signal terminal of the output control switch 12 is used to input control signals (such as...). Figure 2 The NDO_OC shown in the figure enables the input terminal of the output control switch 12 to be connected to or disconnected from the output terminal.
[0049] The input detection module 11 can also output a detection result signal, such as... Figure 2 The NDI_DE shown is used to represent the detection result of the input state in the input detection module.
[0050] The N-type configurable DIO circuit shown in Figure 2 achieves flexible switching between input / output modes and power consumption control through the coordinated operation of the configuration control module 13 (including the switching unit 131 and the current limiting unit 132), the input detection module 11, and the output control switch 12. In input mode, the input detection module 11 is connected to the input signal terminal, i.e., connected to the negative power supply COM, such as... Figure 2 As shown, the negative terminal COM of the power supply transmits the DI input signal. Disconnecting the output control switch 12 reduces unnecessary output load power consumption. In output mode, the output control switch 12 can be closed or opened as needed. The configuration control module 13 can control the operating state of the input detection module 11 according to the configuration control signal, and the current limiting unit 132 can limit the input current of the input detection module 11 to avoid excessive power consumption due to excessive input current. The close cooperation of each module allows the circuit to rationally allocate power according to actual needs, effectively reducing overall power consumption.
[0051] exist Figure 2 On the basis of, such as Figure 3 The diagram shown is a schematic of an N-type configurable DIO circuit configured in output mode (i.e., NDO mode). Figure 3 The configuration control module 13 can be disconnected based on the action of the first configuration control signal (NDIO_C). Figure 3 The above-mentioned input detection module 11 is connected Figure 2 The DO output load in the output control switch 12 can input control signals (such as...) Figure 2 The NDO_OC shown in the figure enables the input and output terminals of the output control switch to be connected or disconnected. Figure 3 The example shown illustrates the connection between the input and output terminals of the NDO_OC control output switch.
[0052] The N-type configurable DIO circuit shown in Figure 3 above is configured in output mode (NDO mode). In this mode, the power supply of the input detection module 11 can be precisely cut off through reasonable module control, avoiding its ineffective energy consumption in the output stage. At the same time, the power supply to the output load can be flexibly controlled through the output control switch 12, which effectively reduces the system power consumption of the circuit in the output working state, so that the power is concentrated on the realization of output-related functions and improves the energy efficiency of the circuit.
[0053] exist Figure 2 On the basis of, such as Figure 4 The diagram shown is a schematic of an N-type configurable DIO circuit configured in input mode (i.e., NDI mode). Figure 4 The configuration control module 13 can be closed based on the action of the second configuration control signal (NDIO_C). Figure 4 The aforementioned input detection module 11 is connected to the negative terminal COM of the power supply to transmit the DI input signal. The output control signal terminal of the output control switch 12 can receive control signals (such as...). Figure 2 The NDO_OC shown in the figure is used to disconnect the input and output terminals of the output control switch 12.
[0054] Figure 4 shows an N-type configurable DIO circuit configured in input mode (NDI mode). The configuration control module 13 closes according to the second configuration control signal (NDIO_C), connecting the input detection module 11 to the negative terminal COM of the power supply to receive the DI input signal. Meanwhile, the output control switch 12 is opened to prevent power from flowing to the output load and causing waste. In input mode, this circuit structure can accurately enable the input detection function while shutting down irrelevant output paths, concentrating power for input signal detection and processing, effectively reducing overall power consumption. Furthermore, the current limiting unit limits the input current of the input detection module, ensuring low power consumption even when the input voltage difference changes, thus guaranteeing efficient operation of the configurable DIO circuit in input mode.
[0055] In some embodiments, Figures 2 to 4 On this basis, Figure 5 A schematic diagram of the circuit structure of the configuration control module 13 in the configurable DIO circuit described above. Figure 1 .like Figure 5 As shown above, Figures 2 to 4 The switching unit 131 can be the first transistor Q1, as described above. Figures 2 to 4 The current limiting unit 132 may include: a first resistor R1 and a first voltage reference source U1.
[0056] Among them, the control terminal of the first transistor Q1 (i.e. Figure 5 Pin 1 of Q1, i.e., the base (B) of Q1, is connected to the positive power supply V1, the configuration control signal terminal, and the input terminal of the first voltage reference source U1 (i.e., Figure 5 Pin 1 of U1, the first terminal of the first transistor Q1 (i.e. Figure 5 Pin 2 of Q1, i.e., the emitter (E) of Q1, is connected to one end of the first resistor R1 and the adjustment terminal of the first voltage reference source U1. Figure 5 Pin 2 of U1, the second terminal of the first transistor Q1 (i.e. Figure 5Pin 3 of Q1, i.e., the collector (C) of Q1, is connected to the positive terminal of the power supply (V1), and the other end of the first resistor R1 is connected to the output terminal of the first voltage reference source U1 (i.e., Figure 5 Pin 1 of U1 and the input terminal of input detection module 11.
[0057] Among them, the voltage between pins 2 and 3 of the first voltage reference source U1 is fixed.
[0058] Since the voltage between pins 2 and 3 of the first voltage reference source U1 is fixed and the resistance value of the first resistor R1 is constant, the input current of the input detection module 11 no longer changes with the increase of the input voltage difference. In this way, under high voltage difference conditions, the problem of increased power consumption caused by increased input current can be effectively avoided, and the power consumption of the input detection module 11 under high voltage difference environment is successfully reduced. This provides a strong guarantee for the entire configurable DIO circuit to maintain low power consumption and achieve efficient and stable operation under different operating conditions.
[0059] In some embodiments, such as Figure 5 As shown above, Figures 2 to 4 The current limiting unit 132 also includes: a third transistor Q3, a first diode D1, a fourth resistor R4, a fifth resistor R5, and a sixth resistor R6.
[0060] Among them, the control terminal of the third transistor Q3 (i.e. Figure 5 Pin 1 of Q3 is connected to the second terminal of the first transistor Q1 and the cathode of the first diode D1 (i.e., Figure 5 Pin 2 of D1, the anode of the first diode D1 (i.e., Figure 5 Pin 1 of transistor D1 is connected to one end of the sixth resistor R6, and the other end of the sixth resistor R6 is connected to the positive terminal V1 of the power supply and one end of the fifth resistor R5; the first terminal of the third transistor Q3 (i.e. Figure 5 Pin 2 of Q3 is connected to the other end of the fifth resistor R5; the second terminal of the third transistor Q3 (i.e., Figure 5 Pin 3 of Q3 is connected to the control terminal of the first transistor Q1, one end of the fourth resistor R4, and the input terminal of the first voltage reference source U1; the other end of the fourth resistor R4 is connected to the configuration control signal terminal.
[0061] In the configurable DIO circuit shown in Figure 5 above, since the voltage between pins 2 and 3 of the first voltage reference source U1 is fixed and the resistance value of the first resistor R1 is constant, the input current of the input detection module 11 is no longer affected by the increase in input voltage difference. This effectively avoids the power consumption increase caused by the increase in current under high voltage difference, reduces its power consumption in high voltage difference environment, and ensures low power consumption and efficient and stable operation of the configurable DIO circuit under different operating conditions.
[0062] Furthermore, since the base current of the transistor is very small and negligible compared to the collector current, the currents of R6, D1, Q1, and R1 are equal. Also, because the BE junction of Q3 is connected in parallel with R5, D1, and R6, the BE junction voltage is approximately equal to that of D1, resulting in the same voltage across R5 and R6 and the same current in the two resistor branches. This leads to the conclusion that the total output current is twice the current provided by U1 and R1. Since the voltage between pins 2 and 3 of U1 is fixed and the resistance of R1 is constant, this further ensures that the circuit current remains constant and does not change with increasing input voltage difference. This strengthens the limitation on power consumption under high input voltage difference. From the perspective of multiple circuit components working together, this optimizes the power consumption performance and stability of the entire configurable DIO circuit, laying a solid foundation for its reliable operation in various application scenarios.
[0063] The BE junction mentioned above refers to the PN junction formed between the base and emitter. The PN junction is the most basic structure in semiconductor devices, formed by the contact of P-type and N-type semiconductors. In a transistor, this PN junction between the base and emitter acts like a "valve," playing a crucial role in controlling the conduction of current.
[0064] In some embodiments, Figure 1 On the basis of, such as Figure 6 The diagram shows a P-type configurable DIO circuit. The first power supply terminal is the positive terminal V1, the second power supply terminal is the negative terminal COM, and the input signal terminal is a power input terminal VIN. The configuration control module 13 may include a switching unit 131 and a current limiting unit 132; one end of the current limiting unit 132 is connected to the input detection module 11, and the other end of the current limiting unit 132 is connected to the first terminal of the switching unit 131; the second terminal of the switching unit 131 is connected to the negative power supply COM. Figure 6 As shown, the DI input signal is transmitted through the power input terminal VIN.
[0065] The switching unit 131 is used to open based on the action of a first configuration control signal in output mode, and to close based on the action of a second configuration control signal under the DI input signal.
[0066] The current limiting unit 132 is used to limit the input current of the input detection module 11.
[0067] The above-mentioned input detection module 11 is connected in output mode. Figure 6 The DO output load in the input mode is connected to the input signal terminal, i.e., connected to a power input terminal VIN, such as... Figure 6 As shown, the DI input signal is transmitted through the power input terminal VIN. The output control switch 12 is closed or open in output mode and open in input mode.
[0068] In some embodiments, such as Figure 6 As shown, the input terminal of the output control switch 12 is connected to the positive terminal V1 of the power supply, and the output terminal of the output control switch 12 is connected to the input terminal of the input detection module 11; the output control signal terminal of the output control switch 12 is used to input control signals (such as...). Figure 2 The PDO_OC shown in the diagram allows the input terminal of the output control switch 12 to be connected to or disconnected from the output terminal. The output terminal of the input detection module 11 (i.e., Figure 2 The PDIO shown is connected to the input terminal of the configuration control module 13. The configuration control signal terminal of the configuration control module 13 is used to input the first configuration control signal or the second configuration control signal, and the output terminal of the configuration control module 13 is connected to the negative terminal COM of the power supply.
[0069] The input detection module 11 can also output a detection result signal, such as... Figure 6 The PDI_DE shown is used to represent the detection result of the input state in the input detection module.
[0070] The P-type configurable DIO circuit shown in Figure 6 above allows the input detection module 11 to receive the DI input signal from the power input terminal VIN in input mode, while the output control switch 12 is open to prevent energy waste in the output path. In output mode, the output control switch 12 can be closed or opened as needed, and the configuration control module 13 can precisely control the operating state of the input detection module 11 according to the configuration control signal. Furthermore, the current limiting unit 132 effectively limits the input current of the input detection module 11, preventing excessive current from causing uncontrolled power consumption. The close collaboration of these modules enables the circuit to flexibly allocate power according to the actual application scenario, reducing overall power consumption. It is suitable for both high-side and low-side applications, strongly promoting the development of configurable DIO products towards miniaturization and high density.
[0071] exist Figure 6 On the basis of, such as Figure 7 The diagram shown is a schematic of a P-type configurable DIO circuit configured in input mode (i.e., PDI mode). Figure 7 The configuration control module 13 can be closed based on the action of the second configuration control signal (PDIO_C). Figure 7 The output terminal of the aforementioned input detection module 11 is connected to the input signal terminal, i.e., connected... Figure 7 The power input terminal VIN is used to transmit the DI input signal. The output control signal terminal of the output control switch 12 can input control signals (such as...). Figure 7 As shown in the diagram, PDO_OC), the input terminal of the output control switch 12 is connected to the positive power supply V1. Figure 7The output control switch 12 is disconnected in input mode.
[0072] Figure 7 above shows a P-type configurable DIO circuit configured in input mode (PDI mode). This structure accurately enables input detection in input mode while blocking the output path, avoiding unnecessary power loss on the output load. It concentrates circuit energy on accurate detection and processing of the input signal, effectively reducing overall power consumption. Furthermore, the current limiting unit ensures that the input current remains within a reasonable range, maintaining a stable power consumption level even when input signal changes cause voltage fluctuations. This provides a solid guarantee for reliable operation and high-efficiency performance of the circuit in input mode.
[0073] exist Figure 6 On the basis of, such as Figure 8 The diagram shown is a schematic of a P-type configurable DIO circuit configured in output mode (i.e., PDO mode). Figure 8 The configuration control module 13 can be disconnected based on the action of the second configuration control signal (PDIO_C). Figure 8 The output terminal of the above-mentioned input detection module 11 is connected to Figure 8 The DO output load in the output control switch 12 can input control signals (such as...) Figure 8 As shown in the diagram, PDO_OC), the positive power supply V1 is the input terminal of the output control switch 12. Figure 8 The output control switch 12 is closed in output mode.
[0074] The P-type configurable DIO circuit shown in Figure 8 above is configured in output mode (PDO mode). In this mode, through reasonable module control, the power supply of the input detection module 11 can be effectively cut off, reducing its ineffective energy consumption in the output stage. At the same time, the power supply to the output load can be flexibly controlled by the output control switch 12, and the power can be accurately distributed to the output function, significantly reducing the system power consumption of the circuit in the output working state, improving the energy efficiency and output stability of the circuit, and meeting diverse output needs.
[0075] In some embodiments, Figures 6 to 8 On this basis, Figure 9 A schematic diagram of the circuit structure of the configuration control module 13 in the configurable DIO circuit described above. Figure 2 .like Figure 9 As shown above, Figures 6 to 8 The switching unit 131 includes a second transistor Q2; the current limiting unit 132 includes a seventh resistor R7 and a second voltage reference source U2.
[0076] Among them, the control terminal of the second transistor Q2 (i.e., pin 1 of Q2, which is also the base (B) of Q2) is connected to the positive power supply V1, the configuration control signal terminal, and the input terminal of the second voltage reference source U2 (i.e., Figure 9 Pin 1 of U1 is shown. The first terminal of the second transistor Q2 (i.e., pin 3 of Q2, which is also the collector (C) of Q2) is connected to the input terminal of the input detection module 11. The second terminal of the second transistor Q2 is connected to one end of the seventh resistor R7 and the adjustment terminal of the second voltage reference source U2 (i.e., Figure 9 Pin 2 of U1 is shown. The other end of the seventh resistor R7 is connected to the output terminal of the second voltage reference source U2 (i.e., Figure 9 Pin 3 of U1 and the negative power supply COM are shown. The configuration control signal terminal is used to input the first configuration control signal or the second configuration control signal.
[0077] The circuit corresponding to Figure 9 above, in PDI mode, utilizes the constant voltage between pins 2 and 3 of U2 and the fixed resistance value of resistor R7 to effectively limit the current flowing through R7 to a low range, thus successfully reducing power consumption in PDI mode. When the circuit is configured in PDO mode, the PDIO_C signal, which was originally high, is pulled low, causing Q2 to turn off, thereby stopping the input circuit from operating and eliminating power consumption. This mechanism significantly reduces the overall power consumption of the system. Through the targeted design in PDI and DO modes, not only is the power consumption of the input detection module 11 precisely controlled, but the overall energy efficiency of the circuit in different operating modes is also optimized, providing a solid and reliable technical guarantee and circuit foundation for the stable, efficient, and low-power operation of the entire P-type configurable DIO circuit under various operating conditions.
[0078] In some embodiments, such as Figure 9 As shown above, Figures 6 to 8 The current limiting unit 132 further includes: a second resistor R2 and a third resistor R3; one end of the second resistor R2 is connected to the control terminal of the second transistor Q2 and one end of the third resistor R3.
[0079] The second resistor R2 and the third resistor R3 work together to finely regulate the control terminal current of the second transistor Q2. They stabilize the base current of the transistor, thereby more accurately controlling the transistor's on and off states. This further optimizes the current limiting effect of the current limiting unit on the input current of the input detection module 11, ensuring that the input current can be stably controlled within a reasonable range under different input voltages and operating modes. This reduces power consumption changes caused by current fluctuations and enhances the stability and reliability of the entire circuit under various operating conditions.
[0080] In some embodiments, a digital signal input / output control device includes: any of the configurable DIO circuits described in the above embodiments.
[0081] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0082] The above embodiments merely illustrate several implementation methods of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of this application's patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A configurable DIO circuit, characterized in that, include: The system includes an input detection module, an output control switch connected between the input detection module and a first power supply terminal, and a configuration control module connected between the input detection module and a second power supply terminal. The input detection module is connected to an output load in output mode and to an input signal terminal in input mode. The output control switch is closed or open in output mode and open in input mode. The configuration control module is configured to disconnect under the action of a first configuration control signal in the output mode, so that the input detection module is not working, and to close under the action of a second configuration control signal in the input mode, so that the input detection module is working.
2. The circuit according to claim 1, characterized in that, The configuration control module is also used to limit the input current of the input detection module; Wherein, the input current is greater than the current threshold, and the difference between the input current and the current threshold is less than a preset value.
3. The circuit according to claim 2, characterized in that, The configuration control module includes a switching unit and a current limiting unit; one end of the current limiting unit is connected to the input detection module, and the other end of the current limiting unit is connected to the first end of the switching unit; the second end of the switching unit is connected to the second power supply terminal. The switching unit is configured to open based on the action of a first configuration control signal in the output mode, and to close based on the action of a second configuration control signal in the input mode. The current limiting unit is used to limit the input current of the input detection module.
4. The circuit according to claim 3, characterized in that, The first power supply terminal is the negative power supply terminal, the second power supply terminal is the positive power supply terminal, and the input signal terminal is the negative power supply terminal; The switching unit includes: a first transistor; The current limiting unit includes: a first resistor and a first voltage reference source; The control terminal of the first transistor is connected to the positive terminal of the power supply, the configuration control signal terminal, and the input terminal of the first voltage reference source. The first terminal of the first transistor is connected to one end of the first resistor and the adjustment terminal of the first voltage reference source. The second terminal of the first transistor is connected to the positive terminal of the power supply. The other end of the first resistor is connected to the output terminal of the first voltage reference source and the input terminal of the input detection module. The configuration control signal terminal is used to input the first configuration control signal or the second configuration control signal.
5. The circuit according to claim 4, characterized in that, The current limiting unit further includes: The third transistor, the first diode, the fourth resistor, the fifth resistor, and the sixth resistor; Wherein, the control terminal of the third transistor is connected to the second terminal of the first transistor and the cathode of the first diode; the anode of the first diode is connected to one end of the sixth resistor; the other end of the sixth resistor is connected to the positive terminal of the power supply and one end of the fifth resistor; the first terminal of the third transistor is connected to the other end of the fifth resistor; the second terminal of the third transistor is connected to the control terminal of the first transistor, one end of the fourth resistor, and the input terminal of the first voltage reference source; the other end of the fourth resistor is connected to the configuration control signal terminal.
6. The circuit according to claim 1 or 2, characterized in that, The first power supply terminal is the negative power supply terminal, the second power supply terminal is the positive power supply terminal, and the input signal terminal is the negative power supply terminal; The input terminal of the configuration control module is connected to the positive terminal of the power supply, the configuration control signal terminal of the configuration control module is used to input the first configuration control signal or the second configuration control signal, and the output terminal of the configuration control module is connected to the input terminal of the input detection module. The output terminal of the input detection module is connected to the input terminal of the output control switch; The output terminal of the output control switch is connected to the negative terminal of the power supply, and the output control signal terminal of the output control switch is used to input control signals so that the input terminal and the output terminal of the output control switch are connected or disconnected.
7. The circuit according to claim 3, characterized in that, The first power supply terminal is the positive power supply terminal, the second power supply terminal is the negative power supply terminal, and the input signal terminal is a power input terminal; The switching unit includes: a second transistor; The current limiting unit includes: a seventh resistor and a second voltage reference source; The control terminal of the second transistor is connected to the positive terminal of the power supply, the configuration control signal terminal, and the input terminal of the second voltage reference source. The first terminal of the second transistor is connected to the input terminal of the input detection module. The second terminal of the second transistor is connected to one end of the seventh resistor and the control terminal of the second voltage reference source. The other end of the seventh resistor is connected to the output terminal of the second voltage reference source and the negative terminal of the power supply. The configuration control signal terminal is used to input the first configuration control signal or the second configuration control signal.
8. The circuit according to claim 7, characterized in that, The current limiting unit further includes: a second resistor and a third resistor; One end of the second resistor is connected to the control terminal of the second transistor and one end of the third resistor; the other end of the second resistor is connected to the positive terminal of the power supply; and the other end of the third resistor is connected to the configuration control signal terminal.
9. The circuit according to claim 1 or 2, characterized in that, The first power supply terminal is the positive power supply terminal, the second power supply terminal is the negative power supply terminal, and the input signal terminal is a power input terminal; The input terminal of the output control switch is connected to the positive terminal of the power supply, and the output terminal of the output control switch is connected to the input terminal of the input detection module; the output control signal terminal of the output control switch is used to input control signals, so as to connect or disconnect the input terminal and the output terminal of the output control switch. The output of the input detection module is connected to the input of the configuration control module; The configuration control signal terminal of the configuration control module is used to input the first configuration control signal or the second configuration control signal, and the output terminal of the configuration control module is connected to the negative terminal of the power supply.
10. A digital signal input / output control device, characterized in that, include: The configurable DIO circuit as described in any one of claims 1 to 9.