I2C signal control circuit
By designing an I2C signal control circuit, using the combination of field effect transistors and resistors, the problem of digital logic chaos caused by long-term transmission of I2C signals is solved, and the controllable transmission of signals is realized and the digital power supply is protected.
Patent Information
- Application Number
- CN202420066468.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2034-01-10
AI Technical Summary
During transmission, the I2C signal sends signals to the digital power supply for a long time, resulting in the problem of confusion in digital logic.
An I2C signal control circuit is designed, including a switching circuit unit and a SLAVE circuit unit. The field effect transistor and resistor combination are used to control the transmission of I2C signals, ensuring that the motherboard and digital power supply are disconnected when no signal is needed, and long Time signal is sent.
It effectively protects the digital power supply, prevents digital logic chaos, and ensures that the I2C signal is transmitted normally when needed.
Smart Images

Figure CN222071216U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of signal transmission, in particular to an I2C signal control circuit. Background Art
[0002] I2C (Inter-Integrated Circuit) is a serial communication bus that uses a multi-master-slave structure. It was designed by Philips in the early 1980s. I2C is very convenient for communication between motherboards, embedded systems or mobile phones and peripheral components. Due to its simplicity, I2C is widely used for communication between microcontrollers and sensors, displays, IoT devices, EEPROMs, etc. I2C consists of two lines, SCL and SDA. These two data lines need to be connected to pull-up resistors. When the bus is idle, SCL and SDA are at a high level, and the I2C bus works according to a certain protocol. In a computer, the I2C of the digital power supply does not work normally, and only works when transmitting data. The I2C of the motherboard is generally working. If a signal is sent to the I2C of the digital power supply for a long time, the digital logic in the digital power supply will be confused. Therefore, it is urgent to solve this technical problem. Utility Model Content
[0003] The technical problem solved by the utility model is to provide an I2C signal control circuit capable of protecting a digital power supply.
[0004] The utility model provides an I2C signal control circuit, comprising a switch circuit unit, wherein the switch circuit unit comprises a first resistor, a first field effect transistor, a second field effect transistor and a third field effect transistor, wherein the first end of the first resistor is used to be electrically connected to a power supply, and the second end of the first resistor is electrically connected to a grid of the second field effect transistor; the source of the first field effect transistor is grounded, the drain of the first field effect transistor is electrically connected to the second end of the first resistor, and the grid of the first field effect transistor is used to be electrically connected to a controller; the source of the second field effect transistor and the source of the third field effect transistor are used to be electrically connected to an I2C signal interface of a mainboard, the drain of the second field effect transistor and the drain of the third field effect transistor are used to be electrically connected to an I2C signal interface of a digital power supply, and the grid of the second field effect transistor is electrically connected to the grid of the third field effect transistor.
[0005] Preferably, the I2C signal control circuit also includes a SLAVE circuit unit, which includes a SLAVE chip, a second resistor, a third resistor and a docking interface, the twenty-seventh pin and the twenty-eighth pin of the SLAVE chip are electrically connected to the docking interface, the first end of the second resistor is electrically connected to the twenty-seventh pin of the SLAVE chip, and the second end of the second resistor is used to be electrically connected to a power supply; the first end of the third resistor is electrically connected to the twenty-eighth pin of the SLAVE chip, and the second end of the third resistor is electrically connected to the second end of the second resistor; the docking interface is electrically connected to the drain of the second field effect transistor and the drain of the third field effect transistor.
[0006] Preferably, the SLAVE circuit unit also includes a fourth resistor and a fifth resistor, the first end of the fourth resistor is electrically connected to the eighteenth pin of the SLAVE chip, the second end of the fourth resistor is connected to the first end of the fifth resistor, and the second end of the fifth resistor is grounded.
[0007] Preferably, the SLAVE circuit unit further includes a first capacitor, a first end of the first capacitor is electrically connected to the eighteenth pin of the SLAVE chip, and a second end of the first capacitor is grounded.
[0008] Preferably, the SLAVE circuit unit also includes a sixth resistor and a seventh resistor, the first end of the sixth resistor is electrically connected to the eighth pin of the SLAVE chip, and the second end of the sixth resistor is electrically connected to the ninth pin of the SLAVE chip; the first end of the seventh resistor is electrically connected to the twelfth pin of the SLAVE chip, and the second end of the seventh resistor is electrically connected to the thirteenth pin of the SLAVE chip.
[0009] Preferably, the SLAVE circuit unit further includes a second capacitor, a first end of the second capacitor is electrically connected to the twentieth pin of the SLAVE chip, and a second end of the second capacitor is grounded.
[0010] Preferably, the SLAVE circuit unit also includes an eighth resistor and a ninth resistor, the first end of the eighth resistor is electrically connected to the twentieth pin of the SLAVE chip, the second end of the eighth resistor is connected to the first end of the ninth resistor, and the second end of the ninth resistor is grounded.
[0011] Preferably, the SLAVE circuit unit also includes a tenth resistor and a third capacitor, the first end of the tenth resistor is electrically connected to the forty-fifth pin of the SLAVE chip, the second end of the tenth resistor is grounded, and the third capacitor is connected in parallel to the tenth resistor.
[0012] Preferably, the SLAVE circuit unit also includes an eleventh resistor and a fourth capacitor, the first end of the eleventh resistor is electrically connected to the forty-third pin of the SLAVE chip, and the second end of the eleventh resistor is used to be electrically connected to a power supply; the first end of the fourth capacitor is electrically connected to the forty-third pin of the SLAVE chip, and the second end of the fourth capacitor is grounded.
[0013] The utility model has the following beneficial effects: the utility model cooperates with the first resistor, the first field effect tube, the second field effect tube and the third field effect tube, the first end of the first resistor is used to be electrically connected to the power supply, and the second end of the first resistor is electrically connected to the gate of the second field effect tube; the source of the first field effect tube is grounded, the drain of the first field effect tube is electrically connected to the second end of the first resistor, and the gate of the first field effect tube is used to be electrically connected to the controller. Therefore, when it is not necessary to transmit a signal, the second field effect tube and the third field effect tube are turned off, and the I2C signal between the mainboard and the digital power supply is disconnected. When data needs to be transmitted, the first field effect tube is controlled to be turned on by the controller, so as to turn on the second field effect tube and the third field effect tube to transmit the I2C signal, thereby protecting the digital power supply and preventing the mainboard from sending the I2C signal to the digital power supply for a long time, so as to cause confusion in the digital logic of the digital power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 The utility model is a circuit diagram of a switch circuit unit of an I2C signal control circuit.
[0015] Figure 2 The utility model is a circuit diagram of a SLAVE circuit unit of an I2C signal control circuit. DETAILED DESCRIPTION
[0016] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments. It should be noted that, if there is no conflict, the embodiments of the present invention and the various features in the embodiments can be combined with each other, all within the protection scope of the present invention.
[0017] See also Figure 1 The utility model provides an I2C signal control circuit, including a switch circuit unit, the switch circuit unit including a first resistor R1, a first field effect transistor Q1, a second field effect transistor Q2 and a third field effect transistor Q3, the first end of the first resistor R1 is used to be electrically connected to a power supply, the second end of the first resistor R1 is electrically connected to the gate of the second field effect transistor Q2. The source of the first field effect transistor Q1 is grounded, the drain of the first field effect transistor Q1 is electrically connected to the second end of the first resistor R1, and the gate of the first field effect transistor Q1 is used to be electrically connected to a controller. The first field effect transistor Q1 is an N-channel enhancement type field effect transistor.
[0018] The source of the second field effect transistor Q2 and the source of the third field effect transistor Q3 are used to be electrically connected to the I2C signal interface of the mainboard, the drain of the second field effect transistor Q2 and the drain of the third field effect transistor Q3 are used to be electrically connected to the I2C signal interface of the digital power supply, and the gate of the second field effect transistor Q2 is electrically connected to the gate of the third field effect transistor Q3.
[0019] See also Figure 2 , the I2C signal control circuit also includes a SLAVE circuit unit, the SLAVE circuit unit includes a SLAVE chip U, a second resistor R2, a third resistor R3 and a docking interface J, the 27th pin and the 28th pin of the SLAVE chip U are electrically connected to the docking interface J, the first end of the second resistor R2 is electrically connected to the 27th pin of the SLAVE chip U, and the second end of the second resistor R2 is used to be electrically connected to a power supply. The first end of the third resistor R3 is electrically connected to the 28th pin of the SLAVE chip U, and the second end of the third resistor R3 is electrically connected to the second end of the second resistor R2. The docking interface J is electrically connected to the drain of the second field effect transistor and the drain of the third field effect transistor. Among them, the model of the SLAVE chip U is MP2960GQK.
[0020] The SLAVE circuit unit further includes a fourth resistor R4, a fifth resistor R5 and a first capacitor C1, wherein a first end of the fourth resistor R4 is electrically connected to the eighteenth pin of the SLAVE chip U, a second end of the fourth resistor R4 is connected to a first end of the fifth resistor R5, and a second end of the fifth resistor R5 is grounded. A first end of the first capacitor C1 is electrically connected to the eighteenth pin of the SLAVE chip U, and a second end of the first capacitor C1 is grounded. Through the cooperation between the first capacitor C1 and the fourth resistor R4 and the fifth resistor R5, interference signals can be better filtered out.
[0021] The SLAVE circuit unit further includes a sixth resistor R6 and a seventh resistor R7, wherein a first end of the sixth resistor R6 is electrically connected to an eighth pin of the SLAVE chip U, and a second end of the sixth resistor R6 is electrically connected to a ninth pin of the SLAVE chip U. A first end of the seventh resistor R7 is electrically connected to a twelfth pin of the SLAVE chip U, and a second end of the seventh resistor R7 is electrically connected to a thirteenth pin of the SLAVE chip U.
[0022] The SLAVE circuit unit further includes a second capacitor C2, an eighth resistor R8 and a ninth resistor R9, wherein a first end of the second capacitor C2 is electrically connected to the 20th pin of the SLAVE chip U, and a second end of the second capacitor C2 is grounded. A first end of the eighth resistor R8 is electrically connected to the 20th pin of the SLAVE chip U, a second end of the eighth resistor R8 is connected to a first end of the ninth resistor R9, and a second end of the ninth resistor R9 is grounded. Through the cooperation between the second capacitor C2 and the eighth resistor R8 and the ninth resistor R9, interference signals can be better filtered out.
[0023] The SLAVE circuit unit also includes a tenth resistor R10 and a third capacitor C3. The first end of the tenth resistor R10 is electrically connected to the forty-fifth pin of the SLAVE chip U, the second end of the tenth resistor R10 is grounded, and the third capacitor C3 is connected in parallel with the tenth resistor R10.
[0024] The SLAVE circuit unit further includes an eleventh resistor R11 and a fourth capacitor C4, wherein a first end of the eleventh resistor R11 is electrically connected to the forty-third pin of the SLAVE chip U, and a second end of the eleventh resistor R11 is used to be electrically connected to a power supply. A first end of the fourth capacitor C4 is electrically connected to the forty-third pin of the SLAVE chip U, and a second end of the fourth capacitor C4 is grounded. Therefore, it is possible to obtain a stable voltage.
[0025] In summary, the utility model cooperates with the first resistor R1, the first field effect transistor Q1, the second field effect transistor Q2 and the third field effect transistor Q3, wherein the first end of the first resistor R1 is used to be electrically connected to the power supply, and the second end of the first resistor R1 is electrically connected to the gate of the second field effect transistor Q2. The source of the first field effect transistor Q1 is grounded, the drain of the first field effect transistor Q1 is electrically connected to the second end of the first resistor R1, and the gate of the first field effect transistor Q1 is used to be electrically connected to the controller. Therefore, when it is not necessary to transmit a signal, the second field effect transistor Q2 and the third field effect transistor Q3 are turned off, and the I2C signal between the mainboard and the digital power supply is disconnected. When data needs to be transmitted, the first field effect transistor Q1 is controlled by the controller to be turned on, thereby turning on the second field effect transistor Q2 and the third field effect transistor Q3 to transmit the I2C signal, thereby protecting the digital power supply and preventing the mainboard from sending the I2C signal to the digital power supply for a long time, so that the digital logic in the digital power supply is confused.
[0026] The I2C signal control circuit provided by the utility model is introduced in detail above. The principle and implementation mode of the utility model are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the utility model. At the same time, for those of ordinary skill in the art, according to the idea of the utility model, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification is only the implementation mode of the utility model, and it does not limit the patent scope of the utility model. All equivalent structures or equivalent process changes made by using the contents of the specification and drawings of the utility model, or directly or indirectly used in other related technical fields, are similarly included in the patent protection scope of the utility model, and should not be understood as a limitation on the utility model.
Claims
1. An I2C signal control circuit, It is characterized in that It includes a switch circuit unit, which includes a first resistor, a first field effect transistor, a second field effect transistor and a third field effect transistor. The first end of the first resistor is used to be electrically connected to a power supply, and the second end of the first resistor is electrically connected to the gate of the second field effect transistor; the source of the first field effect transistor is grounded, the drain of the first field effect transistor is electrically connected to the second end of the first resistor, and the gate of the first field effect transistor is used to be electrically connected to a controller; the source of the second field effect transistor and the source of the third field effect transistor are used to be electrically connected to an I2C signal interface of a mainboard, the drain of the second field effect transistor and the drain of the third field effect transistor are used to be electrically connected to an I2C signal interface of a digital power supply, and the gate of the second field effect transistor is electrically connected to the gate of the third field effect transistor.
2. The I2C signal control circuit as claimed in claim 1, It is characterized in that The I2C signal control circuit also includes a SLAVE circuit unit, which includes a SLAVE chip, a second resistor, a third resistor and a docking interface, the twenty-seventh pin and the twenty-eighth pin of the SLAVE chip are electrically connected to the docking interface, the first end of the second resistor is electrically connected to the twenty-seventh pin of the SLAVE chip, and the second end of the second resistor is used to be electrically connected to a power supply; the first end of the third resistor is electrically connected to the twenty-eighth pin of the SLAVE chip, and the second end of the third resistor is electrically connected to the second end of the second resistor; the docking interface is electrically connected to the drain of the second field effect transistor and the drain of the third field effect transistor.
3. The I2C signal control circuit as claimed in claim 2, It is characterized in that The SLAVE circuit unit also includes a fourth resistor and a fifth resistor, the first end of the fourth resistor is electrically connected to the eighteenth pin of the SLAVE chip, the second end of the fourth resistor is connected to the first end of the fifth resistor, and the second end of the fifth resistor is grounded.
4. The I2C signal control circuit as claimed in claim 3, It is characterized in that The SLAVE circuit unit further includes a first capacitor, a first end of the first capacitor is electrically connected to the eighteenth pin of the SLAVE chip, and a second end of the first capacitor is grounded.
5. The I2C signal control circuit as claimed in claim 2, It is characterized in that The SLAVE circuit unit also includes a sixth resistor and a seventh resistor, the first end of the sixth resistor is electrically connected to the eighth pin of the SLAVE chip, and the second end of the sixth resistor is electrically connected to the ninth pin of the SLAVE chip; the first end of the seventh resistor is electrically connected to the twelfth pin of the SLAVE chip, and the second end of the seventh resistor is electrically connected to the thirteenth pin of the SLAVE chip.
6. The I2C signal control circuit as claimed in claim 2, It is characterized in that The SLAVE circuit unit further includes a second capacitor, a first end of the second capacitor is electrically connected to the twentieth pin of the SLAVE chip, and a second end of the second capacitor is grounded.
7. The I2C signal control circuit as claimed in claim 6, It is characterized in that The SLAVE circuit unit also includes an eighth resistor and a ninth resistor, the first end of the eighth resistor is electrically connected to the twentieth pin of the SLAVE chip, the second end of the eighth resistor is connected to the first end of the ninth resistor, and the second end of the ninth resistor is grounded.
8. The I2C signal control circuit as claimed in claim 2, It is characterized in that The SLAVE circuit unit also includes a tenth resistor and a third capacitor. The first end of the tenth resistor is electrically connected to the forty-fifth pin of the SLAVE chip, the second end of the tenth resistor is grounded, and the third capacitor is connected in parallel with the tenth resistor.
9. The I2C signal control circuit as claimed in claim 2, It is characterized in that The SLAVE circuit unit also includes an eleventh resistor and a fourth capacitor, the first end of the eleventh resistor is electrically connected to the forty-third pin of the SLAVE chip, and the second end of the eleventh resistor is used to be electrically connected to a power supply; the first end of the fourth capacitor is electrically connected to the forty-third pin of the SLAVE chip, and the second end of the fourth capacitor is grounded.
