Visible light communication wireless location system
Technical field
The present invention relates to field of locating technology, particularly relate to a kind of visible light communication wireless location system.
Background technology
Along with the development of mobile Internet, the various position service system based on location is constantly released in succession.Current, the outdoor wireless location system be most widely used is the GPS GPS based on the U.S..By arranging GPS locating module in mobile terminal, can in outdoor for mobile terminal provides higher positioning service.But, in the movable more family room of people or buildings than in the particular surroundings of comparatively dense, gps signal can be blocked, so that the positioning performance of these particular surroundingss is poor.
In recent years, along with the development of the visible light communication technology of LED green light source and constantly generally arranging of LED green light source, the localization method based on visible light communication is proposed in succession.After this visible light communication is located through and the location information data of each LED green light source is converted to light signal, by LED green light source, luminous ray is launched, then this light is received by mobile terminal, and change, the position data extracted in light signal, thus obtain the current location of mobile terminal.But existing visible light communication location depends on separately visible light communication and positions, and its locating effect is limited.
Summary of the invention
Technical matters to be solved by this invention provides one can obtain current geographic position exactly for above-mentioned prior art, can realize again the visible light communication wireless location system that abundant information is mutual.
The present invention solves the problems of the technologies described above adopted technical scheme: visible light communication wireless location system, it is characterized in that, comprise mobile reception end, relaying location fusing device and some transmitting terminals, described transmitting terminal distributes equably and is arranged on around the fusing device of relaying location; Wherein,
Described transmitting terminal comprises microprocessor and connects the LED light source of microprocessor, the RFID label tag storing LED light source geographical location information, the first photoelectric signal converter, the first bluetooth module and solar cell respectively; Described LED light source is arranged equably some luminous lattices of square LED with independent numbering; Be provided with black light LED, blue-ray LED, green light LED and red-light LED in the luminous lattice of described each LED, described black light LED, blue-ray LED, green light LED are connected microprocessor respectively with red-light LED; Described LED light source connects solar cell; Wherein,
Described microprocessor, in order to read the LED light source geographical location information stored in RFID label tag, and is converted to the color code information of optical information, 2 D code information and multidimensional respectively by LED light source geographic position letter, and orders the luminous lattice of LED to perform luminescence;
Described first photoelectric signal converter, in order to the modulation orders according to microprocessor, is converted to light signal by LED light source geographical location information by electric signal;
Described first bluetooth module, in order to receive, to detect the Bluetooth signal of mobile reception end, and sends to relaying to locate fusing device by the Bluetooth signal intensity level of detection;
Described LED light source, on the one hand after LED light source geographical location information is converted to 2 D code information, according to microprocessor to the luminescence of the luminous lattice of LED or black out order, sends light and dark image in 2 D code; On the other hand after LED light source geographical location information is converted to the color code information of multidimensional, according to microprocessor respectively to luminescence or the black out order of black light LED, blue-ray LED, green light LED and red-light LED, send the color code image of the multidimensional be made up of different colours;
Described mobile reception end comprise central processing unit and connect the GPS locating module of central processing unit respectively, device, signal comparator, the second photoelectric signal converter, camera, LTE communication module, the second bluetooth module, location matches device and display screen are made an uproar in optical signal receiver, signal amplifier, filter; Described signal amplifier connects optical signal receiver and filter respectively and to make an uproar device, and described signal comparator connects filter and to make an uproar device and the second photoelectric signal converter; Described location matches device connects the second photoelectric signal converter and display screen respectively, and described display screen connects camera, and described GPS locating module connects LTE communication module and display screen; Wherein, described GPS locating module, in order to obtain the positional information of mobile reception end when outdoor environment, and by display screen display position;
Described optical signal receiver, in order to receive the light signal that in each transmitting terminal, LED light source sends, and the light signal of transmission and reception carries out amplification process to signal amplifier;
Described filter is made an uproar device, in order to make an uproar to the light signal filter after amplifying, then sends to signal comparator to judge: when light signal strength exceedes predetermined threshold value, then judged result is sent to the second photoelectric signal converter, start opto-electronic conversion;
Described second photoelectric signal converter, in order to the light signal of reception to be converted to the electric signal in LED light source geographic position, is shown the geographic position of this LED light source according to the matching result of location matches device to electric signal by display screen;
Described camera, in order to scan the image in 2 D code or the color code image of multidimensional that LED light source sends, and extracts the LED light source geographical location information in image in 2 D code or the color code image of multidimensional by central processing unit;
Described second bluetooth module, the light signal strength value in order to each transmitting terminal after device process of filter being made an uproar sends to relaying to locate fusing device;
Described relaying location fusing device comprises fusion treatment module and the 3rd bluetooth module, and the 3rd bluetooth module connects the first bluetooth module, fusion treatment module and the second bluetooth module respectively;
Described fusion treatment module, receives the light signal strength value of each transmitting terminal that mobile reception end sends, and according to each light signal strength value received, calculates the current residing geographic position of mobile reception end, and send to mobile reception end through the 3rd bluetooth module; Wherein, the process calculating mobile reception end current geographic position in turn includes the following steps:
(1) set each transmitting terminal and be respectively R
1, R
2, R
3, R
4..., R
n, transmitting terminal R
1, R
2, R
3, R
4..., R
ngeographic coordinate be respectively (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3), (x
4, y
4, z
4) ..., (x
n, y
n, z
n), the light signal strength value of each transmitting terminal that fusion treatment module receives in time period T is respectively p
11, p
12, p
13..., p
1M; p
21, p
22, p
23..., p
2M; p
31, p
32, p
33..., p
3M; ...; p
n1, p
n2, p
n3..., p
nM; The reference geographic coordinate of mobile reception end is (x, y, z), and the actual geographic coordinate of mobile reception end is (x
r, y
r, z
r), N34, M31;
(2) the light signal strength value of each transmitting terminal received in time period T according to fusion treatment module, calculates the signal intensity root-mean-square value p of the light signal strength value of each transmitting terminal
i; Wherein,
Formula (1)
Wherein, p
irepresent transmitting terminal R
ithe root-mean-square value of light signal strength value, p
ijrepresent transmitting terminal R
isome light signal strength values;
(3) according to the light signal strength root-mean-square value p of each transmitting terminal received
1, p
2, p
3, p
4..., p
n, choose the value p that signal intensity root-mean-square value size is positioned at first four
1, p
2, p
3and p
4;
(4) according to the signal intensity root-mean-square value p of each transmitting terminal
1, p
2, p
3and p
4, obtain transmitting terminal R respectively
1, R
2, R
3and R
4to the distance d of mobile reception end
1, d
2, d
3and d
4; Wherein,
Formula (2)
Formula (3)
Wherein, p
ifor transmitting terminal R
ilight signal strength root-mean-square value, n is path loss index, and ξ is the random number meeting Gaussian distribution, and its average is zero, d
ifor transmitting terminal R
ito the distance of mobile reception end, d
0for reference distance, p
0for distance mobile reception end d
0the signal strength values at place, v is distance estimations error, be a numerical value is the stochastic variable of positive number, and
i=1,2,3,4;
(5) according to transmitting terminal R
1, R
2, R
3and R
4geographic coordinate (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3) and (x
4, y
4, z
4), and the distance d obtained
1, d
2, d
3and d
4, solve the reference geographic coordinate (x, y, z) of mobile reception end, solution procedure comprises:
A () is to transmitting terminal R
1, R
2, R
3and R
4be one group with three, divide into groups, obtain four groups of transmitting terminals combination: R
1(x
1, y
1, z
1), R
2(x
2, y
2, z
2) and R
3(x
3, y
3, z
3), R
1(x
1, y
1, z
1), R
2(x
2, y
2, z
2) and R
4(x
4, y
4, z
4), R
1(x
1, y
1, z
1), R
3(x
3, y
3, z
3) and R
4(x
4, y
4, z
4), R
2(x
2, y
2, z
2), R
3(x
3, y
3, z
3) and R
4(x
4, y
4, z
4);
B () is according to transmitting terminal R
1, R
2, R
3and R
4geographic coordinate (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3), (x
4, y
4, z
4) and distance d
1, d
2, d
3and d
4, calculate respectively first geographic coordinate (x', y', z') of mobile reception end, the second geographic coordinate (x "; y ", z "), the 3rd geographic coordinate (x " ', y " '; z " ') and the 4th geographic coordinate (x " ", y " ", z " "); Wherein,
Formula (4)
Formula (5)
Formula (6)
Formula (7)
C () is according to the first geographic coordinate (x' of the mobile reception end obtained, y', z'), the second geographic coordinate (x ", y "; z "), the 3rd geographic coordinate (x " '; y " ', z " ') and the 4th geographic coordinate (x " ", y " "; z " "); calculate the reference geographic coordinate (x, y, z) of mobile reception end; Wherein,
Formula (8);
(6) according to the first geographic coordinate (x' of the mobile reception end calculated in step (5), y', z'), the second geographic coordinate (x ", y "; z "), the 3rd geographic coordinate (x " '; y " ', z " ') and the 4th geographic coordinate (x " ", y " "; z " ") and reference the geographic coordinate (x; y, z) of mobile reception end that obtains, calculating mobile reception end actual geographic coordinate (x
r, y
r, z
r) positioning error Δ x, Δ y, Δ z, wherein:
Formula (9)
Formula (10)
Formula (11)
Formula (12)
(7) according to the reference geographic coordinate (x, y, z) of the mobile reception end calculated and the positioning error Δ x of calculating, Δ y, Δ z, calculate the actual coordinate (x of mobile reception end
r, y
r, z
r):
Formula (13).
Compared with prior art, the invention has the advantages that: each transmitting terminal geographic position is after the first photoelectric signal converter transfers light signal to by electric signal, luminous according to the light signal situation after modulation by microprocessor instructs LED luminous intracell black light LED, blue-ray LED, green light LED and red-light LED, to irradiate the color code of multidimensional containing transmitting terminal geographic position or Quick Response Code, camera is utilized to scan by mobile reception terminal, the geographical location information obtained in the color code of multidimensional or Quick Response Code; After the light signal of each transmitting terminal that mobile reception terminal receives, demodulation receives, extract the geographic position data in light signal, GPS locating module then independently obtains the geographic position data under outdoor environment; The light signal strength value that relaying location fusing device is received according to mobile reception termination, merges the current geographic position data obtaining mobile reception end, and is supplied to mobile reception end.This visible light communication wireless location system is on outdoor GPS location base, the visible ray sent in conjunction with each transmitting terminal accurately merges location, also send to mobile reception end to extract with the form of the color code of multidimensional or Quick Response Code the information such as abundant geographic position simultaneously, both obtained mobile reception end current geographic position exactly, the object that this positioning system utilizes the mutual abundant information of the color code of multidimensional can be achieved again.
Accompanying drawing explanation
Fig. 1 is the structural representation of visible light communication wireless location system in the embodiment of the present invention;
The localization method schematic flow sheet that Fig. 2 adopts for positioning system shown in Fig. 1;
Fig. 3 is the emulation positioning performance curve synoptic diagram of positioning system in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment, the present invention is described in further detail.
As shown in Figure 1, the visible light communication wireless location system of the present embodiment, comprises mobile reception end 1, relaying location fusing device 2 and some transmitting terminals 3, and transmitting terminal 3 distributes equably and is arranged on relaying location fusing device 2 around; Wherein,
Transmitting terminal 3 comprises microprocessor 300 and connects the LED light source 301 of microprocessor 300, RFID label tag 302, first photoelectric signal converter 303, first bluetooth module 304 storing LED light source 301 geographical location information and solar cell 305 respectively; LED light source 301 is arranged equably some luminous lattices of square LED with independent numbering; Be provided with black light LED3011, blue-ray LED 3012, green light LED 3013 and red-light LED 3014 in the luminous lattice of each LED, black light LED3011, blue-ray LED 3012, green light LED 3013 are connected microprocessor 300 respectively with red-light LED 3014; LED light source 301 connects solar cell 305; Wherein,
Microprocessor 300, in order to read the LED light source geographical location information stored in RFID label tag 302, and is converted to the color code information of optical information, 2 D code information and multidimensional respectively by LED light source geographic position letter, and orders the luminous lattice of LED to perform luminescence;
First photoelectric signal converter 303, in order to the modulation orders according to microprocessor 300, is converted to light signal by LED light source geographical location information by electric signal;
First bluetooth module 304, in order to receive, to detect the Bluetooth signal of mobile reception end 1, and sends to relaying to locate fusing device 2 by the Bluetooth signal intensity level of detection;
LED light source 301, on the one hand after LED light source geographical location information is converted to 2 D code information, according to luminescence or the black out order of the luminous lattice of microprocessor 300 couples of LED, sends light and dark image in 2 D code; On the other hand after LED light source geographical location information is converted to the color code information of multidimensional, according to microprocessor 300 respectively to luminescence or the black out order of black light LED3011, blue-ray LED 3012, green light LED 3013 and red-light LED 3014, send the color code image of the multidimensional be made up of different colours;
Mobile reception end 1 comprise central processing unit 100 and connect the GPS locating module 101 of central processing unit 100 respectively, device 104, signal comparator 105, second photoelectric signal converter 106, camera 107, LTE communication module 108, second bluetooth module 109, location matches device 110 and display screen 111 are made an uproar in optical signal receiver 102, signal amplifier 103, filter; Signal amplifier 103 connects optical signal receiver 102 and filter respectively and to make an uproar device 104, and signal comparator 105 connects filter and to make an uproar device 104 and the second photoelectric signal converter 106; Location matches device 110 connects the second photoelectric signal converter 106 and display screen 111 respectively, and display screen 111 connects camera 107, GPS locating module 101 and connects LTE communication module 108 and display screen 111; Wherein,
GPS locating module 101, in order to obtain the positional information of mobile reception end 1 when outdoor environment, and by display screen 111 display position;
Optical signal receiver 102, in order to receive the light signal that in each transmitting terminal 3, LED light source 301 sends, and the light signal of transmission and reception carries out amplification process to signal amplifier 103;
Filter device 104 of making an uproar, in order to make an uproar to the light signal filter after amplification, then send to signal comparator 105 to judge: when light signal strength exceedes predetermined threshold value, then judged result is sent to the second photoelectric signal converter 106, start opto-electronic conversion;
Second photoelectric signal converter 106, in order to the light signal of reception to be converted to the electric signal in LED light source geographic position, is shown the geographic position of this LED light source by display screen 111;
Camera 107, in order to scan the image in 2 D code or the color code image of multidimensional that LED light source sends, and extracts the LED light source geographical location information in image in 2 D code or the color code image of multidimensional by central processing unit 100;
Second bluetooth module 109, the light signal strength value of each transmitting terminal after processing in order to device 104 of filter being made an uproar sends to relaying to locate fusing device 2;
Relaying location fusing device 2 comprises fusion treatment module 20 and the 3rd bluetooth module the 21, three bluetooth module 21 connects the first bluetooth module 304, fusion treatment module 20 and the second bluetooth module 109 respectively;
Fusion treatment module 20, the light signal strength value that each transmitting terminal 3 that reception mobile reception end 1 sends sends, and according to each light signal strength value received, calculate the current residing geographic position of mobile reception end 1, and send to mobile reception end 1 through the 3rd bluetooth module 21; Wherein, the process calculating mobile reception end 1 current geographic position in turn includes the following steps:
(1) set each transmitting terminal and be respectively R
1, R
2, R
3, R
4..., R
n, transmitting terminal R
1, R
2, R
3, R
4..., R
ngeographic coordinate be respectively (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3), (x
4, y
4, z
4) ..., (x
n, y
n, z
n), the light signal strength value of each transmitting terminal that fusion treatment module receives in time period T is respectively p
11, p
12, p
13..., p
1M; p
21, p
22, p
23..., p
2M; p
31, p
32, p
33..., p
3M; ...; p
n1, p
n2, p
n3..., p
nM; The reference geographic coordinate of mobile reception end is (x, y, z), and the actual geographic coordinate of mobile reception end is (x
r, y
r, z
r), N>=4, M>=1;
(2) the light signal strength value of each transmitting terminal received in time period T according to fusion treatment module, calculates the signal intensity root-mean-square value p of the light signal strength value of each transmitting terminal
i; Wherein,
Formula (1)
Wherein, p
irepresent transmitting terminal R
ithe root-mean-square value of light signal strength value, p
ijrepresent transmitting terminal R
isome light signal strength values;
(3) according to the light signal strength root-mean-square value p of each transmitting terminal received
1, p
2, p
3, p
4..., p
n, choose the value p that signal intensity root-mean-square value size is positioned at first four
1, p
2, p
3and p
4;
(4) according to the signal intensity root-mean-square value p of each transmitting terminal
1, p
2, p
3and p
4, obtain transmitting terminal R respectively
1, R
2, R
3and R
4to the distance d of mobile reception end
1, d
2, d
3and d
4; Wherein,
Formula (2)
Formula (3)
Wherein, p
ifor transmitting terminal R
ilight signal strength root-mean-square value, n is path loss index, and ξ is the random number meeting Gaussian distribution, and its average is zero, d
ifor transmitting terminal R
ito the distance of mobile reception end, d
0for reference distance, p
0for distance mobile reception end d
0the signal strength values at place, v is distance estimations error, be a numerical value is the stochastic variable of positive number, and
i=1,2,3,4;
(5) according to transmitting terminal R
1, R
2, R
3and R
4geographic coordinate (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3) and (x
4, y
4, z
4), and the distance d obtained
1, d
2, d
3and d
4, solve the reference geographic coordinate (x, y, z) of mobile reception end, solution procedure comprises:
A () is to transmitting terminal R
1, R
2, R
3and R
4be one group with three, divide into groups, obtain four groups of transmitting terminals combination: R
1(x
1, y
1, z
1), R
2(x
2, y
2, z
2) and R
3(x
3, y
3, z
3), R
1(x
1, y
1, z
1), R
2(x
2, y
2, z
2) and R
4(x
4, y
4, z
4), R
1(x
1, y
1, z
1), R
3(x
3, y
3, z
3) and R
4(x
4, y
4, z
4), R
2(x
2, y
2, z
2), R
3(x
3, y
3, z
3) and R
4(x
4, y
4, z
4);
B () is according to transmitting terminal R
1, R
2, R
3and R
4geographic coordinate (x
1, y
1, z
1), (x
2, y
2, z
2), (x
3, y
3, z
3), (x
4, y
4, z
4) and distance d
1, d
2, d
3and d
4, calculate respectively first geographic coordinate (x', y', z') of mobile reception end, the second geographic coordinate (x "; y ", z "), the 3rd geographic coordinate (x " ', y " '; z " ') and the 4th geographic coordinate (x " ", y " ", z " "); Wherein,
Formula (4)
Formula (5)
Formula (6)
Formula (7)
C () is according to the first geographic coordinate (x' of the mobile reception end obtained, y', z'), the second geographic coordinate (x ", y "; z "), the 3rd geographic coordinate (x " '; y " ', z " ') and the 4th geographic coordinate (x " ", y " "; z " "); calculate the reference geographic coordinate (x, y, z) of mobile reception end; Wherein,
Formula (8);
(6) according to the first geographic coordinate (x' of the mobile reception end calculated in step (5), y', z'), the second geographic coordinate (x ", y "; z "), the 3rd geographic coordinate (x " '; y " ', z " ') and the 4th geographic coordinate (x " ", y " "; z " ") and reference the geographic coordinate (x; y, z) of mobile reception end that obtains, calculating mobile reception end actual geographic coordinate (x
r, y
r, z
r) positioning error Δ x, Δ y, Δ z, wherein:
Formula (9)
Formula (10)
Formula (11)
Formula (12)
(7) according to the reference geographic coordinate (x, y, z) of the mobile reception end calculated and the positioning error Δ x of calculating, Δ y, Δ z, calculate the actual coordinate (x of mobile reception end
r, y
r, z
r):
Formula (13).
Fig. 3 gives the simulation result curve synoptic diagram of the localization method of visible light communication positioning system in the present embodiment, has also done emulation to traditional GPS localization method simultaneously.As seen from Figure 3, when transmitting terminal quantity is certain, the Positioning estimation error of the localization method that the present embodiment positioning system adopts is lower than traditional GPS localization method, and this illustrates that the localization method that the present embodiment positioning system adopts has better positioning performance; It can also be seen that, along with the continuous increase of transmitting terminal number, the positioning performance of the visible ray localization method adopted in the present embodiment improves gradually.This fully shows, the visible ray localization method adopted in the present embodiment system has positioning performance more better than traditional GPS localization method.
The course of work of the visible light communication wireless location system in the present embodiment is as follows: transmitting terminal geographic position is after the first photoelectric signal converter 303 transfers light signal to by electric signal, order LED luminous intracell black light LED3011, blue-ray LED 3012, green light LED 3013 and red-light LED 3014 luminous according to the light signal situation after modulation by microprocessor 300, to irradiate the color code of multidimensional containing this transmitting terminal geographic position or Quick Response Code, microprocessor 300 can also order the luminous lattice of LED to send the color code of multidimensional containing other abundant informations or Quick Response Code; Mobile reception end 1 utilizes camera 107 to scan, the geographical location information obtained in the color code of multidimensional or Quick Response Code, and after reception, separating dim signal, extract the geographic position data in light signal, GPS locating module 101 then independently obtains the geographic position under outdoor environment, and is shown by display screen 111; Relaying location fusing device 2, according to each light signal strength received, merges the current geographic position data obtaining mobile reception end 1, and provides fusion gained geographic position data to mobile reception end 1.