Communication system and communication method

Through the coordinated work of the master and slave, the coupling mechanism of the power supply ports is used to realize the address initialization of multiple slaves, solving the problem of increasing address pin requirements when the number of devices is large, reducing costs and improving communication efficiency.

CN119127760APending Publication Date: 2024-12-13SILERGY SEMICON TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411252887.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

When there are many devices, each device needs more address pins, which leads to increased costs and is not conducive to miniaturization of the chip.

Method used

Through the cooperation of the master and slave, each slave is addressed one by one, and the coupling mechanism between the power supply input port and the power supply output port is used to initialize the address of multiple slaves. Only one pin can be added to complete the address. Reduces the use of address pins.

Benefits of technology

It solves the problem of allocation of communication addresses of multiple identical slaves under bus communication, reduces costs, and facilitates the miniaturization of chips and improves the efficiency of serial bus communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127760A_ABST
    Figure CN119127760A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a communication system and a communication method. The communication system comprises a host and n slaves coupled with the host, each slave comprises a power supply input port, a power supply output port and a data input port; the power supply input port of the first slave receives power supply voltage, the power supply output port of the ith slave is coupled with the power supply input port of the (i + 1) th slave, and i is larger than or equal to 1 and smaller than n; a power supply input port of the current slave receives the power supply voltage, a data input port of the current slave receives an addressing command, and the current slave is addressed according to address data in the addressing command; and after the current slave completes addressing, the power supply input port of the current slave is coupled with the power supply output port, so that the power supply input port of the next slave receives the power supply voltage. According to the communication system, fewer address pins are used, the cost is reduced, and miniaturization of a chip is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics, and more particularly to a communication system and a communication method. Background Art

[0002] In traditional bus communication, the devices (i.e. slaves) connected to the same bus are all different devices, and these devices have different device addresses set inside them. If the devices connected to the same bus are the same devices, these devices are generally provided with address pins, and different addresses are encoded according to the different connection states of the address pins. However, when the number of devices is large, each device requires more address pins, which increases the cost and is not conducive to the miniaturization of the chip. Summary of the invention

[0003] In view of this, the present invention proposes a communication system and a communication method to solve the technical problem that when there are a large number of devices, each device requires a large number of address pins, thereby increasing the cost and being unfavorable to the miniaturization of the chip.

[0004] An embodiment of the present invention provides a communication system, comprising: a host and n slaves coupled to the host; each slave comprises a power input port, a power output port and a data input port; the power input port of the first slave receives a power supply voltage, the power output port of the i-th slave is coupled to the power input port of the i+1-th slave, where i is greater than or equal to 1 and less than n; the power input port of the current slave receives the power supply voltage, its data input port receives an addressing command, and addresses itself according to the address data in the addressing command; after the current slave completes addressing, the power input port of the current slave is coupled to the power output port so that the power input port of the next slave receives the power supply voltage.

[0005] In one embodiment, when the slave has not completed addressing, the power input port and the power output port of the slave are not coupled.

[0006] In one embodiment, after the current slave completes addressing, the host controls the current slave to be in a through state, so that the power input port of the current slave is coupled to the power output port.

[0007] In one embodiment, after the current slave completes addressing, the current slave controls itself to be in a through state, so that the power input port of the current slave is coupled to the power output port.

[0008] In one embodiment, the slave includes a first switch coupled between a power input port and a power output port of the slave. After the current slave completes addressing, the first switch in the current slave is controlled to be turned on so that the power input port and the power output port of the current slave are coupled.

[0009] In one embodiment, addressing commands for all slaves are issued by the master.

[0010] In one embodiment, the addressing command of the first slave is issued by the host, and the addressing command of the j-th slave is issued by the j-1-th slave, where j is greater than 1 and less than or equal to n.

[0011] In one embodiment, the first slave uses its own initial address as its own address, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n.

[0012] In one embodiment, starting from receiving the power supply voltage at the power supply input port of the current slave, after waiting for a first time, if the current slave does not receive an addressing command, the current slave uses its own initial address as its own address.

[0013] In one embodiment, the current slave modifies the address data in the received addressing command, and sends the modified addressing command to the next slave.

[0014] In one embodiment, the current slave configures its own address as the address data in the received addressing command.

[0015] In one embodiment, the current slave modifies the address data in the received addressing command, and uses the modified address data as its own address.

[0016] In one embodiment, the current slave responds to the received addressing command when it has not completed addressing and received the power supply voltage; and does not respond to the received addressing command when it has completed addressing or has not received the power supply voltage.

[0017] In one embodiment, the initial addresses of all slaves are configured as the first preset address, the command data in the addressing command is characterized as a write command, and the device address in the addressing command is configured as the first preset address.

[0018] In one embodiment, the command data in the addressing command is characterized as a specific command, the addressing command does not set the device address or sets an arbitrary device address, or the device address part in the addressing command is set to place the address that the slave needs to address, wherein the slave responds to the specific command when it is not encoded, and does not respond to the specific command after the slave is encoded.

[0019] In one embodiment, the host is coupled to a data input port of each slave via a bus to perform serial bus communication.

[0020] An embodiment of the present invention also provides a communication method, which is applied to a communication system, wherein the communication system includes a host and n slaves, wherein the host and the n slaves are coupled, the power supply input port of the first slave receives the power supply voltage, and the power supply output port of the i-th slave is coupled to the power supply input port of the i+1-th slave, wherein i is greater than or equal to 1 and less than n, and the communication method includes: the power supply input port of the current slave receives the power supply voltage, and its data input port receives an addressing command, and addresses itself according to the address data in the addressing command; after the current slave completes addressing, the power supply input port of the current slave is coupled to the power supply output port so that the power supply input port of the next slave receives the power supply voltage.

[0021] In one embodiment, when the slave has not completed addressing, the power input port and the power output port of the slave are not coupled.

[0022] In one embodiment, after the current slave completes addressing, the host controls the current slave to be in a through state, so that the power input port of the current slave is coupled to the power output port.

[0023] In one embodiment, after the current slave completes addressing, the current slave controls itself to be in a through state, so that the power input port of the current slave is coupled to the power output port.

[0024] In one embodiment, the slave includes a first switch coupled between a power input port and a power output port of the slave. After the current slave completes addressing, the first switch in the current slave is controlled to be turned on so that the power input port and the power output port of the current slave are coupled.

[0025] In one embodiment, addressing commands for all slaves are issued by the master.

[0026] In one embodiment, the addressing command of the first slave is issued by the host, and the addressing command of the j-th slave is issued by the j-1-th slave, where j is greater than 1 and less than or equal to n.

[0027] In one embodiment, the first slave uses its own initial address as its own address, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n.

[0028] In one embodiment, starting from receiving the power supply voltage at the power supply input port of the current slave, after waiting for a first time, if the current slave does not receive an addressing command, the current slave uses its own initial address as its own address.

[0029] In one embodiment, the current slave modifies the address data in the received addressing command, and sends the modified addressing command to the next slave.

[0030] In one embodiment, the current slave configures its own address as the address data in the received addressing command.

[0031] In one embodiment, the current slave modifies the address data in the received addressing command, and uses the modified address data as its own address.

[0032] In one embodiment, the current slave responds to the received addressing command when it has not completed addressing and received the power supply voltage; and does not respond to the received addressing command when it has completed addressing or has not received the power supply voltage.

[0033] In one embodiment, the initial addresses of all slaves are configured as the first preset address, the command data in the addressing command is characterized as a write command, and the device address in the addressing command is configured as the first preset address.

[0034] In one embodiment, the command data in the addressing command is characterized as a specific command, the addressing command does not set the device address or sets an arbitrary device address, or the device address part in the addressing command is set to place the address that the slave needs to address, wherein the slave responds to the specific command when it is not encoded, and does not respond to the specific command after the slave is encoded.

[0035] Compared with the prior art, the technical solution of the present invention has the following advantages: the communication system host in the embodiment of the present invention, and n slaves coupled to the host; each slave includes a power input port, a power output port and a data input port; the power input port of the first slave receives the power supply voltage, and the power output port of the i-th slave is coupled to the power input port of the i+1-th slave, where i is greater than or equal to 1 and less than n; the power input port of the current slave receives the power supply voltage, and its data input port receives the addressing command, and addresses itself according to the address data in the addressing command; after the current slave completes the addressing, the power input port of the current slave is coupled to the power output port, so that the power input port of the next slave receives the power supply voltage. The communication system of the present invention solves the problem of allocating communication addresses of multiple identical slaves under bus communication. Each slave only needs to add one pin to complete the addressing of multiple slaves for address initialization, using fewer address pins, reducing costs, and being conducive to the miniaturization of chips. In the present invention, each slave is addressed one by one by utilizing the cooperation of the host and the slave, and then serial bus communication is performed, which improves efficiency compared with chain communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0037] Figure 1 is a schematic diagram of an embodiment of a communication system of the present invention;

[0038] Figure 2 A coding diagram for the communication protocol of the present invention. DETAILED DESCRIPTION

[0039] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.

[0040] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0041] At the same time, it should be understood that in the following description, "circuit" refers to a conductive loop composed of at least one element or subcircuit through electrical connection or electromagnetic connection. When an element or circuit is said to be "connected to" another element or an element / circuit is said to be "connected between" two nodes, it can be directly coupled or connected to another element or there can be an intermediate element, and the connection between the elements can be physical, logical, or a combination thereof. On the contrary, when an element is said to be "directly coupled to" or "directly connected to" another element, it means that there is no intermediate element between the two.

[0042] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".

[0043] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0044] Figure 1 FIG. 1 is a schematic diagram of an embodiment of a communication system of the present invention. Figure 1As shown, the host Master and n slaves IC1 to ICn coupled to the host, the slave ICp includes a power input port VINp, a power output port VOUTp and a data input port DATp, where p is greater than or equal to 1 and less than or equal to n. The power input port VIN1 of the first slave receives the power supply voltage Vin, and the power output port VOUTi of the i-th slave is coupled to the power input port VIN(i+1) of the i+1-th slave, where i is greater than or equal to 1 and less than n. In this embodiment, the data input port DATp of each slave is coupled to the output port DAT of the host Master through a bus.

[0045] The power supply input port of the current slave receives the power supply voltage Vin, the data input port of the current slave receives the addressing command, and the current slave addresses itself according to the address data in the addressing command; after the current slave completes the addressing, the power supply input port of the current slave is coupled to the power supply output port so that the power supply input port of the next slave receives the power supply voltage.

[0046] Further, when the slave has not completed addressing, the power input port of the slave is not coupled to the power output port. After the current slave completes addressing, the current slave is in a through state so that the power input port and the power output port of the current slave are coupled. In one embodiment, after the current slave completes addressing, the host controls the current slave to be in a through state so that the power input port of the current slave is coupled to the power output port. In another embodiment, after the current slave completes addressing, the current slave controls itself to be in a through state so that the power input port of the current slave is coupled to the power output port.

[0047] In this embodiment, each slave ICp includes a first switch Sp, which is coupled between the power input port VINp and the power output port VOUTp of the slave ICp. When the slave ICp has not completed addressing, the first switch Sp is turned off; after the current slave ICp completes addressing, the first switch Sp in the current slave ICp is controlled to be turned on, so that the power input port VINp of the current slave is coupled to the power output port VOUTp. In another embodiment, each slave ICp includes a buffer, which is coupled between the power input port ICp and the power output port ICp of the slave ICp. When the slave ICp has not completed addressing, the buffer is not enabled; after the current slave ICp completes addressing, the buffer in the current slave ICp is controlled to be in an enabled state, so that the communication path between the power input port VINp and the power output port VOUTp of the current slave ICp is turned on. Optionally, in this embodiment, each slave also includes a communication processing unit for controlling the on and off of the first switch Sp, which is not limited by the present invention.

[0048] In this embodiment, the host sends addressing commands to each slave in sequence to address each slave.

[0049] Specifically, initially, all the first switches S1 to Sn are in the off state, and only the power supply input port VIN1 of the first slave IC1 receives the power supply voltage Vin, that is, the first slave IC1 is in the startup state and can work normally, while the second to the nth slave IC2 to ICn do not receive the power supply voltage Vin and cannot work normally. At this time, the host sends an addressing command to each slave through the bus for the first time. Since only the first slave IC1 is powered on, the data input port DAT1 of the first slave IC1 receives the addressing command sent by the host, and the first slave IC1 addresses itself according to the address data in the addressing command. When the first slave IC1 completes the addressing, the first switch S1 is turned on, and the power supply input port VIN1 of the first slave IC1 is coupled to the power supply output port VOUT1, so that the power supply input port VIN2 of the second slave IC2 receives the power supply voltage Vin. In one embodiment, after the first slave IC1 completes the addressing, the host controls the first slave IC1 to turn on the first switch S1. In another embodiment, after the first slave IC1 completes addressing, the first slave IC1 controls its own first switch S1 to turn on. The control of any one of the first switches S2 to Sn in the slaves IC2 to ICn is similar to the control of the first switch S1 in the first slave IC1, and will not be described in detail later. The power supply input port VIN2 of the second slave IC2 receives the power supply voltage Vin, that is, the second slave IC2 is in the startup state and can work normally. At this time, the host sends an addressing command to each slave through the bus for the second time. Although the first slave IC1 is also in the startup state, since the first slave IC1 has completed addressing, it does not respond to the addressing command, so that the data input port DAT2 of the second slave IC2 receives the addressing command issued by the host, and the second slave IC2 addresses itself according to the address data in the addressing command. When the second slave IC2 completes addressing, the second switch S2 is turned on, and the power supply input port VIN2 of the second slave IC2 is coupled to the power supply output port VOUT2, so that the power supply input port VIN3 of the third slave IC3 receives the power supply voltage Vin. And so on. The power supply input port VINn of the nth slave ICn receives the power supply voltage Vin, that is, the nth slave ICn is in the startup state and can work normally. At this time, the host sends the addressing command to each slave through the bus for the nth time. Although the first to (n-1)th slaves IC1~IC(N-1) are also in the startup state, since the first to (n-1)th slaves IC1~IC(N-1) have completed addressing, they do not respond to the addressing command, so that the data input port DATn of the nth slave ICn receives the addressing command issued by the host, and the nth slave ICn addresses itself according to the address data in the addressing command, so that all slaves complete the addressing.When all slaves have completed addressing, the host and n slaves can perform bus communication, and the target slave for each communication can be one or more. Optionally, in this embodiment, the current slave receives the addressing command issued by the host and sets its own address to the address data in the received addressing command.

[0050] In this embodiment, the addressing commands of all slaves are issued by the host, but the present invention is not limited to this. For example, in one embodiment, the addressing command of the first slave IC1 is issued by the host, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n. Specifically, initially, all the first switches S1~Sn are in the disconnected state, and only the power supply input port VIN1 of the first slave IC1 receives the power supply voltage Vin, that is, the first slave IC1 is in the startup state and can work normally, while the second to the nth slave IC2~ICn do not receive the power supply voltage Vin and cannot work normally. At this time, the host sends an addressing command to each slave through the bus. Since only the first slave IC1 is powered on, the data input port DAT1 of the first slave IC1 receives the addressing command issued by the host, and the first slave IC1 addresses itself according to the address data in the received addressing command. When the first slave IC1 completes addressing, the first switch S1 is turned on, and the power input port VIN1 of the first slave IC1 is coupled to the power output port VOUT1, so that the power input port VIN2 of the second slave IC2 receives the power supply voltage Vin, and the host releases the bus. The power input port VIN2 of the second slave IC2 receives the power supply voltage Vin, that is, the second slave IC2 is in the startup state and can work normally. At this time, the first slave IC1 modifies the address data in the addressing command it receives, and sends the modified addressing command to other slaves through the bus. Although the first slave IC1 is also in the startup state, since the first slave IC1 has completed addressing, it does not respond to the addressing command, so that the data input port DAT2 of the second slave IC2 receives the addressing command issued by the first slave IC1, and the second slave IC2 addresses itself according to the address data in the received addressing command. When the second slave IC2 completes addressing, the second switch S2 is turned on, and the power input port VIN2 of the second slave IC2 is coupled to the power output port VOUT2, so that the power input port VIN3 of the third slave IC3 receives the power supply voltage Vin. And so on. The data input port DAT3 of the third slave IC3 receives the addressing command issued by the second slave IC2, ..., the data input port DATn of the nth slave ICn receives the addressing command issued by the n-1th slave IC (N-1). Optionally, the current slave configures its own address to the address data in the received addressing command. Optionally, the current slave modifies the address data in the received addressing command and sends the modified addressing command to the next slave. Optionally, the current slave modifies the address data in the received addressing command and uses the modified address data as its own address.In another embodiment, the first slave IC1 uses its own initial address as its own address, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n. Starting from the power supply input port of the current slave receiving the power supply voltage, after waiting for the first time, if the current slave does not receive the addressing command, the current slave uses its own initial address as its own address, and if the current slave receives the addressing command within the first time, the current slave addresses itself according to the received addressing command. Specifically, initially, all the first switches S1~Sn are in the off state, and only the power supply input port VIN1 of the first slave IC1 receives the power supply voltage Vin, that is, the first slave IC1 is in the start-up state and can work normally, while the second to the nth slaves IC2~ICn do not receive the power supply voltage Vin and cannot work normally. Starting from the power supply input port of the first slave IC1 receiving the power supply voltage Vin, after waiting for the first time, the first slave IC1 uses its own initial address as its own address, and the first slave IC1 addresses itself according to the address data in the received addressing command. When the first slave IC1 completes addressing, the first switch S1 is turned on, and the power input port VIN1 of the first slave IC1 is coupled to the power output port VOUT1, so that the power input port VIN2 of the second slave IC2 receives the power supply voltage Vin. The power input port VIN2 of the second slave IC2 receives the power supply voltage Vin, that is, the second slave IC2 is in the startup state and can work normally. At this time, the first slave IC1 modifies the address data in the addressing command it receives, and sends the modified addressing command to other slaves through the bus. Although the first slave IC1 is also in the startup state, since the first slave IC1 has completed addressing, it does not respond to the addressing command, so that the data input port DAT2 of the second slave IC2 receives the addressing command issued by the first slave IC1, and the second slave IC2 addresses itself according to the address data in the received addressing command. When the second slave IC2 completes addressing, the second switch S2 is turned on, and the power input port VIN2 of the second slave IC2 is coupled to the power output port VOUT2, so that the power input port VIN3 of the third slave IC3 receives the power supply voltage Vin. And so on. The data input port DAT3 of the third slave IC3 receives the addressing command issued by the second slave IC2, ..., the data input port DATn of the nth slave ICn receives the addressing command issued by the n-1th slave IC (N-1). Optionally, the current slave configures its own address to the address data in the received addressing command. Optionally, the current slave modifies the address data in the received addressing command and sends the modified addressing command to the next slave. Optionally, the current slave modifies the address data in the received addressing command and uses the modified address data as its own address.It should be noted that, since each slave does not know whether it is the first slave, it needs to wait for a first time from the time when the power input port of each slave receives the power supply voltage to determine whether it is the first slave. Specifically, after the power input port of the current slave receives the power supply voltage and waits for the first time, if no addressing command is received, indicating that the current slave is the first slave, the current slave uses its own initial address as its own address. If the current slave receives an addressing command within the first time, indicating that the current slave is not the first slave, the current slave addresses itself according to the received addressing command.

[0051] In this embodiment, when the current slave has not completed addressing and received the power supply voltage, it responds to the received addressing command; when the current slave has completed addressing or has not received the power supply voltage, it does not respond to the received addressing command. The present invention exemplarily provides several encoding methods, but the encoding methods of the present invention are not limited thereto. Figure 2As shown, a coding diagram of the communication protocol of the present invention is given. The addressing command includes command data Command, device address data Device Address, register address data Register Address and address data Data. In one embodiment, the initial address of all slaves is configured as a first preset address, for example, 0. The command represented by the command data Command in the addressing command is a write command, and the device address data Device Address is configured as a first preset address, for example, 0. The slave addresses itself according to the address data Data in the received addressing command, and the address data Data in the addressing command is not set to the first preset address, for example, 0. When the address is initialized, since only the address of the slave that has received the power supply voltage and is not addressed will be 0, there is always only one such slave, so if the device address data Device Address in the addressing command is set to 0, then each time the addressing command issued by the host or other slaves will only have one device respond. In another embodiment, the command represented by the command data Command in the addressing command is a specific command, which responds only when the slave is not addressed, and does not respond after the slave completes the addressing. Optionally, the addressing command does not set the device address part or sets an arbitrary device address, and the slave addresses itself according to the address data Data in the received addressing command, that is, at this time, the address that needs to be encoded for the slave is placed in the address data data part. Optionally, the device address in the addressing command is configured to store address data, and the slave addresses itself according to the device address data Device Address in the received addressing command, that is, at this time, the address that needs to be encoded for the slave is placed in the device address data Device Address part, and the address data data part may not be set or arbitrary address data may be set.

[0052] In the above-mentioned embodiment, the data input port DATp of each slave ICp is coupled to the output port DAT of the host Master through the bus, but the present invention is not limited to this. For example, in another embodiment, each slave ICp also includes a data output port DoTp, and the host and n slaves are coupled in series. Specifically, the data input port of the first slave is coupled to the data output port of the host, and the data input ports of the second to nth slaves are coupled to the data output port of the slave above, so as to perform chain communication. The address initialization process of any of the above-mentioned slaves can also be completed through chain communication. The process is similar to the above-mentioned process, and only the transmission method of the addressing command is different, which will not be repeated here.

[0053] Optionally, in the present invention, each slave is configured as a driver chip.

[0054] The present invention further provides a communication method, which is based on a communication system, and has been explained in the above description of the communication system, and will not be described in detail here.

[0055] In the above embodiment of the present invention, the host and n slaves are coupled via a single line for single-line communication, but the present invention is not limited to this, and multi-line communication is also applicable to the above backlight driving method and system. In other embodiments, the n slaves can be coupled via multiple lines for other forms of communication, such as I2C / SPI communication, and a serial multi-line communication system is obtained by adding additional communication lines (such as clock lines) on the basis of the above embodiment. In addition, the above embodiments of the present invention are all described by taking serial as an example, but the driving method of the present invention is also applicable to parallel systems.

[0056] Although the embodiments are described and illustrated separately above, some common technologies are involved. It is the opinion of ordinary technicians in this field that the embodiments can be replaced and integrated. If the content is not clearly recorded in one of the embodiments, reference can be made to another recorded embodiment.

[0057] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A communication system, characterized in that: include: host, and n slaves coupled to the master; Each slave includes a power input port, a power output port, and a data input port; The power supply input port of the first slave receives the power supply voltage, and the power supply output port of the i-th slave is coupled to the power supply input port of the i+1-th slave, where i is greater than or equal to 1 and less than n; The power supply input port of the current slave receives the power supply voltage, and the data input port thereof receives the addressing command, and addresses itself according to the address data in the addressing command; After the current slave completes addressing, the power supply input port of the current slave is coupled to the power supply output port, so that the power supply input port of the next slave receives the power supply voltage.

2. The communication system according to claim 1, characterized in that: When the slave device has not completed addressing, the power input port and the power output port of the slave device are not coupled.

3. The communication system according to claim 1, characterized in that: After the current slave completes addressing, the host controls the current slave to be in a through state, so that the power input port of the current slave is coupled to the power output port.

4. The communication system according to claim 1, characterized in that: After the current slave completes addressing, the current slave controls itself to be in a through state, so that the power input port of the current slave is coupled to the power output port.

5. The communication system according to claim 3 or 4, characterized in that: The slave includes a first switch coupled between a power supply input port and a power supply output port of the slave. After the current slave completes addressing, the first switch in the current slave is controlled to be turned on, so that the power input port of the current slave is coupled to the power output port.

6. The communication system according to claim 1, characterized in that: All slave addressing commands are issued by the master.

7. The communication system according to claim 1, characterized in that: The addressing command of the first slave is issued by the host, and the addressing command of the j-th slave is issued by the j-1-th slave, wherein j is greater than 1 and less than or equal to n.

8. The communication system according to claim 1, characterized in that: The first slave uses its own initial address as its own address, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n.

9. The communication system according to claim 8, characterized in that: Starting from receiving the power supply voltage at the power supply input port of the current slave, after waiting for a first time, if the current slave does not receive an addressing command, the current slave uses its own initial address as its own address.

10. The communication system according to claim 7 or 8, characterized in that: The current slave modifies the address data in the received addressing command and sends the modified addressing command to the next slave.

11. The communication system according to claim 1, characterized in that: The current slave configures its own address to the address data in the received addressing command.

12. The communication system according to claim 1, characterized in that: The current slave modifies the address data in the received addressing command and uses the modified address data as its own address.

13. The communication system according to claim 1, characterized in that: When the current slave has not completed addressing and received the power supply voltage, it responds to the received addressing command; when the current slave has completed addressing or has not received the power supply voltage, it does not respond to the received addressing command.

14. The communication system according to claim 13, characterized in that: The initial addresses of all slaves are configured as the first preset address, the command data in the addressing command is characterized as a write command, and the device address in the addressing command is configured as the first preset address.

15. The communication system according to claim 13, characterized in that: The command data in the addressing command is characterized as a specific command, the addressing command does not set the device address or sets an arbitrary device address, or the device address part in the addressing command is set to place the address that the slave needs to address, wherein the slave responds to the specific command when it is not encoded, and does not respond to the specific command after the slave is encoded.

16. The communication system according to claim 1, characterized in that: The host is coupled to the data input port of each slave via the bus to perform serial bus communication.

17. A communication method, applied to a communication system, the communication system comprising a host and n slaves, the host and the n slaves are coupled, a power supply input port of a first slave receives a power supply voltage, a power supply output port of an i-th slave is coupled to a power supply input port of an i+1-th slave, wherein i is greater than or equal to 1 and less than n, characterized in that: include: The power supply input port of the current slave receives the power supply voltage, and the data input port thereof receives the addressing command, and addresses itself according to the address data in the addressing command; After the current slave completes addressing, the power supply input port of the current slave is coupled to the power supply output port, so that the power supply input port of the next slave receives the power supply voltage.

18. The communication method according to claim 17, characterized in that: When the slave device has not completed addressing, the power input port and the power output port of the slave device are not coupled.

19. The communication method according to claim 17, characterized in that: After the current slave completes addressing, the host controls the current slave to be in a through state, so that the power input port of the current slave is coupled to the power output port.

20. The communication method according to claim 17, characterized in that: After the current slave completes addressing, the current slave controls itself to be in a through state, so that the power input port of the current slave is coupled to the power output port.

21. The communication method according to claim 19 or 20, characterized in that: The slave includes a first switch coupled between a power supply input port and a power supply output port of the slave. After the current slave completes addressing, the first switch in the current slave is controlled to be turned on, so that the power input port of the current slave is coupled to the power output port.

22. The communication method according to claim 17, characterized in that: All slave addressing commands are issued by the master.

23. The communication method according to claim 17, characterized in that: The addressing command of the first slave is issued by the host, and the addressing command of the j-th slave is issued by the j-1-th slave, wherein j is greater than 1 and less than or equal to n.

24. The communication method according to claim 17, characterized in that: The first slave uses its own initial address as its own address, and the addressing command of the jth slave is issued by the j-1th slave, where j is greater than 1 and less than or equal to n.

25. The communication method according to claim 24, characterized in that: Starting from receiving the power supply voltage at the power supply input port of the current slave, after waiting for a first time, if the current slave does not receive an addressing command, the current slave uses its own initial address as its own address.

26. The communication method according to claim 23 or 24, characterized in that: The current slave modifies the address data in the received addressing command and sends the modified addressing command to the next slave.

27. The communication method according to claim 17, characterized in that: The current slave configures its own address to the address data in the received addressing command.

28. The communication method according to claim 17, characterized in that: The current slave modifies the address data in the received addressing command and uses the modified address data as its own address.

29. The communication method according to claim 17, characterized in that: When the current slave has not completed addressing and received the power supply voltage, it responds to the received addressing command; when the current slave has completed addressing or has not received the power supply voltage, it does not respond to the received addressing command.

30. The communication method according to claim 29, characterized in that: The initial addresses of all slaves are configured as the first preset address, the command data in the addressing command is characterized as a write command, and the device address in the addressing command is configured as the first preset address.

31. The communication method according to claim 29, characterized in that: The command data in the addressing command is characterized as a specific command, the addressing command does not set the device address or sets an arbitrary device address, or the device address part in the addressing command is set to place the address that the slave needs to address, wherein the slave responds to the specific command when it is not encoded, and does not respond to the specific command after the slave is encoded.