[go: up one dir, main page]

CN101577086A - Automatic addressing method of series circuit and automatic detection method of series quantity - Google Patents

Automatic addressing method of series circuit and automatic detection method of series quantity Download PDF

Info

Publication number
CN101577086A
CN101577086A CNA2008100952945A CN200810095294A CN101577086A CN 101577086 A CN101577086 A CN 101577086A CN A2008100952945 A CNA2008100952945 A CN A2008100952945A CN 200810095294 A CN200810095294 A CN 200810095294A CN 101577086 A CN101577086 A CN 101577086A
Authority
CN
China
Prior art keywords
integrated circuit
address information
circuit
series
initialization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100952945A
Other languages
Chinese (zh)
Other versions
CN101577086B (en
Inventor
郭立群
宋明勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianyang Semiconductor Co ltd
Original Assignee
Lianyang Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianyang Semiconductor Co ltd filed Critical Lianyang Semiconductor Co ltd
Priority to CN2008100952945A priority Critical patent/CN101577086B/en
Publication of CN101577086A publication Critical patent/CN101577086A/en
Application granted granted Critical
Publication of CN101577086B publication Critical patent/CN101577086B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

一种串联电路的自动寻址方法及一种串接数量的自动检测方法。其中,所述的串联电路由多个相同的集成电路串接而成,而所述的自动检测方法乃是基于此自动寻址方法。此自动寻址方法包括有下列步骤:首先,使上述的集成电路依序传递一初始化地址命令。接着,每当一集成电路接收到此初始化地址命令时,便提供此集成电路对应的地址信息。

Figure 200810095294

An automatic addressing method for a series circuit and an automatic detection method for the number of series connections. The series circuit is formed by connecting a plurality of identical integrated circuits in series, and the automatic detection method is based on the automatic addressing method. The automatic addressing method includes the following steps: first, the integrated circuits are caused to sequentially transmit an initialization address command. Then, each time an integrated circuit receives the initialization address command, the address information corresponding to the integrated circuit is provided.

Figure 200810095294

Description

串联电路的自动寻址方法及串接数量的自动检测方法 Automatic addressing method of series circuit and automatic detection method of series connection quantity

技术领域 technical field

本发明涉及一种自动寻址方法及自动检测方法,且特别涉及一种串联电路的自动寻址方法及串接数量的自动检测方法。The invention relates to an automatic addressing method and an automatic detection method, and in particular to an automatic addressing method for a series circuit and an automatic detection method for the serial connection quantity.

背景技术 Background technique

在现实生活中,有许多的电子设备采用大量且相同的集成电路(integrated circuit,IC)来操作,例如LED(light emitting diode)显示面板、图像感应阵列...等便是如此。以LED显示面板为例,其除了具有大量的LED之外,还会采用大量的驱动芯片来驱动这些LED,并采用少量的控制芯片来控制这些驱动芯片的操作。In real life, many electronic devices operate with a large number of identical integrated circuits (ICs), such as LED (light emitting diode) display panels, image sensing arrays, etc. Taking an LED display panel as an example, in addition to having a large number of LEDs, it also uses a large number of driver chips to drive these LEDs, and uses a small number of control chips to control the operation of these driver chips.

在上述的这类电子设备中,为了降低这些大量相同的集成电路的元件成本,并获得更小的元件体积,因此在设计这类集成电路时,通常会尽可能地减少这类集成电路的引脚数。如此一来,这类集成电路的元件体积和元件成本除了可以有效减小之外,其控制芯片的控制方式也相对简单。然而,也由于这类集成电路的引脚数有限,故这类集成电路在电子设备中都是串联起来操作,并不会有对应的地址信息,因此使得许多的动作会重复操作而造成效率低下。以下以LED显示面板中的驱动芯片来做说明。In the above-mentioned electronic equipment, in order to reduce the component cost of these a large number of identical integrated circuits and obtain smaller component volumes, when designing such integrated circuits, the introduction of such integrated circuits is usually reduced as much as possible. foot count. In this way, in addition to effectively reducing the component volume and component cost of this type of integrated circuit, the control method of the control chip is relatively simple. However, due to the limited number of pins of this type of integrated circuit, this type of integrated circuit is operated in series in electronic equipment, and there is no corresponding address information, so many actions will be repeated, resulting in low efficiency . The driver chip in the LED display panel will be used as an illustration below.

图1为LED显示面板的架构示意图。请参照图1,此架构包括有控制芯片102及四个用以驱动LED的驱动芯片,分别以104、106、108及110来标示。此外,图中的标示IN表示芯片的数据输入端,OUT表示芯片的数据输出端,CMO表示芯片的命令输出端,而CMI表示芯片的命令接收端。当需要更新显示数据时,数据便会由控制芯片102的数据输出端OUT送出,然后再依照这些驱动芯片的排列顺序依次传递,而当每一个驱动芯片的数据皆已传递至预定地址时,控制芯片102便会发出一个特定的指令,以告知所有的驱动芯片将所要显示的数据显示出来。这种数据传送形式不仅可用来传送显示数据,即使是驱动芯片内部的状态寄存器,亦可依此方式来进行各种状态设定。由于控制芯片102及上述四个驱动芯片连接成环状架构,故控制芯片102可更进一步通过此环状架构,将所有驱动芯片的状态读回,以进行错误检测或是系统检测等应用。FIG. 1 is a schematic diagram of the structure of an LED display panel. Please refer to FIG. 1 , the architecture includes a control chip 102 and four driver chips for driving LEDs, which are marked with 104 , 106 , 108 and 110 respectively. In addition, the label IN in the figure indicates the data input terminal of the chip, OUT indicates the data output terminal of the chip, CMO indicates the command output terminal of the chip, and CMI indicates the command receiving terminal of the chip. When it is necessary to update the display data, the data will be sent out from the data output terminal OUT of the control chip 102, and then transmitted sequentially according to the arrangement order of these driving chips, and when the data of each driving chip has been transmitted to the predetermined address, the control The chip 102 will issue a specific command to tell all the driver chips to display the data to be displayed. This data transmission form can not only be used to transmit display data, but also can be used to set various statuses in the status register inside the drive chip. Since the control chip 102 and the above-mentioned four driving chips are connected to form a ring structure, the control chip 102 can further read back the states of all the driving chips through the ring structure for applications such as error detection or system detection.

然而,在这样的架构下,由于各驱动芯片皆没有对应的地址信息,故控制芯片102通过命令输出端CMO所发出的任何命令,所有的驱动芯片皆会同步收到,因此不论是要更新显示数据,或是对驱动芯片进行状态的设定或读取,都必须要对所有的驱动芯片重新设定。举例来说,即使在上述四个驱动芯片中,只有某一个驱动芯片需要更新显示数据,但受限于这样的架构,控制芯片102仍然必须要重送所有驱动芯片的显示数据,因此使得数据传送的动作重复操作而造成效率低下。However, under such an architecture, since each driver chip has no corresponding address information, any command sent by the control chip 102 through the command output terminal CMO will be received by all the driver chips synchronously, so whether it is to update the display Data, or setting or reading the state of the driver chip, must reset all the driver chips. For example, even if only one of the above four driver chips needs to update the display data, but limited by such a structure, the control chip 102 still has to resend the display data of all the driver chips, thus making the data transfer Repeated operation of the action results in inefficiency.

发明内容 Contents of the invention

本发明的目的就是提供一种串联电路的自动寻址方法,其可对多个串接的集成电路进行地址设定。The object of the present invention is to provide an automatic addressing method for series circuits, which can set addresses for multiple serially connected integrated circuits.

本发明的另一目的是提供一种串接数量的自动检测方法,其可检测多个串接的集成电路的数量。Another object of the present invention is to provide an automatic detection method for the number of serial connections, which can detect the number of multiple integrated circuits connected in series.

基于上述及其他目的,本发明提出一种串联电路的自动寻址方法,而所述的串联电路是由多个相同的集成电路串接而成。此方法包括有下列步骤:首先,使上述的集成电路依序传递一初始化地址命令。接着,每当一集成电路接收到此初始化地址命令时,便提供此集成电路对应的地址信息。Based on the above and other objectives, the present invention proposes an automatic addressing method for a series circuit, and the series circuit is composed of a plurality of identical integrated circuits connected in series. The method includes the following steps: firstly, make the above-mentioned integrated circuit deliver an initialization address command sequentially. Then, whenever an integrated circuit receives the initialization address command, it provides the corresponding address information of the integrated circuit.

基于上述及其他目的,本发明另提出一种串接数量的自动检测方法,适用于一串联电路,且此串联电路由多个相同的集成电路串接而成。此方法包括有下列步骤:首先,使上述的集成电路依序传递一初始化地址命令。接着,每当一集成电路接收到上述的初始化地址命令时,便提供此集成电路对应的地址信息,其中上述的集成电路的地址信息具有一特定关系。然后,当上述集成电路中的最后一个集成电路传递出初始化地址命令时,便依据此最后一个集成电路对应的地址信息及上述的特定关系来计算集成电路的数量。Based on the above and other objectives, the present invention further proposes an automatic detection method for the number of serial connections, which is suitable for a series circuit, and the series circuit is composed of multiple identical integrated circuits connected in series. The method includes the following steps: firstly, make the above-mentioned integrated circuit deliver an initialization address command sequentially. Next, whenever an integrated circuit receives the above-mentioned initialization address command, the address information corresponding to the integrated circuit is provided, wherein the address information of the above-mentioned integrated circuit has a specific relationship. Then, when the last integrated circuit in the above-mentioned integrated circuits transmits the initialization address command, the number of integrated circuits is calculated according to the address information corresponding to the last integrated circuit and the above-mentioned specific relationship.

依照本发明一实施例所述的串联电路的自动寻址方法及一实施例所述的串接数量的自动检测方法,上述的初始化地址命令由一控制电路所提供。According to the automatic addressing method of the serial circuit described in an embodiment of the present invention and the automatic detection method of the serial number described in an embodiment, the above-mentioned initialization address command is provided by a control circuit.

依照本发明一实施例所述的串联电路的自动寻址方法及一实施例所述的串接数量的自动检测方法,上述集成电路中的第一个集成电路除了接收初始化地址命令之外,其对应的地址信息亦由控制电路所提供,且其后的每一集成电路对应的地址信息由前一个集成电路所提供。According to the automatic addressing method for series circuits described in an embodiment of the present invention and the automatic detection method for the number of serial connections described in an embodiment, the first integrated circuit among the above-mentioned integrated circuits receives an initialization address command, and its The corresponding address information is also provided by the control circuit, and the address information corresponding to each subsequent integrated circuit is provided by the previous integrated circuit.

依照本发明一实施例所述的串联电路的自动寻址方法及一实施例所述的串接数量的自动检测方法,上述集成电路中的第一个集成电路耦接至一预定电位,并依据此预定电位而产生上述的初始化地址命令。According to the automatic addressing method for series circuits described in an embodiment of the present invention and the automatic detection method for the number of serial connections described in an embodiment, the first integrated circuit among the above-mentioned integrated circuits is coupled to a predetermined potential, and according to This predetermined potential generates the above-mentioned initialization address command.

依照本发明一实施例所述的串联电路的自动寻址方法及一实施例所述的串接数量的自动检测方法,其中当所述的第一个集成电路产生初始化地址命令时,自行提供本身的地址信息,且其后的每一集成电路对应的地址信息由前一个集成电路所提供。According to the automatic addressing method of the serial circuit described in an embodiment of the present invention and the automatic detection method of the number of serial connections described in an embodiment, when the first integrated circuit generates an initialization address command, it provides its own address information, and the address information corresponding to each subsequent integrated circuit is provided by the previous integrated circuit.

依照本发明一实施例所述的串联电路的自动寻址方法及一实施例所述的串接数量的自动检测方法,其中每一集成电路对应的地址信息由一控制电路所提供。According to an automatic addressing method for series circuits and an automatic detection method for the number of serial connections according to an embodiment of the present invention, the address information corresponding to each integrated circuit is provided by a control circuit.

本发明因使串联电路中的各集成电路依序传递一初始化地址命令,并且每当一集成电路接收到此初始化地址命令时,便提供此集成电路对应的地址信息,故能对这些集成电路进行寻址。此外,如果提供至这些集成电路的地址信息具有一特定关系,那么当上述集成电路中的最后一个集成电路传递出初始化地址命令时,便可依据此最后一个集成电路对应的地址信息及上述的特定关系来计算集成电路的数量。一旦各集成电路皆已寻址,便可指定特定地址的集成电路进行操作,使得许多的动作不会再重复操作,提高了操作的效率。In the present invention, each integrated circuit in the series circuit transmits an initialization address command sequentially, and whenever an integrated circuit receives the initialization address command, it provides the address information corresponding to this integrated circuit, so these integrated circuits can be processed. addressing. In addition, if the address information provided to these integrated circuits has a specific relationship, when the last integrated circuit in the above-mentioned integrated circuits transmits an initialization address command, it can be based on the address information corresponding to the last integrated circuit and the above-mentioned specific relationship. relationship to count the number of integrated circuits. Once each integrated circuit has been addressed, the integrated circuit with a specific address can be designated for operation, so that many actions will not be repeated, and the operating efficiency is improved.

为让本发明的上述和其他目的、特征和优点能更明显易懂,下文特举优选实施例,并配合附图,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are described below in detail together with accompanying drawings.

附图说明 Description of drawings

图1为LED显示面板的架构示意图。FIG. 1 is a schematic diagram of the structure of an LED display panel.

图2绘示出与图1所示装置一样的环状架构。FIG. 2 shows the same ring architecture as the device shown in FIG. 1 .

图3绘示出类似于图2所示装置的环状架构。FIG. 3 illustrates a ring architecture similar to the device shown in FIG. 2 .

图4为依照本发明一实施例的串联电路的自动寻址方法流程。FIG. 4 is a flowchart of an automatic addressing method for a series circuit according to an embodiment of the present invention.

图5为依照本发明一实施例的串接数量的自动检测方法流程。FIG. 5 is a flowchart of a method for automatically detecting the number of serial connections according to an embodiment of the present invention.

图6绘示另一种环状架构。FIG. 6 illustrates another ring architecture.

【主要元件符号说明】[Description of main component symbols]

102:控制芯片102: Control chip

104、106、108、110:驱动芯片104, 106, 108, 110: driver chip

202:控制电路202: Control circuit

204、206、208、210:集成电路204, 206, 208, 210: integrated circuits

402、404、502、504、506:步骤402, 404, 502, 504, 506: steps

CMI:命令接收端CMI: command receiver

CMO:命令输出端CMO: command output

GND:接地电压GND: ground voltage

IN、IN1、IN2:数据输入端IN, IN1, IN2: data input terminals

OUT、OUT1、OUT2:数据输出端OUT, OUT1, OUT2: data output terminals

VDD:电源电压VDD: supply voltage

具体实施方式 Detailed ways

(第一实施例):(first embodiment):

图2绘示出与图1所示装置一样的环状架构。请参照图2,此架构包括有控制电路202及四个串接的集成电路,分别以204、206、208及210来标示。此外,图中的标示IN表示电路的数据输入端,OUT表示电路的数据输出端,CMO表示电路的命令输出端,而CMI表示电路的命令接收端。在此架构中,控制电路202及四个串接的集成电路可以分别运用图1所示的控制芯片102及驱动芯片来实现。FIG. 2 shows the same ring architecture as the device shown in FIG. 1 . Please refer to FIG. 2 , the structure includes a control circuit 202 and four serially connected integrated circuits, which are respectively marked as 204 , 206 , 208 and 210 . In addition, the label IN in the figure represents the data input end of the circuit, OUT represents the data output end of the circuit, CMO represents the command output end of the circuit, and CMI represents the command receiving end of the circuit. In this architecture, the control circuit 202 and the four serially connected integrated circuits can be realized by using the control chip 102 and the driving chip shown in FIG. 1 respectively.

当此环状架构的系统电源开启后,所有的集成电路皆呈现未寻址状态。此时,控制电路202便从其数据输出端OUT送出初始化地址命令及集成电路204的地址信息f(1),而集成电路204在接收到初始化地址命令后便会呈现初始化地址状态,并等待接收地址信息,且在接收到地址信息f(1)后,便据以寻址为f(1)。随后,集成电路204便会将地址信息f(1)改设为f(2),以作为集成电路206的地址信息,并将初始化地址命令及地址信息f(2)通过其数据输出端OUT传递给集成电路206。集成电路206在接收到初始化地址命令后便会呈现初始化地址状态,并等待接收地址信息,且在接收到地址信息f(2)后,便据以寻址为f(2)。When the system power of the ring structure is turned on, all integrated circuits are in an unaddressed state. At this time, the control circuit 202 sends out the initialization address command and the address information f(1) of the integrated circuit 204 from its data output terminal OUT, and the integrated circuit 204 will present the initialization address state after receiving the initialization address command, and wait to receive address information, and after receiving the address information f(1), it is addressed as f(1) accordingly. Subsequently, the integrated circuit 204 will change the address information f(1) to f(2) as the address information of the integrated circuit 206, and transmit the initialization address command and address information f(2) through its data output terminal OUT to IC 206. After receiving the initialization address command, the integrated circuit 206 will assume the initialization address state, and wait to receive address information, and address f(2) accordingly after receiving the address information f(2).

接着,集成电路206便会将地址信息f(2)改设为f(3),以作为集成电路208的地址信息,并将初始化地址命令及地址信息f(3)传递给集成电路208。而后的操作,依此类推,故所有的集成电路都会被寻址。于是,控制电路202便可指定特定地址的集成电路进行操作,比如处理数据的更新,或是进行状态设定...等操作。由于控制电路202会将操作命令及特定地址同时从其数据输出端OUT送出,因此操作命令及特定地址会依照集成电路的排列顺序而传递,只有符合此特定地址的集成电路才会将此操作命令视为有效,并据以执行指定操作,至于其他的集成电路则仅负责传递而已。Then, the integrated circuit 206 changes the address information f(2) to f(3) as the address information of the integrated circuit 208 , and transmits the initialization address command and the address information f(3) to the integrated circuit 208 . Then the operation, and so on, so all integrated circuits will be addressed. Therefore, the control circuit 202 can designate an integrated circuit with a specific address to perform operations, such as updating processing data, or performing operations such as status setting. Because the control circuit 202 will send the operation command and the specific address from its data output terminal OUT at the same time, the operation command and the specific address will be transmitted according to the sequence of the integrated circuits, and only the integrated circuits that match the specific address will send the operation command As valid, and according to the specified operation, as for other integrated circuits, it is only responsible for transmission.

此外,由于集成电路210会将初始化地址命令及地址信息f(5)传递给控制电路202,故当控制电路202接收到初始化地址命令时,便可知道所有的集成电路皆已完成寻址,而由于各集成电路的地址信息具有一特定关系,因此当控制电路202接收到地址信息f(5)时,便可反推集成电路210的地址信息,然后再依照集成电路210的地址信息及此特定关系来计算串接的集成电路个数。In addition, since the integrated circuit 210 will transmit the initialization address command and address information f(5) to the control circuit 202, when the control circuit 202 receives the initialization address command, it can know that all integrated circuits have completed addressing, and Since the address information of each integrated circuit has a specific relationship, when the control circuit 202 receives the address information f(5), it can reversely deduce the address information of the integrated circuit 210, and then according to the address information of the integrated circuit 210 and the specific relationship relationship to calculate the number of integrated circuits connected in series.

(第二实施例):(second embodiment):

请再参照图2,当此环状架构的系统电源开启后,所有的集成电路皆呈现未寻址状态。此时,控制电路202便通过其数据输出端OUT送出初始化地址命令,使集成电路204接收初始化地址命令而呈现初始化地址状态,并等待接收地址信息。接着,控制电路202便从其命令输出端CMO输出集成电路204的地址信息f(1)至所有的集成电路。由于只有集成电路204等待接收地址信息,因此只有集成电路204会接收此地址信息f(1),并据以寻址为f(1)。随后,集成电路204又通过其数据输出端OUT将初始化地址命令传递给集成电路206,使集成电路206接收初始化地址命令而呈现初始化地址状态,并等待接收地址信息。此时,控制电路202又从其命令输出端CMO输出集成电路206的地址信息f(2)至所有的集成电路。由于只有集成电路206等待接收地址信息,因此只有集成电路206会接收此地址信息f(2),并据以寻址为f(2)。Please refer to FIG. 2 again. When the system power of the ring structure is turned on, all integrated circuits are in an unaddressed state. At this time, the control circuit 202 sends an initialization address command through its data output terminal OUT, so that the integrated circuit 204 receives the initialization address command and assumes an initialization address state, and waits for receiving address information. Then, the control circuit 202 outputs the address information f(1) of the integrated circuit 204 to all integrated circuits from its command output terminal CMO. Since only the integrated circuit 204 is waiting to receive the address information, only the integrated circuit 204 will receive the address information f(1), and address it accordingly as f(1). Subsequently, the integrated circuit 204 transmits the initialization address command to the integrated circuit 206 through its data output terminal OUT, so that the integrated circuit 206 receives the initialization address command and assumes the initialization address state, and waits for receiving address information. At this time, the control circuit 202 outputs the address information f(2) of the integrated circuit 206 to all integrated circuits from its command output terminal CMO. Since only the integrated circuit 206 is waiting to receive the address information, only the integrated circuit 206 will receive the address information f(2) and address it accordingly as f(2).

接着,集成电路206也会通过其数据输出端OUT将初始化地址命令传递给集成电路208,然后控制电路202再从其命令输出端CMO输出集成电路208的地址信息f(3)给集成电路208来接收。而后的操作,依此类推,故所有的集成电路都会被寻址,于是控制电路202便可指定特定地址的集成电路进行操作。此外,当集成电路210完成寻址之后,也会将初始化地址命令传递给控制电路202,故控制电路202便可知道所有的集成电路皆已完成寻址。而由于控制电路202所发送的各集成电路的地址信息具有一特定关系,因此控制电路202便可依照集成电路210的地址信息及此特定关系来计算串接的集成电路个数。Next, the integrated circuit 206 also transmits the initialization address command to the integrated circuit 208 through its data output terminal OUT, and then the control circuit 202 outputs the address information f(3) of the integrated circuit 208 from its command output terminal CMO to the integrated circuit 208. take over. Subsequent operations can be deduced by analogy, so all integrated circuits will be addressed, so the control circuit 202 can designate the integrated circuits with specific addresses to operate. In addition, when the integrated circuits 210 complete addressing, they will also transmit the initialization address command to the control circuit 202, so the control circuit 202 can know that all integrated circuits have completed addressing. Since the address information of each integrated circuit sent by the control circuit 202 has a specific relationship, the control circuit 202 can calculate the number of integrated circuits connected in series according to the address information of the integrated circuit 210 and the specific relationship.

(第三实施例):(third embodiment):

图3绘示出类似于图2所示装置的环状架构。请参照图3,此架构一样包括有控制电路202及四个串接的集成电路,分别以204、206、208及210来标示。此外,图中的标示IN、OUT、CMO及CMI亦分别表示电路的数据输入端、电路的数据输出端、电路的命令输出端及电路的命令接收端。请同时参照图2及图3,经比较后可以发现,图3的集成电路204的数据输入端IN并非是耦接至控制电路202的数据输出端OUT,而是改接至一个预定电位,例如是电源电压VDD或是接地电压GND。FIG. 3 illustrates a ring architecture similar to the device shown in FIG. 2 . Please refer to FIG. 3 , this structure also includes a control circuit 202 and four serially connected integrated circuits, which are respectively marked as 204 , 206 , 208 and 210 . In addition, the labels IN, OUT, CMO and CMI in the figure also respectively represent the data input terminal of the circuit, the data output terminal of the circuit, the command output terminal of the circuit and the command receiving terminal of the circuit. Please refer to FIG. 2 and FIG. 3 at the same time. After comparison, it can be found that the data input terminal IN of the integrated circuit 204 in FIG. 3 is not coupled to the data output terminal OUT of the control circuit 202, but is connected to a predetermined potential, for example It is the power supply voltage VDD or the ground voltage GND.

当此环状架构的系统电源开启后,所有的集成电路皆呈现未寻址状态。此时,集成电路204会检测其数据输入端IN是否固定耦接至此预定电位,且当判定为是时,集成电路204便产生一初始化地址命令,并自行提供本身的地址信息f(1),以将自己寻址为f(1)。随后,集成电路204便会将地址信息f(1)改设为f(2),以作为集成电路206的地址信息,并将初始化地址命令及地址信息f(2)通过其数据输出端OUT传递给集成电路206。集成电路206在接收到初始化地址命令后便会呈现初始化地址状态,并等待接收地址信息,且在接收到地址信息f(2)后,便据以寻址为f(2)。接着,集成电路206便会将地址信息f(2)改设为f(3),以作为集成电路208的地址信息,并将初始化地址命令及地址信息f(3)传递给集成电路208。而后的操作,依此类推,故所有的集成电路也都会被寻址。When the system power of the ring structure is turned on, all integrated circuits are in an unaddressed state. At this time, the integrated circuit 204 will detect whether its data input terminal IN is fixedly coupled to the predetermined potential, and if it is determined to be yes, the integrated circuit 204 will generate an initialization address command and provide its own address information f(1), to address itself as f(1). Subsequently, the integrated circuit 204 will change the address information f(1) to f(2) as the address information of the integrated circuit 206, and transmit the initialization address command and address information f(2) through its data output terminal OUT to IC 206. After receiving the initialization address command, the integrated circuit 206 will assume the initialization address state, and wait to receive address information, and address f(2) accordingly after receiving the address information f(2). Then, the integrated circuit 206 changes the address information f(2) to f(3) as the address information of the integrated circuit 208 , and transmits the initialization address command and the address information f(3) to the integrated circuit 208 . Then the operation, and so on, so all integrated circuits will also be addressed.

此外,由于集成电路210会将初始化地址命令及地址信息f(5)传递给控制电路202,故当控制电路202接收到初始化地址命令时,便可知道所有的集成电路皆已完成寻址,而由于各集成电路的地址信息具有一特定关系,因此当控制电路202接收到地址信息f(5)时,便可反推集成电路210的地址信息,然后再依照集成电路210的地址信息及此特定关系来计算串接的集成电路个数。In addition, since the integrated circuit 210 will transmit the initialization address command and address information f(5) to the control circuit 202, when the control circuit 202 receives the initialization address command, it can know that all integrated circuits have completed addressing, and Since the address information of each integrated circuit has a specific relationship, when the control circuit 202 receives the address information f(5), it can reversely deduce the address information of the integrated circuit 210, and then according to the address information of the integrated circuit 210 and the specific relationship relationship to calculate the number of integrated circuits connected in series.

(第四实施例):(fourth embodiment):

请再参照图3,当此环状架构的系统电源开启后,所有的集成电路皆呈现未寻址状态。此时,集成电路204会检测其数据输入端IN是否固定耦接至预定电位,且当判定为是时,集成电路204便产生一初始化地址命令,并据以呈现初始化地址状态而等待接收地址信息。接着,控制电路202便从其命令输出端CMO输出集成电路204的地址信息f(1)至所有的集成电路。由于只有集成电路204等待接收地址信息,因此只有集成电路204会接收此地址信息f(1),并据以寻址为f(1)。随后,集成电路204又通过其数据输出端OUT将初始化地址命令传递给集成电路206,使集成电路206接收初始化地址命令而呈现初始化地址状态,并等待接收地址信息。此时,控制电路202又从其命令输出端CMO输出集成电路206的地址信息f(2)至所有的集成电路。由于只有集成电路206等待接收地址信息,因此只有集成电路206会接收此地址信息f(2),并据以寻址为f(2)。而后的操作,依此类推,故所有的集成电路都会被寻址,于是控制电路202便可指定特定地址的集成电路进行操作。Please refer to FIG. 3 again. When the system power of the ring structure is turned on, all integrated circuits are in an unaddressed state. At this time, the integrated circuit 204 will detect whether its data input terminal IN is fixedly coupled to a predetermined potential, and when the determination is yes, the integrated circuit 204 will generate an initialization address command, and thus present an initialization address state and wait for receiving address information . Then, the control circuit 202 outputs the address information f(1) of the integrated circuit 204 to all integrated circuits from its command output terminal CMO. Since only the integrated circuit 204 is waiting to receive the address information, only the integrated circuit 204 will receive the address information f(1), and address it accordingly as f(1). Subsequently, the integrated circuit 204 transmits the initialization address command to the integrated circuit 206 through its data output terminal OUT, so that the integrated circuit 206 receives the initialization address command and assumes the initialization address state, and waits for receiving address information. At this time, the control circuit 202 outputs the address information f(2) of the integrated circuit 206 to all integrated circuits from its command output terminal CMO. Since only the integrated circuit 206 is waiting to receive the address information, only the integrated circuit 206 will receive the address information f(2) and address it accordingly as f(2). Subsequent operations can be deduced by analogy, so all integrated circuits will be addressed, so the control circuit 202 can designate the integrated circuits with specific addresses to operate.

此外,当集成电路210完成寻址之后,也会将初始化地址命令传递给控制电路202,故控制电路202便可知道所有的集成电路皆已完成寻址。而由于控制电路202所发送的各集成电路的地址信息具有一特定关系,因此控制电路202便可依照集成电路210的地址信息及此特定关系来计算串接的集成电路个数。In addition, when the integrated circuits 210 complete addressing, they will also transmit the initialization address command to the control circuit 202, so the control circuit 202 can know that all integrated circuits have completed addressing. Since the address information of each integrated circuit sent by the control circuit 202 has a specific relationship, the control circuit 202 can calculate the number of integrated circuits connected in series according to the address information of the integrated circuit 210 and the specific relationship.

根据上述各实施例所述的操作,可以归纳出一种串联电路的自动寻址方法,适用于一个由多个相同的集成电路串接而成的串联电路,如图4所示。图4为依照本发明一实施例的串联电路的自动寻址方法流程。请参照图4,在此方法中,首先是使这些集成电路依序传递一初始化地址命令(如步骤402所示)。接着,每当一集成电路接收到初始化地址命令时,提供该集成电路对应的地址信息(如步骤404所述)。According to the operations described in the above embodiments, an automatic addressing method for a series circuit can be summarized, which is suitable for a series circuit formed by connecting multiple identical integrated circuits in series, as shown in FIG. 4 . FIG. 4 is a flowchart of an automatic addressing method for a series circuit according to an embodiment of the present invention. Please refer to FIG. 4 , in this method, firstly, these integrated circuits transmit an initialization address command sequentially (as shown in step 402 ). Next, whenever an integrated circuit receives an initialization address command, address information corresponding to the integrated circuit is provided (as described in step 404 ).

此外,根据上述各实施例所述的操作,还可以再归纳出一种串接数量的自动检测方法,同样适用于一个由多个相同的集成电路串接而成的串联电路,如图5所示。图5为依照本发明一实施例的串接数量的自动检测方法流程。请参照图5,在此方法中,首先是使这些集成电路依序传递一初始化地址命令(如步骤502所示)。接着,每当一集成电路接收到上述的初始化地址命令时,便提供该集成电路对应的地址信息,其中这些集成电路的地址信息具有一特定关系(如步骤504所示)。然后,当这些集成电路中的最后一个集成电路传递出初始化地址命令时,便依据此最后一个集成电路对应的地址信息及上述的特定关系来计算这些集成电路的数量(如步骤506所示)。In addition, according to the operations described in the above-mentioned embodiments, an automatic detection method for the number of series connections can also be summarized, which is also applicable to a series circuit formed by series connection of multiple identical integrated circuits, as shown in Figure 5 Show. FIG. 5 is a flowchart of a method for automatically detecting the number of serial connections according to an embodiment of the present invention. Please refer to FIG. 5 , in this method, firstly, these integrated circuits transmit an initialization address command sequentially (as shown in step 502 ). Next, whenever an integrated circuit receives the above initialization address command, the corresponding address information of the integrated circuit is provided, wherein the address information of these integrated circuits has a specific relationship (as shown in step 504 ). Then, when the last integrated circuit in these integrated circuits transmits the initialization address command, the number of these integrated circuits is calculated according to the address information corresponding to the last integrated circuit and the above-mentioned specific relationship (as shown in step 506 ).

虽然在上述各实施例所示的装置中,各元件间的连接关系仅能提供以单一比特串的方式来传输数据,然而本领域技术人员应当知道,即使改变元件间的总线宽度(bus width),亦可实施本发明。举例来说,使用者可改变图2所示装置的数据总线宽度,使其成为如图6所示的另一种环状架构。请同时参照图2及图6,经比较后可以发现,图6中的各构件皆具有二个数据输入端(如IN1、IN2所示)及二个数据输出端(如OUT1、OUT2所示),使得各构件可同时接收二个比特串的数据,或同时输出二个比特串的数据。此外,虽然在上述各实施例所示的装置中,也仅以四个集成电路来举例,然即使更改集成电路的串接数目,仍然可实施本发明。Although in the devices shown in the above-mentioned embodiments, the connection relationship between the components can only provide data transmission in the form of a single bit string, those skilled in the art should know that even if the bus width (bus width) between the components is changed, , can also implement the present invention. For example, the user can change the data bus width of the device shown in FIG. 2 to make it another ring structure as shown in FIG. 6 . Please refer to Figure 2 and Figure 6 at the same time. After comparison, it can be found that each component in Figure 6 has two data input terminals (shown as IN1 and IN2) and two data output terminals (shown as OUT1 and OUT2) , so that each component can receive data of two bit strings at the same time, or output data of two bit strings at the same time. In addition, although only four integrated circuits are used as an example in the devices shown in the above embodiments, the present invention can still be implemented even if the number of serially connected integrated circuits is changed.

综上所述,本发明因使串联电路中的各集成电路依序传递一初始化地址命令,并且每当一集成电路接收到此初始化地址命令时,便提供此集成电路对应的地址信息,故能对这些集成电路进行寻址。此外,如果提供至这些集成电路的地址信息具有一特定关系,那么当上述集成电路中的最后一个集成电路传递出初始化地址命令时,便可依据此最后一个集成电路对应的地址信息及上述的特定关系来计算集成电路的数量。一旦各集成电路皆已寻址,便可指定特定地址的集成电路进行操作,使得许多的动作不会再重复操作,提高了操作的效率。再者,通过本发明所述的自动寻址技术,在串联电路中,各集成电路的使用与维护也将更具弹性。In summary, the present invention enables each integrated circuit in the series circuit to transmit an initialization address command sequentially, and whenever an integrated circuit receives the initialization address command, it provides the address information corresponding to this integrated circuit, so it can These integrated circuits are addressed. In addition, if the address information provided to these integrated circuits has a specific relationship, when the last integrated circuit in the above-mentioned integrated circuits transmits an initialization address command, it can be based on the address information corresponding to the last integrated circuit and the above-mentioned specific relationship. relationship to count the number of integrated circuits. Once each integrated circuit has been addressed, the integrated circuit with a specific address can be designated for operation, so that many actions will not be repeated, and the operating efficiency is improved. Furthermore, through the automatic addressing technology described in the present invention, in the series circuit, the use and maintenance of each integrated circuit will be more flexible.

虽然本发明已以优选实施例公开如上,然其并非用以限定本发明,本领域技术人员,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视所附权利要求书所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined by the appended claims.

Claims (12)

1. the automatic addressing method of a series circuit, wherein this series circuit is formed by a plurality of identical integrated circuit serial connections, and this method comprises:
Make these integrated circuit transmit an initialization address order in regular turn; And
When an integrated circuit receives this initialization address order, provide this integrated circuit corresponding address information.
2. the automatic addressing method of series circuit as claimed in claim 1, wherein this initialization address order is provided by a control circuit.
3. the automatic addressing method of series circuit as claimed in claim 2, wherein first integrated circuit in these integrated circuit is except receiving this initialization address order, its corresponding address information is also provided by this control circuit, and each integrated circuit corresponding address information is thereafter provided by previous integrated circuit.
4. the automatic addressing method of series circuit as claimed in claim 1, wherein first integrated circuit in these integrated circuit is coupled to a predetermined potential, and produces this initialization address order according to this predetermined potential.
5. the automatic addressing method of series circuit as claimed in claim 4, wherein when described first integrated circuit produces this initialization address order, provide the address information of itself voluntarily, and each integrated circuit corresponding address information is thereafter provided by previous integrated circuit.
6. the automatic addressing method of series circuit as claimed in claim 1, wherein each integrated circuit corresponding address information is provided by a control circuit.
7. the automatic testing method of a series quantity is applicable to a series connection circuit, and this series circuit is formed by a plurality of identical integrated circuit serial connections, and this method comprises:
Make these integrated circuit transmit an initialization address order in regular turn;
When an integrated circuit receives this initialization address order, this integrated circuit corresponding address information just is provided, wherein the address information of these integrated circuit has a particular kind of relationship; And
When last integrated circuit in these integrated circuit passes out the initialization address order, just calculate the quantity of these integrated circuit according to above-mentioned last integrated circuit corresponding address information and this particular kind of relationship.
8. the automatic testing method of series quantity as claimed in claim 7, wherein this initialization address order is provided by a control circuit.
9. the automatic testing method of series quantity as claimed in claim 8, wherein first integrated circuit in these integrated circuit is except receiving this initialization address order, its corresponding address information is also provided by this control circuit, and each integrated circuit corresponding address information is thereafter provided by previous integrated circuit.
10. the automatic testing method of series quantity as claimed in claim 7, wherein first integrated circuit in these integrated circuit is coupled to a predetermined potential, and produces this initialization address order according to this predetermined potential.
11. the automatic testing method of series quantity as claimed in claim 10, wherein when described first integrated circuit produces this initialization address order, provide the address information of itself voluntarily, and each integrated circuit corresponding address information is thereafter provided by previous integrated circuit.
12. the automatic testing method of series quantity as claimed in claim 7, wherein each integrated circuit corresponding address information is provided by a control circuit.
CN2008100952945A 2008-05-09 2008-05-09 Automatic addressing method of series circuit and automatic detection method of series quantity Expired - Fee Related CN101577086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100952945A CN101577086B (en) 2008-05-09 2008-05-09 Automatic addressing method of series circuit and automatic detection method of series quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100952945A CN101577086B (en) 2008-05-09 2008-05-09 Automatic addressing method of series circuit and automatic detection method of series quantity

Publications (2)

Publication Number Publication Date
CN101577086A true CN101577086A (en) 2009-11-11
CN101577086B CN101577086B (en) 2012-01-04

Family

ID=41272014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100952945A Expired - Fee Related CN101577086B (en) 2008-05-09 2008-05-09 Automatic addressing method of series circuit and automatic detection method of series quantity

Country Status (1)

Country Link
CN (1) CN101577086B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538690A (en) * 2020-07-09 2020-08-14 深圳君略科技有限公司 Bidirectional signal transmission system and transmission method thereof
CN112599082A (en) * 2020-12-22 2021-04-02 深圳市明微电子股份有限公司 Adaptive addressing and addressing method, device, equipment and storage medium
CN113014686A (en) * 2021-02-07 2021-06-22 上海埃斯凯变压器有限公司 Method and system for automatically addressing multiple devices and electronic device
CN114093314A (en) * 2022-01-19 2022-02-25 北京显芯科技有限公司 Address setting method and device and display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043686A (en) * 1996-05-31 2000-03-28 Texas Instruments Incorporated Apparatus and method for transistor element reduction in circuits comparing serial data signals
CN1129055C (en) * 1999-03-30 2003-11-26 联阳半导体股份有限公司 Automatically detects which peripherals are connected to the parallel port and which devices are used to interface them
DE10124139A1 (en) * 2001-05-17 2002-11-21 Philips Corp Intellectual Pty Method for securing data transfer between a CPU and ROM memory, used in a chip card or similar, has an additional individual encryption code so that if a first code is known the memory remains secure
CN101082852B (en) * 2006-05-29 2012-07-18 联阳半导体股份有限公司 Control device and control method for memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538690A (en) * 2020-07-09 2020-08-14 深圳君略科技有限公司 Bidirectional signal transmission system and transmission method thereof
CN112599082A (en) * 2020-12-22 2021-04-02 深圳市明微电子股份有限公司 Adaptive addressing and addressing method, device, equipment and storage medium
CN113014686A (en) * 2021-02-07 2021-06-22 上海埃斯凯变压器有限公司 Method and system for automatically addressing multiple devices and electronic device
CN114093314A (en) * 2022-01-19 2022-02-25 北京显芯科技有限公司 Address setting method and device and display device
CN114093314B (en) * 2022-01-19 2022-08-30 北京显芯科技有限公司 Address setting method and device and display device

Also Published As

Publication number Publication date
CN101577086B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN111540318B (en) LED control system, device, method and storage medium
US20080294939A1 (en) Debugging device and method using the lpc/pci bus
CN101577086B (en) Automatic addressing method of series circuit and automatic detection method of series quantity
CN105279130A (en) Method for operating multiple I2C devices with same address
CN112825236A (en) Display driving system and method for display driving system
CN102237125A (en) Hard disk indicator lamp control system
US8225023B2 (en) Indicator control apparatus
CN101783098A (en) Serial transmission device and signal transmission method thereof
TWI416329B (en) Serially connected transmission apparatus and the method thereof
US11343065B2 (en) Serial bidirectional communication circuit and method thereof
TWI396154B (en) Auto-addressing method for series circuit and auto-detecting method for detecting the number of circuits connected in series
US11107389B2 (en) Data driving apparatus for display and driver thereof
CN103514059B (en) Chip applied to serial transmission system and related fault processing method
CN106055505A (en) Optical module and transmission method of data in optical module
CN104750583A (en) Mainboard power-on sequence diagnostic circuit
CN101470639B (en) Start signal generating device
CN113255864B (en) Electronic tag driving circuit, driver device and method for displaying multiple electronic tags
JP2005024821A (en) Driving circuit of display device
CN116781666B (en) Address configuration method, backlight control device and display device
CN102195630B (en) ON-OFF control circuit and switch send integrated circuit and switch performs integrated circuit
TWI813334B (en) LED array dead pixel data return method and LED display device
CN103425236B (en) Devices with multi-purpose interfaces
CN100536134C (en) Integrated circuit comprising a plurality of potential shifters
CN101430598A (en) input conversion device
TWI454927B (en) Indicator Control Apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20210509

CF01 Termination of patent right due to non-payment of annual fee