Switching circuits, chips and signal processing devices
By introducing a leakage compensation module into the switch circuit, the leakage characteristics of the switch module are obtained and compensated, which solves the problem of inaccurate signals caused by leakage in integrated circuits and improves the accuracy of signal transmission.
Patent Information
- Application Number
- CN202110336457.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-03-29
AI Technical Summary
Switching elements in existing integrated circuits will leak current when they are on or off, leading to inaccurate signal transmission and affecting the accuracy of the circuit network and signal transmission errors.
Design a switch circuit that includes a switch module and a leakage compensation module. By obtaining the leakage characteristics of the switch module, a compensation signal is provided to reduce the impact of leakage on the signal, thereby improving the accuracy of signal transmission.
It effectively prevents signal distortion caused by the leakage characteristics of the switch module, improves the signal transmission accuracy of the switch circuit, and ensures the accuracy of signals received by the circuit network.
Smart Images

Figure CN113054963B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of integrated circuits, and in particular to a switch circuit, a chip, and a signal processing device. Background Art
[0002] With the development of electronic information technology, switches have become more diverse, and can be divided into mechanical switches and electronically controlled switches based on the control type; electronically controlled switches may include semiconductor switches (such as MOS tubes, triodes, etc.), relay switches, etc. Switches usually have two states: on and off. When the switch is on, it allows electrical signals to be transmitted from one end of the switch to the other end, and when the switch is off, it prevents electrical signals from being transmitted from one end of the switch to the other end.
[0003] In the prior art, the switch element used in the integrated circuit is usually a single MOS tube or a semiconductor device such as a triode, which controls the formation of a conductive channel through the gate to achieve the purpose of circuit switching. However, since the switch will have corresponding leakage regardless of whether it is in the on state or the off state, the leakage will be injected into the circuit network connected to the switch through the switch, causing the signal received by the circuit network to be inaccurate, affecting the accuracy of the circuit network, and even causing signal transmission errors. Summary of the invention
[0004] In view of the above problems, the embodiments of the present invention provide a switch circuit, a chip and a signal processing device to perform leakage compensation on the switch module and improve the accuracy of signal transmission of the switch circuit.
[0005] In a first aspect, an embodiment of the present invention provides a switch circuit, including:
[0006] A switch module, comprising a switch input terminal and a switch output terminal, wherein the switch module selectively conducts the switch input terminal and the switch output terminal to transmit a signal from the switch input terminal to the switch output terminal;
[0007] The leakage compensation module is used to provide a compensation signal to the switch output terminal according to the leakage characteristics of the switch module.
[0008] In a second aspect, an embodiment of the present invention further provides a chip, including: the above-mentioned switching circuit.
[0009] In a third aspect, an embodiment of the present invention further provides a signal processing device, including: the above chip.
[0010] The switching circuit, chip and signal processing device provided in the embodiments of the present invention, by setting a leakage compensation module, and using the leakage compensation module to obtain the leakage characteristics of the switching module, so as to provide a corresponding compensation signal to the switch output end of the switching module according to the leakage characteristics, thereby preventing the signal at the switch output end from being distorted due to the leakage characteristics of the switching module, thereby improving the accuracy of the transmitted signal of the switching circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is a structural schematic diagram of a switch circuit provided by an embodiment of the present invention;
[0012] Figure 2 is a structural schematic diagram of another switch circuit provided by an embodiment of the present invention;
[0013] Figure 3 is a schematic diagram of a specific circuit structure of a switch circuit provided by an embodiment of the present invention;
[0014] Figure 4 is a schematic diagram of a specific circuit structure of another switch circuit provided by an embodiment of the present invention;
[0015] Figure 5 is a structural schematic diagram of another switch circuit provided by an embodiment of the present invention;
[0016] Figure 6 It is a structural schematic diagram of another switch circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0018] An embodiment of the present invention provides a switching circuit, which can have high signal transmission accuracy. The switching circuit can be integrated into a chip, and the chip can be arranged in a signal processing device, and the signal processing device includes but is not limited to an oscilloscope.
[0019] Figure 1 Schematic diagram of a switch circuit provided by an embodiment of the present invention. Figure 1As shown, the switch module 10 of the switch circuit includes a switch input terminal In10 and a switch output terminal Out10. The switch module 10 is used to selectively turn on the switch input terminal In10 and the switch output terminal Out10 to transmit the signal Vin of the switch input terminal In10 to the switch output terminal Out10; the leakage compensation module 20 is used to provide a compensation signal to the switch output terminal Out10 according to the leakage characteristics of the switch module 10.
[0020] Specifically, the switch module 10 can at least realize the basic on-off function. The switch module 10 can be, for example, a single MOS tube or a triode that can only realize the basic on-off function, or a single-pole multi-throw switch composed of multiple MOS tubes or triodes that can realize multiple cooperative functions, or a corresponding switch array, etc. The role of the leakage compensation module 20 is to provide a corresponding compensation signal to the switch output terminal Out10 of the switch module 10 according to the leakage characteristics of the switch module 10. There are many ways to obtain the leakage characteristics of the switch module 10, and the embodiment of the present invention does not specifically limit this.
[0021] Among them, the leakage characteristic of the switch module 10 can be any performance that affects the accuracy of signal transmission due to the switch module 10, for example, it can be the leakage current existing in the switch module 10 itself; at this time, the compensation signal provided by the leakage compensation module 20 can be a compensation current provided according to the leakage current of the switch module 10.
[0022] Exemplarily, when the switch module 10 transmits the signal Vin of the switch input terminal In10 to its switch output terminal Out10, the signal Vin will be distorted at the switch output terminal Out10 of the switch module 10 due to the leakage current of the switch module 10 during the transmission process in the switch module 10; at this time, the leakage compensation module 20 provides a corresponding compensation signal according to the leakage current of the switch module 10, so that the signal Vout at the switch output terminal Out10 can be the sum of the signal output via the switch output terminal Out10 and the compensation signal provided by the leakage compensation module 20, so that the signal Vout at the switch output terminal Out10 compensated by the compensation signal provided by the leakage compensation module 20 can be independent of the leakage characteristics of the switch module 10, or the fluctuation of the signal Vout at the switch output terminal Out10 caused by the leakage characteristics of the switch module 10 after compensation by the compensation signal provided by the leakage compensation module 20 can be ignored, thereby improving the accuracy of the signal transmitted by the switch circuit.
[0023] It is understandable that the specific implementation of the switch module 10 and the leakage compensation module 20 is related to the functions to be realized, and those skilled in the art can set them according to actual conditions, which is not limited here.
[0024] It should be noted that the connection relationship between the modules in the switch circuit provided in the embodiment of the present invention and the specific structure of each module have multiple implementation methods. The following is an illustrative description of the embodiment of the present invention based on typical examples, but it is not a specific limitation of the present invention.
[0025] Optional, Figure 2 FIG. 1 is a schematic diagram of the structure of another switch circuit provided by an embodiment of the present invention. Figure 2 As shown, when the leakage characteristic of the switch module 10 includes a leakage current, the leakage compensation module 20 of the switch circuit includes a leakage characteristic processing unit 21 and a current compensation unit 22; the leakage characteristic processing unit 21 is electrically connected to the current compensation unit 22; the leakage characteristic processing unit 21 is used to generate an equivalent leakage current that is the same as the leakage current of the switch module 10 or in a preset proportion; the current compensation unit 22 is used to output a compensation current to the switch output terminal Out10 according to the equivalent leakage current.
[0026] Specifically, when the leakage characteristic processing unit 21 generates an equivalent current that is the same as the leakage current of the switch module 10, the current compensation unit 22 can directly use the equivalent current as a compensation current to compensate the switch output terminal Out10, so that the signal Vout of the switch output terminal Out10 of the switch module 10 is independent of the leakage current of the switch module 10; and when the leakage characteristic processing unit 21 generates an equivalent current that is in a preset proportion to the leakage current of the switch module 10, the current compensation unit 22 can perform corresponding scaling on the equivalent current and convert it into a compensation current, and provide the compensation current to the switch output terminal Out10, so as to reduce the influence of the leakage current of the switch module 10 on the signal Vout of the switch output terminal Out10 of the switch module 10, thereby improving the accuracy of the signal transmitted by the switch circuit.
[0027] It can be understood that the leakage characteristic processing unit 21 can be a switch with the same structure and the same electrical environment as the switch module 10; or, the leakage characteristic processing unit 21 can be a switch with the same electrical environment as the switch module 10, but with different structures and / or sizes; or, on the premise that the leakage characteristic processing unit 21 can generate an equivalent current that is the same as the leakage current of the switch module 10 or in a preset proportion, the leakage characteristic processing unit 21 can also be other structures that can be thought of by those skilled in the art, and no specific limitation is made here.
[0028] Optionally, when the switching module includes at least one switching transistor, the gate of each switching transistor receives the same or different switching control signals; the leakage characteristic processing unit includes at least one leakage processing transistor; the total leakage current of at least one leakage processing transistor is the same as the total leakage current of at least one switching transistor; or, the total leakage current of at least one leakage processing transistor is in a preset ratio to the total leakage current of at least one of the switching transistors.
[0029] For example, Figure 3 Schematic diagram of a specific circuit structure of a switch circuit provided by an embodiment of the present invention. Figure 3 As shown, when the switch module 10 includes a switch transistor M10, the leakage characteristic processing unit 21 may also include a leakage processing transistor M21. If the switch transistor M10 and the leakage processing transistor M21 have the same structure, and the gate of the switch transistor M10 and the gate of the leakage processing transistor M21 receive the same control signal Vg1, the switch transistor M10 and the leakage processing transistor M21 have the same electrical environment, so that the leakage current of the leakage processing transistor M21 can be the same as the leakage current of the switch transistor M10; by outputting the leakage current generated by the leakage processing transistor M21 to the current compensation unit 22, the current compensation unit 22 can provide a corresponding compensation signal to the switch output terminal Out10 according to the leakage current generated by the leakage processing transistor M21, so that the signal of the switch output terminal Out10 can be independent of the leakage current of the switch transistor M10, or reduce the influence of the leakage current of the switch transistor M10 on the switch output terminal Out10, thereby improving the accuracy of the signal transmitted by the switch circuit.
[0030] It should be noted that Figure 3 The accompanying drawings are merely exemplary of the embodiments of the present invention. Figure 3 It is only exemplarily shown that the switch module 10 includes at least one switch transistor; in the embodiment of the present invention, each switch module may include one, two or more switch transistors, and the embodiment of the present invention does not specifically limit the number of switch transistors of the switch module.
[0031] Optional, Figure 4 FIG. 1 is a schematic diagram of a specific circuit structure of another switch circuit provided by an embodiment of the present invention. Figure 4 As shown, at least one switching transistor of the switching module 10 includes a first switching transistor M11 and a second switching transistor M12; the first electrode of the first switching transistor M11 and the first electrode of the second switching transistor M12 are both electrically connected to the switch input terminal In10; the second electrode of the first switching transistor M11 is grounded, and the second electrode of the second switching transistor M12 is electrically connected to the switch output terminal Out10; the gate of the first switching transistor M11 receives the first switching control signal Vg11, and the gate of the second switching transistor M12 receives the second switching control signal Vg12; at this time, the first switching transistor M11 can be controlled to be turned on or off by the first switching control signal Vg11, and the second switching transistor M12 can be controlled to be turned on or off by the second switching control signal Vg12.
[0032] Correspondingly, at least one leakage processing transistor of the leakage characteristic processing unit 21 includes a first leakage processing transistor M211 and a second leakage processing transistor M212; the first electrode of the first leakage processing transistor M211 is electrically connected to the first electrode of the second leakage processing transistor M212, the second electrode of the first leakage processing transistor M211 is grounded, and the second electrode of the second leakage processing transistor M212 is electrically connected to the input end of the current compensation unit 22; the gate of the first leakage processing transistor M211 receives the first switch control signal Vg11, and the gate of the second leakage processing transistor M212 receives the second switch control signal Vg12; the output end of the current compensation unit 22 is electrically connected to the switch output end Out10; wherein, the first leakage processing transistor M211 has the same structure as the first switch transistor M11, and the second leakage processing transistor M212 has the same structure as the second switch transistor M12.
[0033] Specifically, when the first switch transistor M11 is turned on under the control of the first switch control signal Vg11, the switch input terminal In10 is grounded through the turned-on first switch transistor M11; and when the second switch transistor M12 is turned on under the control of the second switch control signal Vg12, the switch input terminal In10 forms a signal transmission path with the switch output terminal Out10 through the turned-on second switch transistor M12. In this way, when the first switch transistor M11 and the second switch transistor M12 are turned on in time-sharing, that is, when the first switch transistor M11 is turned on, the second switch transistor M12 is turned off, or when the second switch transistor M12 is turned on, the first transistor M11 is turned off, so that the first switch transistor M11 and the second switch transistor M12 realize the function of a single-pole double-throw switch.
[0034] At the same time, when the switching module 10 includes a first switching transistor M11 and a second switching transistor M12, the leakage characteristic processing unit 21 may include a first leakage processing transistor M211 and a second leakage processing transistor M212, and the first leakage processing transistor M211 has the same electrical environment and the same structure as the first switching transistor M11, so that the first leakage processing transistor M211 can generate an equivalent leakage current that is the same as the leakage current of the first switching transistor M11; the second leakage processing transistor M212 has the same electrical environment and the same structure as the second switching transistor M12, so that the second leakage processing transistor M212 can generate an equivalent leakage current that is the same as the leakage current of the second switching transistor M12. In this way, the equivalent leakage current generated by the first leakage processing transistor M211 and the equivalent leakage current generated by the second leakage processing transistor M212 are input to the current compensation unit 22, so that the current compensation unit provides the total equivalent leakage current generated by the first leakage processing transistor M211 and the second leakage processing transistor M212 as a compensation current to the switch output terminal Out10 to compensate for the signal of the switch output terminal Out10, thereby improving the accuracy of the signal transmitted by the switching circuit.
[0035] The channel types of the first switch transistor M11 and the second switch transistor M12 of the switch module 10 may be the same or different. When the channel types of the first switch transistor M11 and the second switch transistor M12 in the switch module 10 are the same, the first switch control signal Vg11 received by the gate of the first switch transistor M11 and the second switch control signal Vg12 received by the gate of the second switch transistor M12 are different switch control signals, so that the first switch transistor M11 and the second switch transistor M12 are not turned on at the same time. Alternatively, when the channel types of the first switch transistor M11 and the second switch transistor M12 of the switch module 10 are different, for example, the first switch transistor M11 is an N-type transistor and the second switch transistor M12 is a P-type transistor; since the N-type transistor is turned on when the switch control signal received by its gate is a high level and is turned off when the switch control signal received by its gate is a low level, and the P-type transistor is turned on when the switch control signal received by its gate is a low level and is turned off when the switch control signal received by its gate is a high level, the first switch control signal Vg11 received by the gate of the first switch transistor M11 of the switch module 10 can be multiplexed as the second switch control signal Vg12 received by the gate of the second switch transistor M12; at this time, when the first switch control signal is a high level, the first transistor M1 is turned on and the second transistor M2 is turned off, and when the first switch control signal Vg11 is a low level, the first switch transistor M11 is turned off and the second switch transistor M12 is turned on. In this way, only one switch control signal needs to be provided to the switch module 10 so that the first switch transistor M11 and the second switch transistor M12 are not turned on at the same time, and the number of switch control signals provided to the switch module 10 can be reduced, thereby helping to reduce the number of switch control signal receiving pins of the chip including the switch circuit, thereby helping to reduce the cost of the chip.
[0036] It can be understood that when the channel types of the first switch transistor M11 and the second switch transistor M12 in the switch module 10 are different, the first switch transistor M11 can also be a P-type transistor and the second switch transistor M12 can be an N-type transistor, and its technical principle is similar to that when the first switch transistor M11 is an N-type transistor and the second switch transistor M12 is a P-type transistor. The similarities can be referred to the above description when the first switch transistor M11 is an N-type transistor and the second switch transistor M12 is a P-type transistor, and will not be repeated here.
[0037] It should be noted that, under the premise that the total leakage current of the leakage characteristic processing unit has a fixed relationship with the total leakage current of the switch module, the number of leakage processing transistors of the leakage characteristic processing unit can be the same as or different from the number of switching transistors of the switch module, and the embodiment of the present invention does not make specific limitations on this.
[0038] Optionally, in an embodiment of the present invention, the current compensation unit in the leakage compensation module may include a mirror current source circuit, and the input end of the mirror current source circuit is electrically connected to the leakage current output end of the leakage characteristic processing unit; the output end of the mirror current source circuit is electrically connected to the switch output end, so that the mirror current source circuit of the current compensation unit can convert the equivalent leakage current generated by the leakage characteristic processing unit into a corresponding compensation current, and compensate it to the switch output end.
[0039] For example, Figure 4 As shown, the mirror current source circuit of the current compensation unit 22 may include two compensation transistors M221 and M222, the gate of the compensation transistor M221 is electrically connected to the gate of the compensation transistor M222; the gate of the compensation transistor M221 is also electrically connected to its first electrode, and the first electrode of the compensation transistor M221 is electrically connected to the leakage current output end of the leakage characteristic processing unit 21 as the input end of the mirror current source circuit; the first electrode of the compensation transistor M222 is electrically connected to the switch output end Out10 as the output end of the mirror current source circuit; the second electrode of the compensation transistor M221 is electrically connected to the second electrode of the compensation transistor M222; in this way, the equivalent leakage current output by the leakage characteristic processing unit 21 is transmitted to the compensation transistor M221, and then transmitted to the compensation transistor M222 by the compensation transistor M221, and output to the switch output end Out10 by the compensation transistor M222, thereby compensating the signal of the switch output end Out10.
[0040] The channel width-to-length ratio of the compensation transistor M221 may be the same as or different from the channel width-to-length ratio of the compensation transistor M222. When the channel width-to-length ratio of the compensation transistor M221 is the same as that of the compensation transistor M222, the current flowing through the compensation transistor M221 is the same as the current flowing through the compensation transistor M222. At this time, the equivalent leakage current output by the leakage characteristic processing unit 21 can be the same as the leakage current of the switch module 10, so that the equivalent leakage current can be directly transmitted to the switch output terminal Out10 through the compensation transistor M221 and the compensation transistor M222; and when the channel width-to-length ratio of the compensation transistor M221 is different from that of the compensation transistor M222 and they are in a certain ratio, the current flowing through the compensation transistor M221 is different from the current flowing through the compensation transistor M222 and they are in a certain ratio; at this time, the equivalent leakage current output by the leakage characteristic processing unit 21 can be transmitted to the compensation transistor M222 through the mirror effect of the compensation transistor M221, and the compensation transistor M222 can scale the equivalent leakage current by a certain ratio and transmit it to the switch output terminal Out10.
[0041] It should be noted that Figure 4 The specific structure of the current compensation unit 22 is only shown for example, and the structure of the current compensation unit 22 in the embodiment of the present invention is not limited thereto.
[0042] Optional, Figure 5 FIG. 1 is a schematic diagram of the structure of another switch circuit provided by an embodiment of the present invention. Figure 5 As shown, when the leakage characteristic processing unit 21 is used to generate an equivalent current in a preset ratio to the leakage current of the switch module 10, the current compensation unit 22 includes a compensation current source 221, a plurality of mirror current source circuits (2221, 2222, ..., 222n) and a gating switch 223; the compensation current source 221 is used to provide a fixed current signal; the input end of each mirror current source circuit (2221, 2222, ..., 222n) is electrically connected to the compensation current source 221; the plurality of mirror current source circuits (2221, 2222, ..., 222n) are used to scale the fixed current signal in a plurality of different ratios and output a plurality of different compensation currents; the gating switch 223 is used to select the compensation current source 221 and the compensation current source 221; the plurality of mirror current source circuits (2221, 2222, ..., 222n) are used to select the compensation current source 221 and the compensation current source 221; the plurality of mirror current source circuits (2221, 2222, ..., 222n) are used to scale the fixed current signal in a plurality of different ratios and output a plurality of different compensation currents; the selection switch 223 is used to select the compensation current source 221 and the compensation current source 221; the plurality of mirror current source circuits (2221, 2222, ..., 222n) are ... The enable switch 223 includes a plurality of enable input terminals (In221, In222, ..., In220) and a enable output terminal Out22, each enable input terminal (In221, In222, ..., In220) is electrically connected to the output terminal of each mirror current source circuit (2221, 2222, ..., 222n) in a one-to-one correspondence, and the enable output terminal Out22 is electrically connected to the switch output terminal Out10; the enable switch 223 is used to selectively turn on the enable input terminal (2221, 2222, ..., 222n) and the enable output terminal Out22 according to the equivalent leakage current, so as to output at least one compensation current to the switch output terminal Out10.
[0043] Specifically, the compensation current source 221 provides a fixed current that is scaled at different proportions by each mirror current source circuit (2221, 2222, ..., 222n) to output multiple different compensation currents; the multiple different compensation currents are not all provided to the switch output terminal Out10 to compensate the signal of the switch output terminal Out10, but one or more compensation currents are selectively output through the selection switch 223.
[0044] Exemplarily, when the amplification ratio of the fixed current of each of the mirror current source circuits (2221, 2222, ..., 222n) from the mirror current source circuit 2221 to the mirror current source circuit 222n gradually increases; when the equivalent leakage current generated by the leakage characteristic processing unit 21 is small, and the leakage current of the switch module 10 is large, it is necessary to compensate the larger leakage current to the switch output terminal Out10 to ensure that the signal of the switch output terminal Out10 is not distorted; at this time, the selection switch 223 can selectively turn on the selection input terminal In22n and the selection output terminal Out22 according to the size of the equivalent leakage current, so that the compensation current output after the equivalent leakage current is amplified by the mirror current source circuit 222n is transmitted to the switch output terminal Out10 through the turned-on selection input terminal In22n and the selection output terminal Out22. Correspondingly, when the equivalent leakage current generated by the leakage characteristic processing unit 21 is large and the leakage current of the switch module 10 is small, it is necessary to compensate the smaller leakage current to the switch output terminal Out10 to ensure that the signal of the switch output terminal Out10 is not distorted; at this time, the selection switch 223 can selectively turn on the selection input terminal In221 and the selection output terminal Out22 according to the size of the equivalent leakage current, so that the compensation current output after the equivalent leakage current is amplified by the mirror current source circuit 2221 is transmitted to the switch output terminal Out10 through the turned-on selection input terminal In221 and the selection output terminal Out22.
[0045] In addition, the gating switch 223 can also selectively conduct two or more gating input terminals and the gating output terminal Out22 according to the size of the equivalent leakage current, so as to accurately compensate the signal of the switch output terminal Out10. Among them, the specific implementation of the gating switch 223 is related to the function to be realized by itself, and those skilled in the art can set it according to the actual situation, which is not limited here.
[0046] For example, Figure 6 FIG. 1 is a schematic diagram of the structure of another switch circuit provided by an embodiment of the present invention. Figure 6 As shown, the gating switch 223 may include a plurality of gating transistors (M231, M232, ..., M23n), the first electrode of each gating transistor (M231, M232, ..., M23n) is electrically connected to the output end of each mirror current source circuit (2221, 2222, ..., or 222n) in a one-to-one correspondence, the second electrode of each gating transistor (M231, M232, ..., M23n) is electrically connected to the switch output end Out10, and each gating transistor (M231, M232, ..., M23n) receives a different gating control signal (Vg21, Vg22, ..., Vg2n) so that each gating transistor (M231, M232, ..., M23n) is turned on or off under the control of the gating control signal (Vg21, Vg22, ..., Vg2n) received.
[0047] Optional, combined Figure 5 and Figure 6 As shown, each mirror current source circuit 2221 (2222, ..., or 222n) includes a first compensation transistor M210 and a second compensation transistor M201 (M202, ..., or M20n); the first pole of the first compensation transistor M210 is the input end of the mirror current source circuit 2221 (2222, ..., or 222n), and the first pole of the second compensation transistor M201 (M202, ..., or M20n) is the output end of the mirror current source circuit 2221 (2222, ..., or 222n); wherein each mirror current source circuit (2221, 2222, ..., 222n) shares the first compensation transistor M210. In this way, by setting the second compensation transistor (M201, M202, ..., M20n) of each mirror current source circuit (2221, 2222, ..., 222n) to have a different channel width-to-length ratio, different mirror current source circuits (2221, 2222, ..., 222n) can have different scaling ratios for a fixed current signal; at the same time, by making each mirror current source circuit (2221, 2222, ..., 222n) share the first compensation transistor M210, the number of transistors provided in the switch circuit can be reduced, which is beneficial to simplifying the structure of the switch circuit and reducing the size of the switch circuit, so that when the switch circuit is integrated into a chip, it is beneficial to improve the integration of the chip.
[0048] Based on the same inventive concept, an embodiment of the present invention further provides a chip, which includes the switching circuit provided by the embodiment of the present invention. Therefore, the chip provided by the embodiment of the present invention includes the technical features of the switching circuit provided by the embodiment of the present invention, and can achieve the technical effect of the switching circuit provided by the embodiment of the present invention. The similarities can be referred to the above description of the switching circuit provided by the embodiment of the present invention, and will not be repeated here.
[0049] Based on the same inventive concept, an embodiment of the present invention further provides a signal processing device, which includes but is not limited to an oscilloscope. The signal processing device provided by the embodiment of the present invention includes the chip provided by the embodiment of the present invention, so the signal processing device provided by the embodiment of the present invention also includes the technical features of the switch circuit provided by the embodiment of the present invention, and can achieve the technical effect of the switch circuit provided by the embodiment of the present invention. The similarities can be referred to the above description of the switch circuit provided by the embodiment of the present invention, and will not be repeated here.
[0050] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A switching circuit, characterized in that: include: A switch module, comprising a switch input terminal and a switch output terminal, wherein the switch module selectively conducts the switch input terminal and the switch output terminal to transmit a signal from the switch input terminal to the switch output terminal; A leakage compensation module, used for providing a compensation signal to the switch output terminal according to the leakage characteristics of the switch module; The leakage characteristic includes leakage current; the leakage compensation module includes a leakage characteristic processing unit and a current compensation unit; The leakage characteristic processing unit is electrically connected to the current compensation unit; the leakage characteristic processing unit is used to generate an equivalent leakage current that is the same as the leakage current of the switch module or in a preset ratio; The current compensation unit is used to output a compensation current to the switch output terminal according to the equivalent leakage current; The switch module includes at least one switch transistor; the gates of the switch transistors receive the same or different switch control signals; The leakage characteristic processing unit includes at least one leakage processing transistor; The total leakage current of the at least one leakage processing transistor is the same as the total leakage current of the at least one switching transistor; or, the total leakage current of the at least one leakage processing transistor is in a preset ratio to the total leakage current of the at least one switching transistor.
2. The switch circuit according to claim 1, characterized in that: The current compensation unit includes a mirror current source circuit; The input end of the mirror current source circuit is electrically connected to the leakage current output end of the leakage characteristic processing unit; the output end of the mirror current source circuit is electrically connected to the switch output end.
3. The switch circuit according to claim 1, characterized in that: When the leakage characteristic processing unit is used to generate an equivalent current in a preset ratio to the leakage current of the switch module, the current compensation unit includes a compensation current source, a plurality of mirror current source circuits and a gating switch; The compensation current source is used to provide a fixed current signal; The input end of each mirror current source circuit is electrically connected to the compensation current source; the plurality of mirror current source circuits are used to output a plurality of different compensation currents after scaling the fixed current signal with a plurality of different proportions; The gating switch includes a plurality of gating input terminals and a gating output terminal, each of the gating input terminals is electrically connected to the output terminal of each of the mirror current source circuits in a one-to-one correspondence, and the gating output terminal is electrically connected to the switch output terminal; the gating switch is used to selectively turn on the gating input terminal and the gating output terminal according to the equivalent leakage current, so as to output at least one of the compensation currents to the switch output terminal.
4. The switch circuit according to claim 3, characterized in that: Each of the mirror current source circuits comprises a first compensation transistor and a second compensation transistor; the first pole of the first compensation transistor is the input end of the mirror current source circuit, and the first pole of the second compensation transistor is the output end of the mirror current source circuit; Wherein, each of the mirror current source circuits shares the first compensation transistor.
5. The switch circuit according to claim 1, characterized in that: The at least one switch transistor comprises a first switch transistor and a second switch transistor; the first electrode of the first switch transistor and the first electrode of the second switch transistor are both electrically connected to the switch input terminal; the second electrode of the first switch transistor is grounded, and the second electrode of the second switch transistor is electrically connected to the switch output terminal; the gate of the first switch transistor receives a first switch control signal, and the gate of the second switch transistor receives a second switch control signal; The at least one leakage handling transistor includes a first leakage handling transistor and a second leakage handling transistor; The first electrode of the first leakage processing transistor is electrically connected to the first electrode of the second leakage processing transistor, the second electrode of the first leakage processing transistor is grounded, and the second electrode of the second leakage processing transistor is electrically connected to the input end of the current compensation unit; the gate of the first leakage processing transistor receives the first switch control signal, and the gate of the second leakage processing transistor receives the second switch control signal; The output end of the current compensation unit is electrically connected to the switch output end; The first leakage processing transistor has the same structure as the first switch transistor, and the second leakage processing transistor has the same structure as the second switch transistor.
6. The switch circuit according to claim 5, characterized in that: The first switch transistor and the second switch transistor have different channel types.
7. The switch circuit according to claim 6, characterized in that: The first switch control signal is multiplexed into the second switch control signal.
8. A chip, characterized in that: include: The switching circuit according to any one of claims 1 to 7.
9. A signal processing device, characterized in that: include: The chip according to claim 8.
Citation Information
Patent Citations
Charge pump circuit with capacitance leakage compensation and phase locked loop circuit
CN106788405A
Touch reading circuit, touch display panel and display device
CN106990873A
RF Switch with Compensation
CN111800112A
Semiconductor device with leakage current compensating circuit
CN1790217A
Electrical circuit for transmitting an analog useful signal with a compensation circuit for compensating for distortions in the useful signal
DE102016121865A1
