CN101431848B - Control device, automatic fault reporting system and method - Google Patents

Control device, automatic fault reporting system and method Download PDF

Info

Publication number
CN101431848B
CN101431848B CN200810227040.4A CN200810227040A CN101431848B CN 101431848 B CN101431848 B CN 101431848B CN 200810227040 A CN200810227040 A CN 200810227040A CN 101431848 B CN101431848 B CN 101431848B
Authority
CN
China
Prior art keywords
signal
cascade channel
module
main
control device
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.)
Expired - Fee Related
Application number
CN200810227040.4A
Other languages
Chinese (zh)
Other versions
CN101431848A (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.)
Celebrating Photoelectric Display Scientific And Technological Development Co Ltd In Shenzhen
Original Assignee
Celebrating Photoelectric Display Scientific And Technological Development Co Ltd In Shenzhen
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 Celebrating Photoelectric Display Scientific And Technological Development Co Ltd In Shenzhen filed Critical Celebrating Photoelectric Display Scientific And Technological Development Co Ltd In Shenzhen
Priority to CN200810227040.4A priority Critical patent/CN101431848B/en
Publication of CN101431848A publication Critical patent/CN101431848A/en
Application granted granted Critical
Publication of CN101431848B publication Critical patent/CN101431848B/en
Expired - Fee Related 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 present invention discloses a control device including main decoding module, subsidiary decoding module, main coding module, subsidiary coding module, display control module and local clock module, which used to provide clock signal to the above module. The invention also discloses a failure report system and failure report method thereof.

Description

The system and method for a kind of control device, automatic fault reporting
Technical field
The present invention relates to LED control field, in particular a kind of control device of LED control system and apply the system and method that this device carries out Trouble Report.
Background technology
Along with being widely used of LED, adopt LED transmitting three primary colors to be manufactured in a large number to form LED display unit, the lamp decoration of image according to pixel, and for the message panel in sports ground, building, railway station or billboard.
LED display unit and lamp decoration mainly comprise control circuit and some LED.At LED control field, mainly exist 3 kinds of schemes for cascade control signal transmission in system such as monobus parallel transmission structure, multi-thread (as two lines, four lines) serial transmission structure and single-wire serial transmission structure.
Be illustrated in figure 1 the single-wire serial transmission scheme schematic diagram of prior art, adopt single holding wire to connect shown in figure in system between each light fixture, the control signal of light fixture is sent by the controller of left end, and the light fixture 1 of transmission process is successively to light fixture n from left to right.This cascade system will adopt single holding wire transmission data, with respect to monobus parallel transmission structure and multi-thread serial transmission structure, guarantee under the prerequisite of system cascade performance, greatly reduce the cost that system complexity and system realize.In the middle of every one-level light fixture, control device completes the input and output of cascade data, and generates display control signal ctrl and control LED and drive chip 1~m, by driving chip by drive R, G, the demonstration of B lamp point.Yet, certain one-level light fixture in the middle of the cascade chain of whole system because of fault disconnect or cascade chain in the LED that controls of certain tandem node device while driving chip and LED lamp point to break down, whole cascade chain will be at a standstill, if manually carry out fault detect, time-consuming, in the urgent need to a kind of Trouble Report generation system that can fault type be judged and the position of fault point is recorded, to carry out accident analysis and eliminating.
Prior art is not is not also researched and developed such failure reporting system.
Therefore, there is defect in prior art, needs to improve.
Summary of the invention
The invention provides a kind of control device.
The present invention also provides a kind of Trouble Report generation system that can automatically judge fault type and the position of fault point is recorded.
The present invention provides a kind of Trouble Report generation method that can automatically judge fault type and the position of fault point is recorded in addition.
The invention provides a kind of control device, it comprises: for the local clock module of clock signal is provided, and respectively coupled main decoder module, from decoder module, main coding module with from coding module;
Described control device also comprises the display control module being connected with above-mentioned each module, for judging validity and the signal validity of master and slave cascade channel, processes the input signal of master and slave cascade channel;
Described main decoder module, for receiving the serial input signals of main cascade channel, sends to described display control module after decoding;
Described from decoder module for receiving the serial input signals from cascade channel, after decoding, send to described display control module;
Described main coding module, for the main cascade channel serial output signal of described display control module is encoded, is transmitted by main cascade channel;
Described from coding module for to the encoding from cascade channel serial output signal of described display control module, by transmitting from cascade channel.
Described control device, wherein, described display control module comprises:
The first judging unit, for judging the signal that whether has stabilized frequency in master and slave cascade channel;
The second judging unit, for judging that in master and slave cascade channel, whether signal is effective;
And data processing unit, for intercepting local data, adding set state bag.
Described control device, wherein, described main decoder module and describedly adopt identical decoding protocol element from decoder module, described main coding module and describedly adopt identical coding protocol unit from coding module.
Described control device, wherein, in described decoding protocol element and described coding protocol unit, adopts the pulse signal of a complete cycle to represent 1 signal, and wherein, the high level time of logical one is greater than the high level time of logical zero.
The present invention also provides a kind of system of automatic fault reporting, comprising: control device, the level of master controller, at least one and master controller cascade is associated in of control device tail end from controller; Master controller and control device form main cascade channel, from controller and control device, form from cascade channel; Described master controller, for sending main connection input signal, receives from cascade channel output signal; Described from controller, for sending from cascade input signal, receive main cascade channel output signal; Described control device comprises: for the local clock module of clock signal is provided, and respectively coupled main decoder module, from decoder module, main coding module with from coding module; Also comprise the display control module being connected with above-mentioned each module, for judging validity and the signal validity of master and slave cascade channel, process the input signal of master and slave cascade channel; Described main decoder module, for receiving the serial input signals of main cascade channel, sends to described display control module after decoding; Described from decoder module for receiving the serial input signals from cascade channel, after decoding, send to described display control module; Described main coding module, for the main cascade channel serial output signal to described display control module, is encoded, and by main cascade channel, transmits; Described from coding module for to described display control module from cascade channel serial output signal, encode, by transmitting from cascade channel.
Described system, wherein, described main decoder module and describedly adopt identical decoding protocol element from decoder module, described main coding module and describedly adopt identical coding protocol unit from coding module.
Described system, wherein, in described decoding protocol element and coding protocol unit: adopt the pulse signal of a complete cycle to represent 1 signal, the high level time of logical one is greater than the high level time of logical zero.
Described system, also comprises the LED lamp point that at least one and described display control module is connected, and described display control module receives the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
Described system, also comprise at least one drive unit, each drive unit at least connects a LED lamp point, described display control module is controlled each LED lamp point by each drive unit, described display control module receives the fault message of each drive unit and the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
The present invention also provides a kind of method of automatic fault reporting, comprises following steps:
A, to control device at different levels, sequentially carry out respectively following steps:
A1: the input signal decoding to master and slave cascade channel; Wherein said input signal is comprised of frame signal, and every frame signal comprises: frame starts bag, frame state bag and frame data bag;
A2: the frame that detects each frame signal starts bag, judges that respectively whether master and slave cascade channel is effective; All, carry out A3, arbitrary is no, carries out A4;
A3: to each input signal, reading its frame state bag, judge its whether useful signal, is to obtain its frame data bag, is its adding set state bag, otherwise directly forwards; Carry out A5;
A4: to the input signal in effective passage, reading its frame state bag, obtain its frame data bag, is its adding set state bag; To invalid passage, adopt the output signal of effective passage as output;
A5: the master and slave cascade channel signal of coding output;
B, analyze the output signal of final master and slave cascade channel, obtain Trouble Report.
Described method, in described frame signal, described frame starts bag, described frame state bag, described frame data bag, and the data bits comprising is identical.
Described method, adopts the pulse signal of a complete cycle to represent 1 signal, and the high level time of logical one is greater than the high level time of logical zero.
Described method, in steps A 3, described adding set state bag, specifically carry out following steps:
B1: receive control device at the corresponding levels and the status signal that is subject to the device of its control;
B2: according to described status signal generating apparatus state bag;
B3: adding set state bag after the frame data bag of frame signal.
Described method, described step B2 generates a unit state bag.
Described method, described step B2 generates a plurality of unit state bags.
Adopt such scheme, the present invention has increased by one from controller by the end at former transmission cascade chain, and controller sends control signal thus, thereby increased a reverse cascade channel, make the malfunction of master and slave cascade channel can feed back in real time master and slave controller, generate Trouble Report, fix a breakdown in time, improve system works stability.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of prior art single wire transmission scheme;
Fig. 2 is the schematic diagram of one embodiment of the present invention;
Fig. 3 is the structural representation of one embodiment of the present invention;
Fig. 4 is the schematic diagram of display control module of the present invention;
Fig. 5 is the schematic diagram of an embodiment of the present invention;
Fig. 6 is the schematic diagram of an embodiment of the present invention;
Fig. 7 is cascade signal schematic diagram of the present invention;
Fig. 8 is signal schematic representation in the main cascade channel of the bright a kind of embodiment of this law;
Fig. 9 is an embodiment of the present invention from signal schematic representation in cascade channel;
Figure 10 is the flow chart of the inventive method.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment 1
As shown in Figure 2, the invention provides a kind of control device of LED light fixture, this control device comprises: comprise for the local clock module of clock signal is provided, and respectively coupled main decoder module, from decoder module, main coding module with from coding module.
Described control device also comprises the display control module being connected with above-mentioned each module, for judging validity and the signal validity of master and slave cascade channel, processes the input signal of master and slave cascade channel;
Described main decoder module, for receiving the serial input signals of main cascade channel, sends to described display control module after decoding;
Described from decoder module for receiving the serial input signals from cascade channel, after decoding, send to described display control module;
Described main coding module, for the main cascade channel serial output signal of described display control module is encoded, is transmitted by main cascade channel;
Described from coding module for to the encoding from cascade channel serial output signal of described display control module, by transmitting from cascade channel.
For example, main decoder module, for the main cascade channel serial input signals msin that decodes, output signal m_data; From decoder module, for decoding from cascade channel serial input signals ssin, output signal s_data; Main coding module, for the main cascade channel serial output signal m_datal coding output to processing through display control module; From coding module, for encoding and export from cascade channel serial output signal s_datal what processing through display control module; Display control module, for receiving main cascade signal m_data and from cascade signal s_data, judges main cascade channel and from cascade channel validity and signal validity, according to different situations, processes main cascade channel and from cascade channel input signal; And local clock module, for providing clock signal to above-mentioned module.
Define channel is effectively in each passage, to have the signal of stabilized frequency in the present invention, otherwise passage is invalid; Definition signal is effectively in main cascade channel to be main cascade signal, and main cascade signal is effective, in cascade channel, is from cascade signal, effective from cascade signal, otherwise invalidating signal.
Below describe that display control module judges main cascade channel in detail and from cascade channel validity and signal validity and concrete signal processing method.
Receiving main cascade channel signal m_data and from cascade channel signal s_data, the frame that detects respectively m_data and s_data starts bag, if the frame of signal in main cascade channel only detected, start bag, think that main UNICOM is effective and invalid from cascade channel; If only detected from the frame of signal in cascade channel, start bag, think invalid from the effective and main cascade channel of cascade channel, if correct frame all detected in master and slave cascade channel, start bag, think main cascade channel and all effective from cascade channel.
Situation one: main cascade channel effectively and invalid from cascade channel, has the signal of stabilized frequency in main cascade channel, from not having the signal of stabilized frequency in cascade channel.Read the frame state bag of signal m_data in main cascade channel, intercept the some local frame data bag of signal in main cascade channel as local display control signal, the number of concrete data intercept bag is determined according to the number of lamp point that control device is controlled, adding set state bag after the residue frame packet of main cascade channel signal afterwards, the state information that this unit state bag has comprised current control device, the driving chip that it is controlled and with the state information of the LED lamp point being connected; Above in each signal processing links, only process the signal m_data in main cascade channel, for from cascade channel, owing to frame not detected, start bag, so this passage, in disarmed state, at this passage, should be given above-mentioned treated main cascade channel signal assignment from cascade channel, in main coding module with from coding module, main cascade channel and the signal in cascade channel are encoded, to next stage cascade control device, export.
Situation two: main cascade channel is invalid and effective from cascade channel, from there being the signal of stabilized frequency in cascade channel, and in main cascade channel without the signal of stabilized frequency.At this moment, read from the frame state bag of signal s_data in cascade channel, intercepting from several frame data bags of signal in cascade channel as local display control signal, the concrete number of data intercept bag is determined according to the number of lamp point that control device is controlled, adding set state bag the residue frame packet from cascade channel signal afterwards, the state information of the state information that this unit state bag has comprised current control device, the driving chip that it is controlled and coupled LED lamp point; Above in each signal processing links, only process from the signal s_data in cascade channel, for main cascade channel, owing to frame not detected, start bag, so this passage is in disarmed state, at this passage, should treatedly from cascade channel signal assignment, give main cascade channel by above-mentioned, in main coding module with from coding module, main cascade channel and the signal in cascade channel are encoded, to next stage cascade control device, export.
Situation three: main cascade channel, all effective from cascade channel, i.e. main cascade channel and from there being the signal of stabilized frequency in cascade channel.Read respectively main cascade channel signal and from the frame state bag of cascade channel signal, it is main cascade channel signal or from the state information of cascade channel signal that frame state bag contains current demand signal, therefore according to frame state bag, can judge main cascade channel and from cascade channel signal validity.If main cascade channel signal and all effective from cascade channel signal, intercept respectively main cascade channel signal and from the frame data bag of cascade channel signal, according to the frame data bag output display control signal ctrl of main cascade channel signal, the LED lamp point number that the number of same data intercept bag is controlled according to control device is determined, afterwards main cascade channel signal and from cascade channel signal adding set state bag remaining frame data bag, in main coding module with from coding module by above-mentioned main cascade channel signal with from cascade channel Signal coding, export to next stage control device, if main cascade channel signal is effectively and from cascade channel invalidating signal, only intercept the frame data bag of main cascade channel signal, according to the frame data bag output display control signal ctrl of main cascade channel signal, adding set state bag after the remaining frame data bag of main cascade channel signal afterwards, and be left intact for the signal in cascade channel, former state forwards, in main coding module with from coding module by above-mentioned main cascade channel signal with from cascade channel Signal coding, export to next stage control device, if main cascade channel invalidating signal and effective from cascade channel signal, only intercept the frame data bag from cascade channel signal, according to the frame data bag output display control signal ctrl from cascade channel signal, adding set state bag the remaining frame data bag from cascade channel signal afterwards, and be left intact for the signal in main cascade channel, former state forwards, in main coding module with from coding module by above-mentioned main cascade channel signal with from cascade channel Signal coding, export to next stage control device.
Employing, with upper type, has completed the processing procedure to signal at current control device.Like this, control device is in the situation that a cascade channel disconnects, and same energy is output display control signal normally, and can and drive the state information of chip return in time by this stage arrangement, make control end can grasp in real time system works situation, fix a breakdown in time.
It should be noted that, control device of the present invention must be in effective situation at least one cascade channel, could work, the production method of the driving chip of controlling for state information and it of current control device in addition and the state information of LED lamp point thereof, belong to known technology, at this, needn't repeat.
Embodiment 2
On the basis of embodiment 1, display control module can adopt such structure to realize its function, as shown in Figure 4, this display control module comprises: the first judging unit, for judging the signal that whether has stabilized frequency in master and slave cascade channel, thereby judge the validity of main cascade channel and from the validity of cascade channel; The second judging unit, for judging master and slave cascade signal validity, judges that in master and slave cascade channel, whether signal is effective; This display control module also comprises data processing unit, for the treatment of the signal in master and slave cascade channel, intercepts local data, adding set state bag.Completed like this, very easily the data processing function of display control module.
Embodiment 3
On the basis of embodiment 1, for main decoder module, adopt identical decoding protocol element to decode from decoder module, main coding module and adopt identical coding protocol unit to encode from coding module.Can improve system data treatment effeciency like this.
Embodiment 4
On the basis of embodiment 3, can adopt such decoding protocol element and coding protocol unit: in decoding protocol element and coding protocol unit, agreement represents a signal with the pulse signal of a complete cycle, wherein the longer signal of high level time is logical one, and the shorter signal of high level time is logical zero.This special signal agreement can be easy to realize data sampling, and then facilitates Code And Decode.
Embodiment 5
And the present invention also provides a kind of system of automatic fault reporting, it comprises: control device, the level of master controller, at least one and master controller cascade is associated in of control device tail end from controller; Master controller and control device form main cascade channel, from controller and control device, form from cascade channel; Wherein, described control device is the control device described in above-mentioned arbitrary embodiment.
For example, this system also comprises the LED lamp point that at least one and described display control module is connected, and described display control module receives the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
And for example, this system also comprises at least one drive unit, each drive unit at least connects a LED lamp point, described display control module controls by each drive unit the LED lamp point that it connects, described display control module receives the fault message of each drive unit and the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
An example as shown in Figure 5, this system comprises: the control device of master controller 501, three and master controller cascade, comprise control device 503, control device 504, control device 505, be numbered respectively control device s00, control device s01, control device s02, level is associated in of control device tail end from controller 502; Master controller 501 and control device s00, control device s01, control device s02 form main cascade channel, from controller 502 and control device s00, control device s01, control device s02, form from cascade channel; Wherein master controller 501, send main connection input signal msin, receive from cascade channel output signal sbout_s00; From controller, send from cascade input signal ssin, receive main cascade channel output signal saout_s02; Control device s00, control device s01, control device s02 26S Proteasome Structure and Function are identical with the control device described in embodiment 1, do not repeat them here.
Application as a kind of this system, control device s00 controls three-stage cascade and drives chip, comprise and drive chip 506, driving chip 507, driving chip 508, control device s01 controls three-stage cascade and drives chip, comprise and drive chip 509, driving chip 510, driving chip 511, control device s02 controls three-stage cascade and drives chip, comprises and drives chip 512, driving chip 513, driving chip 514, and each drives chip to drive respectively some LED lamp points.
As the application of another kind of this system, as shown in Figure 6, control device s00 directly controls some R, G, B lamp point, and control device s01 directly controls some R, G, B lamp point, and control device s02 directly controls some R, G, B lamp point.
Embodiment 6
The present invention also provides a kind of method that realizes automatic fault reporting, is applied in system as shown in Figure 5.It comprises following steps.
A, to control device at different levels, sequentially carry out respectively following steps:
A1: the input signal decoding to master and slave cascade channel; Wherein said input signal is comprised of frame signal, and every frame signal comprises: frame starts bag, frame state bag and frame data bag;
A2: the frame that detects each frame signal starts bag, judges that respectively whether master and slave cascade channel is effective; All, carry out A3, arbitrary is no, carries out A4.If be no simultaneously, cannot obtain Trouble Report.
A3: to each input signal, reading its frame state bag, judge its whether useful signal, is to obtain its frame data bag, is its adding set state bag, otherwise directly forwards; Carry out A5; Wherein, described adding set state bag, specifically can carry out following steps: B1: receive control device at the corresponding levels and the status signal that is subject to the device of its control; B2: according to described status signal generating apparatus state bag; This step can according to actual needs, generate one or more unit state bags; B3: adding set state bag after the frame data bag of frame signal.
A4: to the input signal in effective passage, reading its frame state bag, obtain its frame data bag, is its adding set state bag; To invalid passage, adopt the output signal of effective passage as output;
A5: the master and slave cascade channel signal of coding output;
B, analyze the output signal of final master and slave cascade channel, obtain Trouble Report.
For example, in each control device, all sequentially carry out following operation, master and slave cascade channel input signal decoding; The frame of detection signal starts bag; Judge master and slave cascade channel validity, wherein passage effectively refers to the signal that has stabilized frequency in each passage; If master and slave cascade channel all effectively, according to the following step processing signals: the frame state bag that reads each channel signal; Judgement signal validity, signal effectively refers in main cascade channel to be main cascade signal, in cascade channel, is from cascade signal; The frame data bag of intercepting useful signal; For useful signal adding set state bag; Invalid signals is not carried out to any operation; Afterwards to the output of encoding respectively of master and slave cascade channel signal.
If main cascade channel or invalid from cascade channel, carries out following operation: the frame state bag that reads signal in effective passage; Intercept the frame data bag of signal in effective passage; For signal adding set state bag in effective passage; Invalid passage is used the output signal of effective passage as output; Master and slave cascade channel Signal coding output; Later control device at different levels repeats above step; At cascade chain tail end, master and slave controller is analyzed master and slave cascade channel output signal and is obtained Trouble Report.
Below in conjunction with system schematic as shown in Figure 5, the main cascade channel signal schematic representation shown in Fig. 8, shown in Fig. 9 from cascade channel signal schematic representation, and the method flow diagram shown in Figure 10, describes method of the present invention in detail.
System is by master controller 501, from controller 502 as shown in Figure 5,3 grades of control device, comprise control device 503, control device 504, control device 505, be numbered respectively control device s00, control device s01, control device s02, and the driving chip 506 controlled is separately to driving chip 514 and respectively driving LED lamp point R, G, the B that chip drives to form.Master and slave cascade channel all carries out signal transmission according to each bag of the frame signal shown in Fig. 7 order from left to right, and it is the data of immobilized substance that frame starts bag, for determining the beginning of a frame signal; The information comprising in frame state bag comprises: current frame signal is frame data bag number main or that comprise from cascade signal, current frame signal; Frame data bag comprises driving the control information of chip; In the present embodiment, each control device is controlled three-stage cascade and is driven chip, and each drives chip need to intercept 1 frame data bag, in the middle of master controller 501 and the frame signal sent from controller 502, all comprises 9 frame data bags.
Situation one:
When master controller, from main cascade channel between controller and each control device with when all working properly from cascade channel.
Concerning control device s00, the input cascade signal that it receives is respectively output signal msin and the sbout_s01 of master controller, sbout_s01 be through two-stage control device s02 and s01, processed from controller output signal ssin, as shown in Figure 9, ssin intercepts after required separately frame data bag adding set state bag through s02 and s01, remain three frame data bag D7, D8, D9, 6 frame state bag S1 have been increased, S2, S3, S4, S5 and S6, wherein, the state information that S1 has comprised control device s02 and driving chip 512 and its R driving, G, the state information of B lamp point, S2, S3 has comprised driving chip 513, drive chip 514 and corresponding R, G, the state information of B lamp point, the state information that S4 has comprised control device s01 and driving chip 509 and its R driving, G, the state information of B lamp point, S5, S6 has comprised driving chip 510, drive chip 511 and corresponding R, G, the state information of B lamp point, through main decoder module with from decoder module decoding, the first step, the display control module of s00 starts bag to the frame of msin and sbout_s01 and detects, when frame being detected and starting to wrap, confirm main cascade channel and all effective from cascade channel, and confirm the beginning of each frame signal, second step, carries out reading of msin and sbout_s01 frame state bag, thereby learns that msin signal is main signal, and sbout_s01 signal is from signal, this main cascade channel signal and all effective from cascade channel signal, and frame data bag number is 9, the 3rd, msin and sbout_s01 are carried out to the intercepting of packet, front 3 frame data bag D1, D2, the D3 of intercepting msin, last three frame data bag D7, D8, the D9 of intercepting sbout_s01, the 4th, msin is increased to 3 unit state bag S1, S2, S3, wherein, the state information that S1 has comprised control device s00 and drive chip 01 and the state information of its R driving, G, B lamp point, S2, S3 have comprised and have driven chip 02,03 and R, the G of correspondence, the state information of B lamp point, sbout_s01 is increased to 3 unit state bag S7, S8, S9, wherein, the state information that S7 has comprised control device s00 and drive chip 01 and the state information of its R driving, G, B lamp point, S8, S9 have comprised and have driven chip 02,03 and R, the G of correspondence, the state information of B lamp point.Meanwhile, the driving chip controls signal ctrl that the display control module of control device s00 generates according to main connection input signal msin exports to its driving chip of controlling 506,507,508, finally, main coding module and from coding module by treated main cascade signal with from cascade signal recompile, output saout_s00 and sbout_s00.
Concerning control device s01, input signal is the output signal saout_s00 of control device s00 and the output sbout_s02 of control device s02, be the frame signal structure of saout_s00 and sbout_s02 as shown in Figure 8 and Figure 9, remainder data processing procedure is identical with control device s00, repeats no more.
Concerning control device s02, input signal is the output signal saout_s01 of control device s01 and from the output signal ssin of controller 502, be the frame signal structure of saout_s01 and ssin as shown in Figure 8 and Figure 9, remainder data processing procedure is identical with control device s00, repeats no more.
Main cascade channel signal msin and be output as respectively saout_s02 and sbout_s00 from cascade channel signal ssin after three-stage cascade control device is processed, master controller and from controller end from controller end, receive respectively saout_s02 and sbout_s00 as shown in Figure 8 and Figure 9, by the analysis to state bag, can know, this signal of saout_s02 is main cascade signal, illustrate that main cascade channel is working properly, by the analysis to unit state bag 1 to 9, can know that in cascade chain, 9 drive chip 506 to 514 and corresponding R thereof, G, the malfunction of B lamp point, obtained Trouble Report.
Situation two:
When the main UNICOM road between control device s00 and s01 breaks down.
Concerning control device s00, the input cascade signal that it receives is respectively output signal msin and the sbout_s01 of master controller, control device s00 is identical to the processing procedure of msin and sbout_s01 with situation one to the processing procedure of msin and sbout_s01, needn't repeat.
Concerning control device s01, input signal should be the output sbout_s02 of control device s02 and the output signal saout_s00 of control device s00, but because the main UNICOM road between control device s00 and s01 breaks down, therefore, now do not receive main cascade channel signal saout_s00; Sbout_s02 be through control device s02, processed from controller output signal ssin, as shown in Figure 9, ssin is after s02 intercepting frame data bag and adding set state bag, remain 6 frame data bag D4, D5, D6, D7, D8, D9,3 frame state bag S1, S2, S3 have been increased, wherein, the state information of the state information that S1 has comprised control device s02 and driving chip 512 and its R driving, G, B lamp point, S2, S3 have comprised driving chip 513, driving chip 514 and corresponding R, G, the state information of B lamp point; Through from decoder module decoding, the first step, the display control module of s01 starts bag to the frame of sbout_s02 and detects, the frame that sbout_s02 detected starts bag, and the frame that can't detect signal in main cascade channel starts bag, confirmation is effective from cascade channel, and main cascade channel is invalid, and confirms the beginning of main cascade channel one frame signal; Second step, carries out reading of sbout_s02 frame state bag; The 3rd, sbout_s02 is carried out to the intercepting of frame data bag, front 3 frame data bag D4, D5, the D6 of intercepting sbout_s02, meanwhile, the display control module of control device s01 drives chip controls signal ctrl to export to its driving chip of controlling 509,510,511 according to generating from cascade channel signal sbout_s02; The 4th, sbout_s02 is increased to 3 unit state bag S4, S5, S6, wherein, the state information that S4 has comprised control device s01 and drive chip 509 and the state information of its R driving, G, B lamp point, S5, S6 have comprised and have driven chip 510,511 and R, the G of correspondence, the state information of B lamp point.The 5th, due to no signal in main cascade channel now, in disarmed state, use above-mentioned treated from cascade channel signal the output signal as main cascade channel, also in Fig. 5, the value of the output saout_s01 of control device s01 is sbout_s01; Finally, main coding module and from coding module by treated signal sbout_s01 recompile in cascade signal and main cascade channel output sbout_s01 and saout_s01.
Concerning control device s02, input signal is the output signal saout_s01 of control device s01 and from the output signal ssin of controller 502, be illustrated in figure 9 the frame signal structure of ssin, as from the foregoing, signal saout_s01 is sbout_s01 in fact, so its signal structure is as shown in sbout_s01 in Fig. 9.After master and slave decoder module decoding, the first step, the display control module of s02 starts bag to the frame of ssin and saout_s01 and detects, and the frame that ssin and saout_s01 detected starts bag, confirm that master and slave cascade channel is all effective, and confirm the beginning of master and slave cascade channel one frame signal; Second step, reads the frame state bag of ssin and saout_s01, thereby confirms, the signal in main cascade channel be from cascade signal sbout_s01, and the signal in cascade channel is from cascade signal, so main joins invalidating signal and effective from cascade signal; The 3rd, effective cascade signal ssin is carried out to the intercepting of frame data bag, front 3 frame data bag D1, D2, the D3 of intercepting ssin, meanwhile, the display control module of control device s01 drives chip controls signal ctrl to export to its driving chip of controlling 512,513,514 according to generating from cascade channel signal ssin; The 4th, ssin is increased to 3 unit state bag S1, S2, S3, wherein, the state information of the state information that S1 has comprised control device s02 and driving chip 512 and its R driving, G, B lamp point, S2, S3 have comprised driving chip 513, driving chip 514 and corresponding R, G, the state information of B lamp point.It may be noted that, due to invalidating signal in main cascade channel, above-mentioned steps does not all relate to the processing of signal in main cascade channel, its former state is forwarded to each packet, also i.e. sbout_s01 as shown in Figure 9, it comprises that frame starts bag, frame state bag, frame data bag D7, D8, D9, and unit state bag S1, S2, S3, S4, S5, S6; Finally, main coding module and from coding module by treated signal sbout_s01 recompile in cascade signal and main cascade channel output sbout_s02 and saout_s02.
Main cascade channel signal msin and be output as respectively saout_s02 and sbout_s00 from cascade channel signal ssin after three-stage cascade control device is processed, should be noted that, now saout_s02 is sbout_s01 in fact, at master controller, receive sbout_s00 as shown in Figure 9, by the analysis to frame state bag, can know, sbout_s00 signal is from cascade signal, explanation is working properly from cascade channel, from controller termination, receiving sbout_s01 as shown in Figure 9, by the analysis to frame state bag, can know, sbout_s01 signal is from cascade signal, illustrate that main UNICOM road breaks down, at master controller or from controller end, by the analysis to unit state bag 1 to 9, can know in cascade chain 9 malfunctions that drive chip 506 to 514 and corresponding R, G, B lamp point, so just obtained Trouble Report.
For other faults of system shown in Figure 5, processing method all as mentioned above, all can obtain Trouble Report, does not repeat them here.
Embodiment 6
On the basis of embodiment 5, each packet in frame signal can be set, as frame starts bag, frame state bag, frame data bag, all comprises identical data bits.In each packet, comprise identical data figure place, the beginning of packet and end only need judge by data bits, reduce logic judgement difficulty, reduce failure rate.
Embodiment 7
On the basis of embodiment 5, a kind of method as adding set state bag, can realize like this: receive control device at the corresponding levels and the status signal err that is subject to the device of its control, as directly controlled LED lamp point or passing through to drive chip controls LED lamp point, according to status signal err generating apparatus state bag, finally said apparatus state bag is added on to the coding output afterwards of frame data bag.This unit state bag can comprise separately the state information of LED lamp point, or comprises the state information of LED lamp point and driving chip simultaneously, and this unit state bag is added on to the coding output afterwards of frame data bag, facilitates control device deal with data at different levels.
Embodiment 8
On the basis of embodiment 7, control device at the corresponding levels can directly be controlled some LED lamp points, now can only generate a unit state bag, the state information that this unit state bag has comprised control device at the corresponding levels and the state information of LED lamp point.
Embodiment 9
On the basis of embodiment 7, control device at the corresponding levels can cascade multiple drive power chip, each drives the some LED lamp points of chip drives, now can generate a plurality of unit state bags, S1, S2......Sn, the state information that unit state bag S1 has comprised control device at the corresponding levels and first order driving chip and institute's driving LED lamp point thereof, S2 to Sn has comprised the second level and has driven chip to the n level to drive the state information of chip and each self-driven LED lamp point thereof.
Should be understood that, for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (13)

1. a LED control device, is characterized in that, comprise for the local clock module of clock signal is provided, and respectively coupled main decoder module, from decoder module, main coding module with from coding module; Described local clock module, for to display control module, described main decoder module, described from decoder module, described main coding module and describedly provide clock signal from coding module;
Described control device also comprises the display control module being connected with above-mentioned each module, for judging validity and the signal validity of master and slave cascade channel, processes the input signal of master and slave cascade channel;
Described display control module comprises:
The first judging unit, for judging the signal that whether has stabilized frequency in master and slave cascade channel;
The second judging unit, for judging that in master and slave cascade channel, whether signal is effective;
And data processing unit, for intercepting local data, adding set state bag;
Described main decoder module, for receiving the serial input signals of main cascade channel, sends to described display control module after decoding;
Described from decoder module for receiving the serial input signals from cascade channel, after decoding, send to described display control module;
Described main coding module, for the main cascade channel serial output signal of described display control module is encoded, is transmitted by main cascade channel;
Described from coding module for to the encoding from cascade channel serial output signal of described display control module, by transmitting from cascade channel.
2. control device according to claim 1, is characterized in that, described main decoder module and describedly adopt identical decoding protocol element from decoder module, described main coding module and describedly adopt identical coding protocol unit from coding module.
3. control device according to claim 2, it is characterized in that, in described decoding protocol element and described coding protocol unit, adopt the pulse signal of a complete cycle to represent 1 signal, wherein, the high level time of logical one is greater than the high level time of logical zero.
4. apply the system that LED control device carries out automatic fault reporting, it is characterized in that, comprising: control device, the level of master controller, at least one and master controller cascade is associated in of control device tail end from controller; Master controller and control device form main cascade channel, from controller and control device, form from cascade channel;
Described master controller, for sending main connection input signal, receives from cascade channel output signal;
Described from controller, for sending from cascade input signal, receive main cascade channel output signal;
Described control device comprises: for the local clock module of clock signal is provided, and respectively coupled main decoder module, from decoder module, main coding module with from coding module; Also comprise the display control module being connected with above-mentioned each module, for judging validity and the signal validity of master and slave cascade channel, process the input signal of master and slave cascade channel;
Described display control module comprises:
The first judging unit, for judging the signal that whether has stabilized frequency in master and slave cascade channel;
The second judging unit, for judging that in master and slave cascade channel, whether signal is effective;
And data processing unit, for intercepting local data, adding set state bag;
Described main decoder module, for receiving the serial input signals of main cascade channel, sends to described display control module after decoding;
Described from decoder module for receiving the serial input signals from cascade channel, after decoding, send to described display control module;
Described main coding module, for the main cascade channel serial output signal to described display control module, is encoded, and by main cascade channel, transmits;
Described from coding module for to described display control module from cascade channel serial output signal, encode, by transmitting from cascade channel;
Also comprise the LED lamp point that at least one and described display control module is connected, described display control module receives the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
5. system according to claim 4, is characterized in that, described main decoder module and describedly adopt identical decoding protocol element from decoder module, described main coding module and describedly adopt identical coding protocol unit from coding module.
6. system according to claim 4, is characterized in that, in described decoding protocol element and coding protocol unit: adopt the pulse signal of a complete cycle to represent 1 signal, the high level time of logical one is greater than the high level time of logical zero.
7. system according to claim 4, it is characterized in that, also comprise at least one drive unit, each drive unit at least connects a LED lamp point, described display control module controls by each drive unit the LED lamp point that it connects, described display control module receives the fault message of each drive unit and the fault message of each LED lamp point, for the treatment of main cascade channel with from the input signal of cascade channel.
8. apply the method that LED control device carries out automatic fault reporting, it is characterized in that, comprise following steps:
A, to control device at different levels, sequentially carry out respectively following steps:
A1: the input signal decoding to master and slave cascade channel; Wherein said input signal is comprised of frame signal, and every frame signal comprises: frame starts bag, frame state bag and frame data bag;
A2: the frame that detects each frame signal starts bag, judges respectively whether master and slave cascade channel has stable frequency signal, is effective, otherwise invalid; Master and slave cascade channel is all effective, carries out A3, and master and slave cascade channel is arbitrary invalid, carries out A4;
A3: to each input signal, reading its frame state bag, judge its whether useful signal, is to obtain its frame data bag, is its adding set state bag, otherwise directly forwards; Carry out A5;
A4: to the input signal in effective passage, reading its frame state bag, obtain its frame data bag, is its adding set state bag; To invalid passage, adopt the output signal of effective passage as output;
A5: the master and slave cascade channel signal of coding output;
B, analyze the output signal of final master and slave cascade channel, obtain Trouble Report.
9. method according to claim 8, is characterized in that, in described frame signal, described frame starts bag, described frame state bag, described frame data bag, and the data bits comprising is identical.
10. method according to claim 8, is characterized in that, adopts the pulse signal of a complete cycle to represent 1 signal, and the high level time of logical one is greater than the high level time of logical zero.
11. methods according to claim 8, is characterized in that, in steps A 3, and described adding set state bag, specifically carry out following steps:
B1: receive control device at the corresponding levels and the status signal that is subject to the device of its control;
B2: according to described status signal generating apparatus state bag;
B3: adding set state bag after the frame data bag of frame signal.
12. methods according to claim 11, is characterized in that, described step B2 generates a unit state bag.
13. methods according to claim 11, is characterized in that, described step B2 generates a plurality of unit state bags.
CN200810227040.4A 2008-11-19 2008-11-19 Control device, automatic fault reporting system and method Expired - Fee Related CN101431848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810227040.4A CN101431848B (en) 2008-11-19 2008-11-19 Control device, automatic fault reporting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810227040.4A CN101431848B (en) 2008-11-19 2008-11-19 Control device, automatic fault reporting system and method

Publications (2)

Publication Number Publication Date
CN101431848A CN101431848A (en) 2009-05-13
CN101431848B true CN101431848B (en) 2014-03-12

Family

ID=40646939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810227040.4A Expired - Fee Related CN101431848B (en) 2008-11-19 2008-11-19 Control device, automatic fault reporting system and method

Country Status (1)

Country Link
CN (1) CN101431848B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835318B (en) * 2010-05-13 2013-02-20 佛山市托维环境亮化工程有限公司 Intelligent detector of LED street lamp and working method thereof
CN102122483B (en) * 2010-12-22 2013-08-21 利亚德光电股份有限公司 Method and system for monitoring LED (light-emitting diode) display screen as well as LED display
CN102136235A (en) * 2011-03-17 2011-07-27 深圳市中庆微科技开发有限公司 Intelligent debugging system for detecting LED (Light Emitting Diode) display screen on line
CN102572517A (en) * 2011-12-21 2012-07-11 深圳市同洲视讯传媒有限公司 Bit stream switching method, device, server and system
CN103179767B (en) * 2011-12-26 2015-09-23 海洋王照明科技股份有限公司 Lamp low voltage and OFF state supervisory circuit
CN102938963B (en) * 2012-11-19 2014-09-17 江苏大学 Device and method for serial LED lamp fault detection and fault tolerance control
CN103533727B (en) * 2013-10-12 2015-04-15 西安诺瓦电子科技有限公司 LED (light-emitting diode) light panel and LED display screen system
CN104064150A (en) * 2014-07-08 2014-09-24 苏州卓能微电子技术有限公司 Two-channel signal transmitting method for LED driving chips
CN113473669B (en) * 2020-03-30 2022-05-13 深圳市明微电子股份有限公司 Double-line protocol read-write control chip, system and method
CN117373377B (en) * 2023-12-06 2024-02-09 深圳市绿源半导体技术有限公司 Signal transmission system and signal transmission control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329431A (en) * 1986-07-17 1994-07-12 Vari-Lite, Inc. Computer controlled lighting system with modular control resources
CN1162787A (en) * 1996-04-16 1997-10-22 联华电子股份有限公司 Signal transmitting device between chip assemblies by series codes
CN201114910Y (en) * 2007-10-18 2008-09-10 康佳集团股份有限公司 A LED driving circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329431A (en) * 1986-07-17 1994-07-12 Vari-Lite, Inc. Computer controlled lighting system with modular control resources
CN1162787A (en) * 1996-04-16 1997-10-22 联华电子股份有限公司 Signal transmitting device between chip assemblies by series codes
CN201114910Y (en) * 2007-10-18 2008-09-10 康佳集团股份有限公司 A LED driving circuit

Also Published As

Publication number Publication date
CN101431848A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101431848B (en) Control device, automatic fault reporting system and method
CN101466188A (en) Control device, system and method for automatically reporting fault
CN202871258U (en) LED driving chip cascade circuit
CN101945516A (en) Intelligent LED lamp controller and control method
CN201341253Y (en) Control device and automatic fault reporting system
WO2015043139A1 (en) Led lamp panel, control card of led display screen, and led display screen system
CN101952878A (en) Extensive LED display system
CN102761389B (en) Asynchronous master-slave serial communication system, data transmission method and control module
CN102186278A (en) Method and system for processing equipment indicating lamp
CN101340757A (en) Single line transmission protocol of lamp spot display chip concatenated signal
CN109377700A (en) A kind of software automatic addressing method and its system
CN101516152A (en) System and method for implementing synchronous refreshing
CN102510612B (en) Transmission method of LED drive data
CN101478846A (en) LED lamp light controlling bus and controlling method thereof
CN101702848B (en) Monoline driving circuit in series of LED decorative illumination
US11164493B2 (en) Data processing device, data driving device, and system for driving display device
CN112911756A (en) Bidirectional transmission device, LED driving device, LED control system and method
CN106201964B (en) The on-line automatic addressing of RDM driver and RDM bus short circuit positioning device and method
CN201430710Y (en) Control device and automatic fault report system
CN101336028A (en) Bidirectional daisy-chain cascades light network control method and system
CN1916866A (en) Bus monitoring system and method for audio video systems
CN101388822B (en) Automatic pole changing device for CAN bus and method therefor
CN106448545B (en) LED display screen control system and receiving card and monitoring board thereof
CN102938212B (en) Communication type road traffic signal countdown display
CN201789667U (en) Intelligent light-emitting diode (LED) lamp controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: LI XIN

Free format text: FORMER OWNER: BEIJING JUSHU DIGITAL TECHNOLOGY DEVELOPMENT CO., LTD.

Effective date: 20101223

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100085 ROOM 402B, TOWER E, YINGCHUANG POWER PARK, NO.1, SHANGDI EAST ROAD, HAIDIAN DISTRICT, BEIJING TO: 518040 701, BUILDING 211, TAIRAN SCIENCE AND TECHNOLOGY PARK, CHEGONGMIAO, FUTIAN DISTRICT, SHENZHEN CITY

TA01 Transfer of patent application right

Effective date of registration: 20101223

Address after: 518040 Shenzhen City, Futian District Che Kung Temple science and Technology Parks Tairan 211 701

Applicant after: Li Xin

Address before: 100085 Beijing city Haidian District East Road No. 1 building E room 402B power Creative Park

Applicant before: Beijing Jushu Digital Technology Development Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: FAN HONGXIA

Free format text: FORMER OWNER: LI XIN

Effective date: 20130502

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518040 SHENZHEN, GUANGDONG PROVINCE TO: 518172 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20130502

Address after: 518172 Guangdong City, Longgang Province, north of the court of the North Road, Longgang Road, Jing Jing, the new town of, 2 A303

Applicant after: Fan Hongxia

Address before: 518040 Guangdong city of Shenzhen province Futian District Che Kung Temple science and Technology Parks Tairan 211 701

Applicant before: Li Xin

ASS Succession or assignment of patent right

Owner name: SHENZHEN ZHONGQING OPTOELECTRONIC DISPLAY TECHNOLO

Free format text: FORMER OWNER: FAN HONGXIA

Effective date: 20131129

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131129

Address after: 518172 Guangdong City, Longgang Province, north of the court of the North Road, Longgang Road, Jing Jing, the new town of, 2 A303

Applicant after: Celebrating photoelectric display scientific and technological development Co., Ltd in Shenzhen

Address before: 518172 Guangdong City, Longgang Province, north of the court of the North Road, Longgang Road, Jing Jing, the new town of, 2 A303

Applicant before: Fan Hongxia

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

Granted publication date: 20140312

Termination date: 20181119

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