CN114726438A - Visible light modulation method, demodulation method and device - Google Patents
Visible light modulation method, demodulation method and device Download PDFInfo
- Publication number
- CN114726438A CN114726438A CN202110005295.1A CN202110005295A CN114726438A CN 114726438 A CN114726438 A CN 114726438A CN 202110005295 A CN202110005295 A CN 202110005295A CN 114726438 A CN114726438 A CN 114726438A
- Authority
- CN
- China
- Prior art keywords
- color
- optical path
- ofdm
- modulation
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 204
- 230000003287 optical effect Effects 0.000 claims abstract description 482
- 230000005540 biological transmission Effects 0.000 claims abstract description 39
- 238000005070 sampling Methods 0.000 claims description 81
- 238000012545 processing Methods 0.000 claims description 55
- 238000001514 detection method Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 claims description 21
- 238000013507 mapping Methods 0.000 claims description 17
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 239000003086 colorant Substances 0.000 claims description 8
- 239000013256 coordination polymer Substances 0.000 claims description 6
- 125000004122 cyclic group Chemical group 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000704 physical effect Effects 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- OAICVXFJPJFONN-UHFFFAOYSA-N Phosphorus Chemical compound [P] OAICVXFJPJFONN-UHFFFAOYSA-N 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
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
-
- 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/50—Transmitters
- H04B10/516—Details of coding or modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2697—Multicarrier modulation systems in combination with other modulation techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Optical Communication System (AREA)
Abstract
一种可见光调制方法、解调方法及设备,该可见光调制方法包括:对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;针对所述多种颜色光路上的数据流,使用正交频分复用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,获得每种颜色光路的OFDM信号;将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。本发明充分利用了可见光多色光路的物理特性,并能够在频域利用复数空间的自由度提高数据传输效率。
A visible light modulation method, demodulation method and device, the visible light modulation method comprising: performing color modulation on a first data stream to obtain the light intensity of each color light path in multiple color light paths; For the data stream, the modulation mode of orthogonal frequency division multiplexing OFDM is used to modulate the data stream on the optical path of each color on the modulation bandwidth corresponding to the optical path of each color, so as to obtain the OFDM signal of the optical path of each color; The light intensity of the color optical path is superimposed on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and transmit the signal on the optical channel corresponding to the color optical path by means of wavelength division multiplexing. The invention makes full use of the physical properties of the visible light polychromatic light path, and can improve the data transmission efficiency by utilizing the freedom degree of complex space in the frequency domain.
Description
技术领域technical field
本发明涉及可见光通信(Visible Light Communication,VLC)技术领域,具体涉及一种可见光调制方法、解调方法及设备。The present invention relates to the technical field of visible light communication (Visible Light Communication, VLC), in particular to a visible light modulation method, a demodulation method and equipment.
背景技术Background technique
VLC技术是一种能在保证发光二极管(Light-emitting Diode,LED)照明功能前提下,实现信息高速传输的通信技术。它主要通过强度调制(Intensity Modulation,IM)和直接检测(Direct Detection,DD)技术,利用人眼不可察觉的快速光强变化来实现信息的传输,做到同时支持照明和通信。它具有高速率、宽频谱且无需授权,高安全性、低成本以及无电磁干扰的特性。VLC technology is a communication technology that can realize high-speed information transmission under the premise of ensuring the lighting function of Light-emitting Diode (LED). It mainly uses intensity modulation (Intensity Modulation, IM) and direct detection (Direct Detection, DD) technology, using the rapid changes in light intensity imperceptible to the human eye to achieve information transmission, so as to support lighting and communication at the same time. It has the characteristics of high speed, wide spectrum and no license, high security, low cost and no electromagnetic interference.
可见光通信调制技术包括单载波调制、多载波调制和颜色调制等几大类,其中多载波调制与颜色调制是目前最为常用的调制方法。Visible light communication modulation technologies include single-carrier modulation, multi-carrier modulation and color modulation, among which multi-carrier modulation and color modulation are the most commonly used modulation methods.
其中,在单载波调制中,脉冲幅度调制(Pulse Amplitude Modulation,PAM)和脉冲位置调制(Pulse Position Modulation,PPM)分别通过脉冲载波的幅度和位置变化携带信息。Among them, in single-carrier modulation, pulse amplitude modulation (Pulse Amplitude Modulation, PAM) and pulse position modulation (Pulse Position Modulation, PPM) carry information through the amplitude and position changes of the pulse carrier, respectively.
在多载波调制中,正交频分复用(Orthogonal Frequency DivisionMultiplexing,OFDM)作为多载波调制的代表性技术,可以有效应用于可见光通信以实现宽带高速数据传输,其基本思想是将高速串行数据变换成多路相对低速的并行数据调制到每个子信道上进行传输。In multi-carrier modulation, Orthogonal Frequency Division Multiplexing (OFDM), as a representative technology of multi-carrier modulation, can be effectively applied to visible light communication to realize broadband high-speed data transmission. It is converted into multiple relatively low-speed parallel data modulated to each sub-channel for transmission.
颜色调制主要利用多色光源不同波长的光同时携带多组数据流以提升系统数据率,其中,色移键控(Color Shift Keying,CSK)调制是一种使用红、绿、蓝(Red、Green、Blue,RGB)三色LED光源,通过控制在三个颜色带宽上的光强以及三种颜色光成分的组合比例来实现信息传输的调制方式,调制过程中通过控制三色光的瞬时总强度不变,避免产生影响照明体验的灯光闪烁效应。另外,CSK调制使用的是RGB-LED作为发射光源,它相比传统用于VLC系统的荧光粉LED光源具有更高的调制带宽,能以更高的频率实现光强的变化。由于CSK的光功率约束条件,CSK的星座点被限制在一个三维平面上。在CSK调制中,数据比特首先被映射为色度值,然后根据色度值计算出对应三色光的强度,然后通过多色光源进行数据传输。色移键控调制技术还可以同时保证兼顾照明需求,有效的颜色波段和强度组合才能用于信号调制。Color modulation mainly uses light of different wavelengths of multi-color light sources to carry multiple sets of data streams at the same time to improve the system data rate. , Blue, RGB) three-color LED light source, the modulation mode of information transmission is realized by controlling the light intensity on the three color bandwidths and the combination ratio of the three color light components. change to avoid light flickering effects that affect the lighting experience. In addition, CSK modulation uses RGB-LED as the emission light source, which has a higher modulation bandwidth than the traditional phosphor LED light source used in the VLC system, and can realize the change of light intensity at a higher frequency. Due to the optical power constraints of CSK, the constellation points of CSK are limited to a three-dimensional plane. In CSK modulation, data bits are first mapped to chromaticity values, and then the intensities of the corresponding three-color light are calculated according to the chromaticity values, and then data is transmitted through a multi-color light source. The color shift keying modulation technology can also ensure that the lighting needs are taken into account at the same time, and the effective color band and intensity combination can be used for signal modulation.
单载波调制方式简单,最常见的调制方法是开关键控(On-Off Keying,OOK)技术,其缺点是带宽效率较低,只能作为低速VLC的候选方案。多载波调制与传统无线通信调制方法相似,但是没有充分利用可见光多色光路的物理特性,同时还需额外考虑其他技术兼顾照明需求。颜色调制只能调制各路光色的强度,使得复数空间的自由度没有得到充分利用。The single-carrier modulation method is simple, and the most common modulation method is On-Off Keying (OOK) technology, which has the disadvantage of low bandwidth efficiency and can only be used as a candidate for low-speed VLC. Multi-carrier modulation is similar to traditional wireless communication modulation methods, but it does not take full advantage of the physical properties of visible light polychromatic light paths, and other technologies need to be considered to take into account lighting needs. Color modulation can only modulate the intensity of each light color, so that the degree of freedom of the complex space is not fully utilized.
发明内容SUMMARY OF THE INVENTION
本发明的至少一个实施例提供了一种可见光调制方法、解调方法、终端及网络设备,充分利用了可见光多色光路的物理特性,并能够在频域利用复数空间的自由度提高数据传输效率。At least one embodiment of the present invention provides a visible light modulation method, a demodulation method, a terminal, and a network device, which make full use of the physical characteristics of the visible light polychromatic optical path, and can improve the data transmission efficiency by utilizing the degree of freedom of the complex space in the frequency domain .
根据本发明的一个方面,至少一个实施例提供了一种可见光调制方法,包括:According to one aspect of the present invention, at least one embodiment provides a visible light modulation method, comprising:
对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;Perform color modulation on the first data stream to obtain the light intensity of each color light path in the multiple color light paths;
针对所述多种颜色光路上的数据流,使用正交频分复用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,获得每种颜色光路的OFDM信号;For the data streams on the optical paths of the various colors, the modulation mode of orthogonal frequency division multiplexing (OFDM) is used to modulate the data streams on the optical paths of each color in the modulation bandwidth corresponding to the optical paths of each color, to obtain the optical paths of each color. OFDM signal;
将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。The light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and transmits on the optical channel corresponding to the color optical path by means of wavelength division multiplexing.
此外,根据本发明的至少一个实施例,所述对第一数据流进行颜色调制,包括:In addition, according to at least one embodiment of the present invention, performing color modulation on the first data stream includes:
对所述第一数据流的数据进行色移键控CSK处理,得到对应的色度值;performing color shift keying CSK processing on the data of the first data stream to obtain corresponding chrominance values;
根据所述色度值,计算出每种颜色光路的光强。According to the chromaticity value, the light intensity of each color light path is calculated.
此外,根据本发明的至少一个实施例,针对所述多种颜色光路上的数据流,使用正交频分复用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,包括:In addition, according to at least one embodiment of the present invention, for the data streams on the multiple color optical paths, an orthogonal frequency division multiplexing (OFDM) modulation method is used, and the color optical paths are respectively on the modulation bandwidth corresponding to each color optical path. Data stream modulation on the road, including:
在每种颜色光路对应的调制带宽上,分别对每种颜色光路上的数据流进行频域映射处理和反向快速傅里叶变换处理。On the modulation bandwidth corresponding to each color optical path, frequency domain mapping processing and inverse fast Fourier transform processing are respectively performed on the data stream on each color optical path.
此外,根据本发明的至少一个实施例,在所述频域映射处理和反向快速傅里叶变换处理之间还包括:对所述频域映射处理得到的信号进行串并转换处理;In addition, according to at least one embodiment of the present invention, between the frequency domain mapping processing and the inverse fast Fourier transform processing, the method further includes: performing serial-to-parallel conversion processing on the signal obtained by the frequency domain mapping processing;
在反向快速傅里叶变换处理之后还包括:对所述反向快速傅里叶变换处理得到的信号添加循环前缀CP并进行并串转换处理。After the inverse fast Fourier transform processing, the method further includes: adding a cyclic prefix CP to the signal obtained by the inverse fast Fourier transform processing and performing parallel-serial conversion processing.
此外,根据本发明的至少一个实施例,所述OFDM的调制为直流偏置光DCO-OFDM多载波调制,所述将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,包括以下叠加方式中的任一种:In addition, according to at least one embodiment of the present invention, the modulation of the OFDM is DC-biased light DCO-OFDM multi-carrier modulation, and the light intensity of each color light path is superimposed on the OFDM signal of the corresponding color light path, Include any of the following stacking methods:
第一叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加,得到每种颜色光路上的待发送信号;The first superposition method: calculate the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and add the first product and the predetermined DC component to obtain the to-be-sent signal on each color optical path ;
第二叠加方式:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加,得到每种颜色光路上的待发送信号;The second superposition method: the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component are added to obtain the to-be-sent signal on each color optical path;
第三叠加方式:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积,得到每种颜色光路上的待发送信号;The third superposition method: separately add the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, calculate the product of the sum value and the light intensity of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path ;
第四叠加方式:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。The fourth superposition method: respectively calculate the second product of the light intensity of each color optical path and the predetermined DC component, and add the second product to the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path .
此外,根据本发明的至少一个实施例,所述OFDM的调制为非对称限幅光ACO-OFDM多载波调制或翻转Flip-OFDM多载波调制,所述将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,包括以下叠加方式中的任一种:In addition, according to at least one embodiment of the present invention, the modulation of the OFDM is asymmetric sliced optical ACO-OFDM multi-carrier modulation or flip-Flip-OFDM multi-carrier modulation, and the light intensity of each color optical path is superimposed to the OFDM signal of the corresponding color optical path, including any one of the following superposition methods:
第五叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积,得到每种颜色光路上的待发送信号;Fifth superposition method: separately calculate the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path;
第六叠加方式:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。Sixth superposition method: respectively adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path.
此外,根据本发明的至少一个实施例,所述颜色调制时所述第一数据流的第一采样频率,与每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同,或者,所述第一采样频率为第二采样频率的N倍,或者,所述第二采样频率为第一采样频率的N倍,所述N为大于1的整数。In addition, according to at least one embodiment of the present invention, the first sampling frequency of the first data stream when the color is modulated is the same as the second sampling frequency when the data stream on the optical path of each color is subjected to OFDM modulation, or , the first sampling frequency is N times the second sampling frequency, or the second sampling frequency is N times the first sampling frequency, and N is an integer greater than 1.
根据本发明的另一方面,至少一个实施例提供了一种可见光解调方法,应用于第二设备,包括:According to another aspect of the present invention, at least one embodiment provides a visible light demodulation method, applied to a second device, including:
接收第一设备在多种颜色光路中每种颜色光路上的发送信号;receiving a signal sent by the first device on each color optical path among the multiple color optical paths;
通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;demodulating the second data stream from the signals of the multiple color optical paths through color demodulation;
在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;On the modulation bandwidth corresponding to each color optical path, OFDM demodulates the data stream on the color optical path respectively to obtain the data stream on each color optical path;
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是针对所述多种颜色光路上的数据流,使用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color through wavelength division multiplexing, and the transmission signal on each optical channel is in the corresponding It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the color light path. The OFDM signal of each color light path is for the data streams on the multiple color light paths, using the OFDM modulation method, and the modulation method corresponding to each color light path is used. It is obtained by modulating the data stream on the optical path of the color respectively in terms of bandwidth.
此外,根据本发明的至少一个实施例,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第一叠加方式;所述通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流,包括:In addition, according to at least one embodiment of the present invention, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is a first superposition mode; The second data stream is demodulated from the signal of the optical path, including:
检测每种颜色光路上的发送信号的功率的方差值,根据所述功率的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detecting the variance value of the power of the transmitted signal on each color optical path, and performing color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the power, to obtain the second data stream;
或者,or,
检测每种颜色光路上的发送信号的直流分量强度的方差值,根据所述直流分量强度的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the variance value of the DC component intensity of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the DC component intensity to obtain the second data stream ;
其中,所述第一叠加方式为:计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加。The first superposition method is: calculating the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and adding the first product and a predetermined DC component.
此外,根据本发明的至少一个实施例,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第二叠加方式、第三叠加方式或第四叠加方式;或者,所述OFDM的调制为ACO-OFDM多载波调制或Flip-OFDM多载波调制,且所述预设叠加方式为第五叠加方式或第六叠加方式;所述通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流,包括:In addition, according to at least one embodiment of the present invention, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the second superposition mode, the third superposition mode or the fourth superposition mode; or, the The modulation of the OFDM is ACO-OFDM multi-carrier modulation or Flip-OFDM multi-carrier modulation, and the preset superposition mode is the fifth superposition mode or the sixth superposition mode; The second data stream is demodulated from the signal of the optical path, including:
检测每种颜色光路上的发送信号的功率或信号强度,根据所述功率的比值所对应的CSK星座图或信号强度的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the power or signal strength of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation diagram corresponding to the ratio of the power or the CSK constellation diagram corresponding to the ratio of the signal strength to obtain the second data flow;
其中,所述第二叠加方式为:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加;Wherein, the second superposition method is: adding the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component respectively;
所述第三叠加方式为:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积;The third superposition method is: separately adding the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, and calculating the product of the sum value and the light intensity of the corresponding color optical path;
所述第四叠加方式为:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加;The fourth superposition method is: separately calculating the second product of the light intensity of each color optical path and the predetermined DC component, and adding the second product to the OFDM signal of the corresponding color optical path;
所述第五叠加方式为:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积;The fifth superposition method is: separately calculating the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path;
所述第六叠加方式为:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加。The sixth superposition manner is: adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path respectively.
此外,根据本发明的至少一个实施例,所述通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流,还包括:In addition, according to at least one embodiment of the present invention, the demodulation of the second data stream from the signals of the multiple-color optical paths through color demodulation further includes:
根据第一设备对第一数据流进行颜色调制时的第一采样频率,进行所述颜色解调的信号采样,其中:The signal sampling of the color demodulation is performed according to the first sampling frequency when the first device performs color modulation on the first data stream, wherein:
在所述第一采样频率与所述第一设备对每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同时,针对每种颜色光路上的每个OFDM符号上进行信号检测与解调;When the first sampling frequency is the same as the second sampling frequency when the first device performs OFDM modulation on the data stream on the optical path of each color, perform signal detection on each OFDM symbol on the optical path of each color and demodulation;
在所述第一采样频率为第二采样频率的N倍时,针对每种颜色光路上的N个OFDM符号上进行信号检测,并计算该N个OFDM符号的检测结果的平均值,根据所述平均值进行解调;When the first sampling frequency is N times the second sampling frequency, signal detection is performed on N OFDM symbols on the optical path of each color, and the average value of the detection results of the N OFDM symbols is calculated. The average value is demodulated;
在所述第二采样频率为第一采样频率的N倍时,针对每种颜色光路上的1/N个OFDM符号上进行信号检测与解调;When the second sampling frequency is N times the first sampling frequency, signal detection and demodulation are performed on 1/N OFDM symbols on the optical path of each color;
所述N为大于1的整数。The N is an integer greater than 1.
此外,根据本发明的至少一个实施例,在所述预设叠加方式在发送信号中添加了直流分量的情况下,在对每种颜色光路上的数据流进行OFDM的解调之前,还包括:去除所述发送信号中的直流分量。In addition, according to at least one embodiment of the present invention, when the preset superposition method adds a DC component to the transmitted signal, before performing the OFDM demodulation on the data stream on the optical path of each color, the method further includes: The DC component in the transmission signal is removed.
根据本发明的另一方面,至少一个实施例提供了一种第一设备,包括:According to another aspect of the present invention, at least one embodiment provides a first device, comprising:
第一调制模块,用于对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;a first modulation module, configured to perform color modulation on the first data stream to obtain the light intensity of each color light path in the multiple color light paths;
第二调制模块,用于在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行正交频分复用OFDM的调制,获得每种颜色光路的OFDM信号;The second modulation module is configured to perform orthogonal frequency division multiplexing (OFDM) modulation on the data stream on the color optical path on the modulation bandwidth corresponding to each color optical path, to obtain the OFDM signal of each color optical path;
叠加模块,用于将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。The superposition module is used to superimpose the light intensity of each color optical path on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and use wavelength division multiplexing on the light corresponding to the color optical path. send on the channel.
根据本发明的另一方面,至少一个实施例提供了一种第一设备,包括收发机和处理器,其中,According to another aspect of the present invention, at least one embodiment provides a first device including a transceiver and a processor, wherein,
所述收发机,用于对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行正交频分复用OFDM的调制,获得每种颜色光路的OFDM信号;将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号。The transceiver is used to perform color modulation on the first data stream to obtain the light intensity of each color optical path in the multiple color optical paths; on the modulation bandwidth corresponding to each color optical path, the data streams on the color optical path are respectively Orthogonal frequency division multiplexing OFDM modulation is performed to obtain the OFDM signal of each color optical path; the light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path.
所述处理器,用于通过波分复用方式,将每种颜色光路上的发送信号在所述颜色光路对应的光信道上进行发送。The processor is configured to transmit signals on each color optical path on the optical channel corresponding to the color optical path by means of wavelength division multiplexing.
根据本发明的另一方面,至少一个实施例提供了一种第一设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的方法的步骤。According to another aspect of the present invention, at least one embodiment provides a first device comprising: a processor, a memory, and a program stored on the memory and executable on the processor, the program being The processor implements the steps of the method described above when executed.
根据本发明的另一方面,至少一个实施例提供了一种第二设备,包括:According to another aspect of the present invention, at least one embodiment provides a second device, comprising:
接收模块,用于接收第一设备在多种颜色光路中每种颜色光路上的发送信号;a receiving module, configured to receive a signal sent by the first device on each color optical path among the multiple color optical paths;
第一解调模块,用于通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;a first demodulation module, configured to demodulate a second data stream from the signals of the multiple-color optical paths through color demodulation;
第二解调模块,用于在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;The second demodulation module is used for respectively performing OFDM demodulation on the data stream on the color optical path on the modulation bandwidth corresponding to each color optical path to obtain the data stream on each color optical path;
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,且,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是对该颜色光路上的数据流进行OFDM的调制得到的,每种颜色光路的光强是对第一数据流进行颜色调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color by the wavelength division multiplexing method, and the transmission signal on the optical channel of each color is according to the preset superposition method, It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the corresponding color light path. The OFDM signal of each color light path is obtained by OFDM modulation of the data stream on the color light path. The light intensity of each color light path is The first data stream is obtained by performing color modulation.
根据本发明的另一方面,至少一个实施例提供了一种第二设备,包括收发机和处理器,其中,According to another aspect of the present invention, at least one embodiment provides a second device including a transceiver and a processor, wherein,
所述收发机,用于接收第一设备在多种颜色光路中每种颜色光路上的发送信号;The transceiver is used to receive a signal sent by the first device on each color optical path among the multiple color optical paths;
所述处理器,用于通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;The processor is used for demodulating the second data stream from the signals of the multiple color optical paths through color demodulation; on the modulation bandwidth corresponding to each color optical path, the data streams on the color optical path are respectively Perform OFDM demodulation to obtain the data stream on the optical path of each color;
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,且,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是对该颜色光路上的数据流进行OFDM的调制得到的,每种颜色光路的光强是对第一数据流进行颜色调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color by the wavelength division multiplexing method, and the transmission signal on the optical channel of each color is according to the preset superposition method, It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the corresponding color light path. The OFDM signal of each color light path is obtained by OFDM modulation of the data stream on the color light path. The light intensity of each color light path is The first data stream is obtained by performing color modulation.
根据本发明的另一方面,至少一个实施例提供了一种第二设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的方法的步骤。According to another aspect of the present invention, at least one embodiment provides a second device comprising: a processor, a memory, and a program stored on the memory and executable on the processor, the program being The processor implements the steps of the method described above when executed.
根据本发明的另一方面,至少一个实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时,实现如上所述的方法的步骤。According to another aspect of the present invention, at least one embodiment provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the above-mentioned method is implemented. step.
与现有技术相比,本发明实施例提供的可见光调制方法、解调方法及设备,在发送端将两套独立的数据流(第一数据流和每种颜色光路上的数据流)分别使用颜色维度和频域维度(多载波)的调制方法调制后进行叠加传输,实现了一种双重调制方法,既可以充分利用可见光的频域资源,同时也能够兼顾照明需求,利用多色波长的光强传输额外信息流。Compared with the prior art, in the visible light modulation method, demodulation method and device provided by the embodiments of the present invention, two sets of independent data streams (the first data stream and the data stream on the optical path of each color) are respectively used at the transmitting end. The modulation method of the color dimension and the frequency domain dimension (multi-carrier) is modulated and then superimposed and transmitted, realizing a dual modulation method, which can not only make full use of the frequency domain resources of visible light, but also take into account the lighting needs, using light with multi-color wavelengths. Strong transmission of extra information flow.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1为本发明实施例的可见光调制方法的一种流程示意图;1 is a schematic flowchart of a visible light modulation method according to an embodiment of the present invention;
图2为本发明实施例的可见光调制方法的一种示例图;FIG. 2 is an exemplary diagram of a visible light modulation method according to an embodiment of the present invention;
图3为本发明实施例的可见光解调方法的一种流程示意图;3 is a schematic flowchart of a visible light demodulation method according to an embodiment of the present invention;
图4为本发明实施例的可见光解调方法的一种示例图;4 is an exemplary diagram of a visible light demodulation method according to an embodiment of the present invention;
图5为本发明实施例提供的第一设备的一种结构示意图;FIG. 5 is a schematic structural diagram of a first device according to an embodiment of the present invention;
图6为本发明实施例提供的第一设备的另一种结构示意图;FIG. 6 is another schematic structural diagram of a first device provided by an embodiment of the present invention;
图7为本发明实施例提供的第二设备的一种结构示意图;FIG. 7 is a schematic structural diagram of a second device according to an embodiment of the present invention;
图8为本发明实施例提供的第二设备的另一种结构示意图。FIG. 8 is another schematic structural diagram of a second device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。说明书以及权利要求中“和/或”表示所连接对象的至少其中之一。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the application described herein can, for example, be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices. In the description and the claims, "and/or" means at least one of the connected objects.
以下描述提供示例而并非限定权利要求中阐述的范围、适用性或者配置。可以对所讨论的要素的功能和布置作出改变而不会脱离本公开的精神和范围。各种示例可恰适地省略、替代、或添加各种规程或组件。例如,可以按不同于所描述的次序来执行所描述的方法,并且可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the spirit and scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
如背景技术中所述的,现有技术的VLC调制技术各有各的缺点,本发明实施例提供了一种可见光调制方法、解调方法,既充分利用了可见光多色光路的物理特性,又能够在频域利用复数空间的自由度提高数据传输效率。本发明实施例提供的一种可见光调制方法,应用于第一设备侧,所述第一设备是发送端设备,向第二设备发送调制后的可见光信号。所述第二设备是接收端设备,接收第一设备发送的经过调制的可见光信号并从中解调出数据流。需要说明的是,第一设备和第二设备的身份并非固定不变的,发送端设备也可能会接收对端设备发送的已调制的可见光信号。也就是说,第一设备侧的可见光调制方法也可应用于第二设备侧,第二设备侧的可见光解调方法也可以应用于第一设备侧。As described in the background art, the VLC modulation technologies in the prior art have their own shortcomings. The embodiments of the present invention provide a visible light modulation method and a demodulation method, which not only fully utilize the physical characteristics of the visible light polychromatic optical path, but also provide a visible light modulation method and a demodulation method. The degree of freedom of the complex space can be used in the frequency domain to improve the data transmission efficiency. A visible light modulation method provided by an embodiment of the present invention is applied to a first device side, where the first device is a sending end device and sends a modulated visible light signal to a second device. The second device is a receiver device, which receives the modulated visible light signal sent by the first device and demodulates a data stream therefrom. It should be noted that the identities of the first device and the second device are not fixed, and the transmitting end device may also receive the modulated visible light signal sent by the opposite end device. That is, the visible light modulation method on the first device side can also be applied to the second device side, and the visible light demodulation method on the second device side can also be applied to the first device side.
请参照图1,本发明实施例提供的可见光调制方法应用于第一设备侧时的流程图,假设第一设备采用的可见光通信包括有N种颜色光路,本发明实施例中第一设备可以同时最多发送N+1路的数据流。通常,所述N种颜色光路包括有红色光路、绿色光路和蓝色光路。除了在每种颜色光路上均发送一路数据流外,本发明实施例还可以发送另外一路经颜色调制的数据流。当然,根据不同的颜色划分,所述N种颜色光路还可能包括有比3种更多或更少的颜色光路。本发明实施例对此不做具体限定。图2则是以红色光路、绿色光路和蓝色光路共3种颜色光路为例提供的一种调制流程示例图。Please refer to FIG. 1 , which is a flowchart when the visible light modulation method provided by the embodiment of the present invention is applied to the side of the first device. Assuming that the visible light communication adopted by the first device includes N light paths of colors, in the embodiment of the present invention, the first device can simultaneously A maximum of N+1 data streams are sent. Generally, the N color light paths include red light paths, green light paths and blue light paths. In addition to sending one data stream on each color optical path, the embodiment of the present invention can also send another color-modulated data stream. Of course, according to different color divisions, the N color light paths may also include more or less than three color light paths. This embodiment of the present invention does not specifically limit this. FIG. 2 is an example diagram of a modulation flow provided by taking the red optical path, the green optical path and the blue optical path as an example of three color optical paths.
本发明实施例的可见光调制方法充分利用了可见光多色光路的物理特性,并能够在频域利用复数空间的自由度提高数据传输效率。如图1所示,本发明实施例的可见光调制方法包括:The visible light modulation method of the embodiment of the present invention makes full use of the physical characteristics of the visible light polychromatic optical path, and can improve the data transmission efficiency by utilizing the degree of freedom of the complex space in the frequency domain. As shown in FIG. 1 , the visible light modulation method according to the embodiment of the present invention includes:
步骤11,对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强。Step 11: Perform color modulation on the first data stream to obtain the light intensity of each color light path in the multiple color light paths.
这里,多种颜色光路的数量是第一设备在进行可见光通信所采用的颜色光路的数量。通常,所述多种颜色光路包括有3种,分别是红色光路、绿色光路和蓝色光路。当然,根据不同的颜色划分,所述多种颜色光路的数量还可能为多于3种或少于3种。Here, the number of multi-color light paths is the number of color light paths used by the first device to perform visible light communication. Generally, the multi-color light paths include three types, namely, red light paths, green light paths, and blue light paths. Of course, according to different color divisions, the number of the multiple color light paths may also be more than three or less than three.
在步骤11中,本发明实施例对第一数据流进行颜色调制,以得到每种颜色光路的光强。具体的,颜色调制包括:对所述第一数据流的数据进行CSK处理,得到对应的色度值;然后根据所述色度值,计算出每种颜色光路的光强。例如,如图2所示,针对第一数据流通过颜色映射和坐标转换等处理,分别得到红色光路、绿色光路和蓝色光路的光强P_i、P_j和P_k。In
步骤12,针对所述多种颜色光路上的数据流,使用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,获得每种颜色光路的OFDM信号。Step 12: For the data streams on the multiple color optical paths, use the OFDM modulation method to modulate the data streams on the color optical paths in the modulation bandwidth corresponding to each color optical path, to obtain the OFDM signal of each color optical path. .
这里,本发明实施例利用OFDM的调制技术,对多种颜色光路上需要发送的数据流进行调制,其中,每种颜色光路上的数据流是在该光路对应的调制带宽上进行调制处理,也就是说,每种颜色光路的调制带宽相对于多载波调制中的一个载波。如图2所示,本发明实施例可以采用的OFDM的调制方式包括但不限于以下方式:直流偏置光(Direct Currentbiased Optical OFDM,DCO-OFDM)多载波调制、非对称限幅光(Asymmetrically ClippedOptical OFDM,ACO-OFDM多载波调制和翻转OFDM(Flip-OFDM)多载波调制等。映射方式包括但不限于正交幅度调制(Quadrature Amplitude Modulation,QAM)、幅度相移键控(Amplitude Phase Shift Keying,APSK)等,得到一组数据信号。Here, the embodiment of the present invention uses the OFDM modulation technology to modulate the data streams to be sent on the optical paths of multiple colors, wherein the data streams on the optical paths of each color are modulated on the modulation bandwidth corresponding to the optical path. That is, the modulation bandwidth of each color optical path is relative to one carrier in the multi-carrier modulation. As shown in FIG. 2 , the OFDM modulation methods that can be used in this embodiment of the present invention include but are not limited to the following methods: Direct Current Biased Optical OFDM (DCO-OFDM) multi-carrier modulation, Asymmetrically Clipped Optical (Asymmetrically Clipped Optical OFDM) OFDM, ACO-OFDM multi-carrier modulation and flip-OFDM (Flip-OFDM) multi-carrier modulation, etc. Mapping methods include but are not limited to Quadrature Amplitude Modulation (QAM), Amplitude Phase Shift Keying (Amplitude Phase Shift Keying, APSK), etc., to obtain a set of data signals.
具体的,在进行OFDM的调制时,本发明实施例可以在在每种颜色光路对应的调制带宽上,分别对每种颜色光路上的数据流进行频域映射处理和反向快速傅里叶变换(Invert Fast Fourier Transformation,IFFT)处理,从而获得每种颜色光路的OFDM信号。可选的,如图2所示,在所述频域映射处理和反向快速傅里叶变换处理之间,本发明实施例还可以对所述频域映射处理得到的信号进行串并转换处理,得到相应位数的并行数据后进行IFFT变换处理。在反向快速傅里叶变换处理之后,还可以对所述反向快速傅里叶变换处理得到的信号添加循环前缀(Cyclic prefix,CP)并进行并串转换处理。Specifically, when performing OFDM modulation, the embodiment of the present invention can perform frequency domain mapping processing and inverse fast Fourier transform on the data stream on each color optical path on the modulation bandwidth corresponding to each color optical path. (Invert Fast Fourier Transformation, IFFT) processing, so as to obtain the OFDM signal of each color optical path. Optionally, as shown in FIG. 2 , between the frequency domain mapping processing and the inverse fast Fourier transform processing, the embodiment of the present invention may further perform serial-parallel conversion processing on the signal obtained by the frequency domain mapping processing. , and then perform IFFT transformation after obtaining the parallel data of the corresponding number of bits. After the inverse fast Fourier transform processing, a cyclic prefix (Cyclic prefix, CP) may also be added to the signal obtained by the inverse fast Fourier transform processing, and parallel-serial conversion processing may be performed.
步骤13,将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。Step 13: Superimpose the light intensity of each color optical path on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and use wavelength division multiplexing on the optical channel corresponding to the color optical path. to send.
这里,将步骤11中获得的每种颜色光路的光强,叠加到步骤12中的对应颜色光路的OFDM信号上,从而获得每种颜色光路上的发送信号,然后,通过数模转换,转换为模拟信号并发送至对应颜色的发射器进行发送,从而将每种颜色光路上的数据流通过波分复用方式发送到对应光路的光信道上。如图2所示,将第一数据流调制后的光强叠加到每种颜色光路的数据流所得到的多路信号上,利用波分复用技术在每一条光信道进行独立的信号传输,这些信号分别通过红光/绿光/蓝光发射器发送出去。Here, the light intensity of each color optical path obtained in
从以上所述可以看出,本发明实施例在发送端将两套独立的数据流(第一数据流和每种颜色光路上的数据流)分别使用颜色维度和频域维度(多载波)的调制方法调制后进行叠加传输,从而实现了一种双重调制方法,既可以充分利用可见光的频域资源,同时也能够兼顾照明需求,利用多色波长的光强传输额外信息流。It can be seen from the above that in the embodiment of the present invention, two sets of independent data streams (the first data stream and the data stream on the optical path of each color) are respectively used at the transmitting end in the color dimension and the frequency domain dimension (multi-carrier). The modulation method is modulated and then superimposed and transmitted, thereby realizing a dual modulation method, which can not only make full use of the frequency domain resources of visible light, but also take into account the lighting requirements and transmit additional information flow by using the light intensity of multi-color wavelengths.
例如,考虑组网传输方面,本发明实施例可以将广播信道(作为第一数据流)和数据信道(作为各个颜色光路上的数据流)进行混叠传输,进一步提高组网时的传输效率。具体来讲,可以将数据信道的数据流利用多载波调制加载在可见光的时频域资源上,广播信道调制到多色波长的光强上。这样用户在解调广播信道时只需检测多色光源的平均功率或直流分量强度,根据颜色解调就可以得到广播信道,能够降低解调的复杂度和设备功耗。因此,可选的,所述第一数据流为广播信道的数据流,所述多种颜色光路的数据流则为针对不同用户设备的业务数据流或针对不同业务的业务数据流。For example, considering the aspect of networking transmission, the embodiment of the present invention can perform aliasing transmission of the broadcast channel (as the first data stream) and the data channel (as the data stream on each color optical path) to further improve the transmission efficiency during networking. Specifically, the data stream of the data channel can be loaded on the time-frequency domain resources of visible light by using multi-carrier modulation, and the broadcast channel can be modulated to the light intensity of multi-color wavelengths. In this way, the user only needs to detect the average power or DC component intensity of the multi-color light source when demodulating the broadcast channel, and the broadcast channel can be obtained according to the color demodulation, which can reduce the complexity of demodulation and the power consumption of the device. Therefore, optionally, the first data stream is a data stream of a broadcast channel, and the data streams of the multi-color optical paths are service data streams for different user equipments or service data streams for different services.
在步骤12中,本发明实施例可以采用多种多载波调制技术,如DCO-OFDM多载波调制、ACO-OFDM多载波调制和Flip-OFDM多载波调制等,下面提供针对不同的多载波调制技术,在步骤13中可以采用的信号叠加方式。In
例如,在所述OFDM的调制为DCO-OFDM多载波调制的情况下,所述步骤13中,将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,可以采用以下叠加方式中的任一种:For example, in the case where the modulation of the OFDM is DCO-OFDM multi-carrier modulation, in
第一叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加,得到每种颜色光路上的待发送信号。The first superposition method: calculate the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and add the first product and the predetermined DC component to obtain the to-be-sent signal on each color optical path .
这里,第一叠加方式用公式可以表示为:颜色光路的OFDM信号*该颜色光路的光强(即CSK调制光强)+直流分量,其中,所述OFDM信号为0均值的信号。OFDM信号与光强相乘,是表示每个OFDM符号的信号强度与光强相乘。Here, the first superposition method can be expressed as: OFDM signal of the color optical path*light intensity of the color optical path (ie, CSK modulated light intensity)+DC component, wherein the OFDM signal is a signal with 0 mean value. The multiplication of the OFDM signal by the light intensity means that the signal intensity of each OFDM symbol is multiplied by the light intensity.
第二叠加方式:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加,得到每种颜色光路上的待发送信号。The second superposition method: the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component are respectively added to obtain the to-be-sent signal on each color optical path.
这里,第二叠加方式用公式可以表示为:颜色光路的OFDM信号+直流分量+CSK调制光强。其中,所述OFDM信号为0均值的信号。Here, the second superposition mode can be expressed as: OFDM signal of color optical path+DC component+CSK modulated light intensity. Wherein, the OFDM signal is a signal with 0 mean value.
第三叠加方式:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积,得到每种颜色光路上的待发送信号。The third superposition method: separately add the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, calculate the product of the sum value and the light intensity of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path .
这里,第三叠加方式用公式可以表示为:(颜色光路的OFDM信号+直流分量)*CSK调制光强,其中,所述OFDM信号为0均值的信号。Here, the third superposition method can be expressed as: (OFDM signal of color optical path+DC component)*CSK modulated light intensity, where the OFDM signal is a signal with 0 mean value.
第四叠加方式:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。The fourth superposition method: respectively calculate the second product of the light intensity of each color optical path and the predetermined DC component, and add the second product to the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path .
这里,第四叠加方式用公式可以表示为:颜色光路的OFDM信号+直流分量*CSK调制光强,其中,所述OFDM信号为0均值的信号。Here, the fourth superposition mode can be expressed by a formula as: OFDM signal of the color optical path+DC component*CSK modulated light intensity, where the OFDM signal is a signal with 0 mean value.
在所述OFDM的调制为ACO-OFDM多载波调制或Flip-OFDM多载波调制的情况,即不需要额外添加直流(DC)分量即可保证非负信号时,所述步骤13中,将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,可以采用以下叠加方式中的任一种:In the case where the modulation of the OFDM is ACO-OFDM multi-carrier modulation or Flip-OFDM multi-carrier modulation, that is, when no additional direct current (DC) component is required to ensure a non-negative signal, in
第五叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积,得到每种颜色光路上的待发送信号;Fifth superposition method: separately calculate the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path;
这里,第五叠加方式用公式可以表示为:OFDM信号(正数均值)*CSK调制光强,其中,所述OFDM信号为正值均值的信号。Here, the fifth superposition mode can be expressed as: OFDM signal (positive mean value)*CSK modulated light intensity, wherein the OFDM signal is a signal with a positive mean value.
第六叠加方式:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。Sixth superposition method: respectively adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path.
这里,第六叠加方式用公式可以表示为:OFDM信号(正数均值)+CSK调制光强。其中,所述OFDM信号为正值均值的信号。Here, the sixth superposition mode can be expressed as: OFDM signal (positive mean value)+CSK modulated light intensity. Wherein, the OFDM signal is a signal with a positive average value.
另外,本发明实施例中,考虑到采样频率匹配,假设步骤11所述颜色调制时所述第一数据流的采样频率为第一采样频率,每种颜色光路上的数据流进行OFDM的调制时均采用第二采样频率,那么所述第一采样频率与所述第二采样频率相同,或者,所述第一采样频率为第二采样频率的N倍,或者,所述第二采样频率为第一采样频率的N倍,所述N为大于1的整数。也就是书,第一设备采用将第一数据流调制后的光强信号与各种颜色光路得到的多路数据信号分别相乘的方式合成信号时,这里信号的采样频率应保持一致,或所述光强信号的采样频率是各种颜色光路得到的多路数据信号的采用频率的N倍或1/N倍,N为正整数。In addition, in the embodiment of the present invention, considering the sampling frequency matching, it is assumed that the sampling frequency of the first data stream during the color modulation in
下面从接收端来介绍本发明实施例的可见光解调方法。The following describes the visible light demodulation method according to the embodiment of the present invention from the receiving end.
请参照图3,给出了本发明实施例的可见光解调方法在第二设备侧的流程示意图。图4则是以红色光路、绿色光路和蓝色光路共3种颜色光路为例提供的一种解调流程示例图。该示例中,所述多种颜色光路包括有红色光路、绿色光路和蓝色光路。在可见光解调方法中,本发明实施例对第一设备发送的可见光信号进行解调,从中恢复出多路数据流。具体的,如图3所示,本发明实施例提供的可见光解调方法包括:Referring to FIG. 3 , a schematic flowchart of the visible light demodulation method on the second device side according to the embodiment of the present invention is given. FIG. 4 is an example diagram of a demodulation process provided by taking the red light path, the green light path and the blue light path as an example of three color light paths. In this example, the multiple color light paths include red light paths, green light paths and blue light paths. In the visible light demodulation method, the embodiment of the present invention demodulates the visible light signal sent by the first device, and recovers multiple data streams therefrom. Specifically, as shown in FIG. 3 , the visible light demodulation method provided by the embodiment of the present invention includes:
步骤31,接收第一设备在多种颜色光路中每种颜色光路上的发送信号。Step 31: Receive a signal sent by the first device on each color optical path among the multiple color optical paths.
这里,如前文所述的,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是针对所述多种颜色光路上的数据流,使用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制得到的。Here, as mentioned above, the transmitted signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color through wavelength division multiplexing, and the transmitted signal on each optical channel is based on the pre- Assuming the superposition method, it is obtained by superimposing the light intensity of the corresponding color optical path on the OFDM signal of the corresponding color optical path. The OFDM signal of each color optical path is for the data streams on the multiple color optical paths, using the OFDM modulation method. It is obtained by modulating the data stream on the optical path of each color respectively on the modulation bandwidth corresponding to the optical path of the color.
如图4所示,第二设备可以通过光电检测器来接收各个颜色光路上的发送信号。光电检测器包括有对应颜色光路的滤波片,可以从可见光信号中提取出对应颜色光路的信号并进行后续处理。As shown in FIG. 4 , the second device can receive the transmitted signal on the light path of each color through the photodetector. The photodetector includes a filter corresponding to the color light path, and can extract the signal corresponding to the color light path from the visible light signal and perform subsequent processing.
步骤32,通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流。
步骤33,在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流。
这里,在发送端采用的所述预设叠加方式在发送信号中添加了直流分量的情况下,在步骤33中,对每种颜色光路上的数据流进行OFDM的解调之前,还需要去除所述发送信号中的直流分量,然后再进行解调。Here, in the case where the preset superposition method adopted by the transmitting end adds a DC component to the transmitted signal, in
图4中给出了OFDM的解调的具体示例,例如包括串并转换、去掉CP、FFT变换、并串转换以及数据解调等步骤,从而获得各个颜色光路上的数据流。A specific example of OFDM demodulation is given in FIG. 4 , for example, it includes steps such as serial-to-parallel conversion, CP removal, FFT transformation, parallel-serial conversion, and data demodulation, so as to obtain data streams on each color optical path.
通过以上步骤,本发明实施例从可见光信号中解调出多路数据流,从而实现了对发送端的调制信号的解调。Through the above steps, the embodiment of the present invention demodulates multiple data streams from the visible light signal, thereby realizing the demodulation of the modulated signal at the transmitting end.
具体的,在上述步骤中,第二设备可以根据发送端(第一设备)采用的不同叠加方式,先利用颜色解调技术解调出一路数据信号(这里称之为第二数据流),再将去掉直流分量后的信号进行频域维度的解调。Specifically, in the above steps, the second device can first use the color demodulation technology to demodulate a data signal (herein referred to as the second data stream) according to the different superposition methods adopted by the transmitting end (the first device), and then The signal after removing the DC component is demodulated in the frequency domain dimension.
例如,在所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第一叠加方式;所述步骤32中,从所述多种颜色光路的信号中解调出第二数据流,包括:For example, in the case where the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the first superposition mode; in
1)检测每种颜色光路上的发送信号的功率的方差值,根据所述功率的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;1) detecting the variance value of the power of the transmitted signal on each color optical path, and performing demodulation of the color domain according to the CSK constellation diagram corresponding to the ratio of the variance value of the power to obtain the second data stream;
或者,or,
2)检测每种颜色光路上的发送信号的直流分量强度的方差值,根据所述直流分量强度的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;2) Detecting the variance value of the DC component intensity of the transmitted signal on the optical path of each color, and performing demodulation of the color domain according to the CSK constellation map corresponding to the ratio of the variance value of the DC component intensity to obtain the second data flow;
其中,所述第一叠加方式为:计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加。The first superposition method is: calculating the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and adding the first product and a predetermined DC component.
具体的,在所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第二叠加方式、第三叠加方式或第四叠加方式;或者,所述OFDM的调制为ACO-OFDM多载波调制或Flip-OFDM多载波调制,且所述预设叠加方式为第五叠加方式或第六叠加方式的情况下,所述步骤32中,从所述多种颜色光路的信号中解调出第二数据流,具体包括:Specifically, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the second superposition mode, the third superposition mode or the fourth superposition mode; or, the modulation of the OFDM is ACO- In the case of OFDM multi-carrier modulation or Flip-OFDM multi-carrier modulation, and the preset superposition mode is the fifth superposition mode or the sixth superposition mode, in
检测每种颜色光路上的发送信号的功率或信号强度,根据所述功率的比值所对应的CSK星座图或信号强度的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流。Detect the power or signal strength of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation diagram corresponding to the ratio of the power or the CSK constellation diagram corresponding to the ratio of the signal strength to obtain the second data flow.
其中,所述第二叠加方式为:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加;Wherein, the second superposition method is: adding the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component respectively;
所述第三叠加方式为:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积;The third superposition method is: separately adding the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, and calculating the product of the sum value and the light intensity of the corresponding color optical path;
所述第四叠加方式为:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加;The fourth superposition method is: separately calculating the second product of the light intensity of each color optical path and the predetermined DC component, and adding the second product to the OFDM signal of the corresponding color optical path;
所述第五叠加方式为:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积;The fifth superposition method is: separately calculating the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path;
所述第六叠加方式为:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加。The sixth superposition manner is: adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path respectively.
考虑到接收端需根据发送端使用的采样频率进行颜色解调的信号采样,若发送端颜色调制时的采样频率与OFDM多载波调制一样,则接收端需在每个OFDM符号上进行信号方差或信号功率、强度的检测与解调;若颜色调制的采样频率是OFDM多载波调制的N倍,则需在N个OFDM上进行信号方差或信号功率、强度的检测,平均后再进行解调;若颜色调制的采样频率是OFDM多载波调制的1/N倍,则需在1/N个OFDM上进行信号方差或信号功率、强度的检测与解调。Considering that the receiving end needs to sample the color demodulated signal according to the sampling frequency used by the transmitting end, if the sampling frequency of the color modulation at the transmitting end is the same as that of OFDM multi-carrier modulation, the receiving end needs to perform signal variance or Detection and demodulation of signal power and intensity; if the sampling frequency of color modulation is N times that of OFDM multi-carrier modulation, it is necessary to detect signal variance or signal power and intensity on N OFDMs, and then demodulate after averaging; If the sampling frequency of color modulation is 1/N times that of OFDM multi-carrier modulation, it is necessary to perform detection and demodulation of signal variance or signal power and intensity on 1/N OFDMs.
这样,在上述步骤32中,第二设备还根据第一设备对第一数据流进行颜色调制时的第一采样频率,进行所述颜色解调的信号采样,其中:In this way, in the
在所述第一采样频率与所述第一设备对每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同时,针对每种颜色光路上的每个OFDM符号上进行信号检测与解调;When the first sampling frequency is the same as the second sampling frequency when the first device performs OFDM modulation on the data stream on the optical path of each color, perform signal detection on each OFDM symbol on the optical path of each color and demodulation;
在所述第一采样频率为第二采样频率的N倍时,针对每种颜色光路上的N个OFDM符号上进行信号检测,并计算该N个OFDM符号的检测结果的平均值,根据所述平均值进行解调;When the first sampling frequency is N times the second sampling frequency, signal detection is performed on N OFDM symbols on the optical path of each color, and the average value of the detection results of the N OFDM symbols is calculated. The average value is demodulated;
在所述第二采样频率为第一采样频率的N倍时,针对每种颜色光路上的1/N个OFDM符号上进行信号检测与解调;When the second sampling frequency is N times the first sampling frequency, signal detection and demodulation are performed on 1/N OFDM symbols on the optical path of each color;
所述N为大于1的整数。The N is an integer greater than 1.
以上介绍了本发明实施例的各种方法。下面将进一步提供实施上述方法的装置。Various methods of the embodiments of the present invention have been described above. Apparatus for carrying out the above method will be further provided below.
本发明实施例提供了图5所示的一种第一设备,包括:An embodiment of the present invention provides a first device shown in FIG. 5, including:
第一调制模块51,用于对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;The
第二调制模块52,用于在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行正交频分复用OFDM的调制,获得每种颜色光路的OFDM信号;The
叠加模块53,用于将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。The superimposing
基于以上模块,本发明实施例充分利用了可见光多色光路的物理特性,并能够在频域利用复数空间的自由度提高数据传输效率。Based on the above modules, the embodiments of the present invention make full use of the physical characteristics of the visible light polychromatic optical path, and can improve the data transmission efficiency by utilizing the degree of freedom of the complex space in the frequency domain.
可选的,所述多种颜色光路包括有红色光路、绿色光路和蓝色光路。Optionally, the multiple color light paths include red light paths, green light paths and blue light paths.
可选的,所述第一调制模块,还用于对所述第一数据流的数据进行色移键控CSK处理,得到对应的色度值;根据所述色度值,计算出每种颜色光路的光强。Optionally, the first modulation module is further configured to perform color shift keying CSK processing on the data of the first data stream to obtain corresponding chromaticity values; according to the chromaticity values, calculate each color The light intensity of the light path.
可选的,所述第二调制模块,还用于在每种颜色光路对应的调制带宽上,分别对每种颜色光路上的数据流进行频域映射处理和反向快速傅里叶变换处理。Optionally, the second modulation module is further configured to perform frequency domain mapping processing and inverse fast Fourier transform processing on the data streams on the optical paths of each color on the modulation bandwidth corresponding to the optical paths of each color.
可选的,所述第二调制模块,还用于在所述频域映射处理和反向快速傅里叶变换处理之间还包括:对所述频域映射处理得到的信号进行串并转换处理;Optionally, the second modulation module is further configured to further include between the frequency domain mapping processing and the inverse fast Fourier transform processing: performing serial-parallel conversion processing on the signal obtained by the frequency domain mapping processing. ;
在反向快速傅里叶变换处理之后还包括:对所述反向快速傅里叶变换处理得到的信号添加循环前缀CP并进行并串转换处理。After the inverse fast Fourier transform processing, the method further includes: adding a cyclic prefix CP to the signal obtained by the inverse fast Fourier transform processing and performing parallel-serial conversion processing.
可选的,所述OFDM的调制为直流偏置光DCO-OFDM多载波调制,所述叠加模块,还用于按照以下叠加方式中的任一种,将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上:Optionally, the modulation of the OFDM is DC-biased light DCO-OFDM multi-carrier modulation, and the superposition module is further configured to superimpose the light intensity of each color optical path according to any one of the following superposition methods To the OFDM signal corresponding to the color optical path:
第一叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加,得到每种颜色光路上的待发送信号;The first superposition method: calculate the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and add the first product and the predetermined DC component to obtain the to-be-sent signal on each color optical path ;
第二叠加方式:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加,得到每种颜色光路上的待发送信号;The second superposition method: the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component are added to obtain the to-be-sent signal on each color optical path;
第三叠加方式:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积,得到每种颜色光路上的待发送信号;The third superposition method: separately add the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, calculate the product of the sum value and the light intensity of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path ;
第四叠加方式:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。The fourth superposition method: respectively calculate the second product of the light intensity of each color optical path and the predetermined DC component, and add the second product to the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path .
可选的,optional,
所述OFDM的调制为非对称限幅光ACO-OFDM多载波调制或翻转Flip-OFDM多载波调制,所述叠加模块,还用于按照以下叠加方式中的任一种,将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上:The modulation of the OFDM is asymmetric limiting optical ACO-OFDM multi-carrier modulation or flip-Flip-OFDM multi-carrier modulation. The light intensity of the light path is superimposed on the OFDM signal of the corresponding color light path:
第五叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积,得到每种颜色光路上的待发送信号;Fifth superposition method: separately calculate the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path;
第六叠加方式:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。Sixth superposition method: respectively adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path.
可选的,所述颜色调制时所述第一数据流的第一采样频率,与每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同,或者,所述第一采样频率为第二采样频率的N倍,或者,所述第二采样频率为第一采样频率的N倍,所述N为大于1的整数。Optionally, the first sampling frequency of the first data stream when the color is modulated is the same as the second sampling frequency when the data stream on each color optical path is modulated by OFDM, or the first sampling frequency is N times the second sampling frequency, or the second sampling frequency is N times the first sampling frequency, where N is an integer greater than 1.
需要说明的是,该实施例中的装置是与上述图1所示的方法对应的设备,上述各实施例中的实现方式均适用于该设备的实施例中,也能达到相同的技术效果。在此需要说明的是,本发明实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the apparatus in this embodiment is a device corresponding to the method shown in FIG. 1 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the device, and the same technical effect can also be achieved. It should be noted here that the above-mentioned device provided by the embodiment of the present invention can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect, and the same as the method embodiment in this embodiment is not repeated here. The parts and beneficial effects will be described in detail.
请参考图6,本发明实施例提供了第一设备的一结构示意图,包括:处理器601、收发机602、存储器603和总线接口,其中:Referring to FIG. 6, an embodiment of the present invention provides a schematic structural diagram of a first device, including: a
在本发明实施例中,第一设备还包括:存储在存储器上603并可在处理器601上运行的程序,所述程序被处理器601执行时实现如下步骤:In this embodiment of the present invention, the first device further includes: a program stored on the
对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;Perform color modulation on the first data stream to obtain the light intensity of each color light path in the multiple color light paths;
针对所述多种颜色光路上的数据流,使用正交频分复用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,获得每种颜色光路的OFDM信号;For the data streams on the optical paths of the various colors, the modulation mode of orthogonal frequency division multiplexing (OFDM) is used to modulate the data streams on the optical paths of each color in the modulation bandwidth corresponding to the optical paths of each color, to obtain the optical paths of each color. OFDM signal;
将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。The light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and transmits on the optical channel corresponding to the color optical path by means of wavelength division multiplexing.
可选的,所述多种颜色光路包括有红色光路、绿色光路和蓝色光路。Optionally, the multiple color light paths include red light paths, green light paths and blue light paths.
可选的,所述处理器执行所述程序时还实现以下步骤:Optionally, the processor further implements the following steps when executing the program:
对所述第一数据流的数据进行色移键控CSK处理,得到对应的色度值;performing color shift keying CSK processing on the data of the first data stream to obtain corresponding chrominance values;
根据所述色度值,计算出每种颜色光路的光强。According to the chromaticity value, the light intensity of each color light path is calculated.
可选的,所述处理器执行所述程序时还实现以下步骤:在每种颜色光路对应的调制带宽上,分别对每种颜色光路上的数据流进行频域映射处理和反向快速傅里叶变换处理。Optionally, when the processor executes the program, the following steps are also implemented: on the modulation bandwidth corresponding to each color optical path, respectively perform frequency domain mapping processing and inverse fast Fourier on the data stream on each color optical path. Leaf transform processing.
可选的,所述处理器执行所述程序时还实现以下步骤:Optionally, the processor further implements the following steps when executing the program:
在所述频域映射处理和反向快速傅里叶变换处理之间还包括:对所述频域映射处理得到的信号进行串并转换处理;Between the frequency domain mapping processing and the inverse fast Fourier transform processing, the method further includes: performing serial-to-parallel conversion processing on the signal obtained by the frequency domain mapping processing;
在反向快速傅里叶变换处理之后还包括:对所述反向快速傅里叶变换处理得到的信号添加循环前缀CP并进行并串转换处理。After the inverse fast Fourier transform processing, the method further includes: adding a cyclic prefix CP to the signal obtained by the inverse fast Fourier transform processing and performing parallel-serial conversion processing.
可选的,所述OFDM的调制为直流偏置光DCO-OFDM多载波调制,所述将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,包括以下叠加方式中的任一种:Optionally, the modulation of the OFDM is DC bias light DCO-OFDM multi-carrier modulation, and the light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path, including any of the following superposition methods. A sort of:
第一叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加,得到每种颜色光路上的待发送信号;The first superposition method: calculate the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and add the first product and the predetermined DC component to obtain the to-be-sent signal on each color optical path ;
第二叠加方式:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加,得到每种颜色光路上的待发送信号;The second superposition method: the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component are added to obtain the to-be-sent signal on each color optical path;
第三叠加方式:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积,得到每种颜色光路上的待发送信号;The third superposition method: separately add the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, calculate the product of the sum value and the light intensity of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path ;
第四叠加方式:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。The fourth superposition method: respectively calculate the second product of the light intensity of each color optical path and the predetermined DC component, and add the second product to the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path .
可选的,所述OFDM的调制为非对称限幅光ACO-OFDM多载波调制或翻转Flip-OFDM多载波调制,所述将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,包括以下叠加方式中的任一种:Optionally, the modulation of the OFDM is asymmetric amplitude limiting optical ACO-OFDM multi-carrier modulation or flip-Flip-OFDM multi-carrier modulation, and the light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path. , including any of the following stacking methods:
第五叠加方式:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积,得到每种颜色光路上的待发送信号;Fifth superposition method: separately calculate the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and obtain the to-be-sent signal on each color optical path;
第六叠加方式:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加,得到每种颜色光路上的待发送信号。Sixth superposition method: respectively adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path to obtain the to-be-sent signal on each color optical path.
可选的,所述颜色调制时所述第一数据流的第一采样频率,与每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同,或者,所述第一采样频率为第二采样频率的N倍,或者,所述第二采样频率为第一采样频率的N倍,所述N为大于1的整数。Optionally, the first sampling frequency of the first data stream when the color is modulated is the same as the second sampling frequency when the data stream on each color optical path is modulated by OFDM, or the first sampling frequency is N times the second sampling frequency, or the second sampling frequency is N times the first sampling frequency, where N is an integer greater than 1.
可理解的,本发明实施例中,所述计算机程序被处理器601执行时可实现上述图1所示的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。It is understandable that in this embodiment of the present invention, when the computer program is executed by the
在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器601代表的一个或多个处理器和存储器603代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机602可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。In FIG. 6, the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented by
处理器601负责管理总线架构和通常的处理,存储器603可以存储处理器601在执行操作时所使用的数据。The
需要说明的是,该实施例中的终端是与上述图1所示的方法对应的设备,上述各实施例中的实现方式均适用于该终端的实施例中,也能达到相同的技术效果。该设备中,收发机602与存储器603,以及收发机602与处理器601均可以通过总线接口通讯连接,处理器601的功能也可以由收发机602实现,收发机602的功能也可以由处理器601实现。在此需要说明的是,本发明实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the terminal in this embodiment is a device corresponding to the method shown in FIG. 1 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the terminal, and the same technical effect can also be achieved. In this device, the
在本发明的一些实施例中,还提供了一种计算机可读存储介质,其上存储有程序,该程序被处理器执行时实现以下步骤:In some embodiments of the present invention, a computer-readable storage medium is also provided, on which a program is stored, and when the program is executed by a processor, the following steps are implemented:
对第一数据流进行颜色调制,获得多种颜色光路中每种颜色光路的光强;Perform color modulation on the first data stream to obtain the light intensity of each color light path in the multiple color light paths;
针对所述多种颜色光路上的数据流,使用正交频分复用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制,获得每种颜色光路的OFDM信号;For the data streams on the optical paths of the various colors, the modulation mode of orthogonal frequency division multiplexing (OFDM) is used to modulate the data streams on the optical paths of each color in the modulation bandwidth corresponding to the optical paths of each color, to obtain the optical paths of each color. OFDM signal;
将所述每种颜色光路的光强叠加到对应颜色光路的OFDM信号上,获得每种颜色光路上的发送信号,并通过波分复用方式在所述颜色光路对应的光信道上进行发送。The light intensity of each color optical path is superimposed on the OFDM signal of the corresponding color optical path to obtain the transmitted signal on each color optical path, and transmits on the optical channel corresponding to the color optical path by means of wavelength division multiplexing.
该程序被处理器执行时能实现上述应用于第一设备的可见光调制方法、解调方法中的所有实现方式,且能达到相同的技术效果,为避免重复,此处不再赘述。When the program is executed by the processor, all the above-mentioned implementation modes of the visible light modulation method and the demodulation method applied to the first device can be realized, and the same technical effect can be achieved. To avoid repetition, details are not described here.
请参照图7,本发明实施例提供了一种第二设备,包括:Referring to FIG. 7 , an embodiment of the present invention provides a second device, including:
接收模块71,用于接收第一设备在多种颜色光路中每种颜色光路上的发送信号;a receiving
第一解调模块72,用于通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;a
第二解调模块73,用于在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;The
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,且,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是对该颜色光路上的数据流进行OFDM的调制得到的,每种颜色光路的光强是对第一数据流进行颜色调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color by the wavelength division multiplexing method, and the transmission signal on the optical channel of each color is according to the preset superposition method, It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the corresponding color light path. The OFDM signal of each color light path is obtained by OFDM modulation of the data stream on the color light path. The light intensity of each color light path is The first data stream is obtained by performing color modulation.
可选的,所述多种颜色光路包括有红色光路、绿色光路和蓝色光路。Optionally, the multiple color light paths include red light paths, green light paths and blue light paths.
可选的,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第一叠加方式;可选的,所述第一解调模块,还用于:Optionally, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is a first superposition mode; optionally, the first demodulation module is further configured to:
检测每种颜色光路上的发送信号的功率的方差值,根据所述功率的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detecting the variance value of the power of the transmitted signal on each color optical path, and performing color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the power, to obtain the second data stream;
或者,or,
检测每种颜色光路上的发送信号的直流分量强度的方差值,根据所述直流分量强度的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the variance value of the DC component intensity of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the DC component intensity to obtain the second data stream ;
其中,所述第一叠加方式为:计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加。The first superposition method is: calculating the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and adding the first product and a predetermined DC component.
可选的,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第二叠加方式、第三叠加方式或第四叠加方式;或者,所述OFDM的调制为ACO-OFDM多载波调制或Flip-OFDM多载波调制,且所述预设叠加方式为第五叠加方式或第六叠加方式;Optionally, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the second superposition mode, the third superposition mode or the fourth superposition mode; or, the modulation of the OFDM is ACO- OFDM multi-carrier modulation or Flip-OFDM multi-carrier modulation, and the preset superposition mode is the fifth superposition mode or the sixth superposition mode;
所述第一解调模块,还用于:The first demodulation module is also used for:
检测每种颜色光路上的发送信号的功率或信号强度,根据所述功率的比值所对应的CSK星座图或信号强度的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the power or signal strength of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation diagram corresponding to the ratio of the power or the CSK constellation diagram corresponding to the ratio of the signal strength to obtain the second data flow;
其中,所述第二叠加方式为:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加;Wherein, the second superposition method is: adding the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component respectively;
所述第三叠加方式为:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积;The third superposition method is: separately adding the OFDM signal of each color optical path and the predetermined DC component to obtain a sum value, and calculating the product of the sum value and the light intensity of the corresponding color optical path;
所述第四叠加方式为:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加;The fourth superposition method is: separately calculating the second product of the light intensity of each color optical path and the predetermined DC component, and adding the second product to the OFDM signal of the corresponding color optical path;
所述第五叠加方式为:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积;The fifth superposition method is: separately calculating the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path;
所述第六叠加方式为:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加。The sixth superposition manner is: adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path respectively.
可选的,所述第一解调模块,还用于:Optionally, the first demodulation module is further configured to:
根据第一设备对第一数据流进行颜色调制时的第一采样频率,进行所述颜色解调的信号采样,其中:The signal sampling of the color demodulation is performed according to the first sampling frequency when the first device performs color modulation on the first data stream, wherein:
在所述第一采样频率与所述第一设备对每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同时,针对每种颜色光路上的每个OFDM符号上进行信号检测与解调;When the first sampling frequency is the same as the second sampling frequency when the first device performs OFDM modulation on the data stream on the optical path of each color, perform signal detection on each OFDM symbol on the optical path of each color and demodulation;
在所述第一采样频率为第二采样频率的N倍时,针对每种颜色光路上的N个OFDM符号上进行信号检测,并计算该N个OFDM符号的检测结果的平均值,根据所述平均值进行解调;When the first sampling frequency is N times the second sampling frequency, signal detection is performed on N OFDM symbols on the optical path of each color, and the average value of the detection results of the N OFDM symbols is calculated. The average value is demodulated;
在所述第二采样频率为第一采样频率的N倍时,针对每种颜色光路上的1/N个OFDM符号上进行信号检测与解调;When the second sampling frequency is N times the first sampling frequency, signal detection and demodulation are performed on 1/N OFDM symbols on the optical path of each color;
所述N为大于1的整数。The N is an integer greater than 1.
可选的,所述第二解调模块,还用于在所述预设叠加方式在发送信号中添加了直流分量的情况下,在对每种颜色光路上的数据流进行OFDM的解调之前,去除所述发送信号中的直流分量。Optionally, the second demodulation module is further configured to perform OFDM demodulation on the data stream on the optical path of each color before the OFDM demodulation is performed when the preset superposition mode adds a DC component to the transmitted signal. , remove the DC component in the transmission signal.
需要说明的是,该实施例中的设备是与上述图3所示的方法对应的设备,上述各实施例中的实现方式均适用于该设备的实施例中,也能达到相同的技术效果。本发明实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the device in this embodiment is a device corresponding to the method shown in FIG. 3 above, and the implementation manners in each of the above embodiments are applicable to the embodiments of the device, and the same technical effect can also be achieved. The above-mentioned device provided in the embodiment of the present invention can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect, and the parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here. Repeat.
请参照图8,本发明实施例提供的终端的一种结构示意图,该终端包括:处理器801、收发机802、存储器803、用户接口804和总线接口。Please refer to FIG. 8 , which is a schematic structural diagram of a terminal provided by an embodiment of the present invention. The terminal includes: a
在本发明实施例中,终端还包括:存储在存储器上803并可在处理器801上运行的程序。In this embodiment of the present invention, the terminal further includes: a program stored on the
所述处理器801执行所述程序时实现以下步骤:‘When the
接收第一设备在多种颜色光路中每种颜色光路上的发送信号;receiving a signal sent by the first device on each color optical path among the multiple color optical paths;
通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;demodulating the second data stream from the signals of the multiple color optical paths through color demodulation;
在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;On the modulation bandwidth corresponding to each color optical path, OFDM demodulates the data stream on the color optical path respectively to obtain the data stream on each color optical path;
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是针对所述多种颜色光路上的数据流,使用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color through wavelength division multiplexing, and the transmission signal on the optical channel of each color is based on the preset superposition method, in the corresponding It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the color light path. The OFDM signal of each color light path is for the data streams on the multiple color light paths, using the OFDM modulation method, and the modulation method corresponding to each color light path It is obtained by modulating the data stream on the optical path of the color respectively in terms of bandwidth.
可选的,所述多种颜色光路包括有红色光路、绿色光路和蓝色光路。Optionally, the multiple color light paths include red light paths, green light paths and blue light paths.
可选的,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第一叠加方式;所述处理器执行所述程序时还实现以下步骤:Optionally, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the first superposition mode; when the processor executes the program, the following steps are further implemented:
检测每种颜色光路上的发送信号的功率的方差值,根据所述功率的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detecting the variance value of the power of the transmitted signal on each color optical path, and performing color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the power, to obtain the second data stream;
或者,or,
检测每种颜色光路上的发送信号的直流分量强度的方差值,根据所述直流分量强度的方差值的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the variance value of the DC component intensity of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation map corresponding to the ratio of the variance value of the DC component intensity to obtain the second data stream ;
其中,所述第一叠加方式为:计算每种颜色光路的光强与对应颜色光路的OFDM信号的第一乘积,并将所述第一乘积与预定直流分量相加。The first superposition method is: calculating the first product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path, and adding the first product and a predetermined DC component.
可选的,所述OFDM的调制为DCO-OFDM多载波调制,且所述预设叠加方式为第二叠加方式、第三叠加方式或第四叠加方式;或者,所述OFDM的调制为ACO-OFDM多载波调制或Flip-OFDM多载波调制,且所述预设叠加方式为第五叠加方式或第六叠加方式;Optionally, the modulation of the OFDM is DCO-OFDM multi-carrier modulation, and the preset superposition mode is the second superposition mode, the third superposition mode or the fourth superposition mode; or, the modulation of the OFDM is ACO- OFDM multi-carrier modulation or Flip-OFDM multi-carrier modulation, and the preset superposition mode is the fifth superposition mode or the sixth superposition mode;
所述处理器执行所述程序时还实现以下步骤:The processor also implements the following steps when executing the program:
检测每种颜色光路上的发送信号的功率或信号强度,根据所述功率的比值所对应的CSK星座图或信号强度的比值所对应的CSK星座图进行颜色域的解调,得到所述第二数据流;Detect the power or signal strength of the transmitted signal on the optical path of each color, and perform color domain demodulation according to the CSK constellation diagram corresponding to the ratio of the power or the CSK constellation diagram corresponding to the ratio of the signal strength to obtain the second data flow;
其中,所述第二叠加方式为:分别将每种颜色光路的光强、对应颜色光路的OFDM信号和预定直流分量相加;Wherein, the second superposition method is: adding the light intensity of each color optical path, the OFDM signal corresponding to the color optical path, and the predetermined DC component respectively;
所述第三叠加方式为:分别将每种颜色光路的OFDM信号与预定直流分量相加,得到和值,计算所述和值与对应颜色光路的光强的乘积;The third superposition method is: separately adding the OFDM signal of each color optical path and a predetermined DC component to obtain a sum value, and calculating the product of the sum value and the light intensity of the corresponding color optical path;
所述第四叠加方式为:分别计算每种颜色光路的光强与预定直流分量的第二乘积,并将所述第二乘积与对应颜色光路的OFDM信号相加;The fourth superposition method is: separately calculating the second product of the light intensity of each color optical path and the predetermined DC component, and adding the second product to the OFDM signal of the corresponding color optical path;
所述第五叠加方式为:分别计算每种颜色光路的光强与对应颜色光路的OFDM信号的第三乘积;The fifth superposition method is: separately calculating the third product of the light intensity of each color optical path and the OFDM signal of the corresponding color optical path;
所述第六叠加方式为:分别将每种颜色光路的光强与对应颜色光路的OFDM信号相加。The sixth superposition manner is: adding the light intensity of each color optical path and the OFDM signal of the corresponding color optical path respectively.
可选的,所述处理器执行所述程序时还实现以下步骤:Optionally, the processor further implements the following steps when executing the program:
根据第一设备对第一数据流进行颜色调制时的第一采样频率,进行所述颜色解调的信号采样,其中:The signal sampling of the color demodulation is performed according to the first sampling frequency when the first device performs color modulation on the first data stream, wherein:
在所述第一采样频率与所述第一设备对每种颜色光路上的数据流进行OFDM的调制时的第二采样频率相同时,针对每种颜色光路上的每个OFDM符号上进行信号检测与解调;When the first sampling frequency is the same as the second sampling frequency when the first device performs OFDM modulation on the data stream on the optical path of each color, perform signal detection on each OFDM symbol on the optical path of each color and demodulation;
在所述第一采样频率为第二采样频率的N倍时,针对每种颜色光路上的N个OFDM符号上进行信号检测,并计算该N个OFDM符号的检测结果的平均值,根据所述平均值进行解调;When the first sampling frequency is N times the second sampling frequency, signal detection is performed on N OFDM symbols on the optical path of each color, and the average value of the detection results of the N OFDM symbols is calculated. The average value is demodulated;
在所述第二采样频率为第一采样频率的N倍时,针对每种颜色光路上的1/N个OFDM符号上进行信号检测与解调;When the second sampling frequency is N times the first sampling frequency, signal detection and demodulation are performed on 1/N OFDM symbols on the optical path of each color;
所述N为大于1的整数。The N is an integer greater than 1.
可选的,可选的,所述处理器执行所述程序时还实现以下步骤:在所述预设叠加方式在发送信号中添加了直流分量的情况下,在对每种颜色光路上的数据流进行OFDM的解调之前,去除所述发送信号中的直流分量。Optionally, optionally, the processor further implements the following steps when executing the program: in the case where the preset superposition mode adds a DC component to the transmitted signal, compare the data on the optical path of each color. Before the stream is subjected to OFDM demodulation, the DC component in the transmitted signal is removed.
可理解的,本发明实施例中,所述计算机程序被处理器801执行时可实现上述图3所示的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Understandably, in this embodiment of the present invention, when the computer program is executed by the
在图8中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器801代表的一个或多个处理器和存储器803代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机802可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口804还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 8, the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented by
处理器801负责管理总线架构和通常的处理,存储器803可以存储处理器801在执行操作时所使用的数据。The
需要说明的是,该实施例中的设备是与上述图3所示的方法对应的设备,上述各实施例中的实现方式均适用于该设备的实施例中,也能达到相同的技术效果。该设备中,收发机802与存储器803,以及收发机802与处理器801均可以通过总线接口通讯连接,处理器801的功能也可以由收发机802实现,收发机802的功能也可以由处理器801实现。在此需要说明的是,本发明实施例提供的上述设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the device in this embodiment is a device corresponding to the method shown in FIG. 3 above, and the implementation manners in each of the above embodiments are applicable to the embodiments of the device, and the same technical effect can also be achieved. In this device, the
在本发明的一些实施例中,还提供了一种计算机可读存储介质,其上存储有程序,该程序被处理器执行时实现以下步骤:In some embodiments of the present invention, a computer-readable storage medium is also provided, on which a program is stored, and when the program is executed by a processor, the following steps are implemented:
接收第一设备在多种颜色光路中每种颜色光路上的发送信号;receiving a signal sent by the first device on each color optical path among the multiple color optical paths;
通过颜色解调,从所述多种颜色光路的信号中解调出第二数据流;demodulating the second data stream from the signals of the multiple color optical paths through color demodulation;
在每种颜色光路对应的调制带宽上,分别对该颜色光路上的数据流进行OFDM的解调,得到每种颜色光路上的数据流;On the modulation bandwidth corresponding to each color optical path, OFDM demodulates the data stream on the color optical path respectively to obtain the data stream on each color optical path;
其中,每种颜色光路上的发送信号是第一设备通过波分复用方式在每种颜色光路对应的光信道上发送的,每种光信道上的发送信号是按照预设叠加方式,在对应颜色光路的OFDM信号上叠加对应颜色光路的光强得到的,每种颜色光路的OFDM信号是针对所述多种颜色光路上的数据流,使用OFDM的调制方式,在每种颜色光路对应的调制带宽上分别对该颜色光路上的数据流调制得到的。Wherein, the transmission signal on the optical path of each color is sent by the first device on the optical channel corresponding to the optical path of each color through wavelength division multiplexing, and the transmission signal on each optical channel is in the corresponding It is obtained by superimposing the light intensity of the corresponding color light path on the OFDM signal of the color light path. The OFDM signal of each color light path is for the data streams on the multiple color light paths, using the OFDM modulation method, and the modulation method corresponding to each color light path is used. It is obtained by modulating the data stream on the optical path of the color respectively in terms of bandwidth.
该程序被处理器执行时能实现上述应用于第二设备侧的可见光调制方法、解调方法中的所有实现方式,且能达到相同的技术效果,为避免重复,此处不再赘述。When the program is executed by the processor, all the above-mentioned implementation modes of the visible light modulation method and the demodulation method applied to the second device side can be realized, and the same technical effect can be achieved. To avoid repetition, details are not described here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110005295.1A CN114726438B (en) | 2021-01-05 | 2021-01-05 | Visible light modulation method, demodulation method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110005295.1A CN114726438B (en) | 2021-01-05 | 2021-01-05 | Visible light modulation method, demodulation method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114726438A true CN114726438A (en) | 2022-07-08 |
| CN114726438B CN114726438B (en) | 2024-06-04 |
Family
ID=82234681
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110005295.1A Active CN114726438B (en) | 2021-01-05 | 2021-01-05 | Visible light modulation method, demodulation method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114726438B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150318925A1 (en) * | 2012-11-30 | 2015-11-05 | The University Court Of The University Of Edinburgh | Communication apparatus and method |
| CN107196885A (en) * | 2016-12-13 | 2017-09-22 | 中山大学 | Color keying ofdm communication system based on real Fourier hartley transform |
| CN107395278A (en) * | 2017-08-14 | 2017-11-24 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Light ofdm communication system based on polar modulation and plural color Shift Keying |
| CN108092714A (en) * | 2017-12-20 | 2018-05-29 | 中山大学 | Support the ofdm system of color adjustment and the detection of CSK planispheres |
| CN109379319A (en) * | 2018-10-29 | 2019-02-22 | 中山大学 | Design method of complex color shift keying constellation diagram for optical OFDM system |
-
2021
- 2021-01-05 CN CN202110005295.1A patent/CN114726438B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150318925A1 (en) * | 2012-11-30 | 2015-11-05 | The University Court Of The University Of Edinburgh | Communication apparatus and method |
| CN107196885A (en) * | 2016-12-13 | 2017-09-22 | 中山大学 | Color keying ofdm communication system based on real Fourier hartley transform |
| CN107395278A (en) * | 2017-08-14 | 2017-11-24 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Light ofdm communication system based on polar modulation and plural color Shift Keying |
| CN108092714A (en) * | 2017-12-20 | 2018-05-29 | 中山大学 | Support the ofdm system of color adjustment and the detection of CSK planispheres |
| CN109379319A (en) * | 2018-10-29 | 2019-02-22 | 中山大学 | Design method of complex color shift keying constellation diagram for optical OFDM system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114726438B (en) | 2024-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8111765B2 (en) | Communication apparatus, communication method, and integrated circuit | |
| CN107395278B (en) | Optical OFDM Communication System Based on Polar Modulation and Complex Color Shift Keying | |
| CN103457661B (en) | A kind of LED array visible light communication system and communication means thereof | |
| JP2014526201A (en) | Method and apparatus for reducing PAPR in a filter bank multi-carrier system | |
| Ndjiongue et al. | Cascaded PLC-VLC channel using OFDM and CSK techniques | |
| CN109004979B (en) | A realization method of indoor visible light unipolar OFDM communication system | |
| CN108900462A (en) | A method of reducing indoor visible light DCO-OFDM system peak-to-average power ratio | |
| US20150318925A1 (en) | Communication apparatus and method | |
| CN103763226A (en) | Mixed time-frequency domain balancing method | |
| CN106160827A (en) | A kind of multi-user information processing method and processing device | |
| CN111711593B (en) | OFDM/OQAM-based modulation method for visible light communication system | |
| CN107196885B (en) | Color keying OFDM communication system based on real Fourier domain Hartley transform | |
| Dhaam et al. | Optical GFDM for indoor visible light communication: a comprehensive review and future outlook | |
| Guan et al. | Enhanced subcarrier-index modulation-based asymmetrically clipped optical OFDM using even subcarriers | |
| CN103731390A (en) | Method for reducing OFDM signal peak-to-average power ratio in RoF system | |
| CN106302294A (en) | A kind of signal modulation, demodulation method and device | |
| Nawaf et al. | Investigation the Performance of ACO-OFDM, DCO-OFDM in Visible Light Communication System | |
| WO2008134149A1 (en) | On-off keying-7-phase shift keying modulation system and method for fiber communication | |
| CN114726438B (en) | Visible light modulation method, demodulation method and device | |
| WO2017127986A1 (en) | Method for controlling brightness of light source and transmitting-end device | |
| WO2011024478A1 (en) | Communication system | |
| Tekin et al. | M-CSK-Flip OFDM for Visible Light Communication Systems | |
| Tang et al. | Efficient real-Fourier domain-based color shift keying OFDM implemented with Hartley transform for visible light communication system | |
| CN117498935A (en) | Adaptive offset VLC-OFDM system and control method thereof | |
| Wang et al. | High speed visible light communication system using QAM-DMT modulation based on digital zero-padding and differential receiver |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |