Bus decoding circuit with polarity judgment function

By introducing polarity judgment module and bus decoding module into the bus decoding circuit, the bus voltage and ground voltage are automatically judged, which solves the problem of plugging errors caused by manual polarity distinction in the prior art, and realizes automatic decoding and stable voltage power supply .

CN222014746UActive Publication Date: 2024-11-15WUXI SIJIE MICROELECTRONICS CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202420459004.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2024-11-15
Estimated Expiration
2034-03-07

AI Technical Summary

Technical Problem

The existing decoding module requires users to manually distinguish the polarity of the power line and the ground line, which leads to errors that occur when plugging forward and reverse, and cannot automatically identify and decode.

Method used

A bus decoding circuit with its own polarity judgment function is designed, including a polarity judgment module and a bus decoding module. The bus voltage and ground voltage are automatically judged through the input comparison circuit and the trigger output circuit, and the polarity judgment signal is output to ensure decoding. The correctness of the bus.

Benefits of technology

It realizes automatic polarity judgment of the circuit, avoids human errors, and ensures the accuracy and stability of bus decoding. Regardless of how the bus voltage changes, it can maintain reasonable voltage power supply to ensure the normal operation of subsequent circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222014746U_ABST
    Figure CN222014746U_ABST
Patent Text Reader

Abstract

The utility model discloses a bus decoding circuit with a polarity judgment function, which relates to the field of circuits and comprises a polarity judgment module and a bus decoding module which are respectively connected into a first bus and a second bus. The polarity judgment module comprises an input comparison circuit and a trigger output circuit, and the comparison circuit is connected with the first bus and the second bus, judges bus voltage, generates ground wire voltage and inputs a bus voltage judgment result and the ground wire voltage to the trigger output circuit; the trigger output circuit is connected with the input comparison circuit and outputs a polarity judgment signal according to the judged voltage value; the output of the polarity judgment module is connected with the bus decoding module, and the bus decoding module determines a decoding bus according to the input polarity judgment signal and the ground wire voltage and decodes and outputs the decoding bus. The circuit can be integrated into a communication module, automatically identifies bus voltage, adaptively decodes and outputs the bus voltage, and realizes the blind mating effect of the module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of circuits, and in particular to a bus decoding circuit with a built-in polarity determination function. Background Art

[0002] In order to save communication pins, many chips communicate with the chip through the power bus, which eliminates the need for an additional communication line and reduces the cost of use. The voltage change of the power bus is used to send signals to the chip. After the chip receives the signal, it decodes it to obtain the corresponding communication data.

[0003] Generally, there are two power supply buses, one for voltage and one for grounding. The current decoding module needs to distinguish polarity when connecting to the external power supply bus. The polarity here refers to the power line and the ground line. The power line is positive and the ground line is negative. When using, the user needs to distinguish before connecting. This solution requires manual marking and identification to prevent decoding errors when the module is inserted forward or backward. Utility Model Content

[0004] The embodiment of the present application provides a bus decoding circuit with a built-in polarity determination function, which solves the problem that the decoding circuit cannot identify and decode forward and reverse blind insertion.

[0005] The bus decoding circuit with built-in polarity judgment function comprises a polarity judgment module and a bus decoding module, and the polarity judgment module and the bus decoding module are respectively connected to the first bus and the second bus;

[0006] The polarity judgment module includes an input comparison circuit and a trigger output circuit, wherein the comparison circuit is connected to the first bus and the second bus, judges the bus voltage and generates the ground voltage, and inputs the bus voltage judgment result and the ground voltage to the trigger output circuit; the trigger output circuit is connected to the input comparison circuit, and outputs a polarity judgment signal according to the judged voltage value;

[0007] The output of the polarity judgment module is connected to the bus decoding module, and the bus decoding module determines the decoding bus according to the input polarity judgment signal and the ground line voltage, and decodes and outputs the decoding bus.

[0008] Specifically, the input comparison circuit includes four MOS tubes connected with a common source and a first comparator;

[0009] The first bus is connected to the negative input of the first comparator, the second bus is connected to the positive input of the first comparator, and the first comparator outputs a voltage judgment result signal CMPO;

[0010] The drain of the MOS tube N1 is connected to the first bus, and the gate is connected to the drain of the MOS tube N2. The drain of the MOS tube N2 is connected to the second bus, and the gate is connected to the drain of the MOS tube N2.

[0011] The drain of the MOS transistor N3 is connected to the first bus, and the gate is connected to the second bus; the drain of the MOS transistor N4 is connected to the second bus, and the gate is connected to the first bus.

[0012] Specifically, the first bus and the second bus are respectively connected to external diodes, and the two diodes are connected to a common cathode to draw out a start-up voltage VDD, and the start-up voltage VDD is input to the bus decoding module to drive the chip to work.

[0013] Specifically, the sources of the MOS tubes N1 , N2 , N3 , and N4 commonly lead out a source voltage as a ground voltage VSS, and input it into the bus decoding module.

[0014] Specifically, the trigger output circuit includes a delay device, an XOR gate, a plurality of RS flip-flops and a D flip-flop;

[0015] The output end of the first comparator is connected to a D flip-flop and an XOR gate respectively, and one input end of the XOR gate directly inputs the output of the first comparator, and the other input end is externally connected to a delayer to delay the output signal of the first comparator and input it; the output end of the XOR gate is connected to a plurality of RS flip-flops respectively;

[0016] The clock input terminals and QN terminals of several RS flip-flops are cascaded to form a counter circuit, wherein the Q output terminal of the last RS flip-flop is connected to the clock input of the D flip-flop, and the polarity judgment signal SIGN is output through the Q output terminal of the D flip-flop.

[0017] Specifically, the trigger output circuit is also connected to an external clock input and a NAND gate, the external clock signal is connected to one input end of the NAND gate, the output of the NAND gate is connected to the clock input of the first RS trigger, and the QN output end of the last RS trigger is feedback connected to the other input end of the NAND gate.

[0018] Specifically, the bus decoding module includes a second comparator, a third comparator, and a decoding selector;

[0019] The first bus input to the bus decoding module is connected to the positive electrode of the second comparator, and the second bus input to the bus decoding module is connected to the positive electrode of the third comparator; the negative input voltage bias of the two comparators;

[0020] Two output terminals of the second comparator and the third comparator are respectively connected to two selection input terminals of the decoding selector, and the decoding selector outputs a decoding signal RX.

[0021] Specifically, the bus decoding module further includes three MOS tubes connected with a common source, and the source inputs a ground voltage VSS;

[0022] The drain and gate of the MOS transistor N5 are connected to the start-up voltage VDD; the MOS transistors N6 and N7 are connected to the gate of N5, and the drain of N6 is connected to the first bus, and the drain of N7 is connected to the second bus.

[0023] Specifically, the common gate connection point of the MOS tubes N5, N6 and N7 leads out the voltage bias and is connected to the negative electrodes of the second comparator and the third comparator.

[0024] Specifically, the polarity determination signal SIGN output by the D flip-flop is connected to the signal selection terminal of the selector. When the SIGN signal is at a low level, the first bus is decoded, and when the SIGN signal is at a high level, the second bus is decoded.

[0025] The beneficial effects brought about by the technical solution provided by the embodiment of the present application include at least: the decoding circuit structure uses an external clock and combines with an internal counter circuit to judge the bus polarity, so that the circuit can automatically judge which line to decode. LA and LB cooperate with diodes D1 and D2 to obtain a voltage VDD for powering the subsequent circuits. This structure allows VDD to have a reasonable voltage to maintain the operation of subsequent circuits regardless of how the bus voltage is replaced. The introduction of the XOR gate and the delay device forms an edge detection circuit. Every time there is a level change on the bus, the counter will be refreshed and the polarity judgment time will be restarted to achieve adaptive voltage detection and recognition. Even if the decoding bus is updated, BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a simplified schematic diagram of a bus decoding circuit with a built-in polarity determination function provided in an embodiment of the present application;

[0027] Figure 2 A bus decoding circuit with a built-in polarity determination function provided in an embodiment of the present application;

[0028] Figure 3 This is the timing diagram of SIGN changing with bus LA and LB;

[0029] Figure 4 is a circuit diagram of a bus decoding module provided in an embodiment of the present application;

[0030] Figure 5 The timing diagram of the bus, polarity determination signal and decoding signal is shown. DETAILED DESCRIPTION

[0031] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0032] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0033] Figure 1 This is a simplified schematic diagram of a bus decoding circuit with a built-in polarity judgment function provided by an embodiment of the present application. The circuit is integrated into a communication decoding module and connected to a bus circuit through a two-hole plug, namely, a first bus (hereinafter referred to as bus LA) and a second bus (hereinafter referred to as bus LB). The improved decoding circuit of the present application mainly includes a polarity judgment module and a bus decoding module, and buses LA and LB are connected to these two modules respectively. Buses LA and LB represent power lines and ground lines, so no matter how the external circuit is transformed, LA and LB are opposite.

[0034] The polarity judgment module and the bus decoding module are in a cascade relationship. The polarity judgment module is connected to the buses LA and LB, and judges the output ground voltage VSS and the polarity judgment signal SIGN through the internal circuit, and inputs these two signals to the bus decoding module, which selects and decodes the bus.

[0035] In some embodiments, the polarity determination module also outputs a startup voltage VDD, which is also input into the bus decoding module for starting and normal operation of the electronic components inside the bus decoding module. Of course, in some embodiments, the startup voltage VDD can also be directly integrated into the bus decoding module, and specifically, the bus LA and LB can be converted by the bus decoding module, and then the internal components can be directly powered.

[0036] Figure 2 : is a circuit diagram of a polarity judgment module provided in an embodiment of the present application. The polarity judgment module includes an input comparison circuit 10 and a trigger output circuit 20. The comparison circuit 10 is connected to buses LA and LB, judges the bus voltage and generates a ground voltage VSS, and inputs the bus voltage judgment result and the ground voltage VSS to the trigger output circuit 20. The trigger output circuit 20 is connected to the input comparison circuit 10, and outputs a polarity judgment signal SIGN according to the judged voltage value. The output of the polarity judgment module is connected to a bus decoding module, and the bus decoding module determines a decoding bus according to the input polarity judgment signal and the ground voltage, and decodes and outputs the decoding bus.

[0037] In some possible embodiments, the input comparison circuit 10 includes four co-source connected MOS transistors and a first comparator (hereinafter referred to as CMP1). The bus LA is connected to the negative input of CMP1, the bus LB is connected to the positive input of CMP1, and CMP1 outputs a voltage judgment result signal CMPO.

[0038] The four co-source MOS transistors are respectively labeled as N1, N2, N3, and N4. The drain of MOS transistor N1 is connected to the bus LA, and the gate is connected to the drain of MOS transistor N2. The drain of MOS transistor N2 is connected to the bus LB, and the gate is connected to the drain of MOS transistor N2. The drain of MOS transistor N3 is connected to the bus LA, and the gate is connected to the bus LB; the drain of MOS transistor N4 is connected to the bus LB, and the gate is connected to the bus LA. The sources of transistors N1, N2, N3, and N4 are commonly led out as the ground voltage VSS and input to the bus decoding module.

[0039] Considering the power supply problems of triggering the output circuit 20 and the subsequent bus decoding module, diodes D1 and D2 are externally connected to the buses LA and LB respectively. D1 and D2 are connected in common cathode, and the start-up voltage VDD is led out. The start-up voltage VDD is input to the bus decoding module to drive the chip to work.

[0040] As Figure 2 shown, for convenience of description, the voltage at the connection point between the gate of N3 and the bus LB is set as V1, and the voltage at the connection point between the gate of N4 and the bus LA is set as V2. Based on the above circuit, it can be known that the voltage value of VDD is equal to the relatively higher one in the bus LA or LB minus the corresponding diode voltage drop.

[0041] For convenience of description, the diode voltage drop is set as VD1 and VD2. When the voltage LA > LB, V2 = LA, V1 = LB. At this time, transistor N2 is turned on, N1 is turned off, N4 is turned on, and N3 is turned off. Then it can be obtained that VDD = LA - VD1, VSS = LB. From LA > LB, it can be obtained that V2 > V1, and the output CMPO of CMP1 = 0 (indicating a low level).

[0042] Similarly, when the voltage LA < LB, V2 = LA, V1 = LB. At this time, N1 is turned on, N2 is turned off, N3 is turned on, and N4 is turned off. Then it can be obtained that VDD = LB - VD2, VSS = LA. From LA < LB, it can be obtained that V2 < V1, and the output CMPO of CMP1 = 1 (indicating a high level).

[0043] Of course, in some embodiments, for the introduced buses LA and LB, protection resistors R1 and R2 can also be connected to protect the circuit safety.

[0044] For the output circuit 20, it specifically includes a delay element delay, an exclusive-OR gate, several RS flip-flops, and a D flip-flop. The output terminal (CMPO) of CMP1 is respectively connected to the D flip-flop and the exclusive-OR gate. One input terminal of the exclusive-OR gate directly inputs the output of CMP1, and the other input terminal is externally connected to the delay element delay to delay the input of the output signal of CMP1. The output terminal of the exclusive-OR gate is respectively connected to several RS flip-flops.

[0045] In this embodiment, RS flip-flops are introduced to act as counters. The clock input terminals and QN terminals of several RS flip-flops are cascaded with each other to form a counter circuit, where the Q output terminal of the last RS flip-flop is connected to the clock input of the D flip-flop. CMPO is connected to the D terminal of the D flip-flop, and its clock terminal is also controlled by CMPO. The polarity judgment signal SIGN is output through the Q output terminal of the D flip-flop.

[0046] The trigger output circuit is also connected to an external clock input and a NAND gate. The external clock signal is connected to one input terminal of the NAND gate, and the output of the NAND gate is connected to the clock input of the first RS flip-flop. The QN output terminal of the last RS flip-flop is feedback-connected to the other input terminal of the NAND gate.

[0047] After passing through a delay element delay, CMPO is connected to the exclusive-OR gate. Once there is a delay in CMPO, the exclusive-OR gate will output a low pulse, and the pulse width is the time of the delay element delay. This pulse will refresh the RS flip-flops to restart counting. At this time, SIGN will still lock the previous value. When CMPO does not flip again during this period of counting, then after counting up and overflowing, SIGN will load the current value of CMPO.

[0048] Figure 3 is the timing diagram of SIGN changing with buses LA and LB. Specifically, it should be noted that the number of CLKs required for the counter circuit to count up and overflow can be controlled by changing the number of series-connected RS flip-flops. Hereinafter, the overflow time is written as T 极性判断 , so if the polarity needs to be changed, then buses LA and LB need to be maintained for a time of T 极性判断 unchanged.

[0049] After the chip or communication module is powered on and working, it is necessary to control buses LA and LB to remain unchanged for a period of time, and the time must be greater than T 极性判断 , and at this time, SING outputs the corresponding polarity value. When LA > LB, then SIGN = 0, and the communication decoding module decodes bus LA; when LA < LB, then SIGN = 1, and the communication decoding module decodes bus LB. Because the default value of SIGN set in this embodiment is 0, after the polarity judgment is completed, as long as the signal pulse width of the bus communication is less than T 极性判断 , it will not affect the value of SIGN.

[0050] Figure 4 1 is a circuit diagram of a bus decoding module provided by an embodiment of the present application, specifically including a second comparator CMP2, a third comparator CMP3, and a decoding selector MUX. The bus LA is connected to the positive electrode of CMP2, and the bus LB is connected to the positive electrode of CMP3. The negative electrodes of CMP2 and CMP3 input a voltage bias together. The introduction of the voltage bias here is to input a voltage, and the voltage is close to the larger one of the buses LA and LB, so that it has the meaning of voltage comparison judgment. The two output ends of CMP2 and CMP3 are respectively connected to the two selection input ends of the decoding selector MUX, and the decoding selector outputs a decoding signal RX. The polarity judgment signal SIGN output by the D flip-flop is connected to the signal selection end of the selector. When the SIGN signal is at a low level, the bus LA is decoded, and when the SIGN signal is at a high level, the bus LB is decoded.

[0051] The bus decoding module also includes three MOS tubes connected in common source, and the source inputs the ground voltage VSS. The drain and gate of the MOS tube N5 are connected to the start voltage VDD. MOS tubes N6 and N7 are connected in common gate with N5, and the drain of N6 is connected to the bus LA, and the drain of N7 is connected to the bus LB. The common gate connection point of MOS tubes N5, N6 and N7 leads to the voltage bias, and is connected to the negative poles of CMP2 and CMP3. Of course, in some embodiments, in order to facilitate circuit calculation and reduce complexity, N6 and N7 can also be omitted, that is, N5 acts as a small signal resistor, and the bais led by its gate is directly input to the negative poles of CMP2 and CMP3. Similarly, the buses LA and LB (through resistors R4 and R5) are directly input to CMP2 and CMP3. It has no impact on the measured results within the accuracy requirement range.

[0052] In some embodiments, in order to improve the anti-interference and anti-static capabilities of the entire module, a current limiting resistor R3 can be connected to the VDD input, and R4 and R5 can be connected in series for the introduced LA and LB. The introduction of R3 is also for adjusting and generating a suitable voltage bias.

[0053] Because the gate and drain of N5 are connected and in the saturation region, it acts as a small signal resistor, so the voltage Where gm is the transconductance of N5.

[0054] When LA > bias, the output terminal A of CMP2 can be obtained as 1. When LA < bias, A = 0 can be obtained. When LB > bias, the output terminal B of CMP3 can be obtained as 1. When LB < bias, B = 0 can be obtained. When the polarity judgment signal SIGN = 0, RX outputs A, which is equivalent to decoding and outputting the bus LA at this time. When the polarity judgment signal SIGN = 1, RX outputs B, which is equivalent to decoding and outputting the bus LB at this time. Of course, on the premise of connecting resistors R4 and R5 in series and the gate leakage current (at the pA level), the actual voltage flowing into the comparator should be expressed as LA_R and LB_R. However, since it is very close to the actual LA and LB, it is approximately considered that LA_R = LA and LB_R = LB during calculation.

[0055] Figure 5 The timing diagrams of the bus, the polarity judgment signal, and the decoding signal are shown. The following will be described in terms of clock cycles. When the device is initially powered on, the default value of SIGN at this time is 0 (this is determined by the reset value of the flip-flop used in the polarity judgment and can be modified according to design requirements, specifically determined according to the actual situation). At this time, RX follows the decoding of LA. During the 1st - 3rd cycles, it is the polarity judgment time. After the polarity judgment ends, when LA > LB in the 4th clock cycle and SIGN = 0, the bus LA is decoded, and the RX curve changes following the bus LA until the next polarity judgment starts at the 9th cycle (the time between two polarity judgments is determined by the number of flip-flops). During the judgment time of the 10th - 11th cycles, although LA < LB, SIGN maintains the previous output and still follows the bus LA, so the RX curve still follows the bus LA.

[0056] At the 12th cycle, the polarity judgment ends. At this time, LA < LB and SIGN = 1. At this time, RX follows the decoding of LB. During the 13th - 18th cycles, LA > LB and SIGN = 0, and RX still continues to follow the decoding of LB. The polarity judgment time here is not exactly two CLKs, but a general reference. Generally, it is 2 n CLKs, and the value of n is configured as an integer according to requirements. This integer needs to be greater than or equal to 1.

[0057] From Figure 5 it can be clearly seen that even if the bus voltage changes at different times, it does not affect the decoding judgment. When this structure is integrated into the communication decoding module, there is no need to consider the bus voltage, and the blind plug effect can be fully achieved, and reliable communication decoding can be realized.

[0058] In summary, the decoding circuit structure uses an external clock and combines the internal counter circuit to judge the bus polarity, so that the circuit can automatically determine which line to decode. LA and LB cooperate with diodes D1 and D2 to obtain a voltage VDD, which is used to power the subsequent circuits. This structure can make VDD have a reasonable voltage to maintain the operation of subsequent circuits regardless of how the bus voltage is changed. The introduction of the XOR gate and the delay device constitutes an edge detection circuit. Every time there is a level change on the bus, the counter will be refreshed and the polarity judgment time will be restarted to achieve adaptive voltage detection and recognition, even if the decoding bus is updated.

[0059] The preferred embodiments of the present invention are described above; it should be understood that the present invention is not limited to the above-mentioned specific implementation modes, and the devices and structures not described in detail should be understood to be implemented in a common manner in the art; any technician familiar with the art can make many possible changes and modifications without departing from the technical solution of the present invention, or modify them into equivalent embodiments with equivalent changes, which does not affect the essential content of the present invention; therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of protection of the technical solution of the present invention.

Claims

1. A bus decoding circuit with a built-in polarity judgment function, characterized in that: It includes a polarity judgment module and a bus decoding module, and the polarity judgment module and the bus decoding module are respectively connected to the first bus and the second bus; The polarity judgment module includes an input comparison circuit and a trigger output circuit, wherein the comparison circuit is connected to the first bus and the second bus, judges the bus voltage and generates the ground voltage, and inputs the bus voltage judgment result and the ground voltage to the trigger output circuit; The trigger output circuit is connected to the input comparison circuit and outputs a polarity judgment signal according to the judged voltage value; The output of the polarity judgment module is connected to the bus decoding module, and the bus decoding module determines the decoding bus according to the input polarity judgment signal and the ground line voltage, and decodes and outputs the decoding bus.

2. The bus decoding circuit with built-in polarity judgment function according to claim 1, characterized in that: The input comparison circuit includes four MOS tubes connected in common source and a first comparator; The first bus is connected to the negative input of the first comparator, the second bus is connected to the positive input of the first comparator, and the first comparator outputs a voltage judgment result signal CMPO; The drain of the MOS tube N1 is connected to the first bus, and the gate is connected to the drain of the MOS tube N2. The drain of the MOS tube N2 is connected to the second bus, and the gate is connected to the drain of the MOS tube N2. The drain of the MOS transistor N3 is connected to the first bus, and the gate is connected to the second bus; the drain of the MOS transistor N4 is connected to the second bus, and the gate is connected to the first bus.

3. The bus decoding circuit with built-in polarity judgment function according to claim 2, characterized in that: The first bus and the second bus are respectively connected to external diodes, and the two diodes are connected to a common cathode to draw out a start-up voltage VDD, and the start-up voltage VDD is input to the bus decoding module to drive the chip to work.

4. The bus decoding circuit with built-in polarity judgment function according to claim 3, characterized in that: The sources of the MOS tubes N1, N2, N3, and N4 commonly lead out a source voltage as a ground voltage VSS, and input it into the bus decoding module.

5. The bus decoding circuit with built-in polarity judgment function according to claim 3, characterized in that: The trigger output circuit includes a delay device, an XOR gate, a plurality of RS flip-flops and a D flip-flop; The output end of the first comparator is connected to a D flip-flop and an XOR gate respectively, and one input end of the XOR gate directly inputs the output of the first comparator, and the other input end is externally connected to a delayer to delay the output signal of the first comparator and input it; the output end of the XOR gate is connected to a plurality of RS flip-flops respectively; The clock input terminals and QN terminals of several RS flip-flops are cascaded to form a counter circuit, wherein the Q output terminal of the last RS flip-flop is connected to the clock input of the D flip-flop, and the polarity judgment signal SIGN is output through the Q output terminal of the D flip-flop.

6. The bus decoding circuit with built-in polarity determination function according to claim 5, characterized in that: The trigger output circuit is also connected to an external clock input and a NAND gate, the external clock signal is connected to one input end of the NAND gate, the output of the NAND gate is connected to the clock input of the first RS trigger, and the QN output end of the last RS trigger is feedback connected to the other input end of the NAND gate.

7. The bus decoding circuit with polarity determination function according to claim 5, characterized in that: The bus decoding module includes a second comparator, a third comparator, and a decoding selector; The first bus input to the bus decoding module is connected to the positive electrode of the second comparator, and the second bus input to the bus decoding module is connected to the positive electrode of the third comparator; the negative input voltage bias of the two comparators; Two output terminals of the second comparator and the third comparator are respectively connected to two selection input terminals of the decoding selector, and the decoding selector outputs a decoding signal RX.

8. The bus decoding circuit with polarity determination function according to claim 7, characterized in that: The bus decoding module also includes three MOS tubes connected in common source, and the source inputs the ground voltage VSS; The drain and gate of the MOS transistor N5 are connected to the start-up voltage VDD; the MOS transistors N6 and N7 are connected to the gate of N5, and the drain of N6 is connected to the first bus, and the drain of N7 is connected to the second bus.

9. The bus decoding circuit with polarity determination function according to claim 8, characterized in that: The common gate connection point of the MOS tubes N5, N6 and N7 leads out a voltage bias and is connected to the negative electrodes of the second comparator and the third comparator.

10. The bus decoding circuit with polarity determination function according to claim 9, characterized in that: The polarity judgment signal SIGN output by the D flip-flop is connected to the signal selection end of the selector. When the SIGN signal is at a low level, the first bus is decoded, and when the SIGN signal is at a high level, the second bus is decoded.

Citation Information

Cited By

  • Single bus interface circuit capable of being plugged positively and negatively

    CN119995586A

  • A reversible single-bus interface circuit

    CN119995586B

  • Circuit, chip and device for positive and negative insertion automatic identification and small voltage loss of single bus protocol

    CN120669836A

  • Circuit, chip and device for single bus protocol with automatic recognition of plug-in direction and small voltage loss

    CN120669836B

  • Bus interface with polarity correction function and polarity correction method

    CN120675834A