CN107144817A - A kind of indoor visible light localization method based on PN spreading codes - Google Patents
A kind of indoor visible light localization method based on PN spreading codes Download PDFInfo
- Publication number
- CN107144817A CN107144817A CN201710290955.9A CN201710290955A CN107144817A CN 107144817 A CN107144817 A CN 107144817A CN 201710290955 A CN201710290955 A CN 201710290955A CN 107144817 A CN107144817 A CN 107144817A
- Authority
- CN
- China
- Prior art keywords
- codes
- signal
- data
- visible light
- frame
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/16—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using electromagnetic waves other than radio waves
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses a kind of indoor visible light localization method based on PN spreading codes, modulated for the binary code stream of transmission, it make use of the preferable PN codes of orthogonality, instead of traditional frequency modulation(PFM) to lamp, processing without synchronizing transmitting to the information that transmitting terminal is launched, it enormously simplify the complexity of system control, and largely overcome intersymbol interference, it cannot be distinguished by and the problem of error rate of system is high so as to solve in traditional visible ray indoor positioning the different light beams because of caused by multiple light courcess, improve systematic function and positioning precision.
Description
Technical field
The present invention relates to a kind of indoor visible light localization method based on PN spreading codes, belong to visible ray location technology neck
Domain.
Background technology
It is different from traditional indoor positioning technologies, it is seen that light indoor positioning technologies are a kind of based on visible light communication technology
Indoor positioning technologies, this technology has positioning precision height, without electromagnetic interference, add-on module compared with traditional indoor positioning technologies
Less, good confidentiality, take into account communication with illumination the advantages of, caused the concern of many experts and scholars in the world.
In indoor positioning algorithms based on visible light communication, the reference point of positioning is LED point light source, and positions target for light
Electric detector, the distance detection of positioning typically passes through received signal strength (RSS), arrival time (TOA) or reaching time-difference
(TDOA) mode such as.Wherein RSS algorithms can detect by measuring decay factor of the visible light signal in the transmittance process of space
The distance of positioning, is not as requiring that transmitting terminal and receiving terminal have the strict synchronised clock cycle in TOA or TDOA algorithms, control
Simply and with higher positioning precision.Further, typically using triangle polyester fibre algorithm (triangulation
Algorithm) by the received signal strength based on intensity modulated and Direct Inspection Technology (IM/DD) come the distance of computed position
When, at least need to know the position of three reference modes, and the signal that different reference point information sources are sent is in time domain and frequency domain
Usually overlapping, in order to distinguish the signal that various information source is sent, traditional visible ray indoor orientation method is by adjusting not
With the frequency of light source, but this method has shortcomings:Its purposes is more single, can only be used as alignment system, and take
Information is few, and without flexibility, diversity, the scalability of simultaneity factor is poor.In order to further improve the precision of positioning,
Kim Hyun-Seung etc. use carrier allocation techniques, but because transmitting terminal and receiving terminal do not change with frequency stabilization, thus need
Want extra backoff algorithm;Yang Se-Hoon etc. are respectively adopted slot allocation technique and Wavelength Assignment technology to overcome intersymbol to do
The influence disturbed, but needs transmitting terminal and receiving terminal to have strict synchronization and needs optical filter or multiple receiver diversities to connect
Receive;These methods all considerably increase the complexity of system.
The content of the invention
The technical problems to be solved by the invention are:A kind of indoor visible light localization method based on PN spreading codes is provided,
Using data frame structure transmission pseudo noise code (PN codes), data frame is received and accurate using the orthogonality of pseudo noise code in receiving terminal
Different light sources are distinguished, so as to realize being accurately positioned for indoor visible light.
The present invention uses following technical scheme to solve above-mentioned technical problem:
A kind of indoor visible light localization method based on PN spreading codes, comprises the following steps:
Step 1, generate the data frame signal for sending information in transmitting terminal, the data frame include lead code, frame head,
Frame head verification sequence, Optional Field, data cell;
Step 2, PN codes are produced using shift register, and PN codes is inserted in the reserved field of frame head, while in PN codes
Quantity of light source field is inserted behind field;By communication data insert data cell medium access control head and Frame Check Sequence it
Between, new data frame signal is obtained, new data frame signal forms visible light signal and sent out after LED drive circuit
Go;
Step 3, in receiving terminal visible light signal after photoelectricity testing part is converted into electric signal, by amplifying circuit and certainly
Adaptive filter processing, the signal after being handled;
Step 4, PN codes are extracted from the signal after processing, and the corresponding light source of its light beam is judged according to PN codes, so that
The light intensity of the light source is obtained, the distance of receiver and light source is obtained using the formula of light intensity and distance, further according to RSS algorithms, obtains
To the position of receiver, positioning is realized.
As a kind of preferred scheme of such scheme, PN codes are inserted in the reserved field of frame head described in step 2, while
Insertion position sets flag, and mark is initially inserted into PN codes from the flag.
PN codes are extracted from the signal after processing as a kind of preferred scheme of such scheme, described in step 4 is specially:
The PN codes of insertion are found according to flag and extracted.
A kind of indoor visible light localization method based on PN spreading codes, comprises the following steps:
Step 1, generate the data frame signal for sending information in transmitting terminal, the data frame include lead code, frame head,
Frame head verification sequence, Optional Field, data cell;
Step 2, PN codes are produced using shift register, communication data spread using PN codes, and by after spread spectrum
Between the medium access control head and Frame Check Sequence of communication data insertion data cell, new data frame signal is obtained, new
Data frame signal forms visible light signal and sent after LED drive circuit;
Step 3, in receiving terminal visible light signal after photoelectricity testing part is converted into electric signal, by amplifying circuit and certainly
Adaptive filter processing, the signal after being handled;
Step 4, the communication data after spread spectrum is extracted from the signal after processing, and is de-spread using despreader, is obtained
To communication data and PN codes, the corresponding light source of its light beam is judged according to PN codes, so as to obtain the light intensity of the light source, using light intensity with
The formula of distance obtains the distance of receiver and light source, further according to RSS algorithms, obtains the position of receiver, realizes positioning.
As a kind of preferred scheme of such scheme, the communication data after spread spectrum is inserted into data cell described in step 2
Between medium access control head and Frame Check Sequence, while setting flag in insertion position, mark is inserted since the flag
Enter the communication data after spread spectrum.
As a kind of preferred scheme of such scheme, extracted described in step 4 from the signal after processing logical after spread spectrum
Letter data is specially:Communication data after the spread spectrum of insertion is found according to flag and extracted.
The present invention uses above technical scheme compared with prior art, with following technique effect:
1st, the inventive method is modulated for the binary code stream sent, using the preferable PN codes of orthogonality, instead of
Traditional frequency modulation(PFM) to lamp, the processing without synchronizing transmitting to the information that transmitting terminal is launched, is greatly simplified
The complexity of system control.
2nd, the inventive method largely overcomes intersymbol interference, solve the bit error rate caused by intersymbol interference it is high with
And different light beams are difficult the problem of differentiation, to improve systematic function and positioning precision.
Brief description of the drawings
Fig. 1 is the transmitting of the system of the embodiment of the present invention one and the theory diagram received.
Fig. 2 is data frame structure schematic diagram used in the embodiment of the present invention one.
Fig. 3 is the transmitting of two system of the embodiment of the present invention and the theory diagram received.
Fig. 4 is data frame structure schematic diagram used in the embodiment of the present invention two.
Embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the drawings.Below by
The embodiment being described with reference to the drawings is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
The thinking of the present invention is that existing visible ray indoor positioning technologies are improved, at the data frame of transmission
Reason, using the good PN codes of orthogonality, the PN codes and corresponding signal that receiving terminal tells each LED through sef-adapting filter are strong
Degree, the distance of anchor point is determined according to the size of decay, and it is the accurate of achievable receiver to recycle triangle polyester fibre (RSS) algorithm
Positioning.It is significantly simple while intersymbol interference is overcome, it is not necessary to the processing of transmitting is synchronized to the information that transmitting terminal is launched
Change the complexity of system control, improve the precision of positioning.
PN codes are primarily referred to as m-sequence, and it has many advantages, such as:First, harmonious good, run distribution has regularity, has
Another different phase of sequence Mr moulds 2 that the m-sequence Mp of shifter-adder characteristic, i.e., one is produced from it by any delay displacement
Plus, that obtain is still Mp certain delay shift sequence Ms;Secondly, its auto-correlation function has periodically, and is even function, this
All be conducive to the research after us, and because PN codes have good orthogonality, it is possible to for distinguishing different light
The signal that source is sent, while bulk information can be carried in the frame structure, can not only be positioned, moreover it is possible to realize the function of communication,
And with flexibility, diversity, the favorable expandability of system.
The transmitting of embodiment one is as shown in Figure 1 with record principle block diagram.This programme is specifically adopted with the following method:
The transmitting terminal of visible ray alignment system, following locate is carried out to the binary code stream (i.e. data frame) of transmission indoors
Reason:PN codes, the height that the series of the shift register is tried one's best are produced according to shift register, so that longer PN code sequences are produced,
The PN code sequences of generation are inserted into data frame, the position of insertion is fixed on the reservation in the frame head of data frame structure by we
At field, it will not be disturbed the information in the middle of data frame, and this method takes full advantage of the storage sky of frame structure
Between, unnecessary waste is not resulted in, the overall performance of system is improved.And a flag, mark are set in the position of insertion
PN sequences are inserted from this position, are read with facilitating to receive, so as to obtain final data frame structure.
The receiving terminal of visible ray alignment system, is handled as follows for the signal received indoors:Receiving termination
After the data frame for receiving transmission, by flag bit find we insert PN sequences because the orthogonality of PN codes, it is ensured that its by
The intersymbol interference very little arrived, we determine that it is the light beam from which lamp by the PN codes relatively inserted before, so as to
The light intensity from some lamp is obtained, according to the relation formula of light intensity and distance, further according to RSS algorithms, target location is obtained, so that
Realization is accurately positioned.
As shown in Fig. 2 being the data frame structure schematic diagram used in the present embodiment, we select fixed position to insert preparation
Good PN codes, different light sources use mutually orthogonal PN codes, and PN codes and quantity of light source field are inserted in the reserved field of frame head,
PN codes are used for distinguishing different light sources, and quantity of light source field is used for judging the quantity of light source in room.
The transmitting of embodiment two is with receiving schematic diagram as shown in figure 3, specifically adopting with the following method:
The transmitting terminal of visible ray alignment system indoors, the information to transmission carries out following handle:According to shift register
PN codes, the height that the series of the shift register is tried one's best are produced, so that longer PN code sequences are produced, using the PN codes of generation to leading to
Letter data is spread, the information after being spread.The communication information after spread spectrum is inserted into the data unit field of data frame,
New data frame structure is constituted, channel is transmitted into using drive circuit and LED.
The receiving terminal of visible ray alignment system, is handled as follows for the signal received indoors:Receiving termination
After the data frame for receiving transmission, the communication information that we insert is found by flag bit, de-spread using despreader, obtain communication letter
Breath and PN codes, further according to the light source corresponding to the corresponding PN codes of database lookup, so as to obtain the light intensity from some lamp,
According to the relation formula of light intensity and distance, further according to RSS algorithms, target location is obtained, is accurately positioned so as to realize.
As shown in figure 4, being the data frame structure schematic diagram used in the present embodiment, different light sources use mutually orthogonal PN
Code, carries out spread processing, the communication information after spread spectrum is inserted into data unit field, structure by us using PN codes to communication data
Cheng Xin data frame structure, as optical signal is sent together.
The photoelectricity testing part of receiving terminal receives the light letter of positioning by intensity modulated and Direct Inspection Technology (IM/DD)
Number, determine which lamp the light beam comes from by detecting PN codes information, so that the light intensity from every lamp is obtained, then according to light
Receiving terminal can be calculated with the relation formula between by force the distance between to three lamps, then using triangle polyester fibre algorithm
The receiving end that can achieve a butt joint is accurately positioned.
The technological thought of above example only to illustrate the invention, it is impossible to which protection scope of the present invention is limited with this, it is every
According to technological thought proposed by the present invention, any change done on the basis of technical scheme each falls within the scope of the present invention
Within.
Claims (6)
1. a kind of indoor visible light localization method based on PN spreading codes, it is characterised in that comprise the following steps:
Step 1, the data frame signal for sending information is generated in transmitting terminal, the data frame includes lead code, frame head, frame head
Verification sequence, Optional Field, data cell;
Step 2, PN codes are produced using shift register, and PN codes is inserted in the reserved field of frame head, while in PN code fields
Quantity of light source field is inserted below;Communication data is inserted between the medium access control head of data cell and Frame Check Sequence,
New data frame signal is obtained, new data frame signal forms visible light signal and sent after LED drive circuit;
Step 3, in receiving terminal visible light signal after photoelectricity testing part is converted into electric signal, by amplifying circuit and adaptively
Filter process, the signal after being handled;
Step 4, PN codes are extracted from the signal after processing, and the corresponding light source of its light beam is judged according to PN codes, so as to obtain
The light intensity of the light source, obtains the distance of receiver and light source using the formula of light intensity and distance, further according to RSS algorithms, is connect
The position of receipts machine, realizes positioning.
2. the indoor visible light localization method based on PN spreading codes according to claim 1, it is characterised in that described in step 2
In the reserved field that PN codes are inserted to frame head, while setting flag in insertion position, mark is initially inserted into PN from the flag
Code.
3. the indoor visible light localization method based on PN spreading codes according to claim 2, it is characterised in that described in step 4
PN codes are extracted from the signal after processing is specially:The PN codes of insertion are found according to flag and extracted.
4. a kind of indoor visible light localization method based on PN spreading codes, it is characterised in that comprise the following steps:
Step 1, the data frame signal for sending information is generated in transmitting terminal, the data frame includes lead code, frame head, frame head
Verification sequence, Optional Field, data cell;
Step 2, PN codes are produced using shift register, communication data spread using PN codes, and by the communication after spread spectrum
Between the medium access control head and Frame Check Sequence of insertion of data into data unit, new data frame signal, new data are obtained
Frame signal forms visible light signal and sent after LED drive circuit;
Step 3, in receiving terminal visible light signal after photoelectricity testing part is converted into electric signal, by amplifying circuit and adaptively
Filter process, the signal after being handled;
Step 4, the communication data after spread spectrum is extracted from the signal after processing, and is de-spread using despreader, is led to
Letter data and PN codes, judge the corresponding light source of its light beam according to PN codes, so as to obtain the light intensity of the light source, utilize light intensity and distance
Formula obtain the distance of receiver and light source, further according to RSS algorithms, obtain the position of receiver, realize positioning.
5. the indoor visible light localization method based on PN spreading codes according to claim 4, it is characterised in that described in step 2
Communication data after spread spectrum is inserted between the medium access control head of data cell and Frame Check Sequence, while in insertion position
Flag is set, marks and the communication data after spread spectrum is initially inserted into from the flag.
6. the indoor visible light localization method based on PN spreading codes according to claim 5, it is characterised in that described in step 4
The communication data after spread spectrum is extracted from the signal after processing is specially:The communication after the spread spectrum of insertion is found according to flag
Data are simultaneously extracted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710290955.9A CN107144817A (en) | 2017-04-28 | 2017-04-28 | A kind of indoor visible light localization method based on PN spreading codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710290955.9A CN107144817A (en) | 2017-04-28 | 2017-04-28 | A kind of indoor visible light localization method based on PN spreading codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107144817A true CN107144817A (en) | 2017-09-08 |
Family
ID=59775432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710290955.9A Pending CN107144817A (en) | 2017-04-28 | 2017-04-28 | A kind of indoor visible light localization method based on PN spreading codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107144817A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193041A (en) * | 2006-11-28 | 2008-06-04 | 华为技术有限公司 | Network data transmission method, device and system |
CN101471687A (en) * | 2007-12-27 | 2009-07-01 | 中国科学院上海微系统与信息技术研究所 | User terminal for wireless sensing network based on m sequence self correlation |
CN101534171A (en) * | 2009-03-25 | 2009-09-16 | 华为技术有限公司 | System information transmission method, system and device |
CN205754338U (en) * | 2016-05-17 | 2016-11-30 | 华南理工大学 | A kind of alignment system of visible light communication localization method based on CDMA modulation |
CN106209235A (en) * | 2016-08-20 | 2016-12-07 | 华南理工大学 | A kind of RSS triangle polyester fibre alternative manner based on CDMA modulation and system |
CN106301565A (en) * | 2016-08-20 | 2017-01-04 | 华南理工大学 | A kind of visible ray localization method based on CDMA/RF converged communication and system |
-
2017
- 2017-04-28 CN CN201710290955.9A patent/CN107144817A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193041A (en) * | 2006-11-28 | 2008-06-04 | 华为技术有限公司 | Network data transmission method, device and system |
CN101471687A (en) * | 2007-12-27 | 2009-07-01 | 中国科学院上海微系统与信息技术研究所 | User terminal for wireless sensing network based on m sequence self correlation |
CN101534171A (en) * | 2009-03-25 | 2009-09-16 | 华为技术有限公司 | System information transmission method, system and device |
CN205754338U (en) * | 2016-05-17 | 2016-11-30 | 华南理工大学 | A kind of alignment system of visible light communication localization method based on CDMA modulation |
CN106209235A (en) * | 2016-08-20 | 2016-12-07 | 华南理工大学 | A kind of RSS triangle polyester fibre alternative manner based on CDMA modulation and system |
CN106301565A (en) * | 2016-08-20 | 2017-01-04 | 华南理工大学 | A kind of visible ray localization method based on CDMA/RF converged communication and system |
Non-Patent Citations (3)
Title |
---|
晏蓉: "《宽带接入技术》", 30 August 2011, 北京:中国铁道出版社 * |
杨彦彬: "《数据通信技术》", 30 June 2009, 北京:北京邮电大学出版社 * |
许铁: "《汽车电子研发模式及技术发展概论》", 30 June 2011, 北京:国防工业出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Luo et al. | Indoor positioning systems based on visible light communication: State of the art | |
CN105871462B (en) | Visible light communication localization method and its alignment system based on CDMA modulation | |
CN106209235B (en) | A kind of RSS triangulation location alternative manner and system based on CDMA modulation | |
CN106483500B (en) | Visible light communication three-dimensional positioning method based on CDMA modulation | |
Li et al. | Epsilon: A visible light based positioning system | |
CN105487050A (en) | LED lamp-based positioning method and system | |
CN104965510B (en) | A kind of logistics vehicle control based on visible light-seeking and navigation | |
CN106610490A (en) | Optical positioning method, system and device based on LED and image sensor | |
TW201100845A (en) | Wireless localization techniques in lighting systems | |
CN105823477A (en) | RSSR-based LED indoor positioning method and system thereof | |
CN104375119B (en) | Visible light positioning system and method based on timing sequence markers | |
CN101479966A (en) | Method and device for modulating the light emission of a lighting device | |
CN106017479B (en) | The three-dimensional real-time tracing method and system of indoor moving target | |
CN106226734A (en) | VLC localization method based on the transmission of visible light time and device | |
Yi et al. | Development of a localization system based on VLC technique for an indoor environment | |
CN103632117B (en) | Active RFID (Radio Frequency Identification) positioning method based on direct sequence spread spectrum technology | |
Juneja et al. | Indoor positioning system using visible light communication | |
RU2010125205A (en) | METHOD AND DEVICE FOR PASSIVE LOCATION OF RADIO SIGNAL TRANSMITTERS | |
CN106301555B (en) | A kind of signal transmitting method and transmitter for light-seeking | |
CN104391274B (en) | A kind of visible ray localization method based on circular projection and system | |
CN205754338U (en) | A kind of alignment system of visible light communication localization method based on CDMA modulation | |
Sen et al. | 3D indoor positioning with spatial modulation for visible light communications | |
US20210055408A1 (en) | Method and device for locating an rfid transponder and rfid system | |
CN106921459A (en) | A kind of indoor visible light asynchronous tracking method and system based on CDMA modulation | |
JP2008002866A (en) | Position-detecting system and position detection method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170908 |
|
RJ01 | Rejection of invention patent application after publication |