EP2107860A2 - Signal reading method based on DMX512 protocol - Google Patents

Signal reading method based on DMX512 protocol Download PDF

Info

Publication number
EP2107860A2
EP2107860A2 EP09156796A EP09156796A EP2107860A2 EP 2107860 A2 EP2107860 A2 EP 2107860A2 EP 09156796 A EP09156796 A EP 09156796A EP 09156796 A EP09156796 A EP 09156796A EP 2107860 A2 EP2107860 A2 EP 2107860A2
Authority
EP
European Patent Office
Prior art keywords
input signal
signal
time
potential
dmx512 protocol
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.)
Withdrawn
Application number
EP09156796A
Other languages
German (de)
French (fr)
Other versions
EP2107860A3 (en
Inventor
Shih-Tung Chang
Chi-Hsien Chou
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.)
ARC Solid-State Lighting Corp
Arc Solid State Lighting Corp
Original Assignee
ARC Solid-State Lighting Corp
Arc Solid State Lighting Corp
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 ARC Solid-State Lighting Corp, Arc Solid State Lighting Corp filed Critical ARC Solid-State Lighting Corp
Publication of EP2107860A2 publication Critical patent/EP2107860A2/en
Publication of EP2107860A3 publication Critical patent/EP2107860A3/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission

Definitions

  • the present invention relates to a signal reading method, and more particularly to a signal reading method based on a DMX512 protocol.
  • DMX512 lighting system a plurality of light modulators is integrated to a single system, in which the signal transmission between light modulators is controlled by a micro-controller.
  • DMX512 protocol a standard protocol named DMX512 protocol is adopted, which is a standard digital interface protocol developed by the United States Institute for Theatre Technology (USITT) based on an EIA-485 communication standard.
  • an input signal received by the DMX512 lighting system includes one initial signal and a plurality of data signals.
  • the data signal part in the input signal may reach at most 36 microseconds (that is, an electrical signal continuously maintained in a low potential for 36 microseconds), and the initial signal in the input signal is continuously maintained in the low potential for at least 88 microseconds.
  • the time duration for the initial signal and the data signal to be continuously maintained in the low potential are different from each other, it is helpful for determining the initial signal of the input signal.
  • the micro-controller After reading the initial signal of the input signal, the micro-controller starts to read the data carried in the input signal, so as to perform the signal transmission.
  • the input signal cannot be read by the micro-controller unless the DMX512 lighting system determines that a potential change (that is, the potential change from the high potential to the low potential) occurs to the electrical signal in the input signal and the initial signal is continuously maintained in the low potential.
  • a potential change that is, the potential change from the high potential to the low potential
  • the high potential and the low potential of the input signal are reversed, such that the initial signal is continuously maintained in the high potential.
  • the high potential and the low potential of the input signal are reversed, such that when the micro-controller processes the negative input signal, the micro-controller considers the input signal as a false signal according to the specification of the DMX512 protocol and fails to decode the input signal.
  • the present invention is a signal reading method based on a DMX512 protocol, which is capable of automatically converting polarity phases of an input signal to be read through a mechanism of determining a polarity of an electrical signal, thereby non-polarizedly reading the input signal.
  • the signal reading method based on a DMX512 protocol comprises the steps as follows. Firstly, it is detected that a potential change occurs to an input signal. Then, according to the potential change, it is determined whether a polarity of the input signal is positive or negative. If the polarity of the input signal is positive, the input signal is decoded by using a positive-phase receiving procedure. If the polarity of the input signal is negative, the input signal is decoded by using a negative-phase receiving procedure. Finally, data carried in the input signal is read according to the DMX512 protocol.
  • the step of determining the polarity of the input signal comprises the steps as follows. When the potential change of the input signal is from a high potential to a low potential, the polarity of the input signal is positive. When the potential change of the input signal is from the low potential to the high potential, the polarity of the input signal is negative.
  • the positive-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on the input signal by using a rule of a low potential being 0 and a high potential being 1 according to a level of the potential change. Next, the input signal is read according to a data reading rate specified in the DMX512 protocol. Then, it is confirmed that the input signal is in a low potential in a first time, and the input signal is in a low potential in a second time. Finally, it is confirmed that the potential change occurs to the input signal once again.
  • a sum of the first time and the second time is larger than an initial signal time specified in the DMX512 protocol. However, if the sum of the first time and the second time is larger than a preset time, the input signal is determined to be an idle signal. If the potential change occurs in the first time, the input signal is determined to be a noise. If the potential change occurs in the second time, the input signal is determined to be a data signal.
  • the negative-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on the input signal by using a rule of a low potential being 1 and a high potential being 0 according to a level of the potential change. Next, the input signal is read according to a data reading rate specified in the DMX512 protocol. Then, it is confirmed that the input signal is in a high potential in a third time and the input signal is in the high potential in a fourth time. Finally, it is confirmed that the potential change occurs to the input signal once again.
  • a sum of the third time and the fourth time is larger than an initial signal time specified in the DMX512 protocol. However, if a sum of the third time and the fourth time is larger than a preset time, the input signal is determined to be an idle signal. If the potential change occurs in the third time, the input signal is determined to be a noise. If the potential change occurs in the fourth time, the input signal is determined to be a data signal.
  • the signal reading method based on a DMX512 protocol by means of determining the polarity of the input signal, it is determined to decode the input signal by using the positive-phase receiving procedure or the negative-phase receiving procedure, so as to read the carried data.
  • the polarity is normal or reversed, the data can be correctly interpreted, and the input signal is read non-polarizedly.
  • FIG. 1 is a flow chart of a signal reading method based on a DMX512 protocol.
  • a DMX512 non-polarized connection lighting system executes the signal reading method based on a DMX512 protocol, so as to read data carried in the non-polarizedly connected input signal.
  • the signal reading method based on a DMX512 protocol comprises the steps as follows. Firstly, it is detected that a potential change occurs to the input signal (S110).
  • a polarity of the input signal is positive or negative (S120).
  • the input signal is decoded by using a positive-phase receiving procedure (S 130). On the contrary, if the polarity of the input signal is negative, the input signal is decoded by using a negative-phase receiving procedure (S 140). Finally, data carried in the input signal is read according to the DMX512 protocol (S 150).
  • FIG. 2A is a potential diagram of a positive input signal.
  • the micro-controller determines that the polarity of the input signal is positive, that is, a positive input signal 21.
  • the positive input signal 21 it is determined that an initial signal is a continuous low potential signal.
  • FIG. 2B is a potential diagram of a negative input signal. Referring to FIG. 2B , when the input signal is converted from a low potential to a high potential, the micro-controller determines that the polarity of the input signal is negative, that is, a negative input signal 22. Next, in the negative input signal 21, it is determined that the initial signal is a continuous high potential signal.
  • the input signal is read. If the polarity of the input signal is positive, the carried data is decoded by using the positive-phase receiving procedure. If the polarity of the input signal is negative, the carried data is decoded by using the negative-phase receiving procedure.
  • the method for reading the positive input signal by using the positive-phase receiving procedure and the method for reading the negative input signal by using the negative-phase receiving procedure are respectively described below.
  • FIG. 3A is a flow chart of a positive-phase receiving procedure.
  • the positive-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on an input signal by using a rule of a low potential being 0 and a high potential being 1 according to a level of the potential change, and then, the input signal is read according to a data reading rate specified in the DMX512 protocol (S310). Next, it is confirmed that the input signal is in a low potential in a first time (S320), and the input signal is in a low potential in a second time (S330). Finally, it is confirmed that the potential change occurs to the input signal once again (S340).
  • FIG. 3B is a potential diagram of the positive input signal.
  • a potential change from a high potential to a low potential firstly occurs to the input signal, and according to such technical feature, the micro-controller determines that the input signal is a positive input signal.
  • the positive input signal 30 is read/interpreted according to a data reading rate specified in the DMX512 protocol.
  • the micro-controller confirms the potential change of the positive input signal 30 in a first time T1.
  • the micro-controller denies the possibility that the positive input signal 30 is currently an initial signal 31 of the positive input signal and a 0 th section data signal 32 of the positive input signal.
  • a 1 st section data signal 33 of the positive input signal cannot be directly read without reading the initial signal 31 of the positive input signal or the 0 th section data signal 32 of the positive input signal.
  • the input signal is considered as the noise.
  • the micro-controller needs to confirm the initial signal 31 of the positive input signal, and confirms that the positive input signal 30 is in the low potential in the second time T2.
  • the second time T2 may be a time with a variable length. It is confirmed that the input signal is in the low potential in the first time T1, so as to prove the possibility that the input signal is the initial signal 31 of the positive input signal or the 0 th section data signal 32 of the positive input signal. If the potential change occurs to the positive input signal 30 in the second time T2, and the initial signal 31 of the positive input signal cannot be further confirmed, the micro-controller considers the input signal as the 0 th section data signal 32 of the positive input signal.
  • the conditions for the micro-controller to further confirm the initial signal 31 of the positive input signal include that a sum of the first time T1 and the second time T2 is greater than an initial signal time specified in the DMX512 protocol, and the positive input signal 30 is continuously maintained in the low potential in the first time T1 and the second time T2.
  • the DMX512 protocol further specifies that, when the sum of the first time T1 and the second time T2 is greater than a preset time, that is, the sum of the first time T1 and the second time T2 satisfies an idle signal time specified in the DMX512 protocol, the micro-controller determines that the positive input signal 30 is an idle signal.
  • FIG. 4A is a flow chart of a negative-phase receiving procedure.
  • the negative-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on an input signal by using a rule of a low potential being 1 and a high potential being 0 according to a level of the potential change, and then, the input signal is read according to a data reading rate specified in the DMX512 protocol (S410). Next, it is confirmed that the input signal is in a high potential in a third time (S420), and the input signal is in a high potential in a fourth time (S430). Finally, it is confirmed that the potential change occurs to the input signal once again (S440).
  • FIG. 4B is a potential diagram of the negative input signal. Referring to FIG. 4B , a potential change from a low potential to a high potential firstly occurs to the input signal, and according to such technical feature, the micro-controller determines that the input signal is a negative input signal.
  • the third time T3 has a fixed time length matching with the data reading rate.
  • the micro-controller After finishing detecting the potential change from the low potential to the high potential, the micro-controller confirms the potential change of the negative input signal 40 in the third time T3. If the potential change occurs to the negative input signal 40 in the third time T3, the micro-controller denies the possibility that the negative input signal 40 is currently an initial signal 41 of the negative input signal and a 0 th section data signal 42 of the negative input signal. Based on the DMX512 protocol, a 1 st section data signal 43 of the negative input signal cannot be directly read without reading the initial signal 41 of the negative input signal or the 0 th section data signal 42 of the negative input signal. In this case, the input signal is treated as the noise. After the third time T3 elapsed, the micro-controller needs to further confirm the initial signal 41, and confirms that the negative input signal 40 is in the high potential in the fourth time T4.
  • the fourth time T4 may be a time with a variable length. It is confirmed that the input signal is in the high potential in the third time T3, so as to prove the possibility that the input signal is the initial signal 41 of the negative input signal or the 0 th section data signal 42 of the negative input signal. If the potential change occurs to the negative input signal 40 in the fourth time T4, and the initial signal 41 of the negative input signal cannot be further confirmed, the micro-controller considers the input signal as the 0 th section data signal 42 of the negative input signal.
  • the conditions for the micro-controller to further confirm the initial signal 41 include a sum of the third time T3 and the fourth time T4 is greater than an initial signal time specified in the DMX512 protocol, and the negative input signal 40 is continuously maintained in the high potential in the third time T3 and the fourth time T4.
  • the DMX512 protocol further specifies that, when the sum of the third time T3 and the fourth time T4 is greater than a preset time (that is, the sum of the third time T3 and the fourth time T4 is greater than a preset idle time), the micro-controller determines that the negative input signal 40 is an idle signal.
  • a flag may be added in some embodiments, which is helpful for entering the negative-phase receiving procedure. That is to say, by setting the flag to perform a reversing process, the micro-controller can determine that the input signal has a potential change from a low potential to a high potential. Through the flag conversion, the micro-controller performs the binary coding on the input signal by using the rule of a low potential being 1 and a high potential being 0, thereby non-polarizedly reading the input signal.

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Selective Calling Equipment (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

A signal reading method based on a DMX512 protocol is executed in a DMX512 non-polarized connection lighting system, and is capable of non-polarizedly reading an input signal through a micro-controller. Firstly, it is detected that a potential change occurs to an input signal. Then, according to the potential change, it is determined whether a polarity of the input signal is positive or negative. If the polarity of the input signal is positive, the input signal is decoded by using a positive-phase receiving procedure. If the polarity of the input signal is negative, the input signal is decoded by using a negative-phase receiving procedure. Finally, data carried in the input signal is read according to the DMX512 protocol.

Description

    BACKGROUND OF THE INVENTION Field of the Invention
  • The present invention relates to a signal reading method, and more particularly to a signal reading method based on a DMX512 protocol.
  • Related Art
  • With the progress of the technology, the control of a lighting system is further combined with a modern technology, so as to replace a light modulator in the conventional art that the lamps need to be manipulated manually and individually. In a DMX512 lighting system, a plurality of light modulators is integrated to a single system, in which the signal transmission between light modulators is controlled by a micro-controller. In the DMX512 lighting system, a standard protocol named DMX512 protocol is adopted, which is a standard digital interface protocol developed by the United States Institute for Theatre Technology (USITT) based on an EIA-485 communication standard.
  • Accordingly, an input signal received by the DMX512 lighting system includes one initial signal and a plurality of data signals. The data signal part in the input signal may reach at most 36 microseconds (that is, an electrical signal continuously maintained in a low potential for 36 microseconds), and the initial signal in the input signal is continuously maintained in the low potential for at least 88 microseconds. As the time duration for the initial signal and the data signal to be continuously maintained in the low potential are different from each other, it is helpful for determining the initial signal of the input signal. After reading the initial signal of the input signal, the micro-controller starts to read the data carried in the input signal, so as to perform the signal transmission.
  • However, the input signal cannot be read by the micro-controller unless the DMX512 lighting system determines that a potential change (that is, the potential change from the high potential to the low potential) occurs to the electrical signal in the input signal and the initial signal is continuously maintained in the low potential. However, when the polarity of the connection of the DMX512 lighting system is reversed, the high potential and the low potential of the input signal are reversed, such that the initial signal is continuously maintained in the high potential. In this case, the high potential and the low potential of the input signal are reversed, such that when the micro-controller processes the negative input signal, the micro-controller considers the input signal as a false signal according to the specification of the DMX512 protocol and fails to decode the input signal.
  • SUMMARY OF THE INVENTION
  • In order to solve the above problem in the DMX512 lighting system that when the polarity is reversed, an input signal is considered as a false signal and cannot be decoded, the present invention is a signal reading method based on a DMX512 protocol, which is capable of automatically converting polarity phases of an input signal to be read through a mechanism of determining a polarity of an electrical signal, thereby non-polarizedly reading the input signal.
  • In order to achieve the above object, the signal reading method based on a DMX512 protocol comprises the steps as follows. Firstly, it is detected that a potential change occurs to an input signal. Then, according to the potential change, it is determined whether a polarity of the input signal is positive or negative. If the polarity of the input signal is positive, the input signal is decoded by using a positive-phase receiving procedure. If the polarity of the input signal is negative, the input signal is decoded by using a negative-phase receiving procedure. Finally, data carried in the input signal is read according to the DMX512 protocol.
  • In the signal reading method based on a DMX512 protocol according to a preferred embodiment of the present invention, the step of determining the polarity of the input signal comprises the steps as follows. When the potential change of the input signal is from a high potential to a low potential, the polarity of the input signal is positive. When the potential change of the input signal is from the low potential to the high potential, the polarity of the input signal is negative.
  • In the signal reading method based on a DMX512 protocol according to a preferred embodiment of the present invention, the positive-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on the input signal by using a rule of a low potential being 0 and a high potential being 1 according to a level of the potential change. Next, the input signal is read according to a data reading rate specified in the DMX512 protocol. Then, it is confirmed that the input signal is in a low potential in a first time, and the input signal is in a low potential in a second time. Finally, it is confirmed that the potential change occurs to the input signal once again.
  • In the signal reading method based on a DMX512 protocol according to a preferred embodiment of the present invention, a sum of the first time and the second time is larger than an initial signal time specified in the DMX512 protocol. However, if the sum of the first time and the second time is larger than a preset time, the input signal is determined to be an idle signal. If the potential change occurs in the first time, the input signal is determined to be a noise. If the potential change occurs in the second time, the input signal is determined to be a data signal.
  • In the signal reading method based on a DMX512 protocol according to a preferred embodiment of the present invention, the negative-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on the input signal by using a rule of a low potential being 1 and a high potential being 0 according to a level of the potential change. Next, the input signal is read according to a data reading rate specified in the DMX512 protocol. Then, it is confirmed that the input signal is in a high potential in a third time and the input signal is in the high potential in a fourth time. Finally, it is confirmed that the potential change occurs to the input signal once again.
  • In the signal reading method based on a DMX512 protocol according to a preferred embodiment of the present invention, a sum of the third time and the fourth time is larger than an initial signal time specified in the DMX512 protocol. However, if a sum of the third time and the fourth time is larger than a preset time, the input signal is determined to be an idle signal. If the potential change occurs in the third time, the input signal is determined to be a noise. If the potential change occurs in the fourth time, the input signal is determined to be a data signal.
  • To sum up, in the signal reading method based on a DMX512 protocol according to the present invention, by means of determining the polarity of the input signal, it is determined to decode the input signal by using the positive-phase receiving procedure or the negative-phase receiving procedure, so as to read the carried data. Thus, no matter whether the polarity is normal or reversed, the data can be correctly interpreted, and the input signal is read non-polarizedly.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention will become more fully understood from the detailed description given herein below for illustration only, and thus is not limitative of the present invention, and wherein:
    • FIG. 1 is a flow chart of a signal reading method based on a DMX512 protocol;
    • FIG. 2A is a potential diagram of a positive input signal;
    • FIG. 2B is a potential diagram of a negative input signal;
    • FIG. 3A is a flow chart of a positive-phase receiving procedure;
    • FIG. 3B is a potential diagram of the positive input signal;
    • FIG. 4A is a flow chart of a negative-phase receiving procedure; and
    • FIG. 4B is a potential diagram of the negative input signal.
    DETAILED DESCRIPTION OF THE INVENTION
  • The object and content of the present invention is described below in detail in the following preferred embodiments. However, the concept of the present invention may also be used in other scopes. The following exemplified embodiments are merely intended to describe the object and the executing method of the present invention, instead of limiting the scope thereof.
  • FIG. 1 is a flow chart of a signal reading method based on a DMX512 protocol. Referring to FIG. 1, in this embodiment, a DMX512 non-polarized connection lighting system, for example, executes the signal reading method based on a DMX512 protocol, so as to read data carried in the non-polarizedly connected input signal. The signal reading method based on a DMX512 protocol comprises the steps as follows. Firstly, it is detected that a potential change occurs to the input signal (S110).
  • Then, according to the potential change, it is determined a polarity of the input signal is positive or negative (S120).
  • If the polarity of the input signal is positive, the input signal is decoded by using a positive-phase receiving procedure (S 130). On the contrary, if the polarity of the input signal is negative, the input signal is decoded by using a negative-phase receiving procedure (S 140). Finally, data carried in the input signal is read according to the DMX512 protocol (S 150).
  • FIG. 2A is a potential diagram of a positive input signal. Referring to FIG. 2A, when the input signal is converted from a high potential to a low potential, the micro-controller determines that the polarity of the input signal is positive, that is, a positive input signal 21. Next, in the positive input signal 21, it is determined that an initial signal is a continuous low potential signal. FIG. 2B is a potential diagram of a negative input signal. Referring to FIG. 2B, when the input signal is converted from a low potential to a high potential, the micro-controller determines that the polarity of the input signal is negative, that is, a negative input signal 22. Next, in the negative input signal 21, it is determined that the initial signal is a continuous high potential signal.
  • After the polarity of the input signal is determined, the input signal is read. If the polarity of the input signal is positive, the carried data is decoded by using the positive-phase receiving procedure. If the polarity of the input signal is negative, the carried data is decoded by using the negative-phase receiving procedure. The method for reading the positive input signal by using the positive-phase receiving procedure and the method for reading the negative input signal by using the negative-phase receiving procedure are respectively described below.
  • FIG. 3A is a flow chart of a positive-phase receiving procedure. Referring to FIG. 3A, the positive-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on an input signal by using a rule of a low potential being 0 and a high potential being 1 according to a level of the potential change, and then, the input signal is read according to a data reading rate specified in the DMX512 protocol (S310). Next, it is confirmed that the input signal is in a low potential in a first time (S320), and the input signal is in a low potential in a second time (S330). Finally, it is confirmed that the potential change occurs to the input signal once again (S340).
  • In order to further demonstrate the method for reading the positive input signal, the process for reading the positive input signal is illustrated in this paragraph according to the timing through a potential diagram. FIG. 3B is a potential diagram of the positive input signal. Referring to FIG. 3B, a potential change from a high potential to a low potential firstly occurs to the input signal, and according to such technical feature, the micro-controller determines that the input signal is a positive input signal. When the flow proceeds to the positive-phase receiving procedure, the positive input signal 30 is read/interpreted according to a data reading rate specified in the DMX512 protocol. After finishing detecting the potential change from the high potential to the low potential, the micro-controller confirms the potential change of the positive input signal 30 in a first time T1. If the potential change occurs to the positive input signal 30 in the first time T1, the micro-controller denies the possibility that the positive input signal 30 is currently an initial signal 31 of the positive input signal and a 0th section data signal 32 of the positive input signal. In the data-reading rule specified in the DMX512 protocol, a 1st section data signal 33 of the positive input signal cannot be directly read without reading the initial signal 31 of the positive input signal or the 0th section data signal 32 of the positive input signal. If the potential change occurs to the input signal in the first time T1, the input signal is considered as the noise. After the first time T 1 elapsed, the micro-controller needs to confirm the initial signal 31 of the positive input signal, and confirms that the positive input signal 30 is in the low potential in the second time T2.
  • Accordingly, the second time T2 may be a time with a variable length. It is confirmed that the input signal is in the low potential in the first time T1, so as to prove the possibility that the input signal is the initial signal 31 of the positive input signal or the 0th section data signal 32 of the positive input signal. If the potential change occurs to the positive input signal 30 in the second time T2, and the initial signal 31 of the positive input signal cannot be further confirmed, the micro-controller considers the input signal as the 0th section data signal 32 of the positive input signal. Therefore, the conditions for the micro-controller to further confirm the initial signal 31 of the positive input signal include that a sum of the first time T1 and the second time T2 is greater than an initial signal time specified in the DMX512 protocol, and the positive input signal 30 is continuously maintained in the low potential in the first time T1 and the second time T2.
  • However, the DMX512 protocol further specifies that, when the sum of the first time T1 and the second time T2 is greater than a preset time, that is, the sum of the first time T1 and the second time T2 satisfies an idle signal time specified in the DMX512 protocol, the micro-controller determines that the positive input signal 30 is an idle signal.
  • Then, the negative-phase receiving procedure is described. FIG. 4A is a flow chart of a negative-phase receiving procedure. Referring to FIG. 4A, the negative-phase receiving procedure comprises the steps as follows. Firstly, a binary coding is performed on an input signal by using a rule of a low potential being 1 and a high potential being 0 according to a level of the potential change, and then, the input signal is read according to a data reading rate specified in the DMX512 protocol (S410). Next, it is confirmed that the input signal is in a high potential in a third time (S420), and the input signal is in a high potential in a fourth time (S430). Finally, it is confirmed that the potential change occurs to the input signal once again (S440).
  • In order to further demonstrate the method for reading the negative input signal, the process for reading the negative input signal according to the timing is illustrated in this paragraph through a potential diagram. FIG. 4B is a potential diagram of the negative input signal. Referring to FIG. 4B, a potential change from a low potential to a high potential firstly occurs to the input signal, and according to such technical feature, the micro-controller determines that the input signal is a negative input signal. When the flow proceeds to the negative-phase receiving procedure, since the negative input signal 40 must be read according to the data reading rate specified in the DMX512 protocol, the third time T3 has a fixed time length matching with the data reading rate.
  • After finishing detecting the potential change from the low potential to the high potential, the micro-controller confirms the potential change of the negative input signal 40 in the third time T3. If the potential change occurs to the negative input signal 40 in the third time T3, the micro-controller denies the possibility that the negative input signal 40 is currently an initial signal 41 of the negative input signal and a 0th section data signal 42 of the negative input signal. Based on the DMX512 protocol, a 1st section data signal 43 of the negative input signal cannot be directly read without reading the initial signal 41 of the negative input signal or the 0th section data signal 42 of the negative input signal. In this case, the input signal is treated as the noise. After the third time T3 elapsed, the micro-controller needs to further confirm the initial signal 41, and confirms that the negative input signal 40 is in the high potential in the fourth time T4.
  • Accordingly, the fourth time T4 may be a time with a variable length. It is confirmed that the input signal is in the high potential in the third time T3, so as to prove the possibility that the input signal is the initial signal 41 of the negative input signal or the 0th section data signal 42 of the negative input signal. If the potential change occurs to the negative input signal 40 in the fourth time T4, and the initial signal 41 of the negative input signal cannot be further confirmed, the micro-controller considers the input signal as the 0th section data signal 42 of the negative input signal. Therefore, the conditions for the micro-controller to further confirm the initial signal 41 include a sum of the third time T3 and the fourth time T4 is greater than an initial signal time specified in the DMX512 protocol, and the negative input signal 40 is continuously maintained in the high potential in the third time T3 and the fourth time T4. The DMX512 protocol further specifies that, when the sum of the third time T3 and the fourth time T4 is greater than a preset time (that is, the sum of the third time T3 and the fourth time T4 is greater than a preset idle time), the micro-controller determines that the negative input signal 40 is an idle signal.
  • In order to enable the micro-controller to read the negative input signal, a flag may be added in some embodiments, which is helpful for entering the negative-phase receiving procedure. That is to say, by setting the flag to perform a reversing process, the micro-controller can determine that the input signal has a potential change from a low potential to a high potential. Through the flag conversion, the micro-controller performs the binary coding on the input signal by using the rule of a low potential being 1 and a high potential being 0, thereby non-polarizedly reading the input signal.

Claims (12)

  1. A signal reading method based on a DMX512 protocol, executed in a DMX512 non-polarized connection lighting system, capable of non-polarizedly reading an input signal through a micro-controller, the signal reading method based on a DMX512 protocol comprising:
    detecting that a potential change occurs to the input signal;
    determining whether a polarity of the input signal is positive or negative;
    decoding the input signal by using a positive-phase receiving procedure, if the polarity of the input signal is positive;
    decoding the input signal by using a negative-phase receiving procedure, if the polarity of the input signal is negative; and
    reading data carried in the input signal according to the DMX512 protocol.
  2. The signal reading method based on a DMX512 protocol according to claim 1, wherein the step of determining the polarity of the input signal comprises:
    determining that the polarity of the input signal is positive, when the potential change of the input signal is from a high potential to a low potential; and
    determining that the polarity of the input signal is negative, when the potential change of the input signal is from a low potential to a high potential.
  3. The signal reading method based on a DMX512 protocol according to claim 1, wherein the positive-phase receiving procedure comprises:
    performing a binary coding on the input signal by using a rule of a low potential being 0 and a high potential being 1 according to a level of the potential change, and reading the input signal according to a data reading rate specified in the DMX512 protocol;
    confirming that the input signal is in a low potential in a first time;
    confirming that the input signal is in the low potential in a second time; and
    confirming that the potential change occurs to the input signal once again.
  4. The signal reading method based on a DMX512 protocol according to claim 3, wherein a sum of the first time and the second time is larger than an initial signal time specified in the DMX512 protocol.
  5. The signal reading method based on a DMX512 protocol according to claim 3, wherein if a sum of the first time and the second time is larger than a preset time, the input signal is determined to be an idle signal.
  6. The signal reading method based on a DMX512 protocol according to claim 3, wherein if the potential change occurs in the first time, the input signal is determined to be a noise.
  7. The signal reading method based on a DMX512 protocol according to claim 3, wherein if the potential change occurs in the second time, the input signal is determined to be a data signal.
  8. The signal reading method based on a DMX512 protocol according to claim 1, wherein the negative-phase receiving procedure comprises:
    performing a binary coding on the input signal by using a rule of a low potential being 1 and a high potential being 0 according to a level of the potential change, and reading the input signal according to a data reading rate specified in the DMX512 protocol;
    confirming that the input signal is in a high potential in a third time;
    confirming that the input signal is in a high potential in a fourth time; and
    confirming that the potential change occurs to the input signal once again.
  9. The signal reading method based on a DMX512 protocol according to claim 8, wherein a sum of the third time and the fourth time is larger than an initial signal time specified in the DMX512 protocol.
  10. The signal reading method based on a DMX512 protocol according to claim 8, wherein if a sum of the third time and the fourth time is larger than a preset time, the input signal is determined to be an idle signal.
  11. The signal reading method based on a DMX512 protocol according to claim 8, wherein if the potential change occurs in the third time, the input signal is determined to be a noise.
  12. The signal reading method based on a DMX512 protocol according to claim 8, wherein if the potential change occurs in the fourth time, the input signal is determined to be a data signal.
EP09156796A 2008-04-02 2009-03-31 Signal reading method based on DMX512 protocol Withdrawn EP2107860A3 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097112069A TW200944050A (en) 2008-04-02 2008-04-02 A signal reading method based on DMX512 Protocol

Publications (2)

Publication Number Publication Date
EP2107860A2 true EP2107860A2 (en) 2009-10-07
EP2107860A3 EP2107860A3 (en) 2010-12-22

Family

ID=40831188

Family Applications (1)

Application Number Title Priority Date Filing Date
EP09156796A Withdrawn EP2107860A3 (en) 2008-04-02 2009-03-31 Signal reading method based on DMX512 protocol

Country Status (2)

Country Link
EP (1) EP2107860A3 (en)
TW (1) TW200944050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110121748A1 (en) * 2009-11-26 2011-05-26 My-Semi Inc. Decoding circuit and decoding method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI458304B (en) * 2009-10-27 2014-10-21 My Semi Inc Data transmitting apparatus and method of transmitting signal thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04160842A (en) * 1990-10-24 1992-06-04 Mitsubishi Electric Corp Polarity discriminator for ami signal
US5557220A (en) * 1993-08-19 1996-09-17 Mitsubishi Denki Kabushiki Kaisha Polarity detector
US5754587A (en) * 1994-10-31 1998-05-19 Symbol Technologies, Inc. Method and apparatus for bias suppression in a VCO based FM transmission system
US20030057932A1 (en) * 2001-09-12 2003-03-27 Jui-Feng Chang Method for detecting connection polarity of network transmission lines and associated detection circuit
US20070188427A1 (en) * 1997-12-17 2007-08-16 Color Kinetics Incorporated Organic light emitting diode methods and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04160842A (en) * 1990-10-24 1992-06-04 Mitsubishi Electric Corp Polarity discriminator for ami signal
US5557220A (en) * 1993-08-19 1996-09-17 Mitsubishi Denki Kabushiki Kaisha Polarity detector
US5754587A (en) * 1994-10-31 1998-05-19 Symbol Technologies, Inc. Method and apparatus for bias suppression in a VCO based FM transmission system
US20070188427A1 (en) * 1997-12-17 2007-08-16 Color Kinetics Incorporated Organic light emitting diode methods and apparatus
US20030057932A1 (en) * 2001-09-12 2003-03-27 Jui-Feng Chang Method for detecting connection polarity of network transmission lines and associated detection circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Kevin Gingerich: "Detection of RS-485 signal loss" 2006, Texas Instruments Inc. , Dallas, TX, USA , XP002609194 , pages 18-20 * the whole document * *
Parthiv Pandya: "AN1076 Using a PIC Microcontroller for DMX512 Communication" 8 December 2006 (2006-12-08), Microchip Technology Inc. , Chandler, AZ, USA , XP002609193 , pages 1-18 * page 1 - page 8; figures 1-7 * *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110121748A1 (en) * 2009-11-26 2011-05-26 My-Semi Inc. Decoding circuit and decoding method thereof
US8421652B2 (en) * 2009-11-26 2013-04-16 My-Semi Inc. Decoding circuit and decoding method thereof

Also Published As

Publication number Publication date
TWI370703B (en) 2012-08-11
EP2107860A3 (en) 2010-12-22
TW200944050A (en) 2009-10-16

Similar Documents

Publication Publication Date Title
EP3126994B1 (en) Methods to send extra information in-band on inter-integrated circuit (i2c) bus
KR102205823B1 (en) Clock recovery circuit for multiple wire data signals
EP3072238B1 (en) Devices and methods for facilitating data inversion to limit both instantaneous current and signal transitions
KR20160066029A (en) Low power camera control interface bus and devices
WO2009055146A1 (en) Encoding and decoding techniques with improved timing margin
JP2017511044A (en) Bit allocation via shared bus to facilitate error detection optimization
US20070026716A1 (en) Data transmission interface system and method for electronic component
WO2018223926A1 (en) Drive control method, assembly and display apparatus
JP2018516490A (en) Clock and data recovery for pulse-based multiwire links
EP2107860A2 (en) Signal reading method based on DMX512 protocol
US20160124896A1 (en) Simultaneous edge toggling immunity circuit for multi-mode bus
US9426082B2 (en) Low-voltage differential signaling or 2-wire differential link with symbol transition clocking
CN101562925B (en) Signal reading method based on DMX512 protocol
JPWO2003103244A1 (en) Data transmission system
CN112953680B (en) Encoding method, decoding method, encoding device, and decoding device
JP2009081726A (en) Entropy coding device, entropy coding method, and computer program
JP5506232B2 (en) Multilevel encoding method, decoding method thereof, and multilevel signal transmission apparatus
CN107196912B (en) Protocol decoding method and device
US10897375B1 (en) Data transmission over wired networks
US8736541B2 (en) Reducing scrolling effect for LCD lamps
JP2007150396A (en) Communication device
US7649471B2 (en) Logic circuit and method for controlling display lights of hard disk
US7124208B2 (en) Method and apparatus for enumerating devices on a link
JP2006174187A (en) Remote control signal receiving device
JP6470401B2 (en) Apparatus and method for energy saving in active loudspeakers

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20090331

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA RS

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA RS

AKY No designation fees paid
REG Reference to a national code

Ref country code: DE

Ref legal event code: R108

REG Reference to a national code

Ref country code: DE

Ref legal event code: R108

Effective date: 20110831

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20110623