CN101652006A - LED driving circuit as well as serial communication system therewith and communication method - Google Patents

LED driving circuit as well as serial communication system therewith and communication method Download PDF

Info

Publication number
CN101652006A
CN101652006A CN200910099888A CN200910099888A CN101652006A CN 101652006 A CN101652006 A CN 101652006A CN 200910099888 A CN200910099888 A CN 200910099888A CN 200910099888 A CN200910099888 A CN 200910099888A CN 101652006 A CN101652006 A CN 101652006A
Authority
CN
China
Prior art keywords
recipient
instruction
data
drive circuit
led drive
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
CN200910099888A
Other languages
Chinese (zh)
Other versions
CN101652006B (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.)
Hangzhou Silan Microelectronics Co Ltd
Original Assignee
Hangzhou Silan Microelectronics 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 Hangzhou Silan Microelectronics Co Ltd filed Critical Hangzhou Silan Microelectronics Co Ltd
Priority to CN2009100998888A priority Critical patent/CN101652006B/en
Publication of CN101652006A publication Critical patent/CN101652006A/en
Application granted granted Critical
Publication of CN101652006B publication Critical patent/CN101652006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses an LED driving circuit as well as a serial communication system therewith. The serial communication system comprises a host computer and N slave computers, wherein the host computer comprises a sending terminal, each slave computer comprises a receiving terminal and a sending terminal; the sending terminal of the host computer is connected with the receiving terminal of a first slave computer, the sending terminal of the slave computer is connected in series with the receiving terminal of the next slave computer; and each slave computer also comprises a communication mode register controlling the slave computer to be in a direct-connection mode or a cascade connection mode. When a slave computer is in the direct-connection mode, the receiving terminal of the slave computer receives and directly sends a data transmission time sequence to the sending terminal of the slave computer. When a slave computer is in the cascade connection mode, the receiving terminal ofthe slave computer receives, analyzes and judges whether to send the data transmission time sequence or not according to an analyzed instruction and generates and sends a new data transmission time sequence to the sending terminal of the slave computer if the data need sending. The serial communication system is adopted for communication so that the host computer can control a gigantic amount of slave computers, has simple wiring and stronger anti-jamming capacity; and the addresses of the slave computers can be conveniently and rapidly configured by the invention.

Description

The series-connected communication system of led drive circuit and formation thereof and communication means
Technical field
The present invention relates to constitute the led drive circuit and the communication technology of series-connected communication system.
Background technology
At present extensively in the system of the LED control circuit that exists and led drive circuit formation, the LED control circuit is connected in series by data signal line with a plurality of led drive circuits, by clock cable, latch signal line and connect; By the serial connection of data signal line, the cooperation of clock cable, the LED control circuit sends to data the led drive circuit of serial connection successively; By the latch signal line and connect, the LED control circuit sends data latching instruction simultaneously to all led drive circuits; Because of clock cable, latch signal line and connect, the output port of a LED control circuit is limited by driving force, drive the input port of a large amount of led drive circuits as needs, need to increase the clock cable of LED control circuit, the output port quantity of latch signal line, perhaps between LED control circuit and led drive circuit, increase port driver circuit, as shown in Figure 1.
The system that another LED control circuit and led drive circuit constitute, as shown in Figure 2, the LED control circuit is connected in series by single line with a plurality of led drive circuits, and with respect to system shown in Figure 1, circuit is realized simple.The communication means of this LED system is: the control signal after each led chip is decoded, decoded signal is intercepted, the signal of intercepting is encoded, will be encoded then the control signal that receives sends to next led chip, and communication speed is slow.When especially the LED control circuit only need communicate partial L ED drive circuit, communication efficiency was low; The instruction that needs a plurality of led drive circuits to receive simultaneously or carry out of LED control circuit realizes difficulty in addition.
Summary of the invention
The present invention is intended to solve the deficiency of existing LED control circuit and led drive circuit construction system, and a kind of led drive circuit that constitutes series-connected communication system is provided, and the LED control circuit is connected in series by single line with a large amount of described led drive circuits and constitutes series-connected communication system.It is a large amount of led drive circuits of may command that this series-connected communication system, its LED control circuit only need a port, and cost is lower, wiring is simple, antijamming capability is strong.
The present invention simultaneously also provides the communication means of the series-connected communication system that a kind of communication efficiency height, instruction are enriched, controlled flexibly, synchronous effect is good.
A kind of led drive circuit comprises receiving terminal and transmitting terminal.
Described led drive circuit can also comprise receiving register, command register, communication pattern register, address register, data register, error register.
The data of described command register storage comprise address style value, instruction class offset.
The pattern of the data representation of described communication pattern register comprises direct mode operation, handles sequential sending mode, data time sequence sending mode.
A kind of series-connected communication system, comprise a LED control circuit and N described led drive circuit, described LED control circuit comprises transmitting terminal, and LED control circuit transmitting terminal connects first led drive circuit receiving terminal, and the led drive circuit transmitting terminal is connected in series next led drive circuit receiving terminal.
Described LED control circuit can also comprise receiving terminal, and described last led drive circuit transmitting terminal can also connect the receiving terminal of LED control circuit.
A kind of communication means of series-connected communication system, the LED control circuit is by N led drive circuit of serial connection, communicate with each led drive circuit, when the LED control circuit begins with once communicating by letter of each led drive circuit, the LED control circuit sends the reset timing of an instruction, the communication pattern register of each led drive circuit of serial connection is set to direct mode operation, each led drive circuit sends to transmitting terminal simultaneously with the sequential that receives under the direct mode operation, communication each time is all with straight-through beginning, carry out of the synchronous communication of LED control circuit to N led drive circuit of serial connection, each led drive circuit confirms effectively according to receiving instruction and the address that a LED control circuit or a last led drive circuit send synchronously the result selects whether direct mode operation is set to other pattern again, finish the corresponding instruction operation, during a sign off, the LED control circuit sends the reset timing of an instruction, and the communication pattern register of each led drive circuit reverts to direct mode operation the most at last.
A communication steps of described LED control circuit and each led drive circuit is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an instruction as transmit leg, and first led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient;
(2) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (3) according to previous step; B) led drive circuit then enters step (4) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit; C) led drive circuit is unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(3) led drive circuit sends an instruction as transmit leg, and next led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient, returns step (2) then;
(4) last led drive circuit sends an instruction as transmit leg, and the LED control circuit is operated according to instruction as the recipient, a sign off of LED control circuit and each led drive circuit;
(5) LED control circuit and each led drive circuit sign off.
Described LED control circuit is once communicated by letter with each led drive circuit, and the instruction that the LED control circuit sends comprises following type: operational order, data are provided with instruction, serial data send instruction, data move, data readback instruction, misaddress read-back order; The LED control circuit is communicated by letter with each led drive circuit, as required by the once combinations of communication realization of above-mentioned instruction type.In the communication that this combination realizes, the end of last communication all is a reset timing with the beginning of communicating by letter next time, can be multiplexing.
Described transmit leg is once communicated by letter with the recipient's, and instruction type is an operational order, as the operational order that the LED control circuit or the led drive circuit of transmit leg sends, is made up of successively following sequential: reset timing, effectively confirm sequential, reset timing; This moment, all led drive circuits were direct mode operation always, and the effective led drive circuit of Address Confirmation is carried out synchronously according to instruction, realized operating function.
The communication steps of transmit leg and recipient's once-through operation instruction is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient enters step (3) then according to the instruction executable operations; If Address Confirmation is invalid, directly enter step (3);
(3) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (4);
(4) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Described transmit leg and communicating by letter that recipient's once-through operation is instructed; according to instructing more detailed definition can carry out polytype operation; as latching of driving from data register to output of data etc.; different operations can design according to the practical application needs; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is that data are provided with instruction, the data of sending as the LED control circuit or the led drive circuit of transmit leg are provided with instruction, are made up of successively following sequential: reset timing, effectively confirm sequential, data time sequence 1, handle sequential 1, reset timing; This moment, all led drive circuits were direct mode operation always, and the effective led drive circuit of Address Confirmation is inserted data register with the data that receive synchronously according to instruction, realized that data are provided with function.
The communication steps that transmit leg and recipient's a secondary data is provided with instruction is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient carries out Data Receiving and prepares, and enters step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts data register with the reception data that receiving register is represented, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Described transmit leg is provided with communicating by letter of instruction with recipient's a secondary data, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence 1, handle increase data time sequence 2 on sequential 1 basis, handle sequential 2 ... data time sequence i, handle sequential i ... data time sequence n1, handle sequential n1, matched orders increases the corresponding communication step, is provided with to give n1 data register in the led drive circuit; Described transmit leg is provided with communicating by letter of instruction with recipient's a secondary data, and matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is that serial data send instruction, the serial data that sends as the LED control circuit of transmit leg send instruction, form successively by following sequential: reset timing, effectively confirm sequential, data time sequence 1, handle sequential 1 ..., data time sequence i, handle sequential i ..., data time sequence n2, handle sequential n2, reset timing, n2 represents the address number that needs string to send; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence that belongs to this led drive circuit in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted data register, realizes that serial data send function.
Transmit leg and recipient's a serial data send the communication steps of instruction to be:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the communication pattern register and handles the sequential sending mode, starts and handles the sequential transmission, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and after the processing sequential that completing steps (2) starts sends, the recipient inserts data register with the reception data that receiving register is represented, again the communication pattern register is changed to direct mode operation, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Described transmit leg send communicating by letter of instruction with recipient's a serial data, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence i, handle be revised as on the sequential i basis data time sequence i.1, handle sequential i.1, data time sequence i.2, handle sequential i.2 ..., data time sequence i.j, handle sequential i.j ..., data time sequence i.n3, handle sequential i.n3, matched orders increases the corresponding communication step, is provided with to give n3 data register in the led drive circuit; Described transmit leg send communicating by letter of instruction with recipient's a serial data, and matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is the data move, as the data move that the LED control circuit or the led drive circuit of transmit leg sends, form successively by following sequential: reset timing, effectively confirm sequential, data time sequence i, handle sequential i, reset timing; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence of a last effective led drive circuit of Address Confirmation in the instruction sequencing that receives the data time sequence transmission of this led drive circuit, and the corresponding data that receives inserted data register, realize the data locomotive function.
The communication steps of transmit leg and recipient's a secondary data move is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence that completing steps (2) starts sends, recipient's reception data that receiving register is represented are inserted data register then, again the communication pattern register are changed to direct mode operation, enter step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Communicating by letter of described transmit leg and recipient's a secondary data move, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence i, handle be revised as on the sequential i basis data time sequence i.1, handle sequential i.1, data time sequence i.2, handle sequential i.2 ..., data time sequence i.j, handle sequential i.j ..., data time sequence i.n4, handle sequential i.n4, matched orders increases the corresponding communication step, is provided with to give n4 data register in the led drive circuit; Communicating by letter of described transmit leg and recipient's a secondary data move, matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, and instruction type is data readback instruction, as the data readback instruction that the LED control circuit of transmit leg sends, is made up of successively following sequential: reset timing, effectively confirm sequential, reset timing; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation sends increasing the data time sequence of this led drive circuit in the instruction sequencing that receives and handling sequential, realizes the data readback function.
The communication steps of transmit leg and recipient's a data readback instruction is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (6);
(3) whether send according to the data in the data register in the effective led drive circuit in address, front and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, and the data that comprise are the data in the data register in the nearest led drive circuit that effectively do not send of address, front; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) send finish (transmit leg is the LED control circuit, and the recipient is the effective led drive circuit in first address, and the front does not have data to need to send, and is equal to send to finish) yet, enter step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Described transmit leg is once communicated by letter with the recipient's, and instruction type is the misaddress read-back order, Address Confirmation this moment invalid or Address Confirmation effectively but the error register value representation does not have wrong led drive circuit to be direct mode operation always; Address Confirmation effectively and increase the address date sequential of this led drive circuit and handle sequential in the vicious led drive circuit of the error register value representation instruction sequencing that will receive and send realizes misaddress retaking of a year or grade function.
The communication steps of transmit leg and recipient's a misaddress read-back order is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective and the error register value representation is vicious, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of enabling address register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid or Address Confirmation is effective but the error register value representation does not have mistake, enter step (6);
(3) according to the address, front effectively and the address in the vicious led drive circuit of error register value representation whether send and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, the data that comprise be the address, front effectively and the address of the vicious nearest led drive circuit that did not send of error register value representation; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) transmission finishes, and enters step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
That described recipient's error register record led drive circuit obtains the joint detection of external LED pipe, as opening the type of error value of short circuit etc.
Effective affirmation sequential in once the communicating by letter of described transmit leg and recipient form divide according to the address style value that comprises in the instruction following several: A) be the full address, then form successively: handle sequential 0, data time sequence 1, handle sequential 1 by following sequential; B) be single-address or start address, then form successively: handle sequential 0, data time sequence 1, processing sequential 1, data time sequence 2, handle sequential 2 by following sequential; C) then be made up of successively following sequential for interval address: handle sequential 0, data time sequence 1, processing sequential 1, data time sequence 2, handle sequential 2, data time sequence 3, handle sequential 3, the communication steps that described transmit leg and recipient's primary address is effectively confirmed is:
(1) transmit leg sends the processing sequential 0 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, waits for receiving data time sequence;
(2) transmit leg sends the data time sequence 1 of effective affirmation sequential of an instruction, and the data that comprise are instruction; The recipient receives data time sequence and is decoded to receiving register;
(3) transmit leg sends the processing sequential 1 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts command register with the receiving register value earlier, and select according to the address style value that comprises in the command register: A) the address style value is the full address, then enters step (12) again; B) the address style value is a single-address, then enters step (4); C) the address style value is a start address, then enters step (6); D) the address style value is interval address, then enters step (8);
(4) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are single-address; The recipient receives data time sequence and is decoded to receiving register;
(5) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register equals the address date that receiving register is represented, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(6) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are start address; The recipient receives data time sequence and is decoded to receiving register;
(7) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(8) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are interval start address; The recipient receives data time sequence and is decoded to receiving register;
(9) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register is if enter step (10); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(10) transmit leg sends the data time sequence 3 of effective affirmation sequential of an instruction, and the data that comprise are interval end address; The recipient receives data time sequence and is decoded to receiving register;
(11) transmit leg sends the processing sequential 3 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register is less than or equal to the data of receiving register presentation address, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(12) Address Confirmation is effective, and transmit leg and recipient's primary address is effectively confirmed to finish;
(13) Address Confirmation is invalid, and transmit leg and recipient's primary address is effectively confirmed to finish.
Described transmit leg and recipient's primary address is effectively confirmed communicates by letter; according to application need increase the definition of the address style value that comprises in the instruction and accordingly can more data sequential i, handle the cooperation of sequential i; can realize that more address effectively confirms mode; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
In described transmit leg and recipient's the communication steps; being connected with communicating by letter of recipient at transmit leg constantly can be slightly variant; but the sequencing of sequential is constant as long as transmit leg is communicated by letter with reciever; then do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
A kind of misaddress read-back approach of series-connected communication system is characterized in that the communication steps of a misaddress retaking of a year or grade of described LED control circuit and each led drive circuit is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends a misaddress read-back order as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient is according to the error register value, divide following situation: A) the error register value representation is wrong, the address date that then increases this led drive circuit in the misaddress read-back order that receives sends as new misaddress read-back order, enters step (3) then; B) the error register value representation does not have mistake, directly the instruction sequencing that receives is sent, and enters step (3) then;
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit then enters step (5) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit;
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) last led drive circuit is as transmit leg, and the LED control circuit is as the recipient, and the LED control circuit receives final misaddress read-back order, obtains vicious all addresses of error register value representation in the serial connection LED control circuit.
A kind of address of series-connected communication system string delivery method is characterized in that the communication steps that the primary address string of described LED control circuit and each led drive circuit send is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an address string and send instruction as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient replaces with the data time sequence that belongs to this led drive circuit address in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted address register, enters step (3) then.
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit connects the receiving terminal of LED control circuit or unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) sign off that send of the primary address string of LED control circuit and each led drive circuit.
Described reset timing is for surpassing first voltage of T1 time.
Described processing sequential is for surpassing second voltage of T2 time.
Described data time sequence is reset timing and handles sequential beyond the sequential, recipient's acquisition long numeric data of can decoding.
In once the communicating by letter of described transmit leg and recipient; the output of transmit leg is connected with recipient's receiving terminal by single line; transmit leg sends three class sequential: reset timing, data time sequence, processing sequential; the recipient receives and the laggard row of this three classes sequential of decoding is operated accordingly; such effect also can realize by other communication means; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
The invention has the beneficial effects as follows: a kind of led drive circuit that constitutes series-connected communication system is provided, the LED control circuit is connected in series by single line with a large amount of described led drive circuits and constitutes series-connected communication system, it is a large amount of led drive circuits of may command that this series-connected communication system only needs a delivery outlet of LED control circuit, and cost is lower, wiring is simple, antijamming capability is strong.
The communication means communication efficiency height of series-connected communication system provided by the invention, instruction simultaneously enriched, control is flexible, synchronous effect is good.The invention provides that operational order, data are provided with instruction, serial data send instruction, data move, data readback instruction, misaddress retaking of a year or grade, realize the LED control circuit to simultaneous operation, synchrodata setting, the rapid data string of the effective led drive circuit in address give, rapid data moves, rapid data retaking of a year or grade and misaddress retaking of a year or grade, utilizes the present invention can also realize the mailing address configuration of led drive circuit in the serial-connection system quickly and easily simultaneously.
Description of drawings
Fig. 1 is the present LED control circuit and the system of led drive circuit formation
Fig. 2 is the present LED control circuit and the system of led drive circuit formation
Fig. 3 is the series-connected communication system of LED control circuit of the present invention and led drive circuit formation
Fig. 4 is a communication flow diagram of LED control circuit of the present invention and each led drive circuit
The communication flow diagram of this present invention of Fig. 5 transmit leg and recipient's once-through operation instruction
Fig. 6 is the communicate by letter sequential schematic diagram of transmit leg of the present invention with recipient's operational order
This transmit leg of Fig. 7 and recipient's a secondary data is provided with the communication flow diagram of instruction
Fig. 8 is provided with the sequential schematic diagram of communicating by letter of instruction for transmit leg of the present invention and recipient's data
Fig. 9 send the communication flow diagram of instruction for transmit leg of the present invention and recipient's a serial data
Figure 10 send the sequential schematic diagram of communicating by letter of instruction for transmit leg of the present invention and recipient's serial data
Figure 11 is the communication flow diagram of transmit leg of the present invention and recipient's a secondary data move
Figure 12 is the communicate by letter sequential schematic diagram of transmit leg of the present invention with recipient's data move
Figure 13 is the communication flow diagram of transmit leg of the present invention and recipient's a data readback instruction
Figure 14 is the communicate by letter sequential schematic diagram of transmit leg of the present invention with recipient's data readback instruction
Figure 15 is the communication flow diagram of transmit leg of the present invention and recipient's a misaddress read-back order
Figure 16 is the communicate by letter sequential schematic diagram of transmit leg of the present invention with recipient's misaddress read-back order
The communication flow diagram that Figure 17 effectively confirms for transmit leg of the present invention and recipient's primary address
Figure 18 (a) and (b), (c), (d) effectively confirm the sequential schematic diagram for transmit leg of the present invention and recipient's primary address
Embodiment
Below in conjunction with accompanying drawing content of the present invention is further specified.
A kind of series-connected communication system, comprise a LED control circuit and N described led drive circuit, described LED control circuit comprises transmitting terminal, and LED control circuit transmitting terminal connects first led drive circuit receiving terminal, and the led drive circuit transmitting terminal is connected in series next led drive circuit receiving terminal.
Described LED control circuit can also comprise receiving terminal, and described last led drive circuit transmitting terminal can also connect the receiving terminal of LED control circuit, as shown in Figure 3.
A kind of communication means of series-connected communication system, the LED control circuit is by N led drive circuit of serial connection, communicate with each led drive circuit, when the LED control circuit begins with once communicating by letter of each led drive circuit, the LED control circuit sends the reset timing of an instruction, the communication pattern register of each led drive circuit of serial connection is set to direct mode operation, each led drive circuit sends to transmitting terminal simultaneously with the sequential that receives under the direct mode operation, communication each time is all with straight-through beginning, carry out of the synchronous communication of LED control circuit to N led drive circuit of serial connection, each led drive circuit confirms effectively according to receiving instruction and the address that a LED control circuit or a last led drive circuit send synchronously the result selects whether direct mode operation is set to other pattern again, finish the corresponding instruction operation, during a sign off, the LED control circuit sends the reset timing of an instruction, and the communication pattern register of each led drive circuit reverts to direct mode operation the most at last.
A communication steps of described LED control circuit and each led drive circuit is as shown in Figure 4:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an instruction as transmit leg, and first led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient;
(2) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (3) according to previous step; B) led drive circuit then enters step (4) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit; C) led drive circuit is unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(3) led drive circuit sends an instruction as transmit leg, and next led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient, returns step (2) then;
(4) last led drive circuit sends an instruction as transmit leg, and the LED control circuit is operated according to instruction as the recipient, a sign off of LED control circuit and each led drive circuit;
(5) LED control circuit and each led drive circuit sign off.
Described LED control circuit is once communicated by letter with each led drive circuit, and the instruction that the LED control circuit sends comprises following type: operational order, data are provided with instruction, serial data send instruction, data move, data readback instruction, misaddress read-back order; The communication of series-connected communication system is as required by the once combinations of communication realization of above-mentioned instruction type.In the communication that this combination realizes, the end of last communication all is a reset timing with the beginning of communicating by letter next time, can be multiplexing.
Described transmit leg is once communicated by letter with the recipient's, and instruction type is an operational order, as the operational order that the LED control circuit or the led drive circuit of transmit leg sends, is made up of successively following sequential: reset timing, effectively confirm sequential, reset timing; This moment, all led drive circuits were direct mode operation always, and the effective led drive circuit of Address Confirmation is carried out synchronously according to instruction, realized operating function.
The communication steps of transmit leg and recipient's once-through operation instruction is as shown in Figure 5:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient enters step (3) then according to the instruction executable operations; If Address Confirmation is invalid, directly enter step (3);
(3) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (4);
(4) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Transmit leg and recipient's operational order communicate by letter sequential as shown in Figure 6.
Described transmit leg and communicating by letter that recipient's once-through operation is instructed; according to instructing more detailed definition can carry out polytype operation; as latching of driving from data register to output of data etc.; different operations can design according to the practical application needs; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is that data are provided with instruction, the data of sending as the LED control circuit or the led drive circuit of transmit leg are provided with instruction, are made up of successively following sequential: reset timing, effectively confirm sequential, data time sequence 1, handle sequential 1, reset timing; This moment, all led drive circuits were direct mode operation always, and the effective led drive circuit of Address Confirmation is inserted data register with the data that receive synchronously according to instruction, realized that data are provided with function.
The communication steps that transmit leg and recipient's a secondary data is provided with instruction is as shown in Figure 7:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient carries out Data Receiving and prepares, and enters step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts data register with the reception data that receiving register is represented, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
What transmit leg and recipient's data were provided with instruction communicates by letter sequential as shown in Figure 8.
Described transmit leg is provided with communicating by letter of instruction with recipient's a secondary data, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence 1, handle increase data time sequence 2 on sequential 1 basis, handle sequential 2 ... data time sequence i, handle sequential i ... data time sequence n1, handle sequential n1, matched orders increases the corresponding communication step, is provided with to give n1 data register in the led drive circuit; Described transmit leg is provided with communicating by letter of instruction with recipient's a secondary data, and matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is that serial data send instruction, the serial data that sends as the LED control circuit of transmit leg send instruction, form successively by following sequential: reset timing, effectively confirm sequential, data time sequence 1, handle sequential 1 ..., data time sequence i, handle sequential i ..., data time sequence n2, handle sequential n2, reset timing, n2 represents the address number that needs string to send; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence that belongs to this led drive circuit in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted data register, realizes that serial data send function.
The communication steps that transmit leg and recipient's a serial data send instruction is as shown in Figure 9:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the communication pattern register and handles the sequential sending mode, starts and handles the sequential transmission, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and after the processing sequential that completing steps (2) starts sends, the recipient inserts data register with the reception data that receiving register is represented, again the communication pattern register is changed to direct mode operation, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
What transmit leg and recipient's serial data sent instruction communicates by letter sequential as shown in figure 10.
Described transmit leg send communicating by letter of instruction with recipient's a serial data, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence i, handle be revised as on the sequential i basis data time sequence i.1, handle sequential i.1, data time sequence i.2, handle sequential i.2 ..., data time sequence i.j, handle sequential i.j ..., data time sequence i.n3, handle sequential i.n3, matched orders increases the corresponding communication step, is provided with to give n3 data register in the led drive circuit; Described transmit leg send communicating by letter of instruction with recipient's a serial data, and matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, instruction type is the data move, as the data move that the LED control circuit or the led drive circuit of transmit leg sends, form successively by following sequential: reset timing, effectively confirm sequential, data time sequence i, handle sequential i, reset timing; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence of a last effective led drive circuit of Address Confirmation in the instruction sequencing that receives the data time sequence transmission of this led drive circuit, and the corresponding data that receives inserted data register, realize the data locomotive function.
The communication steps of transmit leg and recipient's a secondary data move is as shown in figure 11:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence that completing steps (2) starts sends, recipient's reception data that receiving register is represented are inserted data register then, again the communication pattern register are changed to direct mode operation, enter step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Transmit leg and recipient's data move communicate by letter sequential as shown in figure 12.
Communicating by letter of described transmit leg and recipient's a secondary data move, can also expression be provided with to give a data register of the effective led drive circuit in address data time sequence i, handle be revised as on the sequential i basis data time sequence i.1, handle sequential i.1, data time sequence i.2, handle sequential i.2 ..., data time sequence i.j, handle sequential i.j ..., data time sequence i.n4, handle sequential i.n4, matched orders increases the corresponding communication step, is provided with to give n4 data register in the led drive circuit; Communicating by letter of described transmit leg and recipient's a secondary data move, matched orders can also be provided with the data register of address register as one type to give address register.Above-mentioned change can not exceed the innovation and creation in the connotation scope of the present invention according to the design of practical application needs, all falls within the protection range of the present invention.
Described transmit leg is once communicated by letter with the recipient's, and instruction type is data readback instruction, as the data readback instruction that the LED control circuit of transmit leg sends, is made up of successively following sequential: reset timing, effectively confirm sequential, reset timing; The invalid led drive circuit of Address Confirmation this moment is a direct mode operation always; The effective led drive circuit of Address Confirmation sends increasing the data time sequence of this led drive circuit in the instruction sequencing that receives and handling sequential, realizes the data readback function.
The communication steps of data readback instruction of transmit leg and recipient is as shown in figure 13:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (6);
(3) whether send according to the data in the data register in the effective led drive circuit in address, front and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, and the data that comprise are the data in the data register in the nearest led drive circuit that effectively do not send of address, front; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) send finish (transmit leg is the LED control circuit, and the recipient is the effective led drive circuit in first address, and the front does not have data to need to send, and is equal to send to finish) yet, enter step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
Transmit leg and recipient's data readback instruction communicate by letter sequential as shown in figure 14;
Described transmit leg is once communicated by letter with the recipient's, and instruction type is the misaddress read-back order, Address Confirmation this moment invalid or Address Confirmation effectively but the error register value representation does not have wrong led drive circuit to be direct mode operation always; Address Confirmation effectively and increase the address date sequential of this led drive circuit and handle sequential in the vicious led drive circuit of the error register value representation instruction sequencing that will receive and send realizes misaddress retaking of a year or grade function.
The communication steps of transmit leg and recipient's a misaddress read-back order is as shown in figure 15:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective and the error register value representation is vicious, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of enabling address register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid or Address Confirmation is effective but the error register value representation does not have mistake, enter step (6);
(3) according to the address, front effectively and the address in the vicious led drive circuit of error register value representation whether send and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, the data that comprise be the address, front effectively and the address of the vicious nearest led drive circuit that did not send of error register value representation; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) transmission finishes, and enters step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
That described recipient's error register record led drive circuit obtains the joint detection of external LED pipe, as opening the type of error value of short circuit etc.
Transmit leg and recipient's data readback instruction communicate by letter sequential as shown in figure 16;
Effective affirmation sequential in once the communicating by letter of described transmit leg and recipient form divide according to the address style value that comprises in the instruction following several: A) be the full address, then form successively: handle sequential 0, data time sequence 1, handle sequential 1 by following sequential; B) be single-address or start address, then form successively: handle sequential 0, data time sequence 1, processing sequential 1, data time sequence 2, handle sequential 2 by following sequential; C) then form successively for interval address by following sequential: handle sequential 0, data time sequence 1, handle sequential 1, data time sequence 2, handle sequential 2, data time sequence 3, handle sequential 3, described transmit leg and recipient's primary address effectively affirmation communication steps as shown in figure 17:
(1) transmit leg sends the processing sequential 0 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, waits for receiving data time sequence;
(2) transmit leg sends the data time sequence 1 of effective affirmation sequential of an instruction, and the data that comprise are instruction; The recipient receives data time sequence and is decoded to receiving register;
(3) transmit leg sends the processing sequential 1 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts command register with the receiving register value earlier, and select according to the address style value that comprises in the command register: A) the address style value is the full address, then enters step (12) again; B) the address style value is a single-address, then enters step (4); C) the address style value is a start address, then enters step (6); D) the address style value is interval address, then enters step (8);
(4) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are single-address; The recipient receives data time sequence and is decoded to receiving register;
(5) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register equals the address date that receiving register is represented, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(6) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are start address; The recipient receives data time sequence and is decoded to receiving register;
(7) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(8) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are interval start address; The recipient receives data time sequence and is decoded to receiving register;
(9) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register is if enter step (10); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(10) transmit leg sends the data time sequence 3 of effective affirmation sequential of an instruction, and the data that comprise are interval end address; The recipient receives data time sequence and is decoded to receiving register;
(11) transmit leg sends the processing sequential 3 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register is less than or equal to the data of receiving register presentation address, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(12) Address Confirmation is effective, and transmit leg and recipient's primary address is effectively confirmed to finish;
(13) Address Confirmation is invalid, and transmit leg and recipient's primary address is effectively confirmed to finish.
Sequential such as Figure 18 (a) are effectively confirmed in transmit leg and recipient's a full address, transmit leg and recipient's a single-address effectively confirm sequential as Figure 18 (b), transmit leg and recipient's a start address effectively confirm sequential as Figure 18 (c), transmit leg and recipient's once interval address effectively confirm sequential as figure (d) shown in.
Described transmit leg and recipient's primary address is effectively confirmed communicates by letter; according to application need increase the definition of the address style value that comprises in the instruction and accordingly can more data sequential i, handle the cooperation of sequential i; can realize that more address effectively confirms mode; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
In described transmit leg and recipient's the communication steps; being connected with communicating by letter of recipient at transmit leg constantly can be slightly variant; but the sequencing of sequential is constant as long as transmit leg is communicated by letter with reciever; then do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
A kind of misaddress read-back approach of series-connected communication system is characterized in that the communication steps of a misaddress retaking of a year or grade of described LED control circuit and each led drive circuit is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends a misaddress read-back order as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient is according to the error register value, divide following situation: A) the error register value representation is wrong, the address date that then increases this led drive circuit in the misaddress read-back order that receives sends as new misaddress read-back order, enters step (3) then; B) the error register value representation does not have mistake, directly the instruction sequencing that receives is sent, and enters step (3) then;
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit then enters step (5) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit;
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) last led drive circuit is as transmit leg, and the LED control circuit is as the recipient, and the LED control circuit receives final misaddress read-back order, obtains vicious all addresses of error register value representation in the serial connection LED control circuit.
A kind of address of series-connected communication system string delivery method is characterized in that the communication steps that the primary address string of described LED control circuit and each led drive circuit send is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an address string and send instruction as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient replaces with the data time sequence that belongs to this led drive circuit address in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted address register, enters step (3) then.
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit connects the receiving terminal of LED control circuit or unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) sign off that send of the primary address string of LED control circuit and each led drive circuit.
Described reset timing is for surpassing first voltage of T1 time.
Described processing sequential is for surpassing second voltage of T2 time.
Described data time sequence is reset timing and handles sequential beyond the sequential, recipient's acquisition long numeric data of can decoding.
In once the communicating by letter of described transmit leg and recipient; the output of transmit leg is connected with recipient's receiving terminal by single line; transmit leg sends three class sequential: reset timing, data time sequence, processing sequential; the recipient receives and the laggard row of this three classes sequential of decoding is operated accordingly; such effect also can realize by other communication means; do not exceed the innovation and creation in the connotation scope of the present invention, all fall within the protection range of the present invention.
What should be understood that is, the foregoing description is just to explanation of the present invention, rather than limitation of the present invention, and any innovation and creation that do not exceed in the connotation scope of the present invention all fall within the protection range of the present invention.

Claims (26)

1. the communication means of series-connected communication system, it is characterized in that the LED control circuit is by N led drive circuit of serial connection, communicate with each led drive circuit, when the LED control circuit begins with once communicating by letter of each led drive circuit, the LED control circuit sends the reset timing of an instruction, the communication pattern register of each led drive circuit of serial connection is set to direct mode operation, each led drive circuit sends to transmitting terminal simultaneously with the sequential that receives under the direct mode operation, communication each time is all with straight-through beginning, carry out of the synchronous communication of LED control circuit to N led drive circuit of serial connection, each led drive circuit confirms effectively according to instruction and address that the LED control circuit that receives synchronously or a last led drive circuit send the result selects whether direct mode operation is set to other pattern again, finish corresponding operation, during a sign off, the LED control circuit sends the reset timing of an instruction, and the communication pattern register of each led drive circuit reverts to direct mode operation the most at last.
2. the communication means of series-connected communication system according to claim 1 is characterized in that all led drive circuits are direct mode operation always, and the effective led drive circuit of Address Confirmation is realized operating function according to the synchronous executable operations of instruction.
3. the communication means of series-connected communication system according to claim 1, it is characterized in that all led drive circuits are direct mode operation always, the effective led drive circuit of Address Confirmation is inserted data register with the data that receive synchronously according to instruction, realizes that data are provided with function.
4. the communication means of series-connected communication system according to claim 1 is characterized in that the invalid led drive circuit of Address Confirmation is direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence that belongs to this led drive circuit in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted data register, realizes that serial data send function.
5. the communication means of series-connected communication system according to claim 1 is characterized in that the invalid led drive circuit of Address Confirmation is direct mode operation always; The effective led drive circuit of Address Confirmation replaces with the data time sequence of a last effective led drive circuit of Address Confirmation in the instruction sequencing that receives the data time sequence transmission of this led drive circuit, and the corresponding data that receives inserted data register, realize the data locomotive function.
6. the communication means of series-connected communication system according to claim 1 is characterized in that the invalid led drive circuit of Address Confirmation is direct mode operation always; The effective led drive circuit of Address Confirmation sends increasing the data time sequence of this led drive circuit in the instruction sequencing that receives and handling sequential, realizes the data readback function.
7. the communication means of series-connected communication system according to claim 1, it is characterized in that Address Confirmation invalid or Address Confirmation effectively but the error register value representation does not have wrong led drive circuit to be direct mode operation always; Address Confirmation effectively and increase the address date sequential of this led drive circuit and handle sequential in the vicious led drive circuit of the error register value representation instruction sequencing that will receive and send realizes misaddress retaking of a year or grade function.
8. the communication means of series-connected communication system according to claim 1 is characterized in that a communication steps of described LED control circuit and each led drive circuit is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an instruction as transmit leg, and first led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient;
(2) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (3) according to previous step; B) led drive circuit then enters step (4) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit; C) led drive circuit is unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(3) led drive circuit sends an instruction as transmit leg, and next led drive circuit is as the recipient, carries out once communicating by letter of transmit leg and recipient, returns step (2) then;
(4) last led drive circuit sends an instruction as transmit leg, and the LED control circuit is operated according to instruction as the recipient, a sign off of LED control circuit and each led drive circuit;
(5) LED control circuit and each led drive circuit sign off.
9. as the communication means of series-connected communication system as described in the claim 8, it is characterized in that transmit leg sends in once the communicating by letter of LED control circuit and each led drive circuit a instruction is a kind of in the following instruction type: operational order, data are provided with instruction, serial data send instruction, data move, data readback instruction, misaddress read-back order; The communication of series-connected communication system is realized by the combinations of communication of above-mentioned once command type as required.
10. as the communication means of series-connected communication system as described in the claim 9, it is characterized in that described instruction type is an operational order, the communication steps of transmit leg and recipient's once-through operation instruction is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient enters step (3) then according to the instruction executable operations; If Address Confirmation is invalid, directly enter step (3);
(3) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (4);
(4) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
11. the communication means as series-connected communication system as described in the claim 9 is characterized in that instruction type is that data are provided with instruction, the communication steps that transmit leg and recipient's a secondary data is provided with instruction is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carries out transmit leg and recipient's primary address and effectively confirms: if Address Confirmation is effective, the recipient carries out Data Receiving and prepares, and enters step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts data register with the reception data that receiving register is represented, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
12. the communication means as series-connected communication system as described in the claim 9 is characterized in that instruction type is that serial data send instruction, transmit leg and recipient's a serial data send the communication steps of instruction to be:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the communication pattern register and handles the sequential sending mode, starts and handles the sequential transmission, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and after the processing sequential that completing steps (2) starts sends, the recipient inserts data register with the reception data that receiving register is represented, again the communication pattern register is changed to direct mode operation, enters step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
13. the communication means as series-connected communication system as described in the claim 9 is characterized in that instruction type is the data move, the communication steps of transmit leg and recipient's a secondary data move is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (5);
(3) transmit leg sends the data time sequence of an instruction, and the data that comprise are for receiving data; The recipient receives data time sequence and is decoded to receiving register;
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence that completing steps (2) starts sends, recipient's reception data that receiving register is represented are inserted data register then, again the communication pattern register are changed to direct mode operation, enter step (5) then;
(5) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (6);
(6) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
14. as the communication means of series-connected communication system as described in the claim 9, it is characterized in that instruction type is the data readback instruction, the communication steps that transmit leg and recipient's a data readback instructs is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of log-on data register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid, enter step (6);
(3) whether send according to the data in the data register in the effective led drive circuit in address, front and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, and the data that comprise are the data in the data register in the nearest led drive circuit that effectively do not send of address, front; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) transmission finishes, and enters step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
15. the communication means as series-connected communication system as described in the claim 9 is characterized in that instruction type is the misaddress read-back order, the communication steps of transmit leg and recipient's a misaddress read-back order is:
(1) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, and the communication pattern register is changed to direct mode operation, and from this moment, if following steps are not set to other pattern again with direct mode operation, then the recipient sends to transmitting terminal simultaneously with the sequential that receives;
(2) transmit leg sends effective affirmation sequential of an instruction; The recipient receives effective affirmation sequential, carrying out transmit leg and recipient's primary address effectively confirms: if Address Confirmation is effective and the error register value representation is vicious, the recipient is changed to the data time sequence sending mode with the communication pattern register, the data time sequence of enabling address register sends, carry out Data Receiving simultaneously and prepare, enter step (3) then; If Address Confirmation is invalid or Address Confirmation is effective but the error register value representation does not have mistake, enter step (6);
(3) according to the address, front effectively and the address in the vicious led drive circuit of error register value representation whether send and finish, divide following situation: A) transmission does not finish, then transmit leg sends the data time sequence of an instruction, the data that comprise be the address, front effectively and the address of the vicious nearest led drive circuit that did not send of error register value representation; The recipient receives data time sequence and is decoded to receiving register, enters step (4); B) transmission finishes, and enters step (5);
(4) transmit leg sends the processing sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously the T2 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to the data time sequence sending mode, the data time sequence that starts in the receiving register sends, and carries out Data Receiving simultaneously and prepares, and returns step (3) then;
(5) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously the T1 time, and after the data time sequence of finishing the previous step startup sends, again the communication pattern register is changed to and handles the sequential sending mode, send and handle sequential, then the communication pattern register is changed to direct mode operation, transmit leg and recipient's a sign off;
(6) recipient's communication pattern register is a direct mode operation, and the recipient sends to transmitting terminal simultaneously with the sequential that receives, and sends the reset timing of an instruction up to transmit leg, enters step (7);
(7) transmit leg sends the reset timing of an instruction, for surpassing first voltage of T1 time; The recipient receives first voltage and is continuously T1 after the time, transmit leg and recipient's a sign off.
16., it is characterized in that the communication steps that described transmit leg and recipient's primary address is effectively confirmed is as the communication means of series-connected communication system as described in the claim 10,11,12,13,14,15:
(1) transmit leg sends the processing sequential 0 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, waits for receiving data time sequence;
(2) transmit leg sends the data time sequence 1 of effective affirmation sequential of an instruction, and the data that comprise are instruction; The recipient receives data time sequence and is decoded to receiving register;
(3) transmit leg sends the processing sequential 1 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the recipient inserts command register with the receiving register value earlier, and select according to the address style value that comprises in the command register: A) the address style value is the full address, then enters step (12) again; B) the address style value is a single-address, then enters step (4); C) the address style value is a start address, then enters step (6); D) the address style value is interval address, then enters step (8);
(4) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are single-address; The recipient receives data time sequence and is decoded to receiving register;
(5) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register equals the address date that receiving register is represented, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(6) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are start address; The recipient receives data time sequence and is decoded to receiving register;
(7) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(8) transmit leg sends the data time sequence 2 of effective affirmation sequential of an instruction, and the data that comprise are interval start address; The recipient receives data time sequence and is decoded to receiving register;
(9) transmit leg sends the processing sequential 2 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and the address date whether recipient's compare address register is represented more than or equal to receiving register is if enter step (10); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(10) transmit leg sends the data time sequence 3 of effective affirmation sequential of an instruction, and the data that comprise are interval end address; The recipient receives data time sequence and is decoded to receiving register;
(11) transmit leg sends the processing sequential 3 of effective affirmation sequential of an instruction, for surpassing second voltage of T2 time; The recipient receives second voltage and is continuously T2 after the time, and whether recipient's compare address register is less than or equal to the data of receiving register presentation address, if efficiency confirmed for presentation address, enters step (12); Otherwise it is invalid that presentation address is confirmed, enters step (13);
(12) Address Confirmation is effective, and transmit leg and recipient's primary address is effectively confirmed to finish;
(13) Address Confirmation is invalid, and transmit leg and recipient's primary address is effectively confirmed to finish.
17.LED drive circuit, it is characterized in that comprising transmitting terminal, receiving terminal, the receiving terminal of described led drive circuit receives an instruction, article one, instruction begins with reset timing, led drive circuit communication pattern register is set to direct mode operation, led drive circuit sends to transmitting terminal simultaneously with the sequential that receives under the direct mode operation, led drive circuit confirms effectively according to follow-up instruction sequencing that receives and address the result selects whether direct mode operation is set to other pattern again, finish corresponding operation, article one, instruction finishes with reset timing, and the communication pattern register of led drive circuit reverts to direct mode operation the most at last.
18., it is characterized in that other pattern comprises to handle sequential sending mode, data time sequence sending mode as led drive circuit as described in the claim 17.
19., it is characterized in that led drive circuit is direct mode operation, if Address Confirmation is effective, then carries out according to instruction always as led drive circuit as described in the claim 17.
20., it is characterized in that led drive circuit is direct mode operation, if Address Confirmation is effective, then inserts data register according to instruction with the data that receive always as led drive circuit as described in the claim 17.
21., it is characterized in that then led drive circuit is a direct mode operation if Address Confirmation is invalid always as led drive circuit as described in the claim 17; If Address Confirmation is effective, then the data time sequence that belongs to this led drive circuit in the instruction sequencing that receives is replaced with and handle the sequential transmission, and the corresponding data that receives is inserted data register.
22., it is characterized in that the invalid led drive circuit of Address Confirmation is direct mode operation always as led drive circuit as described in the claim 17; If Address Confirmation is effective, the data time sequence that then corresponding data sequential in the instruction sequencing that receives is replaced with this led drive circuit sends, and the corresponding data that receives is inserted data register.
23., it is characterized in that the invalid led drive circuit of Address Confirmation is direct mode operation always as led drive circuit as described in the claim 17; If Address Confirmation is effective, then send increasing the data time sequence of this led drive circuit in the instruction sequencing that receives and handling sequential.
24. as led drive circuit as described in the claim 17, it is characterized in that Address Confirmation invalid or Address Confirmation effectively but the error register value representation does not have wrong led drive circuit to be direct mode operation always; If Address Confirmation is effective and the error register value representation is wrong, then will increases the address date sequential of this led drive circuit in the instruction sequencing that receive and handle the sequential transmission.
25. the misaddress read-back approach of series-connected communication system is characterized in that the communication steps of a misaddress retaking of a year or grade of described LED control circuit and each led drive circuit is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends a misaddress read-back order as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient is according to the error register value, divide following situation: A) the error register value representation is wrong, the address date that then increases this led drive circuit in the misaddress read-back order that receives sends as new misaddress read-back order, enters step (3) then; B) the error register value representation does not have mistake, directly the instruction sequencing that receives is sent, and enters step (3) then;
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit then enters step (5) as the receiving terminal of the transmitting terminal connection LED control circuit of last led drive circuit;
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) last led drive circuit is as transmit leg, and the LED control circuit is as the recipient, and the LED control circuit receives final misaddress read-back order, obtains vicious all addresses of error register value representation in the serial connection LED control circuit.
26. string delivery method in the address of series-connected communication system is characterized in that the communication steps that the primary address string of described LED control circuit and each led drive circuit send is:
(1) transmitting terminal of LED control circuit connects the receiving terminal of first led drive circuit, and the LED control circuit sends an address string and send instruction as transmit leg, and first led drive circuit enters step (2) as the recipient;
(2) recipient replaces with the data time sequence that belongs to this led drive circuit address in the instruction sequencing that receives and handles the sequential transmission, and the corresponding data that receives is inserted address register, enters step (3) then.
(3) as the connection of recipient's led drive circuit transmitting terminal in the following several ways: A) transmitting terminal of led drive circuit connects the receiving terminal of next led drive circuit, then enters step (4) according to previous step; B) led drive circuit connects the receiving terminal of LED control circuit or unsettled as the transmitting terminal of last led drive circuit, then enters step (5);
(4) led drive circuit is as transmit leg, and next led drive circuit returns step (2) then as the recipient;
(5) sign off that send of the primary address string of LED control circuit and each led drive circuit.
CN2009100998888A 2009-06-19 2009-06-19 LED driving circuit as well as serial communication system therewith and communication method Active CN101652006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100998888A CN101652006B (en) 2009-06-19 2009-06-19 LED driving circuit as well as serial communication system therewith and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100998888A CN101652006B (en) 2009-06-19 2009-06-19 LED driving circuit as well as serial communication system therewith and communication method

Publications (2)

Publication Number Publication Date
CN101652006A true CN101652006A (en) 2010-02-17
CN101652006B CN101652006B (en) 2013-01-23

Family

ID=41674055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100998888A Active CN101652006B (en) 2009-06-19 2009-06-19 LED driving circuit as well as serial communication system therewith and communication method

Country Status (1)

Country Link
CN (1) CN101652006B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916543A (en) * 2010-07-07 2010-12-15 杭州士兰微电子股份有限公司 Data communication method of LED display system
CN105392242A (en) * 2015-02-16 2016-03-09 李玉诚 Intelligent illumination control system and method for narrow and long gallery
CN106559299A (en) * 2015-09-30 2017-04-05 杭州士兰控股有限公司 Serial communication device, serial communication system and serial communication method
CN107683445A (en) * 2015-06-16 2018-02-09 瑟兰尼卡生物电子有限公司 The multiple sensing of multiple serial protocols is used by common interconnection scheme
CN114126140A (en) * 2021-12-06 2022-03-01 张志宝 LED automatic coding method and system
CN114449051A (en) * 2021-12-27 2022-05-06 航天行云科技有限公司 Data packet transmission method and device and communication equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201039518Y (en) * 2007-04-06 2008-03-19 苏州日月成科技有限公司 Multi-level LED drive circuit using multiple constant current deviated voltage
CN101043778A (en) * 2007-04-06 2007-09-26 苏州日月成科技有限公司 Multi-stage LED driving circuit for preventing interstage interference
CN101260997B (en) * 2008-04-24 2011-01-12 辽宁九通电力电子有限公司 Tandem LED driven intelligence control system possessing output protecting function

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916543A (en) * 2010-07-07 2010-12-15 杭州士兰微电子股份有限公司 Data communication method of LED display system
CN101916543B (en) * 2010-07-07 2012-06-27 杭州士兰微电子股份有限公司 Data communication method of LED display system
CN105392242A (en) * 2015-02-16 2016-03-09 李玉诚 Intelligent illumination control system and method for narrow and long gallery
CN105392242B (en) * 2015-02-16 2017-11-03 李玉诚 A kind of gallery intelligent lighting system and method
CN107683445A (en) * 2015-06-16 2018-02-09 瑟兰尼卡生物电子有限公司 The multiple sensing of multiple serial protocols is used by common interconnection scheme
CN107683445B (en) * 2015-06-16 2021-04-27 瑟兰尼卡生物电子有限公司 Multiple sensing using multiple serial protocols through a common interconnection scheme
CN106559299A (en) * 2015-09-30 2017-04-05 杭州士兰控股有限公司 Serial communication device, serial communication system and serial communication method
CN114126140A (en) * 2021-12-06 2022-03-01 张志宝 LED automatic coding method and system
CN114449051A (en) * 2021-12-27 2022-05-06 航天行云科技有限公司 Data packet transmission method and device and communication equipment
CN114449051B (en) * 2021-12-27 2022-12-23 航天行云科技有限公司 Data packet transmission method and communication equipment

Also Published As

Publication number Publication date
CN101652006B (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN101652006A (en) LED driving circuit as well as serial communication system therewith and communication method
CN102023954B (en) Device with multiple I2C buses, processor, system main board and industrial controlled computer
CN102023953B (en) Control method of system having many inter-integrated circuit (I2C) buses
CN101208678B (en) Software layer for communication between RS-232 to I2C translation IC and a host
CN101751364B (en) Firmware ISP burner and burning method for SPI bus interface
CN101493805B (en) Scalable bus structure
CN207718364U (en) A kind of multichannel RS-422 serial ports expansion interfaces based on FPGA
CN104199796B (en) IIC communication means and the embedded system for realizing IIC communications
CN103454996A (en) Master-slave computer system and control method thereof
CN102999425A (en) Housekeeping software simulation test system based on technology of virtual instrument
CN109582623B (en) Expansion board circuit capable of realizing cascade connection of multiple expansion boards of different types
CN102866683A (en) Signal conversion device and automatic testing system
CN102193888B (en) Data transmission system and programmable serial peripheral interface controller
CN1570877A (en) Universal serial communication interface debugging device and method
CN101082896A (en) Control method and device between master-salve module
CN113075904A (en) PLC extension system, PLC system communication method and storage medium
CN1949164B (en) Time-division multiplexing IC card interface equipment
CN1728120A (en) Control system and bus connecting method with master controller and peripheral controllers
CN102421010A (en) Software debugging system and method compatible to video graphics array (VGA) port input
CN102012877A (en) Method for expanding embedded processor GPIO by using CPLD
CN102799549A (en) Multi-source-port data processing method and device
CN102445981A (en) Data transmission system and data transmission method
CN102298416A (en) Server system
CN209906370U (en) MCU data signal serial-parallel conversion circuit control system
CN107908584B (en) Multi-path RS-485 communication network

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