Address allocation circuit

By designing address allocation circuits in the integrated bus circuit system, using resistors and inverting components to generate unique combined addresses, the address conflict problem when multiple circuit boards are connected in series is solved, the production and testing process is simplified, and manpower and material resources are reduced need.

CN118939592APending Publication Date: 2024-11-12MITAC COMP (SHUN DE) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310540765.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the integrated bus circuit system, when multiple circuit boards are connected in series, the control preparation and production test are complicated due to address conflicts, which is prone to errors in circuit board use, and it is necessary to establish the material number of multiple circuit boards, which increases manpower and Material demand.

Method used

An address allocation circuit is designed to generate a unique combination of addresses by introducing resistors and inverting elements into the input and output connectors, combining common addresses and identification addresses, thereby avoiding address conflicts and realizing unique identification and communication of the circuit board.

Benefits of technology

It realizes address uniqueness between multiple circuit boards, reduces the number of material numbers, reduces the complexity of production and testing and manpower and material requirements, and avoids communication errors caused by address conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939592A_ABST
    Figure CN118939592A_ABST
Patent Text Reader

Abstract

An address allocation circuit includes an input connector, an output connector, a first device, a first resistor, a second resistor, a first inverting element, a third resistor, a fourth resistor, and a fifth resistor. The input connector comprises a data input pin, a frequency input pin, a first address input pin and a second address input pin. The output connector comprises a data output pin, a frequency output pin, a first address output pin and a second address output pin. The first device comprises a first address end, a second address end, a third address end, a first data end and a first frequency end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for automatically allocating addresses, in particular to an address allocating circuit. Background Art

[0002] In the integrated circuit bus circuit (I²C Bus) system, on the same I²C Bus, each backend device (Device) will have its own independent address (Address). The host device (Host) responsible for management will communicate with the backend device through the connection of the I²C Bus. If the same address appears between backend devices at the same time, the host device will not be able to search whether the backend device with the address exists or whether it is faulty.

[0003] In server systems, it is sometimes necessary to use the same circuit board for cascading to achieve the maximum benefits of system expansion. However, in order to prevent the conflict of the back-end device address in the circuit board, although the multiple cascaded circuit boards are the same circuit board, it is still necessary to establish the material numbers of multiple circuit boards, and then generate multiple bills of materials (BOM), resulting in a significant increase in the related management and control preparation work and the subsequent manpower and material resources required. And because the similarity between the multiple cascaded circuit boards is extremely high, it is easy to cause the problem of using the wrong circuit board during production or testing. Summary of the invention

[0004] In one embodiment, an address distribution circuit includes an input connector, an output connector, a first device, a first resistor, a second resistor, a first inverting element, a third resistor, a fourth resistor, and a fifth resistor. The input connector includes a data input pin, a frequency input pin, a first address input pin, and a second address input pin. The output connector includes a data output pin, a frequency output pin, a first address output pin, and a second address output pin. The data output pin is coupled to the data input pin, and the frequency output pin is coupled to the frequency input pin. The first device includes a first address terminal, a second address terminal, a third address terminal, a first data terminal, and a first frequency terminal. The first address terminal is coupled to the first address input pin, the second address terminal is coupled to the second address input pin, the first data terminal is coupled to the coupling point between the data input pin and the data output pin, and the first frequency terminal is coupled to the coupling point between the frequency input pin and the frequency output pin. The first resistor is coupled to the coupling point between the first address input pin and the first address terminal. The second resistor is coupled to the coupling point between the second address input pin and the second address terminal. The first inverting element is coupled to the coupling point of the first address input pin and the first address terminal and the first address output pin. The third resistor is coupled to the third address terminal. The fourth resistor is coupled to the coupling point of the first inverting element and the first address output pin. The fifth resistor is coupled to the second address output pin.

[0005] The detailed features and advantages of the present invention are described in detail in the following implementation examples, and the contents are sufficient to enable anyone skilled in the relevant art to understand the technical contents of the present invention and implement them accordingly. Moreover, based on the contents disclosed in this specification, the claims and the drawings of the specification, any person skilled in the relevant art can easily understand the relevant purposes and advantages of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which: Figure 1 It is a circuit diagram of a main control device and a serially connected circuit board circuit of the background technology.

[0007] Figure 2 A circuit diagram of an embodiment of a master control device and a serial address allocation circuit according to the technology of the present invention.

[0008] Figure 3 A schematic diagram of an embodiment of the address of the first device of the technology of the present invention.

[0009] Figure 4 It is a circuit diagram of another embodiment of the main control device and the serial address distribution circuit of the technology of the present invention. DETAILED DESCRIPTION

[0010] Before the present invention is described in detail, it should be noted that similar elements are denoted by the same reference numerals in the following description.

[0011] Figure 1 This is a circuit diagram of the main control device 1 and the serial circuit board circuit 30 of the background technology. Figure 1The main control device 1 includes a data terminal DATA and a clock terminal CLK. The serial circuit board circuit 30 includes a plurality of circuit board circuits 20 serially connected via a communication bus (for convenience of explanation, the following takes three circuit board circuits 201, 202, and 203 serially connected in sequence as an example). The circuit board circuit 20 includes a first device 13. The first device 13 includes a first address terminal A0, a second address terminal A1, a third address terminal A2, a first data terminal D1, and a first clock terminal C1. Among them, the first data terminals D1 of the circuit board circuits 201, 202, and 203 are commonly coupled to the data terminal DATA of the main control device 1 via the communication bus, so that the main control device 1 transmits data (for example, transmitting a common address corresponding to the first device 13 of the circuit board circuits 201, 202, and 203) to the first data terminals D1 corresponding to the circuit board circuits 201, 202, and 203 respectively via the communication bus; similarly, the first frequency terminals C1 of the circuit board circuits 201, 202, and 203 are commonly coupled to the frequency terminal CLK of the main control device 1 via the communication bus, so that the main control device 1 transmits a frequency signal to the first frequency terminals C1 of the first devices 13 corresponding to the circuit board circuits 201, 202, and 203 respectively via the communication bus.

[0012] Figure 3 FIG. 1 is a schematic diagram of an embodiment of the address of the first device 13 of the present invention. Figure 1 and Figure 3. In some embodiments, the combined address of the first device 13 is composed of the common address and the identification address corresponding to the first device 13. For example, when the common address is 1010 (not limited to this, it can also be 0101 or 0001, etc., and different common addresses are set according to needs), and the first address terminal A0, the second address terminal A1 and the third address terminal A2 of the first device 13 of the circuit board circuit 20 are respectively equipped with resistors (pull-up resistors / pull-down resistors) with different properties arranged in different positions so that the first address terminal A0, the second address terminal A1 and the third address terminal A2 correspond to values ​​corresponding to different logic levels, for example, the first address terminal A0, the second address terminal A1 and the third address terminal A2 of the first device 13 of the circuit board circuit 201 are respectively coupled to a pull-down resistor, a pull-down resistor and a pull-up resistor, so that the first address terminal A0 of the first device 13 of the circuit board circuit 201 0, the values ​​of the second address terminal A1 and the third address terminal A2 are 0, 0 and 1 respectively, and the identification address of the first device 13 of the circuit board circuit 201 is 001, then the binary value of the combination address corresponding to the first device 13 of the circuit board circuit 201 is 1010001, that is, the combination address corresponding to the hexadecimal 0xA8, then the main control device 1 communicates with the first device 13 of the circuit board circuit 201 through the combination address (0xA8) of the first device 13 of the circuit board circuit 201, similarly, the identification address of the first device 13 of the circuit board circuit 202 is 111, corresponding to the hexadecimal 0xAE combination address, and the value of the first device 13 of the circuit board circuit 203 is 011, corresponding to the hexadecimal 0xAC combination address. In some embodiments, the common address may be, but is not limited to, 1010, or may be 0101 or other values ​​defined according to design requirements.

[0013] At Figure 1 In the background technology, although the common address of the first device 13 of each circuit board circuit 20 is the same, in order to achieve the purpose of making the identification address of the first device 13 of each circuit board circuit 20 different, the resistors (pull-up resistor / pull-down resistor) coupled to the first address terminal A0, the second address terminal A1 and the third address terminal A2 of the first device 13 of each circuit board circuit 20 are different. As a result, although the internal circuit structure (printed circuit) of multiple serially connected circuit boards 20 is the same, in order to make the first devices 13 of different circuit board circuits 20 match and connect resistors with different properties set at different positions to generate different combination addresses, different circuit board circuits 20 need to correspond to different bills of materials, so it is necessary to establish the material numbers of multiple circuit boards and generate multiple bills of materials, thereby greatly increasing the relevant management and control preparation work and the subsequent human and material resources required.

[0014] Figure 2This is a circuit diagram of an embodiment of the main control device 1 and the serial address distribution circuit 40 of the present invention. Figure 2 . The main control device 1 includes a data terminal DATA and a frequency terminal CLK. The serial address allocation circuit 40 includes a plurality of serially connected address allocation circuits 10, wherein the plurality of address allocation circuits 10 are directly serially connected to each other or serially connected through a plurality of cables Cable. The address allocation circuit 10 includes an input connector 11, an output connector 12, a first device 13, a first resistor R1, a second resistor R2, a first inverting element IV1, a third resistor R3, a fourth resistor R4 and a fifth resistor R5, wherein each resistor has a corresponding property according to which of its one end is electrically connected to a power supply and a ground, for example, when one end of the resistor is electrically connected to a power supply, the resistor has the property of a pull-up resistor, and conversely, when one end of the resistor is electrically connected to the ground, the resistor has the property of a pull-down resistor. The input connector 11 includes a data input pin DI, a frequency input pin CI, a first address input pin AI1 and a second address input pin AI2. The output connector 12 includes a data output pin DO, a frequency output pin CO, a first address output pin AO1 and a second address output pin AO2. The data output pin DO is coupled to the data input pin DI, and the frequency output pin CO is coupled to the frequency input pin CI. The first device 13 includes a first address terminal A0, a second address terminal A1, a third address terminal A2, a first data terminal D1, and a first frequency terminal C1. The first address terminal A0 is coupled to the first address input pin AI1, the second address terminal A1 is coupled to the second address input pin AI2, the first data terminal D1 is coupled to the coupling point of the data input pin DI and the data output pin DO, and the first frequency terminal C1 is coupled to the coupling point of the frequency input pin CI and the frequency output pin CO. The first resistor R1 is coupled to the coupling point of the first address input pin AI1 and the first address terminal A0. The second resistor R2 is coupled to the coupling point of the second address input pin AI2 and the second address terminal A1. The first inverting element IV1 is coupled to the coupling point of the first address input pin AI1 and the first address terminal A0 and the first address output pin AO1. The third resistor R3 is coupled to the third address terminal A2. The fourth resistor R4 is coupled to the junction of the first inverting element IV1 and the first address output pin AO1. The fifth resistor R5 is coupled to the second address output pin AO2.

[0015] At Figure 2In one embodiment of the present invention, the serial address distribution circuit 40 includes three address distribution circuits 10 for illustration, but the number of address distribution circuits 10 included in the serial address distribution circuit 40 is not limited thereto. For the convenience of illustration, the plurality of address distribution circuits 10 coupled to the main control device 1 and serially connected to each other are sequentially referred to as the address distribution circuit 101, the address distribution circuit 102, and the address distribution circuit 103. The data terminal DATA is coupled to the data input pin DI of the address distribution circuit 101, and the clock terminal CLK is coupled to the clock input pin CI of the address distribution circuit 101. The data output pin DO of each address allocation circuit 10 is electrically connected to the data input pin DI of the adjacent address allocation circuit 10, and the first address output pin AO1 of each address allocation circuit 10 is electrically connected to the first address input pin AI1 of the adjacent address allocation circuit 10, and the second address output pin AO2 of each address allocation circuit 10 is electrically connected to the second address input pin AI2 of the adjacent address allocation circuit 10. For example, the data output pin DO of the address allocation circuit 101 is coupled to the data input pin DI of the address allocation circuit 102. Similarly, the frequency output pin CO of the address allocation circuit 101 is coupled to the frequency input pin CI of the address allocation circuit 102, the first address output pin AO1 of the address allocation circuit 101 is coupled to the first address input pin AI1 of the address allocation circuit 102, and the second address output pin AO2 of the address allocation circuit 101 is coupled to the second address input pin AI2 of the address allocation circuit 102.

[0016] The main control device 1 communicates with each address allocation circuit 10 via a communication bus. More specifically, the main control device 1 communicates with the first device 13 of each address allocation circuit 10 via the communication bus. The communication bus has a data line and a frequency line. The first data terminal D1 of the first device 13 of each address allocation circuit 10 is electrically connected to the data line and the corresponding data input pin DI and data output pin DO of the address allocation circuit 10. At this time, the first data terminal D1 of the first device 13 of each address allocation circuit 10 is connected to the data terminal DATA of the main control device 1 via the data line. Similarly, each The first frequency end C1 of the first device 13 of the address allocation circuit 10 is electrically connected to the frequency line to electrically connect the corresponding first frequency input pin CI and the first frequency output pin CO. At this time, the first frequency input pin CI of the first device 13 of each address allocation circuit 10 is commonly connected to the frequency end CLK of the main control device 1 via the frequency line. Thereby, the main control device 1 sends a common address of the first device 13 corresponding to each address allocation circuit 10 to the first device 13 of each address allocation circuit 10 through the data end DATA and through the communication bus to which the first devices 13 of each address allocation circuit 10 are commonly electrically connected.

[0017] In some embodiments, the first data input pin DI of each address distribution circuit 10 is coupled to its first data output pin DO via the communication bus (e.g., an integrated circuit bus (I²C Bus) or a system management bus (SMBus) or other buses, but not limited thereto). The first frequency input pin CI of each address distribution circuit 10 is coupled to its first frequency output pin CO via the I²C Bus.

[0018] In some embodiments, the first resistor R1, the third resistor R3 and the fifth resistor R5 of each address allocation circuit 10 are one of a pull-up resistor and a pull-down resistor (hereinafter, the first resistor R1 is a pull-down resistor, and the third resistor R3 and the fifth resistor R5 are both pull-up resistors), the fourth resistor R4 is a pull-up resistor, and the second resistor R2 has a property different from that of the fifth resistor R5 (hereinafter, the second resistor R2 is a pull-down resistor). The first address terminal A0, the second address terminal A1 and the third address terminal A2 of the first device 13 of the address allocation circuit 101 are respectively coupled to the first resistor R1 having the pull-down resistor property, the second resistor R2 having the pull-down resistor property and the third resistor R3 having the pull-up resistor property, so that the values ​​of the first address terminal A0, the second address terminal A1 and the third address terminal A2 of the address allocation circuit 101 are 0, 0 and 1 respectively. Therefore, the binary identification address of the first device 13 of the address allocation circuit 101 is 001, the binary value of the corresponding combination address is 1010001, and the corresponding hexadecimal combination address is 0xA8. The value of the first address output pin AO1 of the address allocation circuit 101 is the inverted value of the first address terminal A0 of the first device 13 of the address allocation circuit 101 due to the inverting characteristic of the first inverting element IV1. Therefore, the value of the first address output pin AO1 of the address allocation circuit 101 is 1. The second address output pin AO2 of the address allocation circuit 101 is coupled to the fifth resistor R5. Since the properties of the second resistor R2 of each address allocation circuit 10 are different from the fifth resistor R5, the value of the second address output pin AO2 of the address allocation circuit 101 is the opposite value of the second address terminal A1 of the corresponding first device 13. In this embodiment, the value of the second address output pin AO2 of the address allocation circuit 101 is 1.

[0019] Since the first address output pin AO1 of each address distribution circuit 10 is electrically connected to the first address input pin AI1 of the adjacent address distribution circuit 10, and the second address output pin AO2 of each address distribution circuit 10 is electrically connected to the second address input pin AI2 of the adjacent address distribution circuit 10, since the first address output pin AO1 of the address distribution circuit 101 is coupled to the first address input pin AI1 of the address distribution circuit 102 and the first address input pin AI1 of the address distribution circuit 102 is coupled to the first address terminal A0 of the first device 13 of the address distribution circuit 102, the value of the first address terminal A0 of the first device 13 of the address distribution circuit 102 is the value of the first address output pin AO1 of the address distribution circuit 101. In other words, the value of the first address terminal A0 of the first device 13 of the address distribution circuit 102 is 1. Since the second address output pin AO2 of the address distribution circuit 101 is coupled to the second address input pin AI2 of the address distribution circuit 102 and the second address input pin AI2 of the address distribution circuit 102 is coupled to the second address terminal A1 of the first device 13 of the address distribution circuit 102, the value of the second address terminal A1 of the first device 13 of the address distribution circuit 102 is the value of the second address output pin AO2 of the address distribution circuit 101. In other words, the value of the second address terminal A1 of the first device 13 of the address distribution circuit 102 is 1. The third address terminal A2 of the first device 13 of the address distribution circuit 102 is coupled to the third resistor R3 so that the value of the third address terminal A2 of the first device 13 of the address distribution circuit 102 is 1. Therefore, the binary identification address of the first device 13 of the address distribution circuit 102 is 111, and the corresponding hexadecimal combination address is 0xAE. The value of the first address output pin AO1 of the address distribution circuit 102 is the inverted value of the first address terminal A0 of the first device 13 of the address distribution circuit 102 due to the inverting characteristic of the first inverting element IV1. Therefore, the value of the first address output pin AO1 of the address distribution circuit 102 is 0. The second address output pin AO2 of the address distribution circuit 102 is coupled to the fifth resistor R5 so that the value of the second address output pin AO2 of the address distribution circuit 102 is 1.

[0020] Because the circuit structures of the address allocation circuit 101, the address allocation circuit 102 and the address allocation circuit 103 are the same, when the address allocation circuit 101, the address allocation circuit 102 and the address allocation circuit 103 are connected in series, the value of the first address terminal A0 of the first device 13 of the address allocation circuit 103 is the value of the first address output pin AO1 of the address allocation circuit 102, similar to the address allocation circuit 102. In other words, the value of the first address terminal A0 of the first device 13 of the address allocation circuit 103 is 0. The value of the second address terminal A1 of the first device 13 of the address allocation circuit 103 is the value of the second address output pin AO2 of the address allocation circuit 102, which is 1. Similarly, the value of the third address terminal A2 of the first device 13 of the address allocation circuit 103 is 1. Therefore, the binary identification address of the first device 13 of the address allocation circuit 103 is 011, and the corresponding hexadecimal combination address is 0xAC.

[0021] At Figure 2 In the embodiment, although the circuit structure (printed circuit and electronic components, resistors and other properties) of each address allocation circuit 10 is completely the same, each address allocation circuit 10 achieves the purpose of making the identification address of the first device 13 of each address allocation circuit 10 different through the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the first inverting element IV1. In this way, the first device 13 of each address allocation circuit 10 has a different combination address, so that the main control device 1 can obtain the corresponding combination address from each first device 13 by broadcasting and other methods, and then communicate with each first device 13 respectively by the combination address of each first device 13. Since the circuit structure of each address allocation circuit 10 is completely the same, it is only necessary to establish a circuit board material number and generate a material list during the production or testing process, thereby greatly reducing the relevant control preparation work and the subsequent required manpower and material resources.

[0022] Figure 4The circuit diagram of another embodiment of the master control device 1 and the serial address distribution circuit 40 of the present invention. In some embodiments, the input connector 11 further includes a third address input pin AI3 and a fourth address input pin AI4. The output connector 12 further includes a third address output pin AO3 and a fourth address output pin AO4. The address distribution circuit 10 further includes a second device 14, a sixth resistor R6, a seventh resistor R7, a second inverting element IV2, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10. The second device 14 includes a fourth address terminal A3, a fifth address terminal A4, a sixth address terminal A5, a second data terminal D2 and a second frequency terminal C2. The fourth address terminal A3 is coupled to the third address input pin AI3. The fifth address terminal A4 is coupled to the fourth address input pin AI4. The second data terminal D2 is coupled to the coupling point of the data input pin DI and the data output pin DO. The second frequency terminal C2 is coupled to the coupling point of the frequency input pin CI and the frequency output pin CO. The sixth resistor R6 is coupled to the coupling point of the third address input pin AI3 and the fourth address terminal A3. The seventh resistor R7 is coupled to the coupling point of the fourth address input pin AI4 and the fifth address terminal A4. The second inverting element IV2 is coupled to the coupling point of the third address input pin AI3 and the fourth address terminal A3 and the third address output pin AO3. The eighth resistor R8 is coupled to the sixth address terminal A5. The ninth resistor R9 is coupled to the coupling point of the second inverting element IV2 and the third address output pin AO3. The tenth resistor R10 is coupled to the fourth address output pin AO4.

[0023] The third address output pin AO3 of each address distribution circuit 10 is electrically connected to the third address input pin AI3 of the adjacent address distribution circuit 10 , and the fourth address output pin AO4 of each address distribution circuit 10 is electrically connected to the fourth address input pin AI4 of the adjacent address distribution circuit 10 .

[0024] In some embodiments, the first device 13 and the second device 14 may be volatile storage media, non-volatile storage media, or a combination thereof. A volatile storage medium may be, for example, a random access memory (RAM), and a random access memory may be, for example, a static random access memory (SRAM) or a dynamic random access memory (DRAM). A non-volatile storage medium may be, for example, a read-only memory (ROM), and a read-only memory may be, for example, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electronically erasable programmable read-only memory (EEPROM), or a flash memory. The type of the second device 14 is not limited herein. In some embodiments, the first device 13 and the second device 14 may be a temperature sensor.

[0025] In some embodiments, the sixth resistor R6, the eighth resistor R3 and the tenth resistor R10 of each address allocation circuit 10 are one of a pull-up resistor and a pull-down resistor (hereinafter, the sixth resistor R6 and the eighth resistor R8 are both pull-down resistors, and the tenth resistor R10 is a pull-up resistor), the ninth resistor R9 is a pull-up resistor, and the seventh resistor R7 has a property different from that of the tenth resistor R10 (hereinafter, the second resistor R2 is a pull-down resistor). The fourth address terminal A3, the fifth address terminal A4 and the sixth address terminal A5 of the second device 14 of the address allocation circuit 101 are respectively coupled to the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8, so that the values ​​of the fourth address terminal A3, the fifth address terminal A4 and the sixth address terminal A5 of the address allocation circuit 101 are 0, 0 and 0 respectively. In this embodiment, the common address is 1010 as an example, but it is not limited thereto. Therefore, the binary identification address of the second device 14 of the address allocation circuit 101 is 001, and the corresponding hexadecimal combination address is 0xA0. The value of the third address output pin AO3 of the address allocation circuit 101 is the inverted value of the fourth address terminal A3 of the second device 14 of the address allocation circuit 101 due to the inverting characteristic of the second inverting element IV2. Therefore, the value of the third address output pin AO3 of the address allocation circuit 101 is 1. The fourth address output pin AO4 of the address allocation circuit 101 is coupled to the tenth resistor R10. Since the properties of the seventh resistor R7 of each address allocation circuit 10 are different from the tenth resistor R10, the value of the fourth address output pin AO4 of the address allocation circuit 101 is the opposite value of the fifth address terminal A4 of the corresponding second device 14. In this embodiment, the value of the fourth address output pin AO4 of the address allocation circuit 101 is 1.

[0026] Since the first address output pin AO1 of each address distribution circuit 10 is electrically connected to the first address input pin AI1 of the adjacent address distribution circuit 10, and the second address output pin AO2 of each address distribution circuit 10 is electrically connected to the second address input pin AI2 of the adjacent address distribution circuit 10, since the third address output pin AO3 of the address distribution circuit 101 is coupled to the third address input pin AI3 of the address distribution circuit 102 and the third address input pin AI3 of the address distribution circuit 102 is coupled to the fourth address terminal A3 of the second device 14 of the address distribution circuit 102, the value of the fourth address terminal A3 of the second device 14 of the address distribution circuit 102 is the value of the third address output pin AO3 of the address distribution circuit 101. In other words, the value of the fourth address terminal A3 of the second device 14 of the address distribution circuit 102 is 1. Since the fourth address output pin AO4 of the address distribution circuit 101 is coupled to the fourth address input pin AI4 of the address distribution circuit 102 and the fourth address input pin AI4 of the address distribution circuit 102 is coupled to the fifth address terminal A4 of the second device 14 of the address distribution circuit 102, the value of the fifth address terminal A4 of the second device 14 of the address distribution circuit 102 is the value of the fourth address output pin AO4 of the address distribution circuit 101. In other words, the value of the fifth address terminal A4 of the second device 14 of the address distribution circuit 102 is 1. The sixth address terminal A5 of the second device 14 of the address distribution circuit 102 is coupled to the eighth resistor R8 so that the value of the sixth address terminal A5 of the second device 14 of the address distribution circuit 102 is 0. Therefore, the binary identification address of the second device 14 of the address distribution circuit 102 is 110, and the corresponding hexadecimal combination address is 0xA6. The value of the third address output pin AO3 of the address distribution circuit 102 is the inverted value of the fourth address terminal A3 of the second device 14 of the address distribution circuit 102 due to the inverting characteristic of the second inverting element IV2. Therefore, the value of the third address output pin AO3 of the address distribution circuit 102 is 0. The fourth address output pin AO4 of the address distribution circuit 102 is coupled to the tenth resistor R10 so that the value of the fourth address output pin AO4 of the address distribution circuit 102 is 1.

[0027] Because the circuit structures of the address allocation circuits 101, 102 and 103 are the same, when the address allocation circuits 101, 102 and 103 are connected in series, similar to the address allocation circuit 102, the value of the fourth address terminal A3 of the second device 14 of the address allocation circuit 103 is the value of the third address output pin AO3 of the address allocation circuit 102, which is 0. Similarly, the value of the fifth address terminal A4 of the second device 14 of the address allocation circuit 103 is the value of the fourth address output pin AO4 of the address allocation circuit 102, which is 1. Similarly, the value of the sixth address terminal A5 of the second device 14 of the address allocation circuit 103 is 0. Therefore, the binary identification address of the second device 14 of the address allocation circuit 103 is 010, and the corresponding hexadecimal combination address is 0xA4.

[0028] In some embodiments, the resistance values ​​of the first resistor R1, the second resistor R2, the third resistor R3, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8 are 10KΩ, and the resistance values ​​of the fourth resistor R4, the fifth resistor R5, the ninth resistor R9 and the tenth resistor R10 are 1KΩ, but not limited thereto. In some embodiments, the first inverting element IV1 and the second inverting element IV2 may be, but not limited to, an N-type metal oxide semiconductor field effect transistor (NMOS) or an inverter. When the first inverting element IV1 is an NMOS, the gate (G) of the first inverting element IV1 is coupled to the coupling point of the first address input pin AI1 and the first address terminal A0, and the drain (D) of the first inverting element IV1 is coupled to the first address output pin AO1. When the second inverting element IV2 is NMOS, the gate (G) of the second inverting element IV2 is coupled to the coupling point of the third address input pin AI3 and the fourth address terminal A3, and the drain (D) of the second inverting element IV2 is coupled to the third address output pin AO3.

[0029] At Figure 4 In the embodiment, although the circuit structures of each address distribution circuit 10 are completely the same, each address distribution circuit 10 achieves the purpose of making the addresses of the first device 13 and the second device 14 of each address distribution circuit 10 different through the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the first inverting element IV1, the sixth resistor R6, the seventh resistor R7, the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the second inverting element IV2. Figure 4 In the embodiment of the present invention, the address allocation circuit 10 includes the first device 13 and the second device 14 for illustration, but the number of devices included in the address allocation circuit 10 is not limited thereto. In some embodiments, the address allocation circuit 10 may include more than two devices.

[0030] In summary, in some embodiments, although the circuit structures of each address allocation circuit 10 are exactly the same, the purpose of making the addresses of the first device 13 and the second device 14 of each address allocation circuit 10 different is still achieved. Also, since the circuit structures of each address allocation circuit 10 are exactly the same, only one circuit board material number needs to be established and one material list needs to be generated during the production or testing process, thereby greatly reducing the related control preparation work and the subsequent manpower and material resources required. And since only one circuit board material number needs to be established, there will be no problem of using the wrong circuit board during the production or testing process.

[0031] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An address allocation circuit, characterized in that: Include: An input connector comprising: A data input pin; A frequency input pin; a first address input pin; and a second address input pin; An output connector comprising: A data output pin coupled to the data input pin; A frequency output pin coupled to the frequency input pin; a first address output pin; and a second address output pin; A first device comprising: A first address terminal coupled to the first address input pin; A second address terminal coupled to the second address input pin; a third address terminal; a first data terminal coupled to a coupling point between the data input pin and the data output pin; and A first frequency terminal coupled to a coupling point between the frequency input pin and the frequency output pin; a first resistor coupled to a coupling point between the first address input pin and the first address terminal; a second resistor coupled to a coupling point between the second address input pin and the second address terminal; A first inverting element coupled to a coupling point between the first address input pin and the first address terminal and the first address output pin; a third resistor coupled to the third address terminal; a fourth resistor coupled to a coupling point between the first inverting element and the first address output pin; and A fifth resistor is coupled to the second address output pin.

2. The address allocation circuit according to claim 1, characterized in that: The first resistor, the third resistor and the fifth resistor have one of pull-up resistor properties or pull-down resistor properties, the fourth resistor has a pull-up resistor property, and the second resistor has a property different from that of the fifth resistor.

3. The address allocation circuit according to claim 2, characterized in that: The first inverting element is an N-type metal oxide semiconductor field effect transistor (NMOS).

4. The address allocation circuit according to claim 3, characterized in that: The gate of the first inverting element is coupled to the coupling point of the second address input pin and the second address terminal, and the drain of the first inverting element is coupled to the first address output pin.

5. A master control device that connects a plurality of address allocation circuits in series via a communication bus, characterized in that: Each of the address allocation circuits comprises a first device, each of the first devices comprises a first address terminal, a second address terminal and a third address terminal, each of the first devices obtains a corresponding identification address from the logic voltage level values ​​of the corresponding first address terminal, the second address terminal and the third address terminal; wherein each of the address allocation circuits further comprises a first address input pin, a second address input pin, a first address output pin and a second address output pin, wherein when each of the address allocation circuits is connected in series with another adjacent address allocation circuit, the first address output pin and the second address output pin of each of the address allocation circuits are also connected in series with the first address output pin and the second address output pin of the adjacent address allocation circuit. The first address input pin and the second address input pin are electrically connected; wherein the first address end of each of the first devices is electrically connected to the corresponding first address input pin, a first resistor with a pull-down resistor property and a corresponding first inverting element, and the first inverting element corresponding to each of the first devices and a fourth resistor with a pull-up resistor property are electrically connected to the corresponding first address output pin, the second address end of each of the first devices is electrically connected to a second resistor, the third address end of each of the first devices is electrically connected to a third resistor with a pull-up resistor property, and each of the second address output pins is electrically connected to a fifth resistor, wherein each of the second resistors and the corresponding fifth resistor have different properties.

6. The main control device according to claim 5, characterized in that: The second resistor has a pull-up resistor property and the fifth resistor has a pull-down resistor property.

7. The main control device according to claim 6, characterized in that: The first inverting element is an NMOS.

8. The main control device according to claim 7, characterized in that: The gate of the first inverting element is coupled to the coupling point of the second address input pin and the second address terminal, and the drain of the first inverting element is coupled to the first address output pin.

9. The main control device according to claim 8, characterized in that: The communication bus is an integrated circuit bus (I²C Bus) or a system management bus (SMBus).

10. A serial address allocation circuit, characterized in that: Include: a first address allocation circuit, which is the address allocation circuit according to any one of claims 1 to 4; a second address allocation circuit, which is the address allocation circuit according to any one of claims 1 to 4; a third address allocation circuit, which is the address allocation circuit according to any one of claims 1 to 4; A first cable, the data output pin of the first address distribution circuit is coupled to the data input pin of the second address distribution circuit through the first cable, the frequency output pin of the first address distribution circuit is coupled to the frequency input pin of the second address distribution circuit through the first cable, the first address output pin of the first address distribution circuit is coupled to the first address input pin of the second address distribution circuit through the first cable, and the second address output pin of the first address distribution circuit is coupled to the second address input pin of the second address distribution circuit through the first cable; and A second cable, the data output pin of the second address distribution circuit is coupled to the data input pin of the third address distribution circuit through the second cable, the frequency output pin of the second address distribution circuit is coupled to the frequency input pin of the third address distribution circuit through the second cable, the first address output pin of the second address distribution circuit is coupled to the first address input pin of the third address distribution circuit through the second cable, and the second address output pin of the second address distribution circuit is coupled to the second address input pin of the third address distribution circuit through the second cable.