WO2015014238A1 - 可见光信号的编码和解码方法、装置及系统 - Google Patents
可见光信号的编码和解码方法、装置及系统 Download PDFInfo
- Publication number
- WO2015014238A1 WO2015014238A1 PCT/CN2014/082955 CN2014082955W WO2015014238A1 WO 2015014238 A1 WO2015014238 A1 WO 2015014238A1 CN 2014082955 W CN2014082955 W CN 2014082955W WO 2015014238 A1 WO2015014238 A1 WO 2015014238A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- level
- electrical signal
- data
- threshold
- units
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
Definitions
- the present invention relates to visible light communication, and more particularly to a method, apparatus and system for encoding and decoding visible light signals. Background technique
- Visible light communication is an emerging, short-range, high-speed wireless optical communication technology developed in LED technology.
- the basic principle of visible light communication is to use light-emitting diodes (LEDs) to switch faster than fluorescent and incandescent lamps, and to communicate by high-frequency flickering of LED light sources.
- Light has a binary value of 1, and no light represents a binary 0.
- High-speed optical signals containing digital information can be obtained by photoelectric conversion.
- Wireless optical communication technology Because its data is not easily interfered and captured, optical communication equipment can be used to make wireless optical encryption keys because it is simple to manufacture and should not be damaged or demagnetized. Compared with microwave technology, wireless optical communication has a very rich spectrum of resources, which is unmatched by general microwave communication and wireless communication.
- visible light communication can be applied to any communication protocol and is applicable to any environment.
- wireless optical communication Compared with the traditional magnetic materials, there is no need to worry about the degaussing problem, and there is no need to worry about the communication content being stolen.
- the wireless optical communication equipment is flexible and convenient to set up, and the cost is low, which is suitable for large-scale popular application.
- the technical problem to be solved by the present invention is to provide a method and apparatus and system for encoding and decoding visible light signals to improve the information transmission rate of visible light communication based on LED lamps.
- the technical solution adopted by the present invention to solve the above technical problem is to provide a method for encoding a visible light signal, comprising the steps of: dividing data to be transmitted into a plurality of data units, each data unit comprising one or more bits; Converting a plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit in a number of levels of transitions, the adjacent electrical signal units having a fixed level Interval, where the transition of the level changes from a low level to a high level transition and a high level to a low level transition, the level within each electrical signal unit having a first level duration, and The fixed level between adjacent electrical signal units has a second level duration; combining the electrical signal units to obtain an encoded electrical signal; and transmitting the encoded electrical signal in the form of a visible light signal.
- the first level duration is a flicker delay value adjustment of a light emitting diode as a source that is obtained in advance.
- the second level duration is significantly greater than the first level duration.
- the second level duration is a flicker delay value adjustment of the light emitting diode as a source that is obtained in advance.
- each data unit contains N bits, N being a natural number.
- the present invention further provides a decoding method for a visible light signal, comprising the steps of: receiving a visible light signal and converting it into an electrical signal; when detecting a level jump, determining that the start of an electrical signal unit starts timing, the level of Jumping into a low-to-high transition and a high-to-low transition; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the recording level jumps And the number of times of change; and determining that the electrical signal unit ends when the detected level duration is greater than the second threshold and less than or equal to the third threshold; and determining when the detected level duration is greater than the third threshold
- Receiving the signal is completed; converting each received electrical signal unit into a data unit; and combining the plurality of data units into data; wherein the third threshold is greater than the second threshold, and the second threshold is greater than the first threshold, at least The first threshold is a flicker delay value adjustment of a light-emitting diode as a transmission source obtained in advance.
- the first threshold is a flicker delay value adjustment of a light emitting diode as a source that is obtained in advance.
- the second threshold and/or the third threshold is a flicker delay value adjustment of a light emitting diode as a transmission source obtained in advance.
- the method further includes comparing the data with a preset condition, and if the data matches the preset condition, using the data to control a controlled device.
- the matching of the data with the preset condition comprises: the data being the same as or corresponding to the preset condition.
- the present invention also provides an apparatus for encoding a visible light signal, comprising: a module for dividing data to be transmitted into a plurality of data units, each data unit comprising one or more bits; for converting the plurality of data units into a module of a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit in a number of levels of transitions, the adjacent electrical signal units having an interval represented by a fixed level, wherein The jump of this level changes from a low level to a high level transition and a high level to a low level transition, and the level in each electrical signal unit has a first level duration, and adjacent electrical signals The fixed level between the units has a second level duration; a module for combining the electrical signal units to obtain the encoded electrical signal; and means for transmitting the encoded electrical signal in the form of a visible light signal.
- the module for converting the plurality of data units into a plurality of electrical signal units is determined according to a correspondence table set in advance, in the electrical signal unit corresponding to the data unit to be transmitted. The number of level jumps.
- the first level duration is a flicker delay value adjustment of a light emitting diode as a source that is obtained in advance.
- the second level duration is significantly greater than the first level duration.
- the second level duration is a flicker delay value adjustment of the light emitting diode as a source that is obtained in advance.
- each data unit contains N bits, N being a natural number.
- the present invention also provides a decoding device for a visible light signal, comprising: a module for receiving a visible light signal and converting it into an electrical signal; and for determining a start of an electrical signal unit when starting a level jump, starting timing a module for recording the number of times the level jumps when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the level transitions to a low level to a high level a transition and a high-to-low transition; a module for determining that the electrical signal unit ends when the detected level duration is greater than the second threshold and less than or equal to the third threshold; a module for determining that a signal has been received when the detected level duration is greater than the third threshold; a module for converting each received electrical signal unit into a data unit; and for combining the plurality of data units into data Module.
- the module for converting each received electrical signal unit into a data unit is configured to determine a number of times of level jump in the recorded electrical signal unit according to a preset correspondence table. Data unit.
- the first threshold is a flicker delay value adjustment of a light emitting diode as a source that is obtained in advance.
- the second threshold and/or the third threshold is a flicker delay value adjustment of a light-emitting diode as a transmission source obtained in advance
- the third threshold is greater than the second threshold
- the third threshold is greater than the first threshold
- the apparatus further includes: a module for comparing the data with a preset condition, and if the data matches the preset condition, using the data to control a controlled device, where The matching of the data with the preset condition includes: the data is the same as or corresponding to the preset condition.
- the invention further provides a photonic key comprising an encoding device for a visible light signal as described above.
- the present invention further provides a photon controlled end comprising a decoding device for a visible light signal as described above.
- the invention further provides an authentication system comprising a photon key as described above and a photon controlled end as described above.
- the present invention further proposes an authentication system comprising the encoding device of the visible light signal as described above and the decoding device of the visible light signal as described above.
- the encoding and decoding method, device and system of the present invention divide the identification data obtained by the mobile phone into a plurality of electrical signal units, and the electrical signal units are distinguished by the duration of the level to represent the identification data from the number of times of level conversion. .
- This encoding makes it possible for the receiving end to correctly decode the data even if there is a synchronization problem caused by the flicker delay of the LED lamp.
- the flicker delay value is used to adjust the level duration so that the level duration is effectively shortened, thereby increasing the amount of information transmission per unit time.
- FIG. 1 is a flow chart showing a coding method of visible light communication according to a first embodiment of the present invention.
- FIG. 2 is a flow chart showing a decoding method of visible light communication according to the first embodiment of the present invention.
- FIG. 3 shows an exemplary encoded electrical signal of visible light communication in accordance with a first embodiment of the present invention.
- FIG. 4 is a flow chart showing a coding method of visible light communication according to a second embodiment of the present invention.
- FIG. 5 is a flow chart showing a decoding method of visible light communication according to a second embodiment of the present invention.
- Fig. 6 is a flow chart showing a coding method of visible light communication according to a third embodiment of the present invention.
- Fig. 7 is a flow chart showing a decoding method of visible light communication according to a third embodiment of the present invention.
- Figure 8 shows an exemplary encoded electrical signal of visible light communication in accordance with a third embodiment of the present invention. detailed description
- Embodiments of the present invention provide a coding and decoding method for improving an information transmission rate of visible light communication based on an LED lamp.
- the information is represented by a change from a state of light to no light, rather than a light or a state of no light itself.
- the information is represented by the level transition rather than the level duration itself.
- the data to be transmitted can be divided into a plurality of data units, each of which contains one or more bits. These data units are then converted into a plurality of electrical signal units, each of which represents the bits of the corresponding data unit in a number of levels of transitions.
- the interval between adjacent electrical signal units is represented by a fixed level.
- Level transitions can only contain low-to-high transitions, or low-to-high transitions, and low-to-high transitions and low-power A flat to high transition.
- the level duration (herein referred to as the first level duration) within each electrical signal unit and the level duration between adjacent electrical signal units (referred to herein as the second level duration) may be preset.
- the second level duration may be greater than the first level duration. This size relationship will be significant so that the receiving end can recognize it without errors.
- the adjustment can be made with the flicker delay value of the light emitting diode as the transmission source.
- the flicker delay value is subtracted based on the desired level duration. For example, if the desired level duration is 3ms and the flicker delay value is 2ms, the set level duration is lms.
- the flashing delay value of the LED can be determined experimentally in advance.
- the flicker delay value has less effect on the duration of the second level.
- the adjustment may be made with the flicker delay value of the light emitting diode as the emission source when the second level duration is set.
- the light-emitting diode is controlled by an electrical signal, which is transmitted by the light-emitting diode in the form of a visible light signal.
- the decoding process is reversed.
- the receiving end receives the visible light signal and converts it into an electrical signal.
- a level jump is detected, it is determined as the start of an electrical signal unit; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the number of times the level jumps is recorded; when detected When the level duration is greater than the second threshold and less than or equal to the third threshold, it is determined that an electrical signal unit ends.
- the detected level duration is greater than the third threshold, the determination signal is received.
- the third threshold is greater than the second threshold and greater than the first threshold. It will be appreciated that the settings of the first threshold, the second threshold and the third threshold will refer to the aforementioned first level duration and second level duration.
- the received electrical signal units are converted into data units, and then the plurality of data units are combined into data.
- the information characterized by the visible light signal is thus obtained.
- level jump will occur at least once. Therefore, even if all the bit values of an electrical signal unit are 0, it will be represented by a level transition instead of a level continuous state.
- the encoding and corresponding decoding method of this embodiment is implemented in a mobile phone or similar portable mobile terminal.
- the following will only use the mobile phone as an example.
- the encoding method includes:
- step 101 the data to be transmitted is divided into a plurality of data units, and each data unit includes one or more bits. These data to be sent can be text, pictures, audio and/or video.
- Step 102 Convert the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and between the adjacent electrical signal units The interval expressed in fixed levels. In this embodiment, the rising or falling edge of the level can be used as the start of the transition.
- the high (or low) level of an electrical signal unit has a duration of 2 ms.
- Each electrical signal unit has four slave level transitions, including low to high transitions and high to low transitions, each electrical signal unit representing 2 bits of information, and four electrical signal units. Make up a byte.
- the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level When the number of transformations is 2, it represents information 01; when the number of transitions from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level When the number of low-level conversions is 4, it represents information 11.
- Table 1 The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
- the level combination of the electrical signal units corresponding to the information unit can be determined according to the above-mentioned correspondence table set in advance.
- each electrical signal unit can represent 1 bit of information, which requires up to 2 hops.
- each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
- this step is implemented in a data processor configured for optical communication in a handset.
- the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source.
- the adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, it is desirable to have a high (or low) level of duration within an electrical signal unit of 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
- the second level duration of the high (or low) level between two adjacent electrical signal units is greater than the first level duration, which can be set to 25 ms, which can be subjected to a flicker delay. Value adjustments can also be made without adjustment.
- each electrical signal unit is combined to obtain an encoded electrical signal.
- Figure 3 is an exemplary encoded electrical signal showing a relationship between bit values and levels. The four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively. Variable, representing 01, 11, 00, and 10, where the level transition refers to a low to high level and a high to low transition, the height between two adjacent electrical signal units ( Or low) The duration of the level is 27 ms, the combined signal is one byte, its binary representation is 01110010, and the corresponding hexadecimal signal is 0x72.
- Step 104 Send the encoded electrical signal in the form of a visible light signal.
- the encoded LED is used to control the LED to transmit the encoded electrical signal in the form of a visible light signal.
- FIG. 2 is a flowchart of a method for decoding a visible light signal according to a first embodiment of the present invention, the decoding method includes:
- Step 201 The mobile phone receives the visible light signal and converts it into an electrical signal. When receiving, it is necessary to align the optical receiver of the receiving mobile phone with the LED transmitting source of the transmitting end.
- Step 202 When a level jump is detected, it is determined that the start of an electrical signal unit starts timing.
- the level transition can be from low to high, or vice versa from high to low.
- Step 203 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
- the sustained level can be either high or low.
- the rising edge or the falling edge of the level can be used as the start of the jump recording.
- Step 204 When the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
- Step 205 When the detected level duration is greater than the third threshold, the determination signal is received.
- the first threshold value is also adjusted by the same flicker delay value so that the representative level can be correctly discriminated.
- the second threshold and the third threshold may be adjusted by the flicker delay value or may be adjusted without the flicker delay value.
- set the first, second, and third thresholds to 0, 25, and 60 ms, respectively, when a rising edge (or falling edge) is detected, start timing, when the detected high (or low) level duration When greater than 0, and less than or equal to 25 ms, record the number of transitions from low to high and high to low; when the detected high (or low) level is greater than 25 ms, and less than When it is equal to 60 ms, it is considered to be the end mark of an electric signal unit; when the detected high (or low) level duration is longer than 60 ms, the signal reception is considered complete.
- the duration of the high (or low) level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
- Step 206 Convert each received electrical signal unit into a data unit.
- Step 207 Combine the plurality of data units into data, thereby obtaining information characterized by the visible light signal.
- the data is divided into a plurality of electrical signal units, and the electrical signal units are distinguished by the duration of the level.
- the information is represented by the number of times of level conversion.
- the mobile phone is used as the signal transmitting end, and the signal is transmitted in the form of visible light through the LED light of the mobile phone.
- the receiving end judges the end of the signal reception, receives the interruption, or receives the completion, and records a The number of times the information signal is transformed from low level to high level and high level to low level. Therefore, the communication between the mobile phone and the visible light signal receiving end can be realized by using the embodiment, thereby improving the user experience.
- This embodiment is implemented in a photonic access control system in which a mobile phone can be used as a transmitting end and a access control end as a receiving end.
- the handset can be replaced with a photonic key.
- the access control can further use the signal to match to determine whether to open the door.
- FIG. 4 is a flow chart showing a coding method of visible light communication according to a second embodiment of the present invention.
- the coding method is as follows:
- Step 401 Divide the identity data to be sent into a plurality of data units in the mobile phone, where each data unit includes one or more bits.
- Step 402 Convert the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of levels of transitions, and between the adjacent electrical signal units The interval expressed in fixed levels. In this embodiment, the rising or falling edge of the level can be used as the start of the transition.
- the high (or low) level of an electrical signal unit has a duration of 2 ms.
- Each electrical signal unit has four levels of transformation, including low-to-high transitions and high-to-low transitions.
- Each electrical signal unit represents 2 bits of information, and four electrical signals.
- the units make up one byte.
- When the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level When the number of transformations is 2, it represents information 01; when the number of transitions from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level When the number of low-level conversions is 4, it represents information 11.
- Table 1 The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
- each electrical signal unit can represent 1 bit of information, which requires up to 2 hops.
- each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
- this step is implemented in a data processor configured for optical communication in a handset.
- the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source.
- the adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, it is desirable that the first level of the high (or low) level within an electrical signal unit lasts for 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
- the second level duration of the high (or low) level between two adjacent electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
- Step 403 Combine the respective electrical signal units to obtain the encoded electrical signal.
- Figure 3 is an exemplary encoded electrical signal showing a relationship between bit values and levels.
- the four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively.
- the duration of the (or low) level is 27 ms
- the combined signal is one byte
- its binary representation is 01110010
- the corresponding hexadecimal signal is 0x72.
- Step 404 Send the encoded electrical signal in the form of a visible light signal.
- the LED source of the mobile phone When transmitting, it is necessary to align the LED source of the mobile phone with the optical receiver that receives the controlled end of the photon access control.
- the decoding method includes:
- Step 501 The photon access control controlled end receives the visible light signal and converts it into an electrical signal.
- Step 502 When a level jump is detected, it is determined that the start of an electrical signal unit starts timing.
- the level transition can be from low to high, or vice versa from high to low.
- Step 503 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
- the sustained level can be either high or low.
- the rising edge or the falling edge of the level can be used as the start of the jump recording.
- Step 504 When the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
- Step 505 When the detected level duration is greater than the third threshold, the determination signal is received.
- the third threshold is greater than the second threshold by more than the first threshold.
- set the first, second, and third thresholds to 0, 25, and 60 ms, respectively, when a rising edge (or falling edge) is detected, start timing, when the detected high (or low) level duration When greater than 0, and less than or equal to 25 ms, record the number of transitions from low to high and high to low; when the detected high (or low) level is greater than 25 ms, and less than When it is equal to 60 ms, it is considered to be the end mark of an electric signal unit; when the detected high (or low) level duration is longer than 60 ms, the signal reception is considered complete.
- the duration of the high (or low) level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
- Step 506 Convert each received electrical signal unit into a data unit.
- Step 507 The photon access control controlled end combines the plurality of data units into the identification data, thereby obtaining information characterized by the visible light signal.
- Step 508 The photon access control controlled end compares the identification data with a preset condition, and if the identification data matches the preset condition, controls the electric lock connected thereto to unlock.
- the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
- the encoding method provided in this embodiment divides the identification data obtained by the mobile phone into a plurality of electrical signal units, and the electrical signal units are distinguished by the duration of the level to represent the identification data from the number of times of level conversion.
- This encoding method allows the receiver to decode correctly even if there is a synchronization problem caused by the blinking delay of the LED lamp. Data.
- the flicker delay value is used to adjust the level duration so that the level duration is effectively shortened, thereby increasing the amount of information transmission per unit time.
- the mobile phone is used as the transmitting end of the photon access control system, and the encoded identification data is transmitted as a visible light signal through the LED light of the mobile phone.
- the photon access control terminal decodes the visible light signal received from the mobile phone, and then performs authentication according to the identification data obtained by decoding. If the authentication is performed, the electric lock connected to the control is unlocked, thereby unlocking the mobile phone and improving the user experience.
- This embodiment is implemented in a photonic lock system in which a dedicated photon key can be used as the transmitting end and the photon lock controlled end as the receiving end.
- the photonic key can be replaced with a cell phone.
- the photon lock controlled end can further use the signal to match to determine whether to unlock.
- Fig. 6 is a flow chart showing a coding method of visible light communication according to a third embodiment of the present invention. Referring to Figure 6, the coding method is as follows:
- Step 601 Divide the identification data to be sent into a plurality of data units in the photonic key, each data unit comprising one or more bits.
- Step 603 converting the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and the adjacent electrical signal units have The interval expressed in fixed levels.
- the rising or falling edge of the level can be used as the start of the transition.
- the high (or low) level of an electrical signal unit has a duration of 2 ms.
- Each electrical signal unit has four levels of conversion, including low to high transitions, each electrical signal unit representing 2 bits of information, and four electrical signal units forming one byte.
- the number of transitions from low level to high level in an electrical signal unit is 1, it represents information 00; when the number of transitions from low level to high level is 2, it represents information 01; when from low power
- the number of transitions from flat to high level is 3, it represents information 10; when the number of transitions from low level to high level is 4, it represents information 11.
- Table 1 The correspondence between the number of transitions from low level to high level and the information it represents is shown in Table 1.
- each electrical signal unit can represent N-bit information, and N is a natural number, such as 1-bit information, which requires a maximum of 2 hops.
- each electrical signal unit can represent 3 bits of information, which requires up to 8 transitions, such as low to high or / and high to low in an electrical signal unit.
- the number of transformations When the number of transformations is 1, it represents information 000; when the number of transitions from low level to high level or / and high level to low level is 2, it represents information 001; when from low level to high level or / When the number of transitions from high level to low level is 3, it represents information 010; when the number of transitions from low level to high level or / and high level to low level is 4, it represents information 011, When the number of transitions from low level to high level or / and high level to low level in an electrical signal unit is 5, it represents information 100; when from low level to high level or / and high power When the number of transitions from the low level to the low level is 6, it represents the information 101; when the number of transitions from low level to high level or / and high level to low level is 7, the representative information 110; When the number of transitions from low level to high level or / and high level to low level is 8, it represents information 111.
- the information corresponding to the number of times of the above hopping can be flexibly set according to
- this step is implemented in a data processor configured for optical communication in an electronic light key.
- the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source.
- the adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, it is desirable that the first level of the high (or low) level within an electrical signal unit lasts for 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
- the second level duration of the high (or low) level between two adjacent electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
- Step 603 Combine the respective electrical signal units to obtain the encoded electrical signal.
- Figure 8 is an exemplary encoded electrical signal showing a relationship between bit values and levels.
- the four electrical signal units in the figure have 2, 4, 1 and 3 low levels, respectively.
- the high level transitions represent 01, 11, 00, and 10, respectively.
- the duration of the high or low level between two adjacent electrical signal units is 27 ms, and the combined signal is one byte, and its binary Expressed as 01110010, the corresponding hexadecimal signal is 0x72.
- Step 604 transmitting the encoded electrical signal in the form of a visible light signal.
- the encoded electrical signal is controlled by the encoded electrical signal to transmit the encoded electrical signal in the form of a visible light signal.
- the LED source of the photonic key needs to be aligned with the optical receiver that receives the controlled end of the photon lock.
- the decoding method includes:
- Step 701 The photon lock controlled end receives the visible light signal and converts it into an electrical signal.
- Step 702 When a level jump is detected, it is determined that the start of an electrical signal unit starts timing.
- the level transition can be from low to high, or vice versa from high to low.
- Step 703 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
- the sustained level can be either high or low.
- the rising edge or the falling edge of the level can be used as the start of the jump recording.
- Step 704 When the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
- Step 705 When the detected level duration is greater than the third threshold, the determination signal is received.
- the third threshold is greater than the second threshold by more than the first threshold.
- the first, second, and third thresholds are set to 0, 25, and 60 ms, respectively, and start timing when a rising edge is detected, when the detected high level has a duration greater than 0 and less than or equal to 25 ms. , recording the number of transitions from low to high; when the detected low level is greater than 25 ms and less than or equal to 60 ms When it is considered to be the end mark of an electric signal unit; when the detected low level duration is greater than 60 ms, the signal reception is considered complete.
- the duration of the low level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
- Step 706 Convert each received electrical signal unit into a data unit.
- Step 707 The photon lock controlled end combines the plurality of data units into the identification data, thereby obtaining information characterized by the visible light signal.
- Step 708 The photon lock controlled end compares the identification data with a preset condition, and if the identification data matches the preset condition, controls the electric lock connected thereto to unlock.
- the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
- the encoding method provided in this embodiment divides the identification data obtained by the photon key into a plurality of electrical signal units, and the electrical signal units are distinguished by the duration of the level, and the identification data is represented by the number of levels of conversion.
- This encoding makes it possible for the receiving end to correctly decode the data even if there is a synchronization problem caused by the flicker delay of the LED lamp.
- the flicker delay value is used to adjust the level duration so that the level duration is effectively shortened, thereby increasing the amount of information transmission per unit time.
- the present invention also provides an apparatus for encoding a visible light signal, comprising: a module for dividing data to be transmitted into a plurality of data units, each data unit comprising one or more bits; for converting the plurality of data units into a module of a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit in a number of levels of transitions, the adjacent electrical signal units having an interval represented by a fixed level, wherein The level in each electrical signal unit has a first level duration, and the fixed level between adjacent electrical signal units has a second level duration; for combining the electrical signal units to obtain the encoded power a module of signals; and means for transmitting the encoded electrical signal in the form of a visible light signal.
- This level transitions to a low to high transition or a / high to low transition.
- the module for converting the plurality of data units into a plurality of electrical signal units is determining a number of times of level jumps in the electrical signal unit corresponding to the data unit to be transmitted according to a preset correspondence table.
- the first level duration is an adjustment of the flicker delay value of the light emitting diode as a transmission source obtained in advance.
- the second level duration is significantly greater than the first level duration.
- the second level duration is an adjustment of the flicker delay value of the light-emitting diode as a transmission source obtained in advance.
- Each data unit contains N bits and N is a natural number.
- the present invention also provides a decoding device for a visible light signal, comprising: a module for receiving a visible light signal and converting it into an electrical signal; and for determining a start of an electrical signal unit when starting a level jump, starting timing a module for recording a number of times of level jump when the detected level duration is greater than a first threshold and less than or equal to a second threshold; for when the detected level duration is greater than the second threshold And a module that determines that the electrical signal unit ends when the third threshold is less than or equal to the third threshold; and a module for determining that the signal is received when the detected level duration is greater than the third threshold; A module that converts a signal unit into a data unit; and a module for combining a plurality of data units into data.
- This level transitions to a low to high transition or a sum to a high to low transition.
- the module for converting the received electrical signal units into data units is a data unit corresponding to the number of times of level jumps in the recorded electrical signal unit according to a correspondence table set in advance.
- the first threshold is a flicker delay value adjustment of a light-emitting diode as a transmission source obtained in advance.
- the second threshold and/or the third threshold is a flicker delay value adjustment of a light-emitting diode as a source that is obtained in advance, the third threshold being greater than the second threshold, and the second threshold being greater than the first threshold.
- the device further includes a module for comparing the data with a preset condition, and if the data matches the preset condition, using the data to control a controlled device, wherein the matching of the data with the preset condition includes :
- the data is the same as or has a corresponding relationship with the preset condition.
- the present invention also provides an authentication system, which can be an access control system, a subway system, a payment system, or a consumption management system.
- the authentication system comprises a photon key and a photon controlled end, and the photon key comprises the aforementioned encoding device for the visible optical signal, and the photon controlled end comprises the aforementioned decoding device for the visible light signal.
- the photon key is used as the transmitting end, and the encoded identification data is transmitted as a visible light signal through the LED light of the electronic key.
- the photon controlled end decodes the visible light signal received from the photon key, and then performs authentication according to the identification data obtained by decoding. If the authentication is performed, the controllable lock connected to the control is unlocked, thereby unlocking and improving the user experience.
- the lock can also be replaced with other access control switch devices, such as gates, that are switched between open and closed states.
- the present invention also provides an authentication system comprising the aforementioned encoding device for visible light signals and a decoding device for visible optical signals.
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
- Optics & Photonics (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016530334A JP6167237B2 (ja) | 2013-07-31 | 2014-07-24 | 可視光信号のエンコードとデコード方法、装置及びシステム |
EP14832751.3A EP3029858B1 (en) | 2013-07-31 | 2014-07-24 | Method, apparatus, and system for encoding and decoding visible light signal |
KR1020167004224A KR101854288B1 (ko) | 2013-07-31 | 2014-07-24 | 가시 광선 신호의 코딩과 디코딩방법, 장치 및 시스템 |
US15/011,567 US9667345B2 (en) | 2013-07-31 | 2016-01-31 | Method, apparatus, and system for encoding and decoding visible light signal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310328832.1A CN103812557B (zh) | 2013-07-31 | 2013-07-31 | 可见光信号的编码和解码方法、装置及系统 |
CN201310328832.1 | 2013-07-31 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/011,567 Continuation US9667345B2 (en) | 2013-07-31 | 2016-01-31 | Method, apparatus, and system for encoding and decoding visible light signal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015014238A1 true WO2015014238A1 (zh) | 2015-02-05 |
Family
ID=50708821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/082955 WO2015014238A1 (zh) | 2013-07-31 | 2014-07-24 | 可见光信号的编码和解码方法、装置及系统 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9667345B2 (zh) |
EP (1) | EP3029858B1 (zh) |
JP (1) | JP6167237B2 (zh) |
KR (1) | KR101854288B1 (zh) |
CN (1) | CN103812557B (zh) |
WO (1) | WO2015014238A1 (zh) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103812557B (zh) * | 2013-07-31 | 2015-05-27 | 深圳光启创新技术有限公司 | 可见光信号的编码和解码方法、装置及系统 |
US9664011B2 (en) * | 2014-05-27 | 2017-05-30 | Baker Hughes Incorporated | High-speed camera to monitor surface drilling dynamics and provide optical data link for receiving downhole data |
WO2016034038A1 (zh) * | 2014-09-05 | 2016-03-10 | 深圳光启智能光子技术有限公司 | 提高可见光信号传输速率的编解码方法及移动终端和系统 |
CN105471511B (zh) * | 2014-09-05 | 2018-08-31 | 深圳光启智能光子技术有限公司 | 一种提高光信号传输可靠性的编解码方法、装置及系统 |
KR20170056587A (ko) | 2014-09-05 | 2017-05-23 | 쿠앙치 인텔리전트 포토닉 테크놀로지 리미티드 | 가시 광선 신호의 코딩과 디코딩방법 및 장치 |
CN105471513B (zh) * | 2014-09-05 | 2018-10-02 | 深圳光启智能光子技术有限公司 | 无线信号的自适应接收方法、装置及系统 |
CN105450299B (zh) * | 2014-09-05 | 2019-08-30 | 深圳光启智能光子技术有限公司 | 信号的编解码方法及系统 |
CN105471499B (zh) * | 2014-09-05 | 2018-05-25 | 深圳光启智能光子技术有限公司 | 提高可见光信号传输速率的编解码方法及移动终端和系统 |
CN105389865B (zh) * | 2014-09-05 | 2018-05-25 | 深圳光启智能光子技术有限公司 | 缩短发送时间的数字信号发送和接收方法及移动终端 |
EP3429097B1 (en) | 2016-03-08 | 2021-11-17 | Kuang-Chi Intelligent Photonic Technology Ltd. | Optical noise removal circuit, optical receiver, and optical chip |
CN107171734B (zh) * | 2016-03-08 | 2020-03-06 | 深圳光启智能光子技术有限公司 | 用于光通信的光芯片 |
CN107171737B (zh) * | 2016-03-08 | 2020-03-06 | 深圳光启智能光子技术有限公司 | 用于光通信的光芯片及鉴权装置 |
US9818269B1 (en) * | 2016-12-16 | 2017-11-14 | Ninad H. Ghodke | Status light data transmission |
CN108667558B (zh) * | 2017-03-31 | 2020-11-27 | 圣邦微电子(北京)股份有限公司 | 一种适合传送简短内容的编码方法 |
CN113924633B (zh) * | 2019-05-29 | 2024-01-05 | 三菱电机株式会社 | 断路器、断路器系统、信息处理方法及记录介质 |
CN113568850A (zh) * | 2020-04-29 | 2021-10-29 | 杭州海康威视数字技术股份有限公司 | 数据传输方法、装置、电子设备及存储介质 |
CN115226198B (zh) * | 2022-08-31 | 2022-12-27 | 成都金诺信高科技有限公司 | 一种基于白光led的移动目标时间同步系统和方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0599522A1 (en) * | 1992-11-23 | 1994-06-01 | Hewlett-Packard Company | Optical transceiver with improved range and data communication rate |
CN101404559A (zh) * | 2008-10-27 | 2009-04-08 | 江南大学 | 单片机短距无线通信抗干扰简易编码方法 |
US20110069965A1 (en) * | 2009-09-21 | 2011-03-24 | Electronics And Telecommunications Research Institute | Transmitter, receiver for visible light communication and method using the same |
CN102694597A (zh) * | 2012-04-28 | 2012-09-26 | 深圳光启创新技术有限公司 | 可见光信号的解码方法和控制方法 |
CN102694598A (zh) * | 2012-04-28 | 2012-09-26 | 深圳光启创新技术有限公司 | 可见光信号的编码方法和发送方法 |
CN103812557A (zh) * | 2013-07-31 | 2014-05-21 | 深圳光启创新技术有限公司 | 可见光信号的编码和解码方法、装置及系统 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7689130B2 (en) * | 2005-01-25 | 2010-03-30 | Koninklijke Philips Electronics N.V. | Method and apparatus for illumination and communication |
TW200642316A (en) * | 2006-06-29 | 2006-12-01 | Formolight Technologies Inc | Light-illumination communication method |
US8208818B2 (en) * | 2006-10-23 | 2012-06-26 | Panasonic Corporation | Optical free space transmission system using visible light and infrared light |
JP5179260B2 (ja) * | 2008-05-27 | 2013-04-10 | パナソニック株式会社 | 可視光通信システム |
JP5161176B2 (ja) * | 2008-09-26 | 2013-03-13 | 太陽誘電株式会社 | 可視光通信用送信機及び可視光通信システム |
EP2405620A1 (en) * | 2009-03-02 | 2012-01-11 | Hitachi, Ltd. | Optical multi-level transmission system |
JP5356277B2 (ja) * | 2010-02-17 | 2013-12-04 | 三星電子株式会社 | 送信装置、及び送信方法 |
NL2009458C2 (en) * | 2012-09-13 | 2014-03-18 | Eldolab Holding Bv | Led fixture and led lighting arrangement comprising such led fixture. |
-
2013
- 2013-07-31 CN CN201310328832.1A patent/CN103812557B/zh active Active
-
2014
- 2014-07-24 EP EP14832751.3A patent/EP3029858B1/en not_active Not-in-force
- 2014-07-24 WO PCT/CN2014/082955 patent/WO2015014238A1/zh active Application Filing
- 2014-07-24 KR KR1020167004224A patent/KR101854288B1/ko active IP Right Grant
- 2014-07-24 JP JP2016530334A patent/JP6167237B2/ja not_active Expired - Fee Related
-
2016
- 2016-01-31 US US15/011,567 patent/US9667345B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0599522A1 (en) * | 1992-11-23 | 1994-06-01 | Hewlett-Packard Company | Optical transceiver with improved range and data communication rate |
CN101404559A (zh) * | 2008-10-27 | 2009-04-08 | 江南大学 | 单片机短距无线通信抗干扰简易编码方法 |
US20110069965A1 (en) * | 2009-09-21 | 2011-03-24 | Electronics And Telecommunications Research Institute | Transmitter, receiver for visible light communication and method using the same |
CN102694597A (zh) * | 2012-04-28 | 2012-09-26 | 深圳光启创新技术有限公司 | 可见光信号的解码方法和控制方法 |
CN102694598A (zh) * | 2012-04-28 | 2012-09-26 | 深圳光启创新技术有限公司 | 可见光信号的编码方法和发送方法 |
CN103812557A (zh) * | 2013-07-31 | 2014-05-21 | 深圳光启创新技术有限公司 | 可见光信号的编码和解码方法、装置及系统 |
Also Published As
Publication number | Publication date |
---|---|
US9667345B2 (en) | 2017-05-30 |
JP6167237B2 (ja) | 2017-07-19 |
JP2016531491A (ja) | 2016-10-06 |
EP3029858B1 (en) | 2018-08-22 |
KR20160039632A (ko) | 2016-04-11 |
US20160164605A1 (en) | 2016-06-09 |
KR101854288B1 (ko) | 2018-05-03 |
CN103812557A (zh) | 2014-05-21 |
EP3029858A1 (en) | 2016-06-08 |
EP3029858A4 (en) | 2017-03-22 |
CN103812557B (zh) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015014238A1 (zh) | 可见光信号的编码和解码方法、装置及系统 | |
WO2015014160A1 (zh) | 基于多阶幅度调制的可见光信号的编码和解码方法、装置及系统 | |
WO2016034036A1 (zh) | 信号的编解码方法、装置及系统 | |
WO2013166958A1 (zh) | 基于可见光通信的加密、解密及加解密方法和系统 | |
WO2014019526A1 (zh) | 可见光的加密方法、解密方法、通信装置及通信系统 | |
WO2013181980A1 (zh) | 基于可见光通信的握手同步方法和系统 | |
US9859978B2 (en) | Self-adaptive receiving method, device, and system for radio signal | |
WO2017152812A1 (zh) | 用于光通信的光芯片及鉴权装置 | |
US10116420B2 (en) | Error retransmission mechanism-comprised methods, apparatuses and systems for transmitting and receiving visible light signal | |
CN103812574B (zh) | 提高光子身份认证系统识别率的方法、装置及系统 | |
CN103812556B (zh) | 一种用于光子客户端的发光参数的调优方法 | |
Ghassemlooy et al. | Multilevel digital pulse interval modulation scheme for optical wireless communications | |
WO2021196785A1 (zh) | 可见光通信方法、可见光通信设备和计算机可读介质 | |
Jia et al. | Design of an FPGA based visible light communication system | |
TWI633762B (zh) | Decryption method for visible light communication system and communication device thereof | |
WO2017152811A1 (zh) | 光噪去除电路、光接收器以及光芯片 | |
WO2016034038A1 (zh) | 提高可见光信号传输速率的编解码方法及移动终端和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14832751 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014832751 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2016530334 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20167004224 Country of ref document: KR Kind code of ref document: A |