Switching value signal providing circuit

By designing the switch signal providing circuit of the level control module and the level threshold selection module, the flexibility and cost problems in the prior art are solved, flexible level signal output is achieved and maintenance costs are reduced.

CN223348647UActive Publication Date: 2025-09-16SHANGHAI ECAR TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422840863.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-09-16
Estimated Expiration
2034-11-20

AI Technical Summary

Technical Problem

The switching signal providing circuit in the prior art has deficiencies in flexibility and cost, cannot meet the diverse switching detection requirements, and has high maintenance costs.

Method used

A switching signal providing circuit including a level control module, a level detection module and a level threshold selection module is designed. Multiple level threshold selection modules receive independent switching control signals for voltage division processing and output multiple level threshold signals to achieve flexible control.

Benefits of technology

It enhances the adaptability and flexibility of the circuit, reduces production and maintenance costs, and meets the testing needs of complex and diverse switching detection circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223348647U_ABST
    Figure CN223348647U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of signal detection, and discloses a switching value signal providing circuit, which is characterized in that the input end of a level control module is connected with a first control signal input end, and the output end is connected with a level detection module; the input end of each level threshold selection module is connected with a second control signal input end, and the output end is connected with the level detection module; the level detection module receives a first switching value control signal input by the first control signal input end so as to control a level signal of the switching value signal providing circuit to be in a high level state or a low level state, receives a second switching value control signal input by each second control signal input end, and outputs the second switching value control signal after voltage division processing. And level signals with different thresholds in a high level state or a low level state are output through a signal output end of the level detection module. According to the utility model, various different level thresholds can be selected and output according to different application requirements, and flexible control of level signal output is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of signal detection, in particular to a switching signal providing circuit. Background Art

[0002] Switching signals are often used in I / O (input / output) sampling circuits within a vehicle's electronic control unit (ECU). They typically display either a high (H) or low (L) state. During ECU production, hardware testing of the switching detection circuitry is essential. This circuitry operates by providing a simulated load with a signal level: either a high (H) or a low (L) state. If the switching detection circuitry correctly detects this signal state, the hardware is functioning properly; otherwise, a problem exists.

[0003] Existing signal supply circuits are primarily implemented using either a single, fixed high / low level signal or a signal source and relay switching scheme. The single, fixed high / low level signal scheme, due to the fixed signal state, lacks flexibility and cannot adapt to diverse testing requirements. While the combination of a signal source and relays can achieve signal switching, it is expensive and, due to the limited lifespan of the relays, requires regular maintenance and replacement, increasing overall production and maintenance costs. Therefore, faced with the increasingly complex and diverse switching detection circuits, none of the aforementioned schemes are able to meet the flexible and ever-changing switching testing requirements. Utility Model Content

[0004] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a switching signal providing circuit to solve the problems existing in the prior art.

[0005] The utility model provides a switching signal providing circuit, comprising: a level control module, a level detection module and a plurality of level threshold selection modules;

[0006] The input end of the level control module is connected to the first control signal input end, and the output end is connected to the level detection module;

[0007] The input end of each level threshold selection module is connected to a second control signal input end, and the output end is connected to the level detection module;

[0008] The level detection module receives the first switch control signal input from the first control signal input terminal to control the level signal of the switch signal providing circuit to be in a high level state or a low level state, and receives the second switch control signal input from each second control signal input terminal, and after voltage division processing, outputs level signals with different thresholds in a high level state or a low level state through the signal output terminal of the level detection module.

[0009] According to a switch signal providing circuit provided by the present invention, the number of the level threshold selection modules is set to 3, and the second switch control signals are respectively a CTRL1 control signal, a CTRL2 control signal and a CTRL3 control signal.

[0010] According to a switch signal providing circuit provided by the present invention, when the first input switch control signal is a high-level state signal, the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal are all set to low-level state signals, and the signal output terminal can output a first threshold high-level signal, or,

[0011] Any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high-level state signal, and the other control signals are set to a low-level state signal, and the signal output terminal is capable of outputting a second-threshold high-level signal, or,

[0012] Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output terminal can output a third threshold high level signal.

[0013] According to a switch signal providing circuit provided by the present invention, when the first input switch control signal is a low-level state signal, any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high-level state signal, and the other control signals are set to low-level state signals, the signal output terminal can output a first threshold low-level signal, or,

[0014] Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output terminal can output a second threshold low level signal.

[0015] According to a switching signal providing circuit provided by the utility model, the level control module includes: a first resistor, a second resistor and a first transistor;

[0016] One end of the first resistor is connected to the first node, and the other end is connected to the first control signal input terminal;

[0017] One end of the second resistor is connected to the first node, and the other end is grounded;

[0018] The base of the first transistor is connected to the first node, the collector is connected to the level detection module through the second node, and the emitter is grounded.

[0019] According to a switching signal providing circuit provided by the utility model, each level threshold selection module includes: a third resistor, a fourth resistor, a fifth resistor and a second triode;

[0020] One end of the third resistor is connected to the second control signal input terminal, and the other end is connected to the third node;

[0021] One end of the fourth resistor is connected to the third node, and the other end is grounded;

[0022] The base of the second transistor is connected to the third node, the collector is connected to one end of the fifth resistor, and the emitter is grounded;

[0023] The other end of the fifth resistor is connected to the level detection module via a fourth node.

[0024] According to a switching signal providing circuit provided by the utility model, the level detection module includes: a sixth resistor, a seventh resistor and a switch tube;

[0025] One end of the sixth resistor is connected to the power supply terminal, and the other end is connected to the second node;

[0026] The source of the switch tube is connected to the power supply end, the gate is connected to the second node, the drain is connected to one end of the seventh resistor, and the other end of the seventh resistor is connected to the fourth node.

[0027] According to a switching signal providing circuit provided by the present utility model, the switching tube includes: a MOS tube and a parasitic diode;

[0028] The anode of the parasitic diode is connected to the drain of the MOS transistor, and the cathode of the parasitic diode is connected to the source of the MOS transistor.

[0029] According to a switch signal providing circuit provided by the utility model, the MOS tube is a P-channel MOS tube.

[0030] According to a switch signal providing circuit provided by the utility model, the signal output end of the level detection module is connected to the switch detection circuit to test the switch detection circuit according to the level signals with different thresholds in the high level state or the low level state output by the signal output end.

[0031] The utility model proposes a switch signal providing circuit, which receives a first switch control signal through a level control module, so as to control the level signal outputted by the signal providing circuit to be in a high level state or a low level state. On this basis, a number of level threshold selection modules are introduced, each level threshold selection module can receive an independent second switch control signal, and can output level signals with different thresholds after voltage division processing of the multiple second switch control signals. This enables the circuit to select and output a variety of different level thresholds according to different application requirements, realizes flexible control of the level signal output, and enhances the adaptability and flexibility of the circuit. Compared with the signal providing circuit of the prior art, the utility model can meet the increasingly complex and diverse switch detection circuit testing requirements with fewer components and interface resources, and has a lower cost, saving production and maintenance cost expenditures. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A schematic diagram of the logic structure of a switching signal providing circuit provided in an embodiment of the present utility model;

[0034] Figure 2 A circuit connection diagram of a switch signal providing circuit provided in an embodiment of the present utility model.

[0035] Reference numerals:

[0036] 1. Level control module; 2. Level detection module; 3. Level threshold selection module. DETAILED DESCRIPTION

[0037] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0038] In the description of this utility model, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections, or mutual communication; direct connections or indirect connections through an intermediate medium; and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this utility model based on specific circumstances.

[0039] In the subsequent description, the use of ordinal words such as "first", "second", "third" and "fourth" to distinguish elements is only for the purpose of facilitating the description of the present invention and has no specific meaning or ordinal relationship in itself.

[0040] Reference Figure 1 As shown, a switching signal providing circuit provided by this embodiment includes: a level control module 1, a level detection module 2 and a plurality of level threshold selection modules 3;

[0041] The input end of the level control module 1 is connected to the first control signal input end, and the output end is connected to the level detection module 2;

[0042] The input end of each level threshold selection module 3 is connected to a second control signal input end, and the output end is connected to the level detection module 2;

[0043] The level detection module 2 receives the first switch control signal (EN control signal) input from the first control signal input terminal to control the level signal of the switch signal providing circuit to be in a high level state or a low level state, and receives the second switch control signal (CTRL signal 1, CTRL signal 2, CTRL signal 3) input from each second control signal input terminal, and after voltage division processing, outputs level signals with different thresholds in a high level state or a low level state through the signal output terminal of the level detection module 2.

[0044] In this embodiment, three level threshold selection modules 3 are provided, and the second switching control signals are CTRL1, CTRL2, and CTRL3. The current signal providing circuit already includes three level threshold selection modules 3. However, if more threshold level signal options are required, additional modules can be added to expand the circuit's functionality. This design provides a high degree of flexibility and scalability to meet the needs of diverse application scenarios.

[0045] Specifically, the level control module 1 receives the EN control signal as an input. When the EN control signal is a high level, the logic circuit inside the level control module 1 is configured to allow a high level signal to pass through. Conversely, when the EN control signal is a low level, the logic circuit inside the level control module 1 is configured to allow a low level signal to pass through. The level detection module 2 is connected to the level control module 1 to receive the level signal of its output. The level control module 1 can directly control a switching element (such as a MOSFET or a transistor). The on or off state of the switching element determines whether the output level of the entire signal providing circuit is a high level state or a low level state. Therefore, according to the level of the EN control signal input, the level detection module 2 outputs a corresponding level signal.

[0046] Each second switching control signal (CTRL signal 1, CTRL signal 2, CTRL signal 3) enters the signal providing circuit through its respective signal input terminal. These control signals can be high or low, representing different switching states. For each CTRL signal, a corresponding voltage divider circuit is designed. The voltage divider circuit is typically composed of one or more resistors, which divide the voltage according to a specific ratio, resulting in the output of level signals with different voltage thresholds to meet the detection requirements of the subsequent switching detection circuit.

[0047] In this embodiment, when the input first switch control signal is a high-level state signal, the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal are all set to low-level state signals, and the signal output end of the level detection module can output a first threshold high-level signal, or,

[0048] Any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high level state signal, and the other control signals are set to a low level state signal, and the signal output end of the level detection module can output a second threshold high level signal, or,

[0049] Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output end of the level detection module can output a third threshold high level signal.

[0050] Specifically, when the signal providing circuit is configured to provide a high-level state signal, the CTRL3 control signal is set to a low level, and the corresponding circuit path in the level threshold selection module 3 is closed or disabled (which specific control signal is set to a low level can be adjusted according to actual conditions). In this case, the CTRL1 and CTRL2 control signals will play a role in adjusting the circuit output of multiple different level thresholds in the high-level state. For example, when both the CTRL1 and CTRL2 control signals are set to a low level, the circuit outputs a first threshold high-level signal (equivalent to determining the level of a reference state, where the level voltage depends on the external power supply V_BAT+ connected to the level detection module 2). Keep the CTRL2 control signal at a low level, set the CTRL1 control signal to a high level, and the voltage of the high-level signal is divided by the voltage divider circuit in the level threshold selection module 3, and then flows into the level detection module 2, thereby causing the signal providing circuit to output a higher level, i.e., a second threshold high-level signal. Then, the CTRL1 control signal is kept at a high level (the CTRL1 control signal can be restored to a low level, depending on the circuit design), and the CTRL2 control signal is set to a high level. The two voltages corresponding to the CTRL1 and CTRL2 control signals are divided by the voltage divider circuit in the level threshold selection module 3 and then flow into the level detection module 2 in parallel, thereby causing the signal providing circuit to output a higher level, that is, a third threshold high level signal.

[0051] In this embodiment, when the input first switching control signal is a low-level state signal, any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high-level state signal, and the remaining control signals are set to low-level state signals, the signal output end of the level detection module can output a first threshold low-level signal, or,

[0052] Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output end of the level detection module can output a second threshold low level signal.

[0053] Specifically, when the signal providing circuit is configured to provide a low-level state signal, the CTRL1 control signal is set to a low level, and the corresponding circuit path in the level threshold selection module 3 is closed or disabled (which control signal is set to a low level can be adjusted according to actual conditions). In this case, the CTRL2 and CTRL3 control signals will play a role in adjusting the circuit output of multiple different level thresholds in the low-level state. At this time, one of the CTRL2 and CTRL3 control signals needs to be set to a high level to ensure that the entire signal providing circuit finally outputs a level signal. For example, when one of the CTRL2 and CTRL3 control signals is set to a high level and the other (CTRL3) is set to a low level, the voltage of its high-level signal is divided by the voltage divider circuit in the level threshold selection module 3 and flows into the level detection module 2. This voltage defines the first low-level threshold, that is, the first threshold low-level signal. Even if the EN control signal is low, the signal providing circuit will eventually output a specific low-level signal. Then, the CTRL2 control signal is maintained at a high level (the CTRL2 control signal can be restored to a low level, depending on the circuit design), and the CTRL3 control signal is set to a high level. The two voltages corresponding to the CTRL2 and CTRL3 control signals are divided by the voltage divider circuit in the level threshold selection module 3 and then flow in parallel into the level detection module 2, causing the signal providing circuit to output a higher level, namely the second threshold low-level signal. The above control logic is shown in Table 1.

[0054] Table 1 Signal control logic

[0055]

[0056] Therefore, the level control module 1 receives a first switching control signal and uses it to control the level signal output by the circuit to be in a high or low state. Furthermore, by introducing several level threshold selection modules 3, each level threshold selection module 3 can receive an independent second switching control signal and, after voltage division, output level signals with different thresholds. This enables the circuit to select and output a variety of different level thresholds according to different application requirements, achieving flexible control of the level signal output and enhancing the circuit's adaptability and flexibility.

[0057] Reference Figure 2 As shown, in this embodiment, the level control module 1 includes: a first resistor R1, a second resistor R2 and a first transistor Q1;

[0058] One end of the first resistor R1 is connected to the first node N1, and the other end of the first resistor R1 is connected to the first control signal input terminal to receive the EN signal;

[0059] One end of the second resistor R2 is connected to the first node N1, and the other end is grounded GND;

[0060] The base of the first transistor Q1 is connected to the first node N1 , the collector of the first transistor Q1 is connected to the level detection module 2 via the second node L2 , and the emitter of the first transistor Q1 is grounded GND.

[0061] Specifically, when the EN control signal is high, it flows through resistor R1 to the base of the first transistor Q1, turning it on. When the first transistor Q1 is turned on, a low-impedance path is formed between its collector and emitter, and current flows through the emitter to ground (GND). Due to the conduction of the first transistor Q1, the gate voltage of the switch M1 is pulled down, causing the switch M1 to also turn on, thereby providing a high-level signal at the output of the level control module 1 to the level detection module 2.

[0062] When the EN control signal is low, no current flows through R1 to the base of the first transistor Q1, turning off the first transistor Q1. After the first transistor Q1 is turned off, almost no current flows between its collector and emitter, causing the switch M1 to remain off. This provides a low-level signal at the output of the level control module 1 to the level detection module 2.

[0063] The second resistor R2 is connected in parallel between the emitter of the first transistor Q1 and the ground GND to stabilize the circuit.

[0064] In this embodiment, each level threshold selection module 3 includes: a third resistor (R3, R6, R9), a fourth resistor (R4, R7, R10), a fifth resistor (R5, R8, R11) and a second transistor (Q2, Q3, Q4);

[0065] One end of the third resistor (R3, R6, R9) is connected to the second control signal input terminal, and the other end is connected to the third node (N3, N4, N5);

[0066] One end of the fourth resistor (R4, R7, R10) is connected to the third node (N3, N4, N5), and the other end is grounded GND;

[0067] The base of the second transistor (Q2, Q3, Q4) is connected to the third node (N3, N4, N5), the collector is connected to one end of the fifth resistor (R5, R8, R11), and the emitter is grounded GND;

[0068] The other end of the fifth resistor ( R5 , R8 , R11 ) is connected to the level detection module 2 via the fourth node ( N6 , N7 , N8 ).

[0069] Specifically, taking one of the level threshold selection modules 3 as an example, the base of the second transistor Q2 is connected to the third node N3. When the base voltage of the second transistor Q2 reaches a certain level (i.e., the control signal CTRL1 is at a high level), the second transistor Q2 turns on, allowing current to flow from the collector to the emitter. Conversely, when the base voltage is low (i.e., the control signal CTRL1 is at a low level), the second transistor Q2 turns off, blocking the current path. The third resistor R3 and the fourth resistor R4 act as current limiters in the circuit, converting the control signal to a level suitable for the base voltage of the second transistor Q2.

[0070] One end of the fifth resistor R5 is connected to the collector of the second transistor Q2, and the other end of the fifth resistor R5 is connected to the level detection module 2 via the fourth node N6. When the second transistor Q2 is turned on, current flows through the fifth resistor R5 to the level detection module, thereby generating a corresponding voltage signal at the level detection module 2. This voltage signal can be used to subsequently generate different threshold level signals. The fifth resistor R5 acts as a voltage divider in the circuit.

[0071] In this embodiment, the level detection module 2 includes: a sixth resistor R12, a seventh resistor R13 and a switch tube M1;

[0072] One end of the sixth resistor R12 is connected to the power supply terminal V_BAT+, and the other end is connected to the second node N2;

[0073] The source S of the switch tube M1 is connected to the power supply terminal V_BAT+, the gate G is connected to the second node N2, the drain D is connected to one end of the seventh resistor R13, and the other end of the seventh resistor R13 is connected to the fourth node (N6, N7, N8).

[0074] Specifically, a voltage signal flows from the V_BAT+ terminal, passes through the sixth resistor R12, and reaches the drain D of the switch M1. When the input signal level meets the conduction condition, the switch M1 is turned on, and the signal is transmitted to the subsequent circuit through the switch M1. The level detection module 2 is circuit-connected to the level threshold selection module 3. The level detection module 2 generates multiple level signals with different thresholds based on the voltage signal input from the V_BAT+ terminal and the voltage signal fed back to the level detection module 2 by the level threshold selection module 3.

[0075] Compared to existing circuit solutions that combine signal sources and relays, this circuit has a simpler structure, fewer components, and is easier to implement and debug. By adjusting the resistance of resistors or replacing transistors with different characteristics, the circuit's performance and parameters can be easily adjusted to meet the testing needs of increasingly complex and diverse switching detection circuits, saving production and maintenance costs.

[0076] In this embodiment, the switch M1 includes a MOS transistor and a parasitic diode D1. The anode of the parasitic diode D1 is connected to the drain D of the MOS transistor, and the cathode of the parasitic diode D1 is connected to the source S of the MOS transistor. In circuit design, to prevent damage to the MOS transistor caused by excessive gate voltage (relative to the source), a parasitic diode is used for clamping, thereby providing circuit protection. For example, when the MOS transistor is turned off, if the drain voltage suddenly rises, the parasitic diode D1 will turn on, clamping the excessive voltage to a safe level, thereby protecting the MOS transistor from damage and providing reverse protection.

[0077] Preferably, the MOS transistor is a P-channel MOS transistor. In the level detection module 2, the source S of the P-channel MOS transistor is connected to the power supply terminal V_BAT+ (or a positive power supply voltage), while the drain D is connected to the subsequent circuit or load. The gate G of the MOS transistor is connected to the level control module 1 via the second node N2 to receive the EN control signal.

[0078] In this embodiment, the signal output terminal OUT of the level detection module is connected to the switching value detection circuit to test the switching value detection circuit based on the level signals of different thresholds when the signal output terminal OUT is in a high level state or a low level state. This testing method can verify the responsiveness and accuracy of the switching value detection circuit to signals of different threshold levels. By dynamically adjusting the level threshold, it is possible to simulate signal level changes in various actual working environments, thereby comprehensively evaluating the performance and reliability of the switching value detection circuit.

[0079] In summary, the present invention proposes a switch signal providing circuit, which receives a first switch control signal through a level control module, so as to control the level signal outputted by the signal providing circuit to be in a high level state or a low level state. On this basis, by introducing a number of level threshold selection modules, each level threshold selection module can receive an independent second switch control signal, and can output level signals with different thresholds after voltage division processing of the multiple second switch control signals. This enables the circuit to select and output a variety of different level thresholds according to different application requirements, realizes flexible control of the level signal output, and enhances the adaptability and flexibility of the circuit. Compared with the signal providing circuit in the prior art, the present invention can meet the increasingly complex and diverse switch detection circuit testing requirements with fewer components and interface resources, and has a lower cost, saving production and maintenance cost expenditures.

[0080] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned 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.

[0081] The above is only a preferred embodiment of the present invention and is not intended to limit the scope of implementation of the present invention. All equivalent changes and modifications based on the shape, structure, characteristics and spirit described in the claims of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A switching signal providing circuit, characterized in that: include: A level control module, a level detection module and several level threshold selection modules; The input end of the level control module is connected to the first control signal input end, and the output end is connected to the level detection module; The input end of each level threshold selection module is connected to a second control signal input end, and the output end is connected to the level detection module; The level detection module receives the first switch control signal input from the first control signal input terminal to control the level signal of the switch signal providing circuit to be in a high level state or a low level state, and receives the second switch control signal input from each second control signal input terminal, and after voltage division processing, outputs level signals with different thresholds in a high level state or a low level state through the signal output terminal of the level detection module.

2. The switching signal providing circuit according to claim 1, characterized in that: The number of the level threshold selection modules is set to 3, and the second switch control signals are respectively a CTRL1 control signal, a CTRL2 control signal and a CTRL3 control signal.

3. The switching signal providing circuit according to claim 2, characterized in that: When the input first switch control signal is a high level state signal, the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal are all set to low level state signals, and the signal output terminal can output a first threshold high level signal, or, Any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high-level state signal, and the other control signals are set to a low-level state signal, and the signal output terminal is capable of outputting a second-threshold high-level signal, or, Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output terminal can output a third threshold high level signal.

4. The switching signal providing circuit according to claim 2, characterized in that: When the input first switch control signal is a low-level state signal, any one of the CTRL1 control signal, the CTRL2 control signal, and the CTRL3 control signal is set to a high-level state signal, and the other control signals are set to low-level state signals, the signal output terminal can output a first threshold low-level signal, or, Any one of the CTRL1 control signal, the CTRL2 control signal and the CTRL3 control signal is set to a low level state signal, and the other control signals are set to a high level state signal. The signal output terminal can output a second threshold low level signal.

5. The switching signal providing circuit according to claim 1, characterized in that: The level control module includes: a first resistor, a second resistor and a first transistor; One end of the first resistor is connected to the first node, and the other end is connected to the first control signal input terminal; One end of the second resistor is connected to the first node, and the other end is grounded; The base of the first transistor is connected to the first node, the collector is connected to the level detection module through the second node, and the emitter is grounded.

6. The switching signal providing circuit according to claim 1, characterized in that: Each of the level threshold selection modules includes: a third resistor, a fourth resistor, a fifth resistor and a second triode; One end of the third resistor is connected to the second control signal input terminal, and the other end is connected to the third node; One end of the fourth resistor is connected to the third node, and the other end is grounded; The base of the second transistor is connected to the third node, the collector is connected to one end of the fifth resistor, and the emitter is grounded; The other end of the fifth resistor is connected to the level detection module via a fourth node.

7. The switching signal providing circuit according to claim 1, characterized in that: The level detection module includes: a sixth resistor, a seventh resistor and a switch tube; One end of the sixth resistor is connected to the power supply terminal, and the other end is connected to the second node; The source of the switch tube is connected to the power supply end, the gate is connected to the second node, the drain is connected to one end of the seventh resistor, and the other end of the seventh resistor is connected to the fourth node.

8. The switching signal providing circuit according to claim 7, characterized in that: The switch tube includes: a MOS tube and a parasitic diode; The anode of the parasitic diode is connected to the drain of the MOS transistor, and the cathode of the parasitic diode is connected to the source of the MOS transistor.

9. The switching signal providing circuit according to claim 8, characterized in that: The MOS transistor is a P-channel MOS transistor.

10. The switching signal providing circuit according to claim 1, characterized in that: The signal output end of the level detection module is connected to the switch value detection circuit to test the switch value detection circuit according to the level signals with different thresholds in the high level state or the low level state output by the signal output end.