Summary of the invention
The object of the present invention is to provide a kind of precision height, indoor space locating method and system that cost is low.
The interior space-location method that the present invention proposes, suppose that ground is parallel with ceiling, signal source and receiving end rest on the ground jointly, its ultimate principle is to be transmitted into ceiling, further to reflex to phase differential between the two bundle different frequency infrared signals of receiving end again by measuring by signal source, obtain the range difference information of two bundle signals, further calculate again, promptly obtain the coordinate of acceptance point by formula.This method comprises two kinds of reflective localization method and transmission-type localization methods.
According to " by different frequency signals phase difference measurement two reflection spots to the receiving end range difference; and obtain coordinate position after further calculating " basic ideas, interior space positioning system of the present invention is divided into two dimensional surface positioning system and three-dimensional planar positioning system, and is specific as follows:
Reflective location
The two dimensional surface location, system comprises: transmitter module 1, receiver module 2, calibration module 3, locating module 4;
Suppose ground and ceiling level, the signal launching site is positioned at ground.By transmitter module 1 transmit square waves modulation signal, after the ceiling reflection, be received termination and receive module 2 receptions.Further, judged whether to determine on the ceiling coordinate of launching site on reflection spot, the ground.If do not determine, then calibrate by calibration module 3 pairs of launching site, reflection spots; If determine, then position according to range difference, launching site, reflection spot information butt joint receiving end by locating module 4.
3 D positioning system comprises: transmitter module 1, receiver module 5, calibration module 3, locating module 6;
Suppose that ground is parallel with ceiling, the signal launching site is positioned at ground, the receiving end level.By transmitter module 1 transmit square waves modulation signal, after the ceiling reflection, be received termination and receive module 5 receptions.Further, judged whether to determine on the ceiling coordinate of launching site on reflection spot, the ground.If do not determine, then transfer to calibration module 3 pairs of launching site, reflection spots and calibrate; If determine, then transfer to locating module 6 and position according to range difference, launching site, reflection spot information butt joint receiving end.
The transmission-type location
The two dimensional surface location, system comprises: transmitter module 7, receiver module 2, locating module 4;
Suppose that ground is parallel with ceiling, the signal launching site is positioned at ceiling.By transmitter module 7 transmit square waves modulation signals, receive by receiving end receiver module 2.And then position according to range difference, launching site, reflection spot information butt joint receiving end by locating module 4.
3 D positioning system comprises: transmitter module 7, receiver module 5, locating module 6;
Suppose that ground is parallel with ceiling, the signal launching site is positioned at ceiling, receiving end (device) level.By transmitter module 7 transmit square waves modulation signals, after the ceiling reflection, be received termination and receive module 5 receptions.And then position according to range difference, launching site, reflection spot information butt joint receiving end by locating module 6.
Each module declaration is as follows:
Described transmitter module 1 comprises independently infrared signal emitter (1.2) of signal modulation module (1.1) and two, and the square-wave signal that the latter is responsible for being transmitted by signal modulation module (1.1) is transmitted in the air.Described signal modulation module (1.1), its function is to produce two square-wave signals that initial phase is identical, frequency is different, and to keep transmitting terminal signal initial phase to be all standard mutually, produce by phased manner and satisfy the infrared signal of such standard and be sent to infrared signal emitter (1.2). as shown in Figure 1, a, b are respectively the square-wave signal that signal modulation module (1.1) is produced.Described infrared signal emitter (1.2) as shown in Figure 2, be divided into two independently, identical transmitter unit, receive the square-wave signal a, the b that transmit by signal modulation module 11 respectively, and θ at an angle to each other between two unit, θ at an angle to each other between signal a, the b that guarantees to launch.
Described receiver module 2 comprises signal acquisition module (2.1) and signal resolution module (2.2) two parts.The initialize signal source that signal acquisition module (2.1) is obtained shown in signal c among Fig. 1, after institute's signal that obtains is handled via signal resolution module (2.2), obtains and signal a, a value that the b phase differential is corresponding.According to this value, can obtain the path length difference that two signals are passed by from the launching site to the receiving station.Described signal acquisition module (2.1), as shown in Figure 3.Its central point is the target scaling point, and (x y), is the receiver positive dirction with vectorial ba direction.Round dot a, b, c receive the composite signal that is transmitted by signal emission module 1 or signal emission module 7 respectively separately, and send signal resolution module (2.2) separately to.
Described signal resolution module (2.2), its function are by the processing to the c of composite signal shown in Fig. 1, obtain signal a, the b pairing parameter of phase differential when arriving acceptance point among Fig. 1.Its schematic diagram as shown in Figure 4, its circuit diagram is as shown in Figure 5.
In Fig. 5, A output is through the signal of reduction, and B exports the counting of path length difference.This counting is not direct path length difference, but corresponding one by one with path length difference, determines corresponding ratio in the specific implementation.
Described calibration module 3 comprises: initialization walking control module (3.1), range information feedback module (3.2), reflection spot coordinate Calculation module (3.3); Its function is to determine the coordinate position of launching site, reflection spot.Calibration must be carried out when receiver overlaps with transmitter.When using transmitter module 7, its launching site is positioned on the ceiling, the reflection spot when being equivalent to use transmitter module 1, therefore when using transmitter module 7, it is given that the launching site position can be thought, directly returns the launching site coordinate figure that places in advance, and it is got final product as two point coordinate on the ceiling.When using transmitter module 1, use, suppose that artificially its launching site coordinate is (0,0) or (0,0,0) according to the selection of receiver module 2 or receiver module 5.The course of work of calibration module 3 is: at receiver, when transmitter overlaps, make horizontal range information feedback module alignment launching site, control three segment distances that motor is passed by and is located along the same line by initialization walking control module (3.1), and this straight line is considered as the x axle, direct of travel is considered as x axle positive dirction.And return the occurrence of three segment distances by range information feedback module (3.2): d, 2d, 3d.Range information feedback module (3.2) as shown in Figure 6.Further, receive from accepting the range difference information that is positioned at diverse location in the process of walking that module 2 obtains by reflection spot coordinate Calculation module (3.3).After the range difference information that obtains to send here at four end points places of three sections line segments of passing by by the range information delivery module, after calculating by following equation, obtain the reflection spot position coordinates (x1, y1) with (x2, y2).Wherein, φ is an angle between two transmitter units in the transmitter module 1.
l
1a 2=(0-x
1)
2+(0-y
1)
2+h
2
l
2a 2=(0-x
2)
2+(0-y
2)
2+h
2
Δl
z=l
1z-l
2z
l
1a’
2=(d-x
1)
2+(0-y
1)
2+h
2
l
2a’
2=(d-x
2)
2+(0-y
2)
2+h
2
Δl
a’=l
1a’-l
2a’
l
1a”
2=(2d-x
1)
2+(0-y
1)
2+h
2
l
2a”
2=(2d-x
2)
2+(0-y
2)
2+h
2
Δl
a”=l
1a”-l
2a”
l
1a”’
2=(3d-x
1)
2+(0-y
1)
2+h
2
l
2a”’
2=(3d-x
2)
2+(0-y
2)
2+h
2
Δl
a”’=l
1a”’-l
2a”’
Described locating module 4, its function is that the signal phase difference letter that is transmitted by receiver module 2 is thought, believe that via distance Yu thinking modular converter (4.1) is converted to range difference information, and after further calculating via coordinate Calculation module (4.2), obtain central point position coordinates (x, y) and the angle theta of its positive dirction and x axle.Described range information modular converter (4.1), its function are that the phase information that will be transmitted by receiver module is converted to range difference information, relate to the particular hardware parameter.Described coordinate Calculation module (4.2), after obtaining range difference information, obtain after calculating by following equation current receiver target scaling point two-dimensional coordinate (x, y).Δ la wherein, Δ lb, Δ lc is the range differences of two signals from ceiling two reflection spots to receiving station a, b, c, l1a, l1b, l1c, l2a, l2b, l2c are the distances of two signals from ceiling two reflection spots to receiving station a, b, c, (x1, y1), (x2, y2) be ceiling reflection coordinate, h is a heights of ceilings.Equation is as follows:
l
1a 2=(x
a-x
1)
2+(y
a-y
1)
2+h
2
l
2a 2=(x
a-x
2)
2+(y
a-y
2)
2+h
2
Δl
a=l
1a-l
2a
l
1b 2=(x
b-x
1)
2+(y
b-y
1)
2+h
2
l
2b 2=(x
b-x
2)
2+(y
b-y
2)
2+h
2
Δl
b=l
1b-l
2b
l
1c 2=(x
c-x
c)
2+(y
c-y
1)
2+h
2
l
2c 2=(x
c-x
2)
2+(y
c-y
2)
2+h
2
Δl
c=l
1c-l
2c
x
a=x+d
a·cos(θ+θ
a)
y
a=y+d
a·sin(θ+θ
a)
x
b=x+d
b·cos(θ+θ
b)
y
b=y+d
b·sin(θ+θ
b)
x
c=x+d
c·cos(θ+θ
c)
y
c=y+d
c·sin(θ+θ
c)
θ
a=0
θ
b=π
θ
c=3π/4
Wherein range difference information is provided by receiver module 2 or receiver module 5, the reflection spot coordinate,
Heights of ceilings is a known quantity.Like this, just finally tried to achieve the accurate coordinates information of receiver.
Described receiver module 5 comprises signal acquisition module (5.1) and signal resolution module (5.2) two parts.The initialize signal source that signal acquisition module (5.1) is obtained after institute's signal that obtains is handled via signal resolution module (5.2), obtains and signal a, a value that the b phase differential is corresponding shown in signal c among Fig. 1.Via this value, can obtain the path length difference that two signals are passed by from the launching site to the receiving station.Described signal acquisition module (5.1), as shown in Figure 7.Its central point is the target scaling point, and (x, y h), are the receiver positive dirction with vectorial ba direction.Round dot a, b, c, d accept the composite signal that transmitted by signal emission module 1 or signal emission module 7 respectively separately, and send signal resolution module (5.2) separately to.Described signal resolution module and signal resolution module (2.2) are identical.
Described locating module 6, its function is with by accepting the signal phase difference information that module 5 transmits, be converted to range difference information via range information modular converter (6.1), and after further calculating via coordinate Calculation module (6.2), obtain the position coordinates (x of central point, y, h) and the angle theta of its positive dirction and surface level x axle.Described range information modular converter (6.1), its function are that the phase information that will be transmitted by receiver module is converted to range difference information, relate to the particular hardware parameter.Described coordinate Calculation module (6.2), obtain range difference information after, by following equation calculate current receiver target scaling point three-dimensional coordinate (x, y, z).Δ la wherein, Δ lb, Δ lc, Δ ld is the range differences of two signals from ceiling two reflection spots to receiving station a, b, c, d, and l1a, l1b, l1c, l1d, l2a, l2b, l2c, l2d are the distances of two signals from ceiling two reflection spots to receiving station a, b, c, d, (x1, y1), (x2 y2) is ceiling reflection coordinate, and h is a heights of ceilings.Equation is as follows: (annotating: must keep the reception level)
l
1a 2=(x
a-x
1)
2+(y
a-y
1)
2+h
2
l
2a 2=(x
a-x
2)
2+(y
a-y
2)
2+h
2
Δl
a=l
1a-l
2a
l
1b 2=(x
b-x
1)
2+(y
b-y
1)
2+h
2
l
2b 2=(x
b-x
2)
2+(y
b-y
2)
2+h
2
Δl
b=l
1b-l
2b
l
1c 2=(x
c-x
1)
2+(y
c-y
1)
2+h
2
l
2c 2=(x
c-x
2)
2+(y
c-y
2)
2+h
2
Δl
c=l
1c-l
2c
l
1d 2=(x
d-x
1)
2+(y
d-y
1)
2+h
2
l
2d 2=(x
d-x
2)
2+(y
d-y
2)
2+h
2
Δl
d=l
1d-l
2d
x
a=x+d
a·cos(θ+θ
a)
y
a=y+d
a·sin(θ+θ
a)
x
b=x+d
b·cos(θ+θ
b)
y
b=y+d
b·sin(θ+θ
b)
x
c=x+d
c·cos(θ+θ
c)
y
c=y+d
c·sin(θ+θ
c)
x
d=x+d
d·cos(θ+θ
d)
y
d=y+d
d·sin(θ+θ
d)
θ
a=0
θ
b=π
θ
c=3π/4
θ
d=π/2
Described transmitter module 7 comprises two independently infrared signal emitters (7.2), is responsible for being transmitted in the air by the square-wave signal that signal modulation module (7.1) are transmitted.Described signal modulation module (7.1), identical with signal modulation module (1.1).Described infrared signal emitter (7.2) as shown in Figure 8, be divided into two independently, identical transmitter unit, be embedded in respectively on the same degree of depth of ceiling, receive the square-wave signal a, the b that transmit by signal modulation module (7.1), and launch separately.Not fixedly requirement of position to two transmitter units.
The present invention has that cost is low, precision is high, need not move and advantage such as can locate, and has broad application prospects.In the Inteldectualization Indoors application project, all can obtain the support and the application of this technology as fields such as intelligent robot, Internet of Things.For example, intelligent robot need independently be got back to the charging place when electric weight is not enough under indoor environment, and at present, this problem is difficult to solve by technology such as GPS or image recognitions, and can address this problem by indoor positioning technology of the present invention.