WO2016201952A1 - Ranging system, positioning system and method, and wearable device - Google Patents

Ranging system, positioning system and method, and wearable device Download PDF

Info

Publication number
WO2016201952A1
WO2016201952A1 PCT/CN2016/000306 CN2016000306W WO2016201952A1 WO 2016201952 A1 WO2016201952 A1 WO 2016201952A1 CN 2016000306 W CN2016000306 W CN 2016000306W WO 2016201952 A1 WO2016201952 A1 WO 2016201952A1
Authority
WO
WIPO (PCT)
Prior art keywords
ultrasonic
ultrasonic signal
positioning
wearable device
signal
Prior art date
Application number
PCT/CN2016/000306
Other languages
French (fr)
Chinese (zh)
Inventor
刘广松
窦新玉
Original Assignee
苏州触达信息技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 苏州触达信息技术有限公司 filed Critical 苏州触达信息技术有限公司
Publication of WO2016201952A1 publication Critical patent/WO2016201952A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/14Systems for determining distance or velocity not using reflection or reradiation using ultrasonic, sonic, or infrasonic waves

Definitions

  • the present invention relates to the field of computers, and in particular, to a ranging system, a positioning system and method, and a wearable device.
  • Intelligent terminal applications have become very common and can emit and receive ultrasound.
  • the ranging technology of ultrasonic waves sent and received by smart terminal applications in small areas has also matured.
  • the basic principle of general ultrasonic positioning is to transmit or receive ultrasonic waves through several fixed-position points, and the receiving device receives or transmits ultrasonic waves.
  • the ultrasonic generator and the ultrasonic receiver have a synchronous clock, the time for the ultrasonic round trip is detected. Based on the time taken by the round trip and the distance of the ultrasonic wave, the distance traveled by the ultrasonic wave is calculated, thereby obtaining the distance between the positioned device and several fixed position points.
  • triangular measurement three-dimensional positioning can be realized, and the position of the device to be positioned in the three-dimensional space can be obtained.
  • a key point of positioning using this method is that the ultrasonic generator and the ultrasonic receiver require a synchronous clock, but in reality there is no absolutely accurate synchronous clock.
  • the nominal value is also 1MHz.
  • the clock at the transmitting end and the receiving end. If the receiving end does not perform clock synchronization but uses its own local clock, the received data will always appear after a long enough time. Predictive repetition or loss, resulting in a reception error.
  • Embodiments of the present invention provide a ranging system, a positioning system and method, and a wearable device.
  • the technical solution of the embodiment of the present invention is as follows:
  • An ultrasonic ranging system includes: a first device including a first ultrasonic transmitter, a first ultrasonic receiver, and a computing unit, the first device retaining a time value; and includes a second ultrasonic transmitter and a second ultrasonic receiving The second device of the device, wherein the second device stores the time value; wherein: a first ultrasonic transmitter is configured to transmit the first ultrasonic signal; and a second ultrasonic receiver is configured to receive the first ultrasonic signal; a second ultrasonic transmitter, configured to: after the second ultrasonic receiver receives the first ultrasonic signal, send a second ultrasonic signal at a time when the time value is received; the first ultrasonic receiver is configured to receive the second ultrasonic wave a signal; a calculation unit, configured to receive the second ultrasonic wave by the first ultrasonic receiver recorded at the first device, based on the first time that the first ultrasonic transmitter transmits the first ultrasonic signal recorded by the first device A second time of the signal, and the time value calculates a
  • An ultrasonic ranging method includes: transmitting, by a first device that stores a time value, a first ultrasonic signal, and recording a transmission time at which the first device transmits the first ultrasonic signal; and receiving, by the first device, the second device a second ultrasonic signal, and recording a receiving moment at which the first device receives the second ultrasonic signal, wherein the second device transmits the second ultrasonic signal after the time value is received after receiving the first ultrasonic signal;
  • the transmission time, the reception time, and the time value calculate a distance between the first device and the second device.
  • An ultrasonic positioning system comprising at least three fixed devices, a positioned device and a computing device; each of the at least three fixed devices for respectively transmitting respective positioning ultrasonic signals; the positioned device for receiving After each of the positioning ultrasonic signals transmitted by the respective fixed devices, respectively transmitting a respective reply ultrasonic signal to each fixed device by a predetermined time value; each of the at least three fixed devices is further used based on each Locally recorded moments for transmitting respective positioning ultrasonic signals, respectively calculating respective distances from the positioned devices at respective times of receiving the respective recovered ultrasonic signals and the predetermined time values; Computing device for describing respective coordinates of at least three fixed devices, based on respective coordinates of the at least three fixed devices and respective distances between each of the at least three fixed devices and the positioned device, Calculating the coordinates of the positioned device.
  • An ultrasonic positioning system comprising at least three fixed devices and a positioned device, wherein the positioned device stores respective coordinates of the at least three fixed devices; the positioned device is configured to respectively respectively to the at least three fixed devices Each of the at least three fixed devices is configured to be respectively separated by a predetermined time value after receiving the respective positioning ultrasonic signals transmitted by the positioned device
  • the location device sends the respective reply ultrasonic signals; the positioned device is further configured to locally record the time of transmitting the respective positioning ultrasonic signals to each of the at least three fixed devices based on the local record, Receiving a time at which each of the at least three fixed devices respectively transmits a reply ultrasonic signal and the predetermined time value, respectively calculating a distance between the positioned device and each of the at least three fixed devices; and Based on respective coordinates of the at least three fixed devices and the positioned device and the at least three fixed The distance between each of the apparatus, the coordinates of the positioning device calculated.
  • An ultrasonic positioning system includes a first fixed device, a second fixed device, a positioned device, and a master device; the master device has a fixed position, and the master device stores the first fixed device and the second fixed device, and a coordinate of the master device; the first fixed device is configured to send a first positioning ultrasonic signal; the second fixed device is configured to send a second positioning ultrasonic signal; and the positioning device is configured to receive the first After positioning the ultrasonic signal, transmitting a first reply ultrasonic signal at intervals of a predetermined time value, and after receiving the second positioning ultrasonic signal, transmitting a second reply ultrasonic signal at intervals of the predetermined time value; the main device is configured to receive Calculating a first distance between the first fixed device and the positioned device by the first time difference between the first positioning ultrasonic signal and the received first reply ultrasonic signal, based on receiving the second positioning ultrasonic signal and receiving the second reply ultrasonic wave a second time difference of the signal, calculating a second distance between the second fixed device
  • a positioning system based on ultrasonic positioning comprising a first wearable device and an intelligent terminal; the first wearable device comprises a first ultrasonic transmitter; the intelligent terminal comprises a first ultrasonic receiver and an alarm unit; a transmitter for transmitting a first ultrasonic signal including a first wearable device identifier; a first ultrasonic receiver for receiving the first ultrasonic signal, and determining, based on the ultrasonic positioning of the first ultrasonic signal, a distance of the wearable device, and when the distance exceeds a preset threshold, sending an alarm command to the alarm unit; and an alarm unit for issuing an alarm signal according to the alarm command.
  • a wearable device based on ultrasonic positioning comprising: a first ultrasonic transmitter: for transmitting a first ultrasonic signal including a wearable device identifier; thereby receiving the first ultrasonic signal by a first ultrasonic receiver of the smart terminal, And determining, by the first ultrasonic receiver of the smart terminal, a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and when the distance exceeds a preset threshold, by the smart terminal An ultrasonic receiver sends an alarm command to the alarm unit of the intelligent terminal, wherein the alarm unit issues an alarm signal according to the alarm command.
  • the embodiment of the invention proposes a ranging technology scheme for synchronizing clocks, and proposes a plurality of ultrasonic precise positioning methods and a plurality of positioning systems based on the ranging method.
  • FIG. 1 is a schematic structural view of an ultrasonic ranging system according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an ultrasonic ranging method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of ultrasonic positioning according to an embodiment of the present invention.
  • FIG. 4 is a first exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of the positioning signal received by the fixed device 1 of Figure 4.
  • FIG. 6 is a second exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the positioning signal received by the positioning device of the fixed device 1 in FIG. 6;
  • FIG. 8 is a third exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention.
  • Figure 9 is a schematic diagram for calculating the calculation of L10 in Figure 8.
  • Figure 10 is a timing diagram of the various time parameters of Figure 8.
  • Figure 11 is a structural view of a positioning system based on ultrasonic positioning according to the present invention.
  • Figure 12 is a structural diagram of a positioning system in a time synchronization manner according to the present invention.
  • FIG. 13 is a flow chart of a positioning method in a time synchronization manner according to the present invention.
  • Figure 14 is a structural diagram of a positioning system in a time-insensitive manner according to the present invention.
  • 15 is a flow chart of a positioning method in a time-insensitive manner according to the present invention.
  • Figure 16 is a block diagram of a positioning system having an assisted positioning function in accordance with the present invention.
  • the ultrasonic wave Due to the strong directivity of the ultrasonic wave, the energy consumption is slow, and the distance traveled in the medium is long. Therefore, the ultrasonic wave is often used for distance measurement, such as a range finder and a level measuring instrument, which can be realized by ultrasonic waves.
  • the use of ultrasonic testing is often quick, convenient, simple to calculate, easy to achieve real-time control, and can meet industrial and practical requirements in terms of measurement accuracy.
  • an embodiment of the present invention provides a method for ranging from a synchronous clock, and a plurality of ultrasonic precise positioning methods and a plurality of positioning systems based on the ranging method are proposed.
  • the accuracy of the system can reach the acoustic wave propagation distance corresponding to half a sampling period, and the circuit design is simpler.
  • the present invention also proposes a wearable device design that prevents loss of caregivers based on synchronous clock ranging, asynchronous clock ranging, and ultrasonic positioning.
  • the caretaker can be a child, an elderly person, a patient, a prisoner, etc. who need to be cared for.
  • the smart terminal can transmit and receive ultrasonic waves by using the self-contained components, and the wearable device can also generate and receive ultrasonic waves.
  • Intelligent terminals generate and receive ultrasonic waves using their own components, and wearable devices can also generate and receive ultrasonic waves.
  • the intelligent terminal detects the distance of the wearable device through ultrasonic ranging. When the measured distance is greater than the set value, the intelligent terminal performs various alarm modes such as sound and device vibration to remind the multimedia device carrier of the child's activity range to prevent the child from being prevented. The purpose of losing.
  • the ranging system includes:
  • the first device 1 comprising a first ultrasonic transmitter 11, a first ultrasonic receiver 12 and a computing unit 13, the first device 1 holding a preset time value ⁇ T (for example, the time value can be saved in the calculation unit 13 ⁇ T);
  • a second device 2 comprising a second ultrasonic receiver 21 and a second ultrasonic transmitter 22, the second device 2 storing the preset time value ⁇ T;
  • a first ultrasonic transmitter 11 for transmitting a first ultrasonic signal; a second ultrasonic receiver 21 for receiving the first ultrasonic signal; and a second ultrasonic transmitter 22 for a second ultrasonic signal is transmitted from the time when the ultrasonic wave receiver 21 receives the first ultrasonic signal, and then passes the time value ⁇ T; the first ultrasonic receiver 12 is configured to receive the second ultrasonic signal; and the calculating unit 13 is configured to At a first moment recorded by the first device 1 at which the first ultrasonic transmitter 11 transmits the first ultrasonic signal, at a second moment recorded by the first device 1 at which the first ultrasonic receiver 12 receives the second ultrasonic signal, and The time value ⁇ T calculates the distance between the first device 1 and the second device 2.
  • the first ultrasonic signal may carry the identification information of the first device 1, and the second ultrasonic signal may carry the identification information of the second device 2, so that the first ultrasonic signal and the second ultrasonic signal may be distinguished.
  • the first device 1 and the second device 2 respectively hold the same time value ⁇ T.
  • the first device 1 records the time T1 at which the first ultrasonic wave generator 11 transmits the first ultrasonic signal based on the local clock.
  • the first ultrasonic signal is received by the second ultrasonic receiver 21 of the second device 2 through the time T.
  • the second ultrasonic transmitter 22 of the second device 2 transmits the second ultrasonic signal after the lapse of the time ⁇ T from the time when the second ultrasonic receiver 21 receives the first ultrasonic signal.
  • the path through which the ultrasonic waves propagate in the air is the same, so that the second ultrasonic signal is received by the first ultrasonic receiver 12 of the first device 1 through the time T.
  • the first device 1 records the time T2 at which the first ultrasonic receiver 12 receives the second ultrasonic signal based on the local clock.
  • T+ ⁇ T+T (T2-T1);
  • ⁇ T is a preset value, which can range from 1 millisecond to 50 seconds.
  • the first device 1 sends the ranging ultrasonic wave M, and the time difference from the issuance of the ranging ultrasonic wave M to the ultrasonic wave N recovered by the second device 2 is 0.25 s, that is, T2-T1 is 0.25 s, and the second device 2 is known.
  • the preset time ⁇ T of the ranging ultrasonic M is 0.05 s, and the ranging is super
  • the time for the single-pass propagation between the first device 1 and the second device 2 is 0.1 s, and the speed at which the ultrasonic wave propagates in the air is 350 m/s, the first device 1 and the second device can be calculated.
  • the first device 1 is further configured to send the distance between the first device 1 and the second device 2 calculated by the computing unit 13 to the second device 2.
  • the first device 1 can transmit an ultrasonic signal containing the distance to the second ultrasonic receiver 21 of the second device 2 via the first ultrasonic transmitter 11.
  • the second device 2 can know the distance between the second device 2 and the first device 1 by analyzing the ultrasonic signal.
  • the first device 1 further includes an alarm unit 14; the calculation unit 13 is further configured to: when the distance between the first device 1 and the second device 2 exceeds a preset threshold, to the alarm unit 14 sends an alarm command; an alarm unit 14 is configured to issue an alarm signal according to the alarm command.
  • the alarm signal can be a light alarm, an audible alarm, a vibration alarm, and the like.
  • the first device 2 further comprises an alarm unit 23.
  • the alarm unit 23 is configured to issue an alarm signal when the distance between the first device 1 and the second device 2 exceeds a preset threshold.
  • the alarm signal can be a light alarm, an audible alarm, a vibration alarm, and the like.
  • the present invention can realize the ranging between the first device 1 and the second device 2 without transmitting the synchronization time between the first device 1 and the second device 2. Therefore, the embodiment of the present invention implements the ultrasonic wave of the synchronous clock. Ranging.
  • the present invention also proposes an ultrasonic ranging method.
  • 2 is a flow chart of an ultrasonic ranging method according to an embodiment of the present invention. As shown in Figure 2, the method includes:
  • Step 201 Send a first ultrasonic signal to the first device that saves the time value, and record a sending moment when the first device sends the first ultrasonic signal.
  • Step 202 Receive, by the first device, a second ultrasonic signal sent by the second device, and record a receiving moment at which the first device receives the second ultrasonic signal, where the second device receives the first After the ultrasonic signal, the second ultrasonic signal is transmitted at a time when the time value is passed.
  • Step 203 Calculate a distance between the first device and the second device based on the sending time, the receiving time, and the time value.
  • the method further includes: transmitting the calculated distance between the first device and the second device to a second device; and/or, when the first device and the first device When the distance between the two devices exceeds the preset threshold, an alarm signal is issued.
  • the embodiment of the invention also proposes an ultrasonic positioning method for the synchronous clock, and the basic principle is a three-point positioning method.
  • Three (or more) stationary devices that are fixed in position and each have at least one ultrasonic generator and at least one ultrasonic receiver.
  • the positioned device is preferably a mobile device having at least one ultrasonic generator and at least one ultrasonic receiver. Both fixed and mobile devices have unique IDs.
  • the fixed device sends an ultrasonic signal with its own ID, and the positioning device enters the positioning area, receives the ultrasonic signal from the fixed device, and transmits the ultrasonic signal with the fixed device ID back after a certain time, according to the above-mentioned clock-free synchronization.
  • the ultrasonic ranging method can obtain the distance between the mobile device and the fixed device, and the distance between the mobile device and the other two fixed devices can be measured.
  • the fixed device 1, the fixed device 2, and the fixed device 3 all have fixed coordinates.
  • the fixed device 3 is located at the origin of the three-dimensional coordinate system.
  • the coordinates of the fixed device 1, the fixed device 2, and the fixed device 3 are known, respectively: fixed device 1: (x1, y1, z1), fixed device 2: (x2, y2, z2), fixed device 3: (x3, y3, z3).
  • the distance L1 of the mobile device to the fixed device 1, the distance L2 from the mobile device to the fixed device 2, and the distance L3 from the mobile device to the fixed device 3 can be obtained based on the above-described distance-free method of the synchronous clock. Therefore, the coordinates (x, y, z) of the mobile device can be calculated based on the three-point positioning algorithm.
  • the three-point positioning algorithm is very mature, three equations, three unknowns, and the following equations 1 can solve the coordinates of the mobile device (x, y, z):
  • the coordinates of the mobile device (x, y, z) can be calculated to achieve the positioning of the mobile device.
  • the ultrasonic positioning system of the present invention relates to a multimedia device comprising the following components: in a three-dimensional space, three or more multimedia devices are fixed in position, and one is positioned as a multimedia device.
  • Each multimedia device is equipped with an ultrasonic generator and an ultrasonic receiver, each of which is equipped with one or more processors or controllers for data analysis and processing.
  • the acoustic wave generator is used to generate sound waves
  • the sound wave receiver is used to receive sound waves.
  • Positioning mode 1 The fixed device 1 sends a positioning signal specific to the device to be positioned. After receiving the signal, the positioning device sends the signal back to the fixed device 1 after a predetermined processing time. The fixed device 1 calculates the time difference. (minus the processing time) the distance L1 between the fixed device 1 and the positioned device can be obtained. Similarly, the respective distances L2, L3 between the positioned device and the fixed device 2 and the fixed device 3 can be obtained. The distance relationship between the fixed device 1, the fixed device 2 and the fixed device 3 is known, and the position of the positioned device relative to the three fixed devices can be accurately located. Each fixed device sends a signal to the mobile device with the same processing time. The pre-agreed processing time can be pre-stored by the located device.
  • the locating device may not store the processing time in advance, and the signal sent by the fixed device to the locating device may include a command signal and a positioning signal, where the processing signal includes the processing time, and the locating device may parse the command signal. Get processing time.
  • Positioning mode 2 Similar to the positioning mode 1, the difference is that the positioning device (such as a mobile device) sends an acoustic signal, and the fixed device 1, the fixed device 2, and the fixed device 3 receive the acoustic signal, and the fixed device is in a pre-agreed Send the signal back to the mobile device after processing time
  • the signal sent back by the fixed device includes a command signal and a positioning signal, and the command signal includes the ID of the fixed device and the processing time of the fixed device.
  • the mobile device calculates the distance information with each fixed device, and according to the distance information, the precise position of the mobile device in the room can be calculated.
  • Positioning mode 3 The fixed device k is the master device, and the master device monitors the positioning process between the fixed device 1 and the device to be located (the mobile device), and the master device calculates the time difference between the positioning signal of the fixed device 1 and the corresponding reply signal.
  • the possible position of the positioned device is calculated using the known distance between the fixed device k and the fixed device 1. This method only requires a pair of positioning signals to get the position of the device being positioned.
  • FIG. 4 is a first exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention, which corresponds to the positioning mode 1.
  • FIG. 4 three fixed devices (fixed device 1, fixed device 2, and fixed device 3 in FIG. 4) and a located device (in FIG. 4, a smart terminal) and a computing device are included, and the computing device stores The respective coordinates of the fixed device 1, the fixed device 2, and the fixed device 3.
  • the fixed device 1 transmits a positioning ultrasonic signal including the identification of the fixed device 1, and records the transmission time T11 based on the local clock of the fixed device 1.
  • the fixed device 2 transmits a positioning ultrasonic signal including the identification of the fixed device 2, and records the transmission time T21 based on the local clock of the fixed device 2.
  • the fixed device 3 transmits a positioning ultrasonic signal including the identification of the fixed device 3, and records the transmission time T31 based on the local clock of the fixed device 3.
  • the positioned device (ie, the smart terminal) stores a predetermined time value ⁇ T. After receiving the respective positioning ultrasonic signals sent by the respective fixed devices, the positioning device sends respective recovery ultrasonic signals to each fixed device by a predetermined time value ( ⁇ T), wherein the positioning device returns a reply ultrasonic signal to the fixed device.
  • ⁇ T predetermined time value
  • Each contains the identity of the respective fixed device.
  • the reply ultrasonic signal returned by the positioning device to the fixed device 1 includes the identifier of the fixed device 1;
  • the reply ultrasonic signal returned by the positioning device to the fixed device 2 includes the fixed The identifier of the device 2;
  • the reply ultrasonic signal returned by the positioning device to the fixed device 3 contains the identifier of the fixed device 3.
  • the fixed device 1 receives the reply ultrasonic signal including the identification of the fixed device 1, and records the reception time T12 based on the local clock of the fixed device 1.
  • the fixed device 2 receives the reply ultrasonic signal including the identification of the fixed device 2, and records the reception time T22 based on the local clock of the fixed device 2.
  • the fixed device 3 receives the reply ultrasonic signal including the identification of the fixed device 3, and records the reception time T32 based on the local clock of the fixed device 3. Then, the fixed device calculates the respective distances from the devices to be positioned, respectively, based on the respective locally recorded moments at which the respective positioning ultrasonic signals are transmitted, at respective times of receiving the respective recovered ultrasonic signals and the predetermined time values.
  • the fixed device 1 transmits the calculated L1 to the computing device via a communication connection with the computing device; the fixed device 2 transmits the calculated L2 to the computing device via a communication connection with the computing device; the fixed device 3 The calculated L3 is sent to the computing device via a communication connection with the computing device.
  • the computing device calculates the coordinates of the located device based on (formula group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
  • the location device stores a predetermined time value ⁇ T, and after receiving the respective positioning ultrasonic signals transmitted by the respective fixed devices, the positioning device transmits the respective predetermined time values ( ⁇ T) to each fixed device. Respond to the ultrasonic signal.
  • the located device may not store the processing time in advance.
  • the three positioning ultrasonic signals transmitted by the three fixed devices may contain the same or different processing times.
  • the positioned device can obtain the corresponding processing time by parsing the command signal.
  • the positioning ultrasonic signal transmitted by the fixed device 1 includes the identification of the fixed device 1 and the processing time ⁇ T1, and the fixed device 1 records the transmission time T11 based on the local clock of the fixed device 1;
  • the positioning ultrasonic signal transmitted by the fixed device 2 includes the fixed device 2 Identification and processing time ⁇ T2, the fixed device 2 records the transmission time T21 based on the local clock of the fixed device 2;
  • the positioning ultrasonic signal transmitted by the fixed device 3 includes the identification of the fixed device 3 and the processing time ⁇ T3, and the fixed device 3 is based on the fixed device 3
  • the local clock records the transmission time T31, where ⁇ T1, ⁇ T2, and ⁇ T3 are different.
  • the positioned devices After receiving the respective positioning ultrasonic signals transmitted by the respective fixed devices, the positioned devices respectively send respective recovery ultrasonic signals to each of the fixed devices at respective processing times. Specifically, after the positioning device receives the positioning ultrasonic signal sent by the fixed device 1, the interval processing time ⁇ T1 sends a reply ultrasonic signal including the identifier of the fixed device 1 to the fixed device 1; and the positioned device receives the positioning sent by the fixed device 2 After the ultrasonic signal, the interval processing time ⁇ T2 sends a reply ultrasonic signal including the identifier of the fixed device 2 to the fixed device 2; after receiving the positioning ultrasonic signal sent by the fixed device 3, the positioning device sends the fixed processing time 3 to the fixed device 3 and includes the fixed The reply ultrasonic signal identified by device 3.
  • the fixed device 1 receives the reply ultrasonic signal including the identification of the fixed device 1, and records the reception time T12 based on the local clock of the fixed device 1.
  • the fixed device 2 receives the reply ultrasonic signal including the identification of the fixed device 2, and records the reception time T22 based on the local clock of the fixed device 2.
  • the fixed device 3 receives the reply ultrasonic signal including the identification of the fixed device 3, and records the reception time T32 based on the local clock of the fixed device 3. Then, each fixed device calculates the respective distances from the located devices at the time of respectively receiving the respective recovered ultrasonic signals and the predetermined time values respectively at the time of transmitting the respective positioning ultrasonic signals recorded in the respective locals. .
  • the fixed device 1 calculates the positioned device and fixes
  • the distance between the positioned device and the return device 2 calculated by the fixed device 2 is L2,
  • the fixed device 1 transmits the calculated L1 to the computing device via a communication connection with the computing device; the fixed device 2 transmits the calculated L2 to the computing device via a communication connection with the computing device; the fixed device 3
  • the calculated L3 is sent to the computing device via a communication connection with the computing device.
  • the computing device calculates the coordinates of the located device based on (formula group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
  • FIG. 5 is a schematic diagram of the transmitting device 1 of Figure 4 transmitting and receiving ultrasonic signals. As shown in FIG. 5, after the ultrasonic signal transmitted by the fixed device passes the T1 time, it is received by the positioning device, and after the ⁇ T time, the ultrasonic signal is sent by the positioning device, and then received by the fixed device after the T1 time. After the received device receives the entire acoustic signal and processes it and then transmits it, there is no overlap between the received and transmitted sound waves.
  • FIG. 6 is a second exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention, which corresponds to the positioning mode 2.
  • Figure 6 includes at least three fixed devices and positioned devices that hold respective coordinates of at least three fixed devices.
  • the located device sends a respective positioning ultrasonic signal to each of the at least three fixed devices; each of the at least three fixed devices is configured to respectively receive the respective positioning ultrasonic signals sent by the positioning device, respectively Separating a predetermined time value ( ⁇ T) to send the respective reply ultrasonic signals to the positioned device; the positioned device is further configured to, based on the locally recorded, the time at which the respective positioning ultrasonic signals are transmitted to each of the at least three fixed devices, a locally recorded time at which each of the at least three fixed devices receives a reply ultrasonic signal and the predetermined time value respectively calculate the positioned device and the at least three solids
  • the distance between each of the devices is determined; and the coordinates of the located device are calculated based on the respective coordinates of the at least three fixed devices and the distance between the positioned device and each of the at least three fixed devices.
  • the difference from the positioning mode 1 is that after the positioning device enters the room, the command signal and the positioning signal are sent, and after the fixed device 1, the fixed device 2, and the fixed device 3 receive the signal, after a predetermined time value ( ⁇ T), After being sent out, after the received signal is received by the positioning device, the distance between the fixed device and the fixed device is calculated, thereby obtaining the precise position of the positioned device in the room.
  • ⁇ T a predetermined time value
  • the positioned device transmits respective positioning ultrasonic signals to the fixed device 1, the fixed device 2, and the fixed device 3, respectively.
  • the positioning ultrasonic signal contains a predetermined time value ( ⁇ T) and an identification of the stationary device as the destination receiving device.
  • the locating device records the timing of transmitting the respective positioning ultrasonic signals to the fixed device 1, the fixed device 2, and the fixed device 3, respectively, based on the local clock.
  • the time at which the positioning device sends the positioning ultrasonic signal to the fixed device 1 based on the local clock record is T11
  • the positioning ultrasonic signal sent by the positioning device to the fixed device 1 includes the identification information of the fixed device 1; the positioned device records based on the local clock.
  • the time at which the positioning ultrasonic signal is transmitted to the fixed device 1 is T21, and the positioning ultrasonic signal transmitted by the positioning device to the fixed device 2 includes the identification information of the fixed device 2; the positioned device transmits the positioning ultrasonic signal to the fixed device 1 based on the local clock record.
  • the time is T31, and the positioning ultrasonic signal transmitted by the positioning device to the fixed device 3 includes the identification information of the fixed device 3.
  • the fixed device 1 After receiving the positioning ultrasonic signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 1) sent by the positioning device, the fixed device 1 parses the predetermined time value ( ⁇ T) therefrom and selects the predetermined time value ( After ⁇ T), a reply ultrasonic signal is transmitted to the positioned device, and the reply ultrasonic signal includes identification information of the positioning device 1.
  • the locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 1 is received based on the local clock, which is T12.
  • the fixed device 2 receives the positioning ultrasound sent to itself by the positioning device After the wave signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 2), the predetermined time value ( ⁇ T) is parsed therefrom, and a predetermined ultrasonic wave signal is sent to the positioned device at a predetermined time value ( ⁇ T), the reply ultrasonic signal
  • the identification information of the positioning device 2 is included.
  • the locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 2 is received based on the local clock, which is T22.
  • the fixed device 3 After receiving the positioning ultrasonic signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 3) transmitted by the positioning device, the fixed device 3 parses the predetermined time value ( ⁇ T) therefrom and intervals the predetermined time value ( ⁇ T). Sending a reply ultrasonic signal to the located device, the reply ultrasonic signal containing the identification information of the positioning device 3.
  • the locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 3 is received based on the local clock, which is T32.
  • the located device calculates the distance between the positioned device and each of the at least three fixed devices, wherein:
  • the positioned device calculates the coordinates of the positioned device based on (Formula Group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
  • FIG. 7 is a schematic diagram of the positioning signal received by the positioning device of FIG. 6 from the fixed device 1.
  • Fig. 8 is a third exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention.
  • the three fixed devices there are at least three fixed devices and at least one positioned device in the three-dimensional space.
  • the three fixed devices one of them is a master device, and the other two are a fixed device 1 and a fixed device 2.
  • the fixed device 1 and the fixed device 2 respectively transmit and receive ultrasonic signals without calculating the distance from the device being positioned.
  • the master device separately monitors the positioning process between the fixed device 1 and the fixed device 2 and the device to be located, and separately calculates the fixed device 1 and is positioned.
  • the location of the master device is fixed.
  • the master device stores the coordinates of the fixed device 1, the fixed device 2, and the master device.
  • the fixed device 1 is configured to send a first positioning ultrasonic signal; the fixed device 2 is configured to send a second positioning ultrasonic signal; and the positioning device is configured to send the first reply after a predetermined time value after receiving the first positioning ultrasonic signal
  • the ultrasonic signal transmits a second return ultrasonic signal at intervals of the predetermined time value after receiving the second positioning ultrasonic signal; and the main device is configured to perform a first time difference based on receiving the first positioning ultrasonic signal and receiving the first return ultrasonic signal Calculating a first distance between the fixed device 1 and the positioned device, and calculating a second between the fixed device 2 and the positioned device based on the second time difference between receiving the second positioning ultrasonic signal and receiving the second reply ultrasonic signal
  • the coordinates of the located device are calculated based on the first distance, the second distance, the third distance between the master device and the device being positioned, the coordinates of the fixed device 1, the coordinates of the fixed device 2, and the coordinates of the master device.
  • L0 is the distance between the device being located and the master device
  • T0 is the time required for the ultrasonic signal to travel from the device to the master device.
  • L0 is proportional to T0;
  • L1 is the device to be located and The distance between the fixed devices 1,
  • T1 is the time required for the ultrasonic signal to travel from the positioned device to the fixed device 1,
  • L1 is proportional to T1;
  • L2 is the distance between the positioned device and the fixed device 2, and T2 is the ultrasonic signal
  • the time required to travel from the location device to the fixed device 2, L2 is proportional to T2;
  • L10 is proportional to T10;
  • L20 is proportion
  • FIG. Fig. 9 is a diagram showing the calculation of L10 in Fig. 8. Based on Fig. 9, the fixed device 1 emits an ultrasonic signal, which can be received by both the positioning device and the main device, and has two timelines:
  • the first timeline the fixed device 1 sends an ultrasonic signal, which is received by the positioning device after the time T1, and is sent by the positioning device after the ultrasonic signal is sent through the ⁇ T time, and the ultrasonic signal is received by the fixed device 1 after the time T1.
  • the second timeline the fixed device 1 sends an ultrasonic signal, which is received by the main device after the T10 time.
  • the ultrasonic signal is sent by the positioning device, it is received by the main device after the T0 time, and the main device receives the ultrasonic signal twice.
  • the time interval is recorded as T.
  • the transmission speed is constant. Therefore, L10 can be calculated. Similarly, L20 can be obtained.
  • the distance between each device and the coordinates of the three master devices can be known, and the specific coordinates of the device to be located can be known.
  • T0 L0 / C
  • T10 L10 / C
  • T1 T10 + T - T0 - ⁇ T
  • L1 T1 * C
  • L 28m.
  • the distance L2 between the positioned device and the fixed device 2 can be calculated.
  • the coordinates of the three fixed devices are known as: (x0, y0, z0): the coordinates of the master device in the map; (x1, y1, z1): the fixed device 1 is The coordinates in the map; (x2, y2, z2): the coordinates of the fixed device 2 in the map;
  • the invention also proposes a positioning method based on a wearable device.
  • the intelligent terminal detects the distance from the caretaker by ultrasonic ranging. When the distance exceeds a preset threshold, the intelligent terminal can perform various alarm modes such as sound and equipment vibration to remind the intelligent terminal carrier about the caretaker. The scope of activities to achieve the purpose of preventing the loss of the caretaker.
  • FIG. 11 is a block diagram of a positioning system based on ultrasonic positioning in accordance with the present invention.
  • the system includes a first wearable device and a smart terminal.
  • the first wearable device comprises a first ultrasonic transmitter
  • the intelligent terminal comprises a first ultrasonic receiver and an alarm unit
  • the first ultrasonic transmitter is configured to transmit a first ultrasonic signal comprising the first wearable device identifier
  • the ultrasonic receiver is configured to receive the first ultrasonic signal, determine a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and send an alarm command to the alarm unit when the distance exceeds a preset threshold
  • the alarm unit may specifically issue an alarm by means of an audible alarm, a vibration alarm, a flash alarm, or the like.
  • the first wearable device further includes a second ultrasonic receiver and a storage unit; and the second ultrasonic receiver is configured to receive the second ultrasonic signal sent by the wearable device other than the first wearable device And parsing, from the second ultrasonic signal, the identifier of the wearable device other than the first wearable device; the storage unit, configured to associate the storage time of the second ultrasonic signal, the dividing An identifier of the other wearable device other than the first wearable device and a position when the second ultrasonic signal is received; a first ultrasonic transmitter configured to receive, when received by the smart terminal, include the first wearable device When other ultrasonic signals of the wearable device are identified, Transmitting, to the smart terminal, a reception time including the second ultrasonic signal, an identifier of the wearable device other than the first wearable device, and a third ultrasonic signal
  • Smart terminals can include, but are not limited to, feature phones, smart phones, PDAs, personal computers (PCs), tablets or personal digital assistants (PDAs), and the like.
  • the smart terminal is applicable to any smart terminal operating system, and specific operating systems include but are not limited to: Android (Andorid), Palm OS, Symbian (Saipan), Windows mobile, Linux, Android (Android), iPhone. (Apple) OS, Blackberry OS 6.0, Windows Phone series, and more.
  • the smart terminal may specifically adopt the Andorid operating system, and the smart terminal may adopt various versions of Andorid, including but not limited to: Android Beta, clockwork robot (Android 1.0) , Cupcakes (Android 1.5), Donuts (Android 1.6), Muffins (Android 2.0/2.1), Frozen Yogurt (Android 2.2), Gingerbread (Android 2.3), Honeycomb (Android 3.0), Ice Cream Sandwich (Android 4.0 ), Jelly Bean (Android 4.1) and other versions.
  • the specific version of the Android platform is listed in detail above. Those skilled in the art can appreciate that the embodiments of the present invention are not limited to the above listed version, but can also be applied to any other version based on the Android software architecture.
  • the invention provides two methods for ultrasonic ranging, one is ultrasonic time ranging between a smart terminal and a wearable device; and the other is an ultrasonic ranging method between a smart terminal and a wearable device without time synchronization.
  • FIG. 12 is a block diagram of a positioning system in a time synchronized manner in accordance with the present invention.
  • the system includes a first wearable device and a smart terminal.
  • the first wearable device includes a first ultrasonic transmitter;
  • the intelligent terminal includes a first ultrasonic receiver and an alarm unit;
  • the first ultrasound a wave transmitter for transmitting a first ultrasonic signal including a first wearable device identifier;
  • a first ultrasonic receiver for receiving the first ultrasonic signal, and determining a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal And sending an alarm command to the alarm unit when the distance exceeds a preset threshold;
  • the first wearable device and the smart terminal respectively comprise a time synchronization unit;
  • the time synchronization unit of the intelligent terminal is configured to the first wearable device
  • the time synchronization unit sends a time synchronization signal;
  • the time synchronization unit of the first wearable device is configured to maintain time synchron
  • the first wearable device further includes a second ultrasonic receiver and a storage unit (not shown in FIG. 12).
  • a second ultrasonic receiver configured to receive a second ultrasonic signal sent by the wearable device other than the first wearable device, and parse the second ultrasonic signal from the second wearable device The identifier of the other wearable device;
  • the storage unit configured to associate the storage time of the second ultrasonic signal, the identifier of the wearable device other than the first wearable device, and the receiving the second ultrasonic signal a first ultrasonic transmitter, configured to: when receiving an ultrasonic signal sent by the smart terminal that includes the identifier of the wearable device other than the first wearable device, send the a receiving time of the ultrasonic signal, an identification of the wearable device other than the first wearable device, and a third ultrasonic signal of the position when the second ultrasonic signal is received, thereby being based on the second ultrasonic signal by the intelligent terminal Receiving time, identification of other wearable devices other than the first
  • FIG. 13 is a flow chart of a positioning method in a time synchronization manner according to the present invention, in which the first wearable device is embodied as a wristband having an ultrasonic transmission function.
  • the wristband is provided with its own identifier; the smart terminal stores the identifier of the wristband to be monitored.
  • the method includes:
  • Step 301 - Step 303 The wristband periodically transmits an ultrasonic wave with its own identification, and the intelligent terminal receives the ultrasonic wave.
  • Step 304 The smart terminal determines whether the identifier carried in the received ultrasonic wave matches the identifier of the wristband to be monitored. If yes, step 305 and subsequent steps are performed; if not, return to step 303. Preferably, when the intelligent terminal determines whether the identifier carried in the received ultrasonic wave does not match the identifier of the wristband to be monitored, or fails to receive the ultrasonic signal including the identifier of the wristband to be monitored, an alarm is further issued.
  • Step 306 The smart terminal determines whether the L is smaller than the preset first threshold S1. When L is less than S1, the process returns to step 301 and subsequent steps. When L is not less than S1, step 307 and subsequent steps are performed. .
  • Step 307 The smart terminal determines whether L is smaller than a preset second threshold S2, S2 is greater than S1; wherein when L is less than S2, step 309 is performed and the process is exited; when L is not less than S2, step 308 is performed. Exit this process.
  • Step 308 The smart terminal performs a serious alarm, such as making a sound, flashing a reminder, and vibrating Reminder.
  • Step 309 The smart terminal performs an early warning alarm, such as a sound and a flash reminder.
  • FIG. 14 is a block diagram of a positioning system that is not time synchronized in accordance with the present invention.
  • the system includes a first wearable device and a smart terminal.
  • the first wearable device includes a first ultrasonic transmitter;
  • the intelligent terminal includes a first ultrasonic receiver and an alarm unit;
  • the first ultrasonic transmitter is configured to transmit a first ultrasonic signal including the first wearable device identifier;
  • the first ultrasonic receiving And receiving the first ultrasonic signal determining a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and sending an alarm command to the alarm unit when the distance exceeds a preset threshold;
  • the smart terminal further
  • the second ultrasonic transmitter is further included;
  • the first wearable device further includes a second ultrasonic receiver; wherein the first ultrasonic signal including the wearable device identifier sent by the first ultrasonic transmitter is the second ultrasonic receiver from the second Receiving by the ultrasonic transmitter;
  • the smart terminal In the non-time synchronization mode, the smart terminal first opens the installed application software, selects the ID of the first wearable device that needs to be ranging, and when there are multiple IDs, the polling ranging can also be performed.
  • the first wearable device turns on the ultrasound function.
  • the intelligent terminal periodically sends an ultrasonic signal, and the signal carries an ID that needs to be measured.
  • the first wearable device analyzes the ultrasonic signal, and if the ultrasonic signal has its own ID, the ultrasonic signal is sent again; If the received ultrasonic signal does not have its own ID, it will not react.
  • the smart terminal receives the ultrasonic signal sent by the first wearable device, calculates the distance from the smart terminal to the first wearable device, and when the distance exceeds a certain range, sends an alarm signal corresponding to the distance, such as different sound signals and vibration signals. and many more.
  • the intelligent terminal first transmits an ultrasonic signal and records the time T1, and the intelligent terminal records The processing time ⁇ T that needs to be performed when the first wearable device receives the ultrasonic signal is recorded. After receiving the ultrasonic signal, the first wearable device performs the processing time ⁇ T and transmits the ultrasonic signal to the smart terminal, and the smart terminal records the time T2 when receiving the positioning signal returned by the wearable device.
  • the first wearable device further includes a storage unit; the second ultrasonic receiver is further configured to receive a second ultrasonic signal sent by the wearable device other than the first wearable device, and from the second An identifier of the wearable device other than the first wearable device is parsed in the ultrasonic signal; a storage unit configured to associate the storage time of the second ultrasonic signal, the first wearable device The identifier of the other wearable device and the position when the second ultrasonic signal is received; the first ultrasonic transmitter is configured to receive the wearable device including the first wearable device issued by the smart terminal When the ultrasonic signal is identified, the receiving time including the second ultrasonic signal, the identifier of the wearable device other than the first wearable device, and the position when receiving the second ultrasonic signal are transmitted to the smart terminal a third ultrasonic signal, whereby the smart terminal is based on the receiving time of the second ultrasonic signal, the first wearable device Identifying other external wearable device and a second position when the received ultrasonic
  • Figure 15 is a flow chart of a positioning method in a time-insensitive manner in accordance with the present invention.
  • the first wearable device is embodied as a wristband having an ultrasonic transmission function.
  • the wristband is provided with its own identifier; the smart terminal stores the identifier of the wristband to be monitored.
  • the method includes:
  • Step 501 - Step 503 The intelligent terminal periodically transmits the ultrasonic wave with its own identification, and the wristband receives the ultrasonic wave.
  • Step 504 The wristband determines whether the identifier carried in the received ultrasonic wave matches the identifier of the self, and if yes, performs step 505 and subsequent steps; if not, returns the license. Go to step 503.
  • Steps 505-506 The wristband further transmits the received ultrasonic wave, and the intelligent terminal receives the ultrasonic wave.
  • Step 507 The smart terminal determines whether the identifier carried in the received ultrasonic wave matches the identifier of the wristband to be monitored, and if yes, performs step 508 and subsequent steps; if not, returns to step 501.
  • Step 509 The smart terminal determines whether the L is smaller than the preset first threshold S1. When L is less than S1, the process returns to step 501 and subsequent steps. When L is not less than S1, step 510 and subsequent steps are performed. .
  • Step 510 The smart terminal determines whether the L is smaller than the preset second threshold S2, and S2 is greater than S1. When L is less than S2, step 512 is executed and the process is exited; when L is not less than S2, step 511 is performed. Exit this process.
  • Step 511 The smart terminal performs a serious alarm, such as a sound, a flash reminder, and a vibration reminder.
  • a serious alarm such as a sound, a flash reminder, and a vibration reminder.
  • Step 512 The smart terminal performs an early warning alarm, such as a sound and a flash reminder.
  • the present invention also proposes a positioning system with an assisted positioning function.
  • Figure 16 is a block diagram of a positioning system having an assisted positioning function in accordance with the present invention.
  • the system includes a first wearable device, a second wearable device, and a smart terminal. among them: The distance between the first wearable device and the smart terminal is not within the scope of the ultrasonic interaction; the distance between the first wearable device and the second wearable device is within the range of the ultrasonic interaction; the second wearable device and the smart terminal The distance between them is within the range of ultrasonic interaction.
  • the smart terminal desires to monitor the first wearable device.
  • the smart terminal determines that the first wearable device has been lost when the smart terminal cannot receive the ultrasonic signal sent by the first wearable device. At this time, the smart terminal sends an ultrasonic signal including the identifier of the first wearable device for querying the first wearable device. Since the distance between the first wearable device and the second wearable device is within the ultrasonic interaction range, the second wearable device can receive the ultrasonic signal transmitted by the first wearable device.
  • the second wearable device parses the identifier of the first wearable device from the ultrasonic signal sent by the first wearable device, and associates the time when the ultrasonic signal sent by the first wearable device is received, the identifier of the first wearable device And a location of the second wearable device when receiving the ultrasonic signal transmitted by the first wearable device.
  • the second wearable device After receiving the ultrasonic signal sent by the smart terminal and including the first wearable device identifier, the second wearable device retrieves the time when the ultrasonic signal sent by the first wearable device is received, the identifier of the first wearable device, and the receiving The location of the second wearable device when the ultrasonic signal is transmitted to the first wearable device, and the retrieved information (the time when the ultrasonic signal transmitted by the first wearable device is received, the identifier of the first wearable device, and the reception) The bit of the second wearable device is transmitted to the smart terminal when the ultrasonic signal transmitted by the first wearable device is transmitted. Therefore, the smart terminal can indirectly understand the approximate location of the first wearable device based on the information provided by the second wearable device.
  • assisted positioning is performed using the second wearable device.
  • there may be a plurality of wearable devices that assist in positioning which is not limited by the present invention.
  • a person of ordinary skill in the art may understand that all or part of the steps of implementing the foregoing embodiments may be completed by hardware, or may be instructed by a program to complete related hardware.
  • the program may be stored in a computer readable storage medium, which may be a read only memory, a magnetic disk or an optical disk or the like.
  • all or part of the steps of the foregoing embodiments of the present invention may also be implemented by a network system including a network node, which can fully utilize the advantages of the hardware environment at both ends of the client and the server to properly allocate tasks to the client and the server. The end is implemented to reduce the communication overhead of the system.
  • the client can be a thin client (Thin Client), which can be a basic application-free computer terminal in the client-server network system, and the thin client can communicate with the server through some common communication protocols. And then access the LAN.
  • Thin Client can be a data processing program executed by a data processing device such as a computer.
  • the data processing program constitutes the present invention.
  • a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present invention.
  • the storage medium can use any type of recording method, such as paper storage medium (such as paper tape, etc.), magnetic storage medium (such as floppy disk, hard disk, flash memory, etc.), optical storage medium (such as CD-ROM, etc.), magneto-optical storage medium (such as MO, etc.).
  • the present invention therefore also discloses a storage medium in which is stored a data processing program for performing any of the above embodiments of the present invention.

Abstract

A ranging system, a positioning system and method, and a wearable device. A first device (1) stores a time value. A second device (2) comprising a second ultrasonic sender (22) and a second ultrasonic receiver (21) is provided, the second device (2) storing the time value, wherein a first ultrasonic sender (11) is configured to send a first ultrasonic signal; the second ultrasonic receiver (21) is configured to receive the first ultrasonic signal; the second ultrasonic sender (22) is configured to send, after the second ultrasonic receiver (21) receives the first ultrasonic signal, a second ultrasonic signal after a period of time indicated by the time value; a first ultrasonic receiver (12) is configured to receive the second ultrasonic signal; and a calculation unit (13) is configured to calculate a distance between the first device (1) and the second device (2) based on a first moment which is recorded by the first device (1) and at which the first ultrasonic sender (11) sends the first ultrasonic signal, a second moment which is recorded by the first device (1) and at which the first ultrasonic receiver (12) receives the second ultrasonic signal, and the time value.

Description

一种测距系统、定位系统和方法及可穿戴设备Ranging system, positioning system and method, and wearable device 技术领域Technical field
本发明涉及计算机领域,特别涉及一种测距系统、定位系统和方法及可穿戴设备。The present invention relates to the field of computers, and in particular, to a ranging system, a positioning system and method, and a wearable device.
发明背景Background of the invention
带着孩子一起出门游玩、散步或者购物时,一不留神,孩子消失在视野中了,这恐怕是任何为人父母者最恐惧的事情之一。商场、游乐场、家门口等成为儿童走失的高发地,儿童走失的频率非常之高,让全社会不得不正视这个严峻的问题,于是,预防儿童走失的产品应运而生。When you go out to play, walk, or shop with your child, you can't pay attention and your child disappears into your vision. This is probably one of the most fearful things for any parent. Shopping malls, playgrounds, and home entrances have become high-risk areas for children to lose. The frequency of children’s loss is very high, and the whole society has to face up to this serious problem. Therefore, products to prevent children from being lost have emerged.
智能终端应用已经非常普遍,能发出和接收超声波。智能终端应用自身发出和接收的超声波在小区域的测距技术也已经趋于成熟。一般超声定位的基本原理是通过几个固定位置的点发射或者接收超声波,被定位设备接收或者发送超声波。超声波发生器与超声波接收器有同步时钟时,检测超声波往返的时间。基于往返所用时间与超声波通过距离成正比,计算出超声波所经过的距离,从而得到被定位设备与几个固定位置点的距离。再通过三角形测量原理可以实现三维定位,得到三维空间中被定位设备的位置。Intelligent terminal applications have become very common and can emit and receive ultrasound. The ranging technology of ultrasonic waves sent and received by smart terminal applications in small areas has also matured. The basic principle of general ultrasonic positioning is to transmit or receive ultrasonic waves through several fixed-position points, and the receiving device receives or transmits ultrasonic waves. When the ultrasonic generator and the ultrasonic receiver have a synchronous clock, the time for the ultrasonic round trip is detected. Based on the time taken by the round trip and the distance of the ultrasonic wave, the distance traveled by the ultrasonic wave is calculated, thereby obtaining the distance between the positioned device and several fixed position points. Through the principle of triangular measurement, three-dimensional positioning can be realized, and the position of the device to be positioned in the three-dimensional space can be obtained.
采用该方法定位的一个关键点是:超声波发生器和超声波接收器需要同步时钟,但是现实中不存在绝对精确的同步时钟。比如,标称值同样是1MHz,发送端和接收端的时钟总会存在差异,如果接收端不进行时钟同步,而是使用自己本地的时钟,则足够长的时间后接收到的数据总会出现不可预知的重复或丢失,导致接收错误。 A key point of positioning using this method is that the ultrasonic generator and the ultrasonic receiver require a synchronous clock, but in reality there is no absolutely accurate synchronous clock. For example, the nominal value is also 1MHz. There is always a difference between the clock at the transmitting end and the receiving end. If the receiving end does not perform clock synchronization but uses its own local clock, the received data will always appear after a long enough time. Predictive repetition or loss, resulting in a reception error.
发明内容Summary of the invention
本发明实施方式提供了一种测距系统、定位系统和方法以及可穿戴设备。本发明实施方式的技术方案如下:Embodiments of the present invention provide a ranging system, a positioning system and method, and a wearable device. The technical solution of the embodiment of the present invention is as follows:
一种超声波测距系统,包括:包含第一超声波发送器、第一超声波接收器和计算单元的第一设备,所述第一设备保存有时间值;包含第二超声波发送器和第二超声波接收器的第二设备,所述第二设备保存有所述时间值;其中:第一超声波发送器,用于发送第一超声波信号;第二超声波接收器,用于接收所述第一超声波信号;第二超声波发送器,用于在第二超声波接收器接收所述第一超声波信号后,经过所述时间值的时刻发送第二超声波信号;第一超声波接收器,用于接收所述第二超声波信号;计算单元,用于基于在第一设备记录的、第一超声波发送器发送所述第一超声波信号的第一时刻,在第一设备记录的、第一超声波接收器接收所述第二超声波信号的第二时刻,以及所述时间值计算所述第一设备与所述第二设备之间的距离。An ultrasonic ranging system includes: a first device including a first ultrasonic transmitter, a first ultrasonic receiver, and a computing unit, the first device retaining a time value; and includes a second ultrasonic transmitter and a second ultrasonic receiving The second device of the device, wherein the second device stores the time value; wherein: a first ultrasonic transmitter is configured to transmit the first ultrasonic signal; and a second ultrasonic receiver is configured to receive the first ultrasonic signal; a second ultrasonic transmitter, configured to: after the second ultrasonic receiver receives the first ultrasonic signal, send a second ultrasonic signal at a time when the time value is received; the first ultrasonic receiver is configured to receive the second ultrasonic wave a signal; a calculation unit, configured to receive the second ultrasonic wave by the first ultrasonic receiver recorded at the first device, based on the first time that the first ultrasonic transmitter transmits the first ultrasonic signal recorded by the first device A second time of the signal, and the time value calculates a distance between the first device and the second device.
一种超声波测距方法,包括:在保存有时间值的第一设备发送第一超声波信号,并记录第一设备发送第一超声波信号的发送时刻;在所述第一设备接收由第二设备发送的第二超声波信号,并记录第一设备接收第二超声波信号的接收时刻,其中第二设备接收所述第一超声波信号后,经过所述时间值的时刻发送所述第二超声波信号;基于所述发送时刻、所述接收时刻以及所述时间值计算第一设备与第二设备之间的距离。An ultrasonic ranging method includes: transmitting, by a first device that stores a time value, a first ultrasonic signal, and recording a transmission time at which the first device transmits the first ultrasonic signal; and receiving, by the first device, the second device a second ultrasonic signal, and recording a receiving moment at which the first device receives the second ultrasonic signal, wherein the second device transmits the second ultrasonic signal after the time value is received after receiving the first ultrasonic signal; The transmission time, the reception time, and the time value calculate a distance between the first device and the second device.
一种超声波定位系统,包括至少三个固定设备、被定位设备和计算设备;所述至少三个固定设备中的每一个,用于分别发送各自的定位超声波信号;被定位设备,用于在接收到各个固定设备发送的各自的定位超声波信号后,分别间隔一预定时间值向每一个固定设备发送各自的回复超声波信号;所述至少三个固定设备中的每一个,还用于基于在各自 本地记录的、发送各自的定位超声波信号的时刻,在各自本地记录的、接收各自的回复超声波信号的时刻以及所述预定时间值分别计算与所述被定位设备之间的各自距离;保存有所述至少三个固定设备的各自坐标的计算设备,用于基于所述至少三个固定设备的各自坐标以及所述至少三个固定设备中的每一个与所述被定位设备之间的各自距离,计算所述被定位设备的坐标。An ultrasonic positioning system comprising at least three fixed devices, a positioned device and a computing device; each of the at least three fixed devices for respectively transmitting respective positioning ultrasonic signals; the positioned device for receiving After each of the positioning ultrasonic signals transmitted by the respective fixed devices, respectively transmitting a respective reply ultrasonic signal to each fixed device by a predetermined time value; each of the at least three fixed devices is further used based on each Locally recorded moments for transmitting respective positioning ultrasonic signals, respectively calculating respective distances from the positioned devices at respective times of receiving the respective recovered ultrasonic signals and the predetermined time values; Computing device for describing respective coordinates of at least three fixed devices, based on respective coordinates of the at least three fixed devices and respective distances between each of the at least three fixed devices and the positioned device, Calculating the coordinates of the positioned device.
一种超声波定位系统,包括至少三个固定设备和被定位设备,被定位设备保存有所述至少三个固定设备的各自坐标;所述被定位设备,用于分别向所述至少三个固定设备中的每一个发送各自的定位超声波信号;所述至少三个固定设备中的每一个,用于在接收到所述被定位设备发送的各自的定位超声波信号后,分别间隔一预定时间值向所述被定位设备发送各自的回复超声波信号;所述被定位设备,还用于基于本地记录的、向所述至少三个固定设备中的每一个发送各自的定位超声波信号的时刻,本地记录的、接收所述至少三个固定设备中的每一个各自发送的回复超声波信号的时刻以及所述预定时间值,分别计算被定位设备与所述至少三个固定设备中的每一个之间的距离;并基于所述至少三个固定设备的各自坐标以及所述被定位设备与所述至少三个固定设备中的每一个之间的距离,计算所述被定位设备的坐标。An ultrasonic positioning system comprising at least three fixed devices and a positioned device, wherein the positioned device stores respective coordinates of the at least three fixed devices; the positioned device is configured to respectively respectively to the at least three fixed devices Each of the at least three fixed devices is configured to be respectively separated by a predetermined time value after receiving the respective positioning ultrasonic signals transmitted by the positioned device The location device sends the respective reply ultrasonic signals; the positioned device is further configured to locally record the time of transmitting the respective positioning ultrasonic signals to each of the at least three fixed devices based on the local record, Receiving a time at which each of the at least three fixed devices respectively transmits a reply ultrasonic signal and the predetermined time value, respectively calculating a distance between the positioned device and each of the at least three fixed devices; and Based on respective coordinates of the at least three fixed devices and the positioned device and the at least three fixed The distance between each of the apparatus, the coordinates of the positioning device calculated.
一种超声波定位系统,包括第一固定设备、第二固定设备、被定位设备和主设备;所述主设备的位置固定,所述主设备保存有所述第一固定设备、第二固定设备以及所述主设备的坐标;所述第一固定设备,用于发送第一定位超声波信号;所述第二固定设备,用于发送第二定位超声波信号;被定位设备,用于在接收到第一定位超声波信号后,间隔一预定时间值发送第一回复超声波信号,在接收到第二定位超声波信号后,间隔所述预定时间值发送第二回复超声波信号;主设备,用于基于接收 到第一定位超声波信号与接收到第一回复超声波信号的第一时间差,计算第一固定设备与被定位设备之间的第一距离,基于接收到第二定位超声波信号与接收到第二回复超声波信号的第二时间差,计算第二固定设备与被定位设备之间的第二距离,并基于所述第一距离、第二距离、所述主设备与被定位设备之间的第三距离以及所述第一固定设备、第二固定设备以及所述主设备的坐标,计算所述被定位设备的坐标。An ultrasonic positioning system includes a first fixed device, a second fixed device, a positioned device, and a master device; the master device has a fixed position, and the master device stores the first fixed device and the second fixed device, and a coordinate of the master device; the first fixed device is configured to send a first positioning ultrasonic signal; the second fixed device is configured to send a second positioning ultrasonic signal; and the positioning device is configured to receive the first After positioning the ultrasonic signal, transmitting a first reply ultrasonic signal at intervals of a predetermined time value, and after receiving the second positioning ultrasonic signal, transmitting a second reply ultrasonic signal at intervals of the predetermined time value; the main device is configured to receive Calculating a first distance between the first fixed device and the positioned device by the first time difference between the first positioning ultrasonic signal and the received first reply ultrasonic signal, based on receiving the second positioning ultrasonic signal and receiving the second reply ultrasonic wave a second time difference of the signal, calculating a second distance between the second fixed device and the positioned device, and based on the first distance, the second distance, a third distance between the primary device and the positioned device, and Calculating coordinates of the first fixed device, the second fixed device, and the primary device, and calculating coordinates of the positioned device.
一种基于超声定位的定位系统,包括第一可穿戴设备和智能终端;所述第一可穿戴设备包括第一超声波发送器;所述智能终端包括第一超声波接收器和报警单元;第一超声波发送器,用于发送包含第一可穿戴设备标识的第一超声波信号;第一超声波接收器,用于接收所述第一超声波信号,并基于所述第一超声波信号的超声定位确定与所述可穿戴设备的距离,并当所述距离超过预先设定的门限值时,向所述报警单元发送报警命令;报警单元,用于根据所述报警命令发出报警信号。A positioning system based on ultrasonic positioning, comprising a first wearable device and an intelligent terminal; the first wearable device comprises a first ultrasonic transmitter; the intelligent terminal comprises a first ultrasonic receiver and an alarm unit; a transmitter for transmitting a first ultrasonic signal including a first wearable device identifier; a first ultrasonic receiver for receiving the first ultrasonic signal, and determining, based on the ultrasonic positioning of the first ultrasonic signal, a distance of the wearable device, and when the distance exceeds a preset threshold, sending an alarm command to the alarm unit; and an alarm unit for issuing an alarm signal according to the alarm command.
一种基于超声定位的可穿戴设备,包括:第一超声波发送器:用于发送包含可穿戴设备标识的第一超声波信号;从而由智能终端的第一超声波接收器接收所述第一超声波信号,并由智能终端的第一超声波接收器基于所述第一超声波信号的超声定位确定与所述可穿戴设备的距离,并当所述距离超过预先设定的门限值时,由智能终端的第一超声波接收器向智能终端的报警单元发送报警命令,其中报警单元根据所述报警命令发出报警信号。A wearable device based on ultrasonic positioning, comprising: a first ultrasonic transmitter: for transmitting a first ultrasonic signal including a wearable device identifier; thereby receiving the first ultrasonic signal by a first ultrasonic receiver of the smart terminal, And determining, by the first ultrasonic receiver of the smart terminal, a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and when the distance exceeds a preset threshold, by the smart terminal An ultrasonic receiver sends an alarm command to the alarm unit of the intelligent terminal, wherein the alarm unit issues an alarm signal according to the alarm command.
本发明实施方式提出了一种免同步时钟的测距技术方案,提出基于该测距方法的多个超声波精确定位方法和多个定位系统。The embodiment of the invention proposes a ranging technology scheme for synchronizing clocks, and proposes a plurality of ultrasonic precise positioning methods and a plurality of positioning systems based on the ranging method.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明或现有技术中的技术方案,下面将对本发 明或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solution of the present invention or the prior art, the following will be directed to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS The drawings used in the description of the prior art are briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention, and no one skilled in the art Other drawings can also be obtained from these drawings on the premise of sex.
图1是本发明实施方式超声波测距系统的结构示意图;1 is a schematic structural view of an ultrasonic ranging system according to an embodiment of the present invention;
图2是本发明实施方式超声波测距方法流程图;2 is a flow chart of an ultrasonic ranging method according to an embodiment of the present invention;
图3是本发明实施方式超声波定位示意图;3 is a schematic diagram of ultrasonic positioning according to an embodiment of the present invention;
图4是本发明实施方式超声波定位的第一示范性结构图;4 is a first exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention;
图5是图4中固定设备1收到定位信号的示意图;Figure 5 is a schematic diagram of the positioning signal received by the fixed device 1 of Figure 4;
图6是本发明实施方式超声波定位的第二示范性结构图;6 is a second exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention;
图7是图6中被定位设备收到固定设备1的定位信号的示意图;7 is a schematic diagram of the positioning signal received by the positioning device of the fixed device 1 in FIG. 6;
图8是本发明实施方式超声波定位的第三示范性结构图;8 is a third exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention;
图9是计算图8中L10的计算示意图;Figure 9 is a schematic diagram for calculating the calculation of L10 in Figure 8;
图10是图8中各个时间参数的时序关系图;Figure 10 is a timing diagram of the various time parameters of Figure 8;
图11是根据本发明基于超声定位的定位系统结构图;Figure 11 is a structural view of a positioning system based on ultrasonic positioning according to the present invention;
图12是根据本发明为时间同步方式的定位系统结构图;Figure 12 is a structural diagram of a positioning system in a time synchronization manner according to the present invention;
图13是根据本发明为时间同步方式的定位方法流程图;13 is a flow chart of a positioning method in a time synchronization manner according to the present invention;
图14是根据本发明为不时间同步方式的定位系统结构图;Figure 14 is a structural diagram of a positioning system in a time-insensitive manner according to the present invention;
图15是根据本发明为不时间同步方式的定位方法流程图;15 is a flow chart of a positioning method in a time-insensitive manner according to the present invention;
图16是根据本发明具有协助定位功能的定位系统结构图。Figure 16 is a block diagram of a positioning system having an assisted positioning function in accordance with the present invention.
实施本发明的方式Mode for carrying out the invention
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。 The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
由于超声波指向性强,能量消耗缓慢,在介质中传播的距离较远,因而超声波经常用于距离的测量,如测距仪和物位测量仪等都可以通过超声波来实现。利用超声波检测往往比较迅速、方便、计算简单、易于做到实时控制,并且在测量精度方面能达到工业实用的要求。Due to the strong directivity of the ultrasonic wave, the energy consumption is slow, and the distance traveled in the medium is long. Therefore, the ultrasonic wave is often used for distance measurement, such as a range finder and a level measuring instrument, which can be realized by ultrasonic waves. The use of ultrasonic testing is often quick, convenient, simple to calculate, easy to achieve real-time control, and can meet industrial and practical requirements in terms of measurement accuracy.
总体来说,在一个实施方式中,本发明实施方式提出了一种免同步时钟的测距方法,并提出基于该测距方法的多个超声波精确定位方法和多个定位系统。该系统精度最高可以达到半个采样周期对应的声波传播距离,电路设计更加简单。而且,本发明还提出基于同步时钟测距、免同步时钟测距和超声定位的防被看护人走失的穿戴式设备设计。被看护人可以是儿童、老人、病人、囚犯等需要被看护的人员。在本发明的技术方案中,智能终端可以利用自带的元器件发出和接收超声波,穿戴式设备也可以发生和接收超声波。智能终端利用自带的元器件发生和接收超声波,穿戴式设备也可以发生和接收超声波。智能终端通过超声波测距检测穿戴式设备的距离,当测得距离大于设定值时,智能终端进行声音、设备振动等多种报警方式,提醒多媒体设备携带者儿童的活动范围,以达到防止儿童走失的目的。In general, in one embodiment, an embodiment of the present invention provides a method for ranging from a synchronous clock, and a plurality of ultrasonic precise positioning methods and a plurality of positioning systems based on the ranging method are proposed. The accuracy of the system can reach the acoustic wave propagation distance corresponding to half a sampling period, and the circuit design is simpler. Moreover, the present invention also proposes a wearable device design that prevents loss of caregivers based on synchronous clock ranging, asynchronous clock ranging, and ultrasonic positioning. The caretaker can be a child, an elderly person, a patient, a prisoner, etc. who need to be cared for. In the technical solution of the present invention, the smart terminal can transmit and receive ultrasonic waves by using the self-contained components, and the wearable device can also generate and receive ultrasonic waves. Intelligent terminals generate and receive ultrasonic waves using their own components, and wearable devices can also generate and receive ultrasonic waves. The intelligent terminal detects the distance of the wearable device through ultrasonic ranging. When the measured distance is greater than the set value, the intelligent terminal performs various alarm modes such as sound and device vibration to remind the multimedia device carrier of the child's activity range to prevent the child from being prevented. The purpose of losing.
图1是本发明实施方式超声波测距系统的结构示意图。如图1所示,该测距系统包括:1 is a schematic structural view of an ultrasonic ranging system according to an embodiment of the present invention. As shown in Figure 1, the ranging system includes:
包含第一超声波发送器11、第一超声波接收器12和计算单元13的第一设备1,第一设备1保存有一个预设的时间值ΔT(比如,可以在计算单元13中保存该时间值ΔT);The first device 1 comprising a first ultrasonic transmitter 11, a first ultrasonic receiver 12 and a computing unit 13, the first device 1 holding a preset time value ΔT (for example, the time value can be saved in the calculation unit 13 ΔT);
包含第二超声波接收器21和第二超声波发送器22的第二设备2,第二设备2保存有该预设的时间值ΔT;其中:a second device 2 comprising a second ultrasonic receiver 21 and a second ultrasonic transmitter 22, the second device 2 storing the preset time value ΔT; wherein:
第一超声波发送器11,用于发送第一超声波信号;第二超声波接收器21,用于接收该第一超声波信号;第二超声波发送器22,用于在第 二超声波接收器21接收第一超声波信号的时刻起,再经过该时间值ΔT的时刻发送第二超声波信号;第一超声波接收器12,用于接收第二超声波信号;计算单元13,用于基于在第一设备1记录的、第一超声波发送器11发送第一超声波信号的第一时刻,在第一设备1记录的、第一超声波接收器12接收第二超声波信号的第二时刻,以及该时间值ΔT计算第一设备1与第二设备2之间的距离。a first ultrasonic transmitter 11 for transmitting a first ultrasonic signal; a second ultrasonic receiver 21 for receiving the first ultrasonic signal; and a second ultrasonic transmitter 22 for a second ultrasonic signal is transmitted from the time when the ultrasonic wave receiver 21 receives the first ultrasonic signal, and then passes the time value ΔT; the first ultrasonic receiver 12 is configured to receive the second ultrasonic signal; and the calculating unit 13 is configured to At a first moment recorded by the first device 1 at which the first ultrasonic transmitter 11 transmits the first ultrasonic signal, at a second moment recorded by the first device 1 at which the first ultrasonic receiver 12 receives the second ultrasonic signal, and The time value ΔT calculates the distance between the first device 1 and the second device 2.
第一超声波信号中可以携带第一设备1的标识信息,第二超声波信号中可以携带第二设备2的标识信息,从而可以区分第一超声波信号和第二超声波信号。The first ultrasonic signal may carry the identification information of the first device 1, and the second ultrasonic signal may carry the identification information of the second device 2, so that the first ultrasonic signal and the second ultrasonic signal may be distinguished.
具体地,第一设备1和第二设备2分别保存相同的时间值ΔT。第一设备1基于本地时钟记录第一超声波发生器11发送第一超声波信号的时刻T1。第一超声波信号经过时间T由第二设备2的第二超声波接收器21接收。然后,第二设备2的第二超声波发送器22在第二超声波接收器21接收到第一超声波信号的时刻起,经过时间ΔT后再发送第二超声波信号。在第一设备1和第二设备2之间,超声波在空气中传播经历的路径相同,因此第二超声波信号经过时间T由第一设备1的第一超声波接收器12接收。第一设备1基于本地时钟记录第一超声波接收器12接收第二超声波信号的时刻T2。那么,T+ΔT+T=(T2-T1);Specifically, the first device 1 and the second device 2 respectively hold the same time value ΔT. The first device 1 records the time T1 at which the first ultrasonic wave generator 11 transmits the first ultrasonic signal based on the local clock. The first ultrasonic signal is received by the second ultrasonic receiver 21 of the second device 2 through the time T. Then, the second ultrasonic transmitter 22 of the second device 2 transmits the second ultrasonic signal after the lapse of the time ΔT from the time when the second ultrasonic receiver 21 receives the first ultrasonic signal. Between the first device 1 and the second device 2, the path through which the ultrasonic waves propagate in the air is the same, so that the second ultrasonic signal is received by the first ultrasonic receiver 12 of the first device 1 through the time T. The first device 1 records the time T2 at which the first ultrasonic receiver 12 receives the second ultrasonic signal based on the local clock. Then, T+ΔT+T=(T2-T1);
因此,超声波在在第一设备和第二设备之间的空气中传播的时间T为:T=(T2-T1-ΔT)/2;因此,第一设备1与第二设备2之间的距离L为:L=C*T,其中C为超声波在空气中传播的速度,为常数。ΔT为预设值,其取值范围可以为1毫秒到50秒之间。Therefore, the time T at which the ultrasonic wave propagates in the air between the first device and the second device is: T = (T2 - T1 - ΔT) / 2; therefore, the distance between the first device 1 and the second device 2 L is: L = C * T, where C is the speed at which the ultrasonic wave propagates in the air and is constant. ΔT is a preset value, which can range from 1 millisecond to 50 seconds.
例如:第一设备1发出测距超声波M,从发出测距超声波M到再次接收到第二设备2回复的超声波N的时间差为0.25s,即T2-T1为0.25s,已知第二设备2处理测距超声波M的预设时间ΔT为0.05s,则测距超 声波M和回复超声波N在第一设备1到第二设备2之间单程传播的时间为0.1s,超声波在空气中传播的速度为350m/s,则可以计算出第一设备1与第二设备2之间的距离为350*0.1=35米。For example, the first device 1 sends the ranging ultrasonic wave M, and the time difference from the issuance of the ranging ultrasonic wave M to the ultrasonic wave N recovered by the second device 2 is 0.25 s, that is, T2-T1 is 0.25 s, and the second device 2 is known. The preset time ΔT of the ranging ultrasonic M is 0.05 s, and the ranging is super The time for the single-pass propagation between the first device 1 and the second device 2 is 0.1 s, and the speed at which the ultrasonic wave propagates in the air is 350 m/s, the first device 1 and the second device can be calculated. The distance between 2 is 350*0.1=35 meters.
在一个实施方式中,第一设备1,还用于将计算单元13计算出的第一设备1与第二设备2之间的距离发送到第二设备2。比如,第一设备1可以经由第一超声波发送器11,将包含该距离的超声波信号发送到第二设备2的第二超声波接收器21。第二设备2通过解析该超声波信号,可以获知第二设备2与第一设备1之间的距离。In an embodiment, the first device 1 is further configured to send the distance between the first device 1 and the second device 2 calculated by the computing unit 13 to the second device 2. For example, the first device 1 can transmit an ultrasonic signal containing the distance to the second ultrasonic receiver 21 of the second device 2 via the first ultrasonic transmitter 11. The second device 2 can know the distance between the second device 2 and the first device 1 by analyzing the ultrasonic signal.
在一个实施方式中,第一设备1还包括报警单元14;计算单元13,还用于当第一设备1与第二设备2之间的距离超过预先设定的门限值时,向报警单元14发送报警命令;报警单元14,用于根据报警命令发出报警信号。比如,报警信号可以为光报警、声音报警,振动报警,等等。In an embodiment, the first device 1 further includes an alarm unit 14; the calculation unit 13 is further configured to: when the distance between the first device 1 and the second device 2 exceeds a preset threshold, to the alarm unit 14 sends an alarm command; an alarm unit 14 is configured to issue an alarm signal according to the alarm command. For example, the alarm signal can be a light alarm, an audible alarm, a vibration alarm, and the like.
在一个实施方式中,第一设备2还包括报警单元23。报警单元23,用于当第一设备1与第二设备2之间的距离超过预先设定的门限值时,发出报警信号。比如,报警信号可以为光报警、声音报警,振动报警,等等。In one embodiment, the first device 2 further comprises an alarm unit 23. The alarm unit 23 is configured to issue an alarm signal when the distance between the first device 1 and the second device 2 exceeds a preset threshold. For example, the alarm signal can be a light alarm, an audible alarm, a vibration alarm, and the like.
可见,本发明无需在第一设备1和第二设备2之间发送同步时间即可实现第一设备1和第二设备2之间的测距,因此本发明实施方式实现了免同步时钟的超声波测距。It can be seen that the present invention can realize the ranging between the first device 1 and the second device 2 without transmitting the synchronization time between the first device 1 and the second device 2. Therefore, the embodiment of the present invention implements the ultrasonic wave of the synchronous clock. Ranging.
基于上述分析,本发明还提出了一种超声波测距方法。图2是本发明实施方式超声波测距方法流程图。如图2所示,该方法包括:Based on the above analysis, the present invention also proposes an ultrasonic ranging method. 2 is a flow chart of an ultrasonic ranging method according to an embodiment of the present invention. As shown in Figure 2, the method includes:
步骤201:在保存有时间值的第一设备发送第一超声波信号,并记录第一设备发送第一超声波信号的发送时刻。Step 201: Send a first ultrasonic signal to the first device that saves the time value, and record a sending moment when the first device sends the first ultrasonic signal.
步骤202:在第一设备接收由第二设备发送的第二超声波信号,并记录第一设备接收第二超声波信号的接收时刻,其中第二设备接收第一 超声波信号后,经过时间值的时刻发送所述第二超声波信号。Step 202: Receive, by the first device, a second ultrasonic signal sent by the second device, and record a receiving moment at which the first device receives the second ultrasonic signal, where the second device receives the first After the ultrasonic signal, the second ultrasonic signal is transmitted at a time when the time value is passed.
步骤203:基于所述发送时刻、所述接收时刻以及所述时间值计算第一设备与第二设备之间的距离。Step 203: Calculate a distance between the first device and the second device based on the sending time, the receiving time, and the time value.
在一个实施方式中,该方法还包括:将计算出的所述第一设备与所述第二设备之间的距离发送到第二设备;和/或,当所述第一设备与所述第二设备之间的距离超过预先设定的门限值时,发出报警信号。In one embodiment, the method further includes: transmitting the calculated distance between the first device and the second device to a second device; and/or, when the first device and the first device When the distance between the two devices exceeds the preset threshold, an alarm signal is issued.
本发明实施方式还提出了一种免同步时钟的超声波定位方法,基本原理是三点定位方法。三台(或更多)位置固定且均带有至少一个超声波发生器和至少一个超声波接收器的固定设备。被定位设备优选为移动设备,被定位设备具有至少一个超声波发生器和至少一个超声波接收器。固定设备和移动设备均有唯一ID。固定设备发送带有自身ID的超声波信号,被定位设备进入该定位区域,接收来自固定设备的超声波信号,经过一定时间后将该带有固定设备ID的超声波信号发射回去,根据上述免时钟同步的超声波测距方法,可以得到移动设备与固定设备的距离,同理可以测得移动设备与其他两台固定设备的距离。The embodiment of the invention also proposes an ultrasonic positioning method for the synchronous clock, and the basic principle is a three-point positioning method. Three (or more) stationary devices that are fixed in position and each have at least one ultrasonic generator and at least one ultrasonic receiver. The positioned device is preferably a mobile device having at least one ultrasonic generator and at least one ultrasonic receiver. Both fixed and mobile devices have unique IDs. The fixed device sends an ultrasonic signal with its own ID, and the positioning device enters the positioning area, receives the ultrasonic signal from the fixed device, and transmits the ultrasonic signal with the fixed device ID back after a certain time, according to the above-mentioned clock-free synchronization. The ultrasonic ranging method can obtain the distance between the mobile device and the fixed device, and the distance between the mobile device and the other two fixed devices can be measured.
图3是本发明实施方式超声波定位示意图。如图3所示,在三维坐标系中,固定设备1、固定设备2和固定设备3都具有固定的坐标。为了方便计算,可以假定固定设备3位于三维坐标系的原点。一般性地,固定设备1、固定设备2、固定设备3的坐标为已知的,分别为固定设备1:(x1,y1,z1)、固定设备2:(x2,y2,z2)、固定设备3:(x3,y3,z3)。基于上述免同步时钟的测距方法可以得到移动设备到固定设备1的距离L1,移动设备到固定设备2的距离L2,以及移动设备到固定设备3的距离L3。因此,可以基于三点定位算法计算得到移动设备的坐标(x,y,z)。三点定位算法已经非常成熟,三个方程,三个未知数,有如下方程组1即可解得移动设备(x,y,z)的坐标: 3 is a schematic view of ultrasonic positioning according to an embodiment of the present invention. As shown in FIG. 3, in the three-dimensional coordinate system, the fixed device 1, the fixed device 2, and the fixed device 3 all have fixed coordinates. For the convenience of calculation, it can be assumed that the fixed device 3 is located at the origin of the three-dimensional coordinate system. Generally, the coordinates of the fixed device 1, the fixed device 2, and the fixed device 3 are known, respectively: fixed device 1: (x1, y1, z1), fixed device 2: (x2, y2, z2), fixed device 3: (x3, y3, z3). The distance L1 of the mobile device to the fixed device 1, the distance L2 from the mobile device to the fixed device 2, and the distance L3 from the mobile device to the fixed device 3 can be obtained based on the above-described distance-free method of the synchronous clock. Therefore, the coordinates (x, y, z) of the mobile device can be calculated based on the three-point positioning algorithm. The three-point positioning algorithm is very mature, three equations, three unknowns, and the following equations 1 can solve the coordinates of the mobile device (x, y, z):
Figure PCTCN2016000306-appb-000001
Figure PCTCN2016000306-appb-000001
因此,可以计算出移动设备(x,y,z)的坐标,从而实现移动设备的定位。Therefore, the coordinates of the mobile device (x, y, z) can be calculated to achieve the positioning of the mobile device.
本发明所述超声波定位系统涉及一套多媒体装置,该装置包含如下器件:三维空间中,三个或三个以上多媒体设备位置固定,一个被定位多媒体设备。每个多媒体设备上配有超声波发生器和超声波接收器,每个多媒体设备配有一个或多个处理器或控制器,可以进行数据分析和处理。声波发生器用于发生声波,声波接收器用于接收声波。The ultrasonic positioning system of the present invention relates to a multimedia device comprising the following components: in a three-dimensional space, three or more multimedia devices are fixed in position, and one is positioned as a multimedia device. Each multimedia device is equipped with an ultrasonic generator and an ultrasonic receiver, each of which is equipped with one or more processors or controllers for data analysis and processing. The acoustic wave generator is used to generate sound waves, and the sound wave receiver is used to receive sound waves.
定位方式1:固定设备1发送给被定位设备特定的定位信号,被定位设备收到该信号后在一个预先约定的处理时间后再将该信号再发回给固定设备1,固定设备1计算时间差(减去处理时间)可以得到固定设备1与被定位设备之间的距离L1。相似地,可以得到被定位设备与固定设备2及与固定设备3之间的各自距离L2,L3。固定设备1、固定设备2和固定设备3之间的距离关系已知,则可以精确定位被定位设备相对这三台固定设备的位置。每个固定设备发送信号到移动设备,处理时间相同。被定位设备可以预先存储该预先约定的处理时间。可选地,被定位设备也可以不预先存储处理时间,固定设备发送到被定位设备的信号中可以包含指令信号和定位信号,指令信号中包含该处理时间,被定位设备通过解析该指令信号可以获取处理时间。Positioning mode 1: The fixed device 1 sends a positioning signal specific to the device to be positioned. After receiving the signal, the positioning device sends the signal back to the fixed device 1 after a predetermined processing time. The fixed device 1 calculates the time difference. (minus the processing time) the distance L1 between the fixed device 1 and the positioned device can be obtained. Similarly, the respective distances L2, L3 between the positioned device and the fixed device 2 and the fixed device 3 can be obtained. The distance relationship between the fixed device 1, the fixed device 2 and the fixed device 3 is known, and the position of the positioned device relative to the three fixed devices can be accurately located. Each fixed device sends a signal to the mobile device with the same processing time. The pre-agreed processing time can be pre-stored by the located device. Optionally, the locating device may not store the processing time in advance, and the signal sent by the fixed device to the locating device may include a command signal and a positioning signal, where the processing signal includes the processing time, and the locating device may parse the command signal. Get processing time.
定位方式2:和定位方式1类似,不同的是被定位设备(如移动设备)发送声波信号,固定设备1、固定设备2、固定设备3收到该声波信号后,固定设备在一个预先约定的处理时间后再将信号发回给移动设 备,固定设备发回的信号包含指令信号和定位信号,指令信号包含固定设备的ID和固定设备的处理时间。移动设备计算后得到与各固定设备之间的距离信息,根据该距离信息可以计算出移动设备在房间内的精确位置。Positioning mode 2: Similar to the positioning mode 1, the difference is that the positioning device (such as a mobile device) sends an acoustic signal, and the fixed device 1, the fixed device 2, and the fixed device 3 receive the acoustic signal, and the fixed device is in a pre-agreed Send the signal back to the mobile device after processing time The signal sent back by the fixed device includes a command signal and a positioning signal, and the command signal includes the ID of the fixed device and the processing time of the fixed device. The mobile device calculates the distance information with each fixed device, and according to the distance information, the precise position of the mobile device in the room can be calculated.
定位方式3:固定设备k为主设备,主设备监听固定设备1与被定位设备(移动设备)之间的定位过程,主设备计算收到固定设备1的定位信号和对应的回复信号的时间差,利用固定设备k与固定设备1之间已知的距离计算出被定位设备的可能位置。这种方法只需要一对定位信号即可得到被定位设备的位置。Positioning mode 3: The fixed device k is the master device, and the master device monitors the positioning process between the fixed device 1 and the device to be located (the mobile device), and the master device calculates the time difference between the positioning signal of the fixed device 1 and the corresponding reply signal. The possible position of the positioned device is calculated using the known distance between the fixed device k and the fixed device 1. This method only requires a pair of positioning signals to get the position of the device being positioned.
下面对上述三种方式进行说明。图4是本发明实施方式超声波定位的第一示范性结构图,该结构图对应于定位方式1。The above three methods will be described below. 4 is a first exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention, which corresponds to the positioning mode 1.
在图4中,包括三个固定设备(在图4中为固定设备1、固定设备2和固定设备3)以及被定位设备(在图4中为智能终端)和计算设备,计算设备中保存有固定设备1、固定设备2和固定设备3的各自坐标。In FIG. 4, three fixed devices (fixed device 1, fixed device 2, and fixed device 3 in FIG. 4) and a located device (in FIG. 4, a smart terminal) and a computing device are included, and the computing device stores The respective coordinates of the fixed device 1, the fixed device 2, and the fixed device 3.
固定设备1发送包含固定设备1标识的定位超声波信号,并基于固定设备1的本地时钟记录发送时刻T11。固定设备2发送包含固定设备2标识的定位超声波信号,并基于固定设备2的本地时钟记录发送时刻T21。固定设备3发送包含固定设备3标识的定位超声波信号,并基于固定设备3的本地时钟记录发送时刻T31。The fixed device 1 transmits a positioning ultrasonic signal including the identification of the fixed device 1, and records the transmission time T11 based on the local clock of the fixed device 1. The fixed device 2 transmits a positioning ultrasonic signal including the identification of the fixed device 2, and records the transmission time T21 based on the local clock of the fixed device 2. The fixed device 3 transmits a positioning ultrasonic signal including the identification of the fixed device 3, and records the transmission time T31 based on the local clock of the fixed device 3.
被定位设备(即智能终端)存储有预定时间值ΔT。被定位设备在接收到各个固定设备发送的各自的定位超声波信号后,分别间隔预定时间值(ΔT)向每一个固定设备发送各自的回复超声波信号,其中被定位设备回复给固定设备的回复超声波信号中分别包含各自固定设备的标识。比如,被定位设备回复给固定设备1的回复超声波信号中包含固定设备1的标识;被定位设备回复给固定设备2的回复超声波信号中包含固定 设备2的标识;被定位设备回复给固定设备3的回复超声波信号中包含固定设备3的标识。The positioned device (ie, the smart terminal) stores a predetermined time value ΔT. After receiving the respective positioning ultrasonic signals sent by the respective fixed devices, the positioning device sends respective recovery ultrasonic signals to each fixed device by a predetermined time value (ΔT), wherein the positioning device returns a reply ultrasonic signal to the fixed device. Each contains the identity of the respective fixed device. For example, the reply ultrasonic signal returned by the positioning device to the fixed device 1 includes the identifier of the fixed device 1; the reply ultrasonic signal returned by the positioning device to the fixed device 2 includes the fixed The identifier of the device 2; the reply ultrasonic signal returned by the positioning device to the fixed device 3 contains the identifier of the fixed device 3.
固定设备1接收包含固定设备1标识的回复超声波信号,并基于固定设备1的本地时钟记录接收时刻T12。固定设备2接收包含固定设备2标识的回复超声波信号,并基于固定设备2的本地时钟记录接收时刻T22。固定设备3接收包含固定设备3标识的回复超声波信号,并基于固定设备3的本地时钟记录接收时刻T32。然后,固定设备基于在各自本地记录的、发送各自的定位超声波信号的时刻,在各自本地记录的、接收各自的回复超声波信号的时刻以及预定时间值分别计算与被定位设备之间的各自距离。The fixed device 1 receives the reply ultrasonic signal including the identification of the fixed device 1, and records the reception time T12 based on the local clock of the fixed device 1. The fixed device 2 receives the reply ultrasonic signal including the identification of the fixed device 2, and records the reception time T22 based on the local clock of the fixed device 2. The fixed device 3 receives the reply ultrasonic signal including the identification of the fixed device 3, and records the reception time T32 based on the local clock of the fixed device 3. Then, the fixed device calculates the respective distances from the devices to be positioned, respectively, based on the respective locally recorded moments at which the respective positioning ultrasonic signals are transmitted, at respective times of receiving the respective recovered ultrasonic signals and the predetermined time values.
其中,固定设备1计算出的被定位设备与固定设备1之间的距离为L1,L1=C*T1,而且T1=(T12-T11-ΔT)/2;Wherein, the distance between the located device and the fixed device 1 calculated by the fixed device 1 is L1, L1=C*T1, and T1=(T12-T11-ΔT)/2;
固定设备2计算出的被定位设备与固定设备2之间的距离为L2,L2=C*T2,其中T2=(T22-T21-ΔT)/2;The distance between the positioned device and the fixed device 2 calculated by the fixed device 2 is L2, L2=C*T2, where T2=(T22-T21-ΔT)/2;
固定设备3计算出的被定位设备与固定设备3之间的距离为L3,L3=C*T3,其中T3=(T32-T31-ΔT)/2。The distance between the positioned device and the fixed device 3 calculated by the fixed device 3 is L3, L3 = C*T3, where T3 = (T32 - T31 - ΔT)/2.
然后,固定设备1将计算出的L1,经由与计算设备之间的通信连接发送到计算设备;固定设备2将计算出的L2,经由与计算设备之间的通信连接发送到计算设备;固定设备3将计算出的L3,经由与计算设备之间的通信连接发送到计算设备。Then, the fixed device 1 transmits the calculated L1 to the computing device via a communication connection with the computing device; the fixed device 2 transmits the calculated L2 to the computing device via a communication connection with the computing device; the fixed device 3 The calculated L3 is sent to the computing device via a communication connection with the computing device.
计算设备基于固定设备1、固定设备1和固定设备3的各自坐标以及L1,L2和L3,基于(公式组1)计算出被定位设备的坐标。The computing device calculates the coordinates of the located device based on (formula group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
在上述说明中,被定位设备存储有预定时间值ΔT,被定位设备在接收到各个固定设备发送的各自的定位超声波信号后,分别间隔相同的预定时间值(ΔT)向每一个固定设备发送各自的回复超声波信号。 In the above description, the location device stores a predetermined time value ΔT, and after receiving the respective positioning ultrasonic signals transmitted by the respective fixed devices, the positioning device transmits the respective predetermined time values (ΔT) to each fixed device. Respond to the ultrasonic signal.
可选地,被定位设备可以不预先存储处理时间。三个固定设备发送的三个定位超声波信号中可以包含相同或不相同的处理时间。被定位设备通过解析该指令信号可以获取相应的处理时间。比如,固定设备1发送的定位超声波信号中包含固定设备1的标识和处理时间ΔT1,固定设备1基于固定设备1的本地时钟记录发送时刻T11;固定设备2发送的定位超声波信号中包含固定设备2的标识和处理时间ΔT2,固定设备2基于固定设备2的本地时钟记录发送时刻T21;固定设备3发送的定位超声波信号中包含固定设备3的标识和处理时间ΔT3,固定设备3基于固定设备3的本地时钟记录发送时刻T31,其中ΔT1、ΔT2和ΔT3各不相同。被定位设备在接收到各个固定设备发送的各自的定位超声波信号后,分别间隔各自的处理时间向每一个固定设备发送各自的回复超声波信号。具体地,被定位设备在接收到固定设备1发送的定位超声波信号后,间隔处理时间ΔT1向固定设备1发送包含固定设备1标识的回复超声波信号;被定位设备在接收到固定设备2发送的定位超声波信号后,间隔处理时间ΔT2向固定设备2发送包含固定设备2标识的回复超声波信号;被定位设备在接收到固定设备3发送的定位超声波信号后,间隔处理时间ΔT3向固定设备3发送包含固定设备3标识的回复超声波信号。Alternatively, the located device may not store the processing time in advance. The three positioning ultrasonic signals transmitted by the three fixed devices may contain the same or different processing times. The positioned device can obtain the corresponding processing time by parsing the command signal. For example, the positioning ultrasonic signal transmitted by the fixed device 1 includes the identification of the fixed device 1 and the processing time ΔT1, and the fixed device 1 records the transmission time T11 based on the local clock of the fixed device 1; the positioning ultrasonic signal transmitted by the fixed device 2 includes the fixed device 2 Identification and processing time ΔT2, the fixed device 2 records the transmission time T21 based on the local clock of the fixed device 2; the positioning ultrasonic signal transmitted by the fixed device 3 includes the identification of the fixed device 3 and the processing time ΔT3, and the fixed device 3 is based on the fixed device 3 The local clock records the transmission time T31, where ΔT1, ΔT2, and ΔT3 are different. After receiving the respective positioning ultrasonic signals transmitted by the respective fixed devices, the positioned devices respectively send respective recovery ultrasonic signals to each of the fixed devices at respective processing times. Specifically, after the positioning device receives the positioning ultrasonic signal sent by the fixed device 1, the interval processing time ΔT1 sends a reply ultrasonic signal including the identifier of the fixed device 1 to the fixed device 1; and the positioned device receives the positioning sent by the fixed device 2 After the ultrasonic signal, the interval processing time ΔT2 sends a reply ultrasonic signal including the identifier of the fixed device 2 to the fixed device 2; after receiving the positioning ultrasonic signal sent by the fixed device 3, the positioning device sends the fixed processing time 3 to the fixed device 3 and includes the fixed The reply ultrasonic signal identified by device 3.
固定设备1接收包含固定设备1标识的回复超声波信号,并基于固定设备1的本地时钟记录接收时刻T12。固定设备2接收包含固定设备2标识的回复超声波信号,并基于固定设备2的本地时钟记录接收时刻T22。固定设备3接收包含固定设备3标识的回复超声波信号,并基于固定设备3的本地时钟记录接收时刻T32。然后,各个固定设备基于在各自本地记录的、发送各自的定位超声波信号的时刻,在各自本地记录的、接收各自的回复超声波信号的时刻以及预定时间值分别计算与被定位设备之间的各自距离。此时,固定设备1计算出的被定位设备与固定 设备1之间的距离为L1,L1=C*T1,而且T1=(T12-T11-ΔT1)/2;固定设备2计算出的被定位设备与回定设备2之间的距离为L2,L2=C*T2,其中T2=(T22-T21-ΔT2)/2;固定设备3计算出的被定位设备与固定设备3之间的距离为L3,L3=C*T3,其中T3=(T32-T31-ΔT3)/2。然后,固定设备1将计算出的L1,经由与计算设备之间的通信连接发送到计算设备;固定设备2将计算出的L2,经由与计算设备之间的通信连接发送到计算设备;固定设备3将计算出的L3,经由与计算设备之间的通信连接发送到计算设备。计算设备基于固定设备1、固定设备1和固定设备3的各自坐标以及L1,L2和L3,基于(公式组1)计算出被定位设备的坐标。The fixed device 1 receives the reply ultrasonic signal including the identification of the fixed device 1, and records the reception time T12 based on the local clock of the fixed device 1. The fixed device 2 receives the reply ultrasonic signal including the identification of the fixed device 2, and records the reception time T22 based on the local clock of the fixed device 2. The fixed device 3 receives the reply ultrasonic signal including the identification of the fixed device 3, and records the reception time T32 based on the local clock of the fixed device 3. Then, each fixed device calculates the respective distances from the located devices at the time of respectively receiving the respective recovered ultrasonic signals and the predetermined time values respectively at the time of transmitting the respective positioning ultrasonic signals recorded in the respective locals. . At this time, the fixed device 1 calculates the positioned device and fixes The distance between the devices 1 is L1, L1=C*T1, and T1=(T12-T11-ΔT1)/2; the distance between the positioned device and the return device 2 calculated by the fixed device 2 is L2, L2 =C*T2, where T2=(T22-T21-ΔT2)/2; the distance between the positioned device and the fixed device 3 calculated by the fixed device 3 is L3, L3=C*T3, where T3=(T32- T31-ΔT3)/2. Then, the fixed device 1 transmits the calculated L1 to the computing device via a communication connection with the computing device; the fixed device 2 transmits the calculated L2 to the computing device via a communication connection with the computing device; the fixed device 3 The calculated L3 is sent to the computing device via a communication connection with the computing device. The computing device calculates the coordinates of the located device based on (formula group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
图5是图4中固定设备1发送和接收超声波信号的示意图。如图5所示,固定设备发送的超声波信号经过T1时间后,由被定位设备收到,再经过ΔT时间,被定位设备发送超声波信号,再经过T1时间由固定设备接收。被定位设备将整个声波信号接收完毕后处理再发送出去,所以接收和发送的声波中间没有重叠。Figure 5 is a schematic diagram of the transmitting device 1 of Figure 4 transmitting and receiving ultrasonic signals. As shown in FIG. 5, after the ultrasonic signal transmitted by the fixed device passes the T1 time, it is received by the positioning device, and after the ΔT time, the ultrasonic signal is sent by the positioning device, and then received by the fixed device after the T1 time. After the received device receives the entire acoustic signal and processes it and then transmits it, there is no overlap between the received and transmitted sound waves.
图6是本发明实施方式超声波定位的第二示范性结构图,该结构图对应于定位方式2。图6包括至少三个固定设备和被定位设备,被定位设备保存有至少三个固定设备的各自坐标。FIG. 6 is a second exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention, which corresponds to the positioning mode 2. Figure 6 includes at least three fixed devices and positioned devices that hold respective coordinates of at least three fixed devices.
被定位设备,分别向至少三个固定设备中的每一个发送各自的定位超声波信号;至少三个固定设备中的每一个,用于在接收到被定位设备发送的各自的定位超声波信号后,分别间隔一预定时间值(ΔT)向被定位设备发送各自的回复超声波信号;被定位设备,还用于基于本地记录的、向至少三个固定设备中的每一个发送各自的定位超声波信号的时刻,本地记录的、接收至少三个固定设备中的每一个各自发送的回复超声波信号的时刻以及该预定时间值,分别计算被定位设备与所述至少三个固 定设备中的每一个之间的距离;并基于至少三个固定设备的各自坐标以及被定位设备与至少三个固定设备中的每一个之间的距离,计算被定位设备的坐标。The located device sends a respective positioning ultrasonic signal to each of the at least three fixed devices; each of the at least three fixed devices is configured to respectively receive the respective positioning ultrasonic signals sent by the positioning device, respectively Separating a predetermined time value (ΔT) to send the respective reply ultrasonic signals to the positioned device; the positioned device is further configured to, based on the locally recorded, the time at which the respective positioning ultrasonic signals are transmitted to each of the at least three fixed devices, a locally recorded time at which each of the at least three fixed devices receives a reply ultrasonic signal and the predetermined time value respectively calculate the positioned device and the at least three solids The distance between each of the devices is determined; and the coordinates of the located device are calculated based on the respective coordinates of the at least three fixed devices and the distance between the positioned device and each of the at least three fixed devices.
与定位方式1不同之处在于,被定位设备进入室内后发送指令信号和定位信号,固定设备1、固定设备2、固定设备3收到信号后,在一个预先约定的时间值(ΔT)后再发送出去,被定位设备收到该信号后,计算与固定设备间的距离,由此可以得出被定位设备在室内的精确位置。The difference from the positioning mode 1 is that after the positioning device enters the room, the command signal and the positioning signal are sent, and after the fixed device 1, the fixed device 2, and the fixed device 3 receive the signal, after a predetermined time value (ΔT), After being sent out, after the received signal is received by the positioning device, the distance between the fixed device and the fixed device is calculated, thereby obtaining the precise position of the positioned device in the room.
在图6中,被定位设备,分别向固定设备1、固定设备2和固定设备3发送各自的定位超声波信号。优选地,在该定位超声波信号中包含有预定时间值(ΔT)以及作为目的接收设备的固定设备的标识。而且,被定位设备基于本地时钟,分别记录向固定设备1、固定设备2和固定设备3发送各自的定位超声波信号的时刻。比如,被定位设备基于本地时钟记录向固定设备1发送定位超声波信号的时刻为T11,被定位设备向固定设备1发送的定位超声波信号中包含固定设备1的标识信息;被定位设备基于本地时钟记录向固定设备1发送定位超声波信号的时刻为T21,被定位设备向固定设备2发送的定位超声波信号中包含固定设备2的标识信息;被定位设备基于本地时钟记录向固定设备1发送定位超声波信号的时刻为T31,被定位设备向固定设备3发送的定位超声波信号中包含固定设备3的标识信息。In FIG. 6, the positioned device transmits respective positioning ultrasonic signals to the fixed device 1, the fixed device 2, and the fixed device 3, respectively. Preferably, the positioning ultrasonic signal contains a predetermined time value (ΔT) and an identification of the stationary device as the destination receiving device. Moreover, the locating device records the timing of transmitting the respective positioning ultrasonic signals to the fixed device 1, the fixed device 2, and the fixed device 3, respectively, based on the local clock. For example, the time at which the positioning device sends the positioning ultrasonic signal to the fixed device 1 based on the local clock record is T11, and the positioning ultrasonic signal sent by the positioning device to the fixed device 1 includes the identification information of the fixed device 1; the positioned device records based on the local clock. The time at which the positioning ultrasonic signal is transmitted to the fixed device 1 is T21, and the positioning ultrasonic signal transmitted by the positioning device to the fixed device 2 includes the identification information of the fixed device 2; the positioned device transmits the positioning ultrasonic signal to the fixed device 1 based on the local clock record. The time is T31, and the positioning ultrasonic signal transmitted by the positioning device to the fixed device 3 includes the identification information of the fixed device 3.
固定设备1在接收到被定位设备发送给自己的定位超声波信号(即包含有固定设备1的标识信息的定位超声波信号)后,从中解析出预定时间值(ΔT),并在间隔预定时间值(ΔT)之后,向被定位设备发送回复超声波信号,该回复超声波信号中包含定位设备1的标识信息。被定位设备基于本地时钟,记录接收到固定设备1发送的回复超声波信号的时刻,为T12。固定设备2在接收到被定位设备发送给自己的定位超声 波信号(即包含有固定设备2的标识信息的定位超声波信号)后,从中解析出预定时间值(ΔT),并间隔预定时间值(ΔT)向被定位设备发送回复超声波信号,该回复超声波信号中包含定位设备2的标识信息。被定位设备基于本地时钟,记录接收到固定设备2发送的回复超声波信号的时刻,为T22。固定设备3在接收到被定位设备发送给自己的定位超声波信号(即包含有固定设备3的标识信息的定位超声波信号)后,从中解析出预定时间值(ΔT),并间隔预定时间值(ΔT)向被定位设备发送回复超声波信号,该回复超声波信号中包含定位设备3的标识信息。被定位设备基于本地时钟,记录接收到固定设备3发送的回复超声波信号的时刻,为T32。After receiving the positioning ultrasonic signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 1) sent by the positioning device, the fixed device 1 parses the predetermined time value (ΔT) therefrom and selects the predetermined time value ( After ΔT), a reply ultrasonic signal is transmitted to the positioned device, and the reply ultrasonic signal includes identification information of the positioning device 1. The locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 1 is received based on the local clock, which is T12. The fixed device 2 receives the positioning ultrasound sent to itself by the positioning device After the wave signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 2), the predetermined time value (ΔT) is parsed therefrom, and a predetermined ultrasonic wave signal is sent to the positioned device at a predetermined time value (ΔT), the reply ultrasonic signal The identification information of the positioning device 2 is included. The locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 2 is received based on the local clock, which is T22. After receiving the positioning ultrasonic signal (ie, the positioning ultrasonic signal including the identification information of the fixed device 3) transmitted by the positioning device, the fixed device 3 parses the predetermined time value (ΔT) therefrom and intervals the predetermined time value (ΔT). Sending a reply ultrasonic signal to the located device, the reply ultrasonic signal containing the identification information of the positioning device 3. The locating device records the time at which the acknowledgment ultrasonic signal transmitted by the fixed device 3 is received based on the local clock, which is T32.
被定位设备,分别计算被定位设备与至少三个固定设备中的每一个之间的距离,其中:The located device calculates the distance between the positioned device and each of the at least three fixed devices, wherein:
被定位设备与固定设备1之间的距离为L1,L1=C*T1,而且T1=(T12-T11-ΔT)/2;被定位设备与固定设备2之间的距离为L2,L2=C*T2,其中T2=(T22-T21-ΔT)/2;被定位设备与固定设备3之间的距离为L3,L3=C*T3,其中T3=(T32-T31-ΔT)/2。The distance between the positioned device and the fixed device 1 is L1, L1=C*T1, and T1=(T12-T11-ΔT)/2; the distance between the positioned device and the fixed device 2 is L2, L2=C *T2, where T2 = (T22 - T21 - ΔT) / 2; the distance between the positioned device and the fixed device 3 is L3, L3 = C * T3, where T3 = (T32 - T31 - ΔT)/2.
而且,被定位设备基于固定设备1、固定设备1和固定设备3的各自坐标以及L1,L2和L3,基于(公式组1)计算出被定位设备的坐标。Moreover, the positioned device calculates the coordinates of the positioned device based on (Formula Group 1) based on the respective coordinates of the fixed device 1, the fixed device 1 and the fixed device 3, and L1, L2 and L3.
图7是图6中被定位设备收到固定设备1的定位信号的示意图。FIG. 7 is a schematic diagram of the positioning signal received by the positioning device of FIG. 6 from the fixed device 1.
图8是本发明实施方式超声波定位的第三示范性结构图。Fig. 8 is a third exemplary structural diagram of ultrasonic positioning according to an embodiment of the present invention.
如图8所示,三维空间中有至少三台固定设备和至少一台被定位设备。三台固定设备中,其中一台为主设备,另外两台为固定设备1和固定设备2。固定设备1和固定设备2分别发送和接收超声波信号,而并不计算与被定位设备之间的距离。主设备分别监听固定设备1和固定设备2与被定位设备之间的定位过程,并分别计算出固定设备1与被定位 设备之间的距离以及固定设备2与被定位设备之间的距离。主设备的位置固定。主设备保存有固定设备1、固定设备2以及主设备的坐标。As shown in FIG. 8, there are at least three fixed devices and at least one positioned device in the three-dimensional space. Among the three fixed devices, one of them is a master device, and the other two are a fixed device 1 and a fixed device 2. The fixed device 1 and the fixed device 2 respectively transmit and receive ultrasonic signals without calculating the distance from the device being positioned. The master device separately monitors the positioning process between the fixed device 1 and the fixed device 2 and the device to be located, and separately calculates the fixed device 1 and is positioned. The distance between the devices and the distance between the fixed device 2 and the device being positioned. The location of the master device is fixed. The master device stores the coordinates of the fixed device 1, the fixed device 2, and the master device.
固定设备1,用于发送第一定位超声波信号;固定设备2,用于发送第二定位超声波信号;被定位设备,用于在接收到第一定位超声波信号后,间隔预定时间值发送第一回复超声波信号,在接收到第二定位超声波信号后,间隔该预定时间值发送第二回复超声波信号;主设备,用于基于接收到第一定位超声波信号与接收到第一回复超声波信号的第一时间差,计算固定设备1与被定位设备之间的第一距离,基于接收到第二定位超声波信号与接收到第二回复超声波信号的第二时间差,计算固定设备2与被定位设备之间的第二距离,并基于第一距离、第二距离、主设备与被定位设备之间的第三距离以及固定设备1的坐标、固定设备2的坐标以及主设备的坐标,计算被定位设备的坐标。图8中的参数定义如下:L0为被定位设备与主设备之间的距离,T0为超声波信号从被定位设备行进到主设备所需的时间,L0与T0成正比;L1为被定位设备与固定设备1之间的距离,T1为超声波信号从被定位设备行进到固定设备1所需的时间,L1与T1成正比;L2为被定位设备与固定设备2之间的距离,T2为超声波信号从被定位设备行进到固定设备2所需的时间,L2与T2成正比;L10为主设备与固定设备1之间的距离,T10为超声波信号从被主设备行进到固定设备1所需的时间,L10与T10成正比;L20为主设备与固定设备2之间的距离,T20为超声波信号从主设备行进到固定设备2所需的时间,L20与T20成正比;L12为固定设备1与固定设备2之间的距离,T12为超声波信号从固定设备1行进到固定设备2所需的时间,L12与T12成正比;其中,L10,L20,L12,T10,T20,T12为已知,主设备与被定位设备之间的距离可以通过上述免时钟同步方法可以得到,即L0和T0为已知,L1,L2,T1,T2为未知。 The fixed device 1 is configured to send a first positioning ultrasonic signal; the fixed device 2 is configured to send a second positioning ultrasonic signal; and the positioning device is configured to send the first reply after a predetermined time value after receiving the first positioning ultrasonic signal The ultrasonic signal transmits a second return ultrasonic signal at intervals of the predetermined time value after receiving the second positioning ultrasonic signal; and the main device is configured to perform a first time difference based on receiving the first positioning ultrasonic signal and receiving the first return ultrasonic signal Calculating a first distance between the fixed device 1 and the positioned device, and calculating a second between the fixed device 2 and the positioned device based on the second time difference between receiving the second positioning ultrasonic signal and receiving the second reply ultrasonic signal The coordinates of the located device are calculated based on the first distance, the second distance, the third distance between the master device and the device being positioned, the coordinates of the fixed device 1, the coordinates of the fixed device 2, and the coordinates of the master device. The parameters in Figure 8 are defined as follows: L0 is the distance between the device being located and the master device, and T0 is the time required for the ultrasonic signal to travel from the device to the master device. L0 is proportional to T0; L1 is the device to be located and The distance between the fixed devices 1, T1 is the time required for the ultrasonic signal to travel from the positioned device to the fixed device 1, L1 is proportional to T1; L2 is the distance between the positioned device and the fixed device 2, and T2 is the ultrasonic signal The time required to travel from the location device to the fixed device 2, L2 is proportional to T2; L10 is the distance between the master device and the fixed device 1, and T10 is the time required for the ultrasonic signal to travel from the master device to the stationary device 1 L10 is proportional to T10; L20 is the distance between the main device and the fixed device 2, and T20 is the time required for the ultrasonic signal to travel from the host device to the fixed device 2, L20 is proportional to T20; L12 is fixed device 1 and fixed The distance between the devices 2, T12 is the time required for the ultrasonic signal to travel from the fixed device 1 to the fixed device 2, L12 is proportional to T12; wherein L10, L20, L12, T10, T20, T12 are known, the master device With the device being located The distance between the two can be obtained by the above-mentioned clock-free synchronization method, that is, L0 and T0 are known, and L1, L2, T1, and T2 are unknown.
将被定位设备、主设备、固定设备1分离出来如图9所示。图9为计算图8中L10的计算示意图。基于图9,固定设备1发出超声波信号,被定位设备与主设备均能接收到,有两个时间线:The device to be positioned, the master device, and the fixed device 1 are separated as shown in FIG. Fig. 9 is a diagram showing the calculation of L10 in Fig. 8. Based on Fig. 9, the fixed device 1 emits an ultrasonic signal, which can be received by both the positioning device and the main device, and has two timelines:
第一条时间线:固定设备1发出超声波信号,经过T1时间由被定位设备接收到,被定位设备接收到超声波信号后经过ΔT时间发出,该超声波信号经过T 1时间由固定设备1接收。The first timeline: the fixed device 1 sends an ultrasonic signal, which is received by the positioning device after the time T1, and is sent by the positioning device after the ultrasonic signal is sent through the ΔT time, and the ultrasonic signal is received by the fixed device 1 after the time T1.
第二条时间线:固定设备1发出超声波信号,经过T10时间又主设备接收到,当被定位设备发出该超声波信后经过T0时间又被主设备接收到,主设备接收到两次超声波信号的时间间隔记为T。The second timeline: the fixed device 1 sends an ultrasonic signal, which is received by the main device after the T10 time. When the ultrasonic signal is sent by the positioning device, it is received by the main device after the T0 time, and the main device receives the ultrasonic signal twice. The time interval is recorded as T.
图10为图8中各个时间参数的时序关系图;由图10可以得出T1+ΔT=T10+T-T0;可以得到:T1=T10+T-T0-ΔT;C是声波在空气中的传输速度,为常数。因此,可以计算得出L10,同理可以得出L20,这样已知各设备之间的距离,三个主设备的坐标,就可以知道被定位设备的具体坐标。10 is a timing relationship diagram of each time parameter in FIG. 8; from FIG. 10, T1+ΔT=T10+T-T0 can be obtained; and T1=T10+T-T0-ΔT can be obtained; C is a sound wave in the air. The transmission speed is constant. Therefore, L10 can be calculated. Similarly, L20 can be obtained. Thus, the distance between each device and the coordinates of the three master devices can be known, and the specific coordinates of the device to be located can be known.
假设,ΔT=0.01s;L10=17m;L0=14m;T=0.08s;Assume that ΔT = 0.01 s; L10 = 17 m; L0 = 14 m; T = 0.08 s;
可以有方程:T0=L0/C;T10=L10/C;T1=T10+T-T0-ΔT;L1=T1*C;最后得出L=28m。There may be an equation: T0 = L0 / C; T10 = L10 / C; T1 = T10 + T - T0 - ΔT; L1 = T1 * C; finally L = 28m.
同理可以算出被定位设备与固定设备2之间的距离L2。根据三点定位原理算出被定位设备的坐标,已知三台固定设备的坐标为:(x0,y0,z0):主设备在地图中的坐标;(x1,y1,z1):固定设备1在地图中的坐标;(x2,y2,z2):固定设备2在地图中的坐标;Similarly, the distance L2 between the positioned device and the fixed device 2 can be calculated. Calculate the coordinates of the device to be positioned according to the three-point positioning principle. The coordinates of the three fixed devices are known as: (x0, y0, z0): the coordinates of the master device in the map; (x1, y1, z1): the fixed device 1 is The coordinates in the map; (x2, y2, z2): the coordinates of the fixed device 2 in the map;
则需要计算被定位设备在地图中坐标(x,y,z)。Then you need to calculate the coordinates (x, y, z) of the positioned device in the map.
假设:(x0,y0,z0)=(1,2,1);(x1,y1,z1)=(1,4,1);(x2,y3,z3)=(1,3,0);L0=4.89;L1=4.47;L2=5.09;Assume that: (x0, y0, z0) = (1, 2, 1); (x1, y1, z1) = (1, 4, 1); (x2, y3, z3) = (1, 3, 0); L0=4.89; L1=4.47; L2=5.09;
根据三点定位原理: According to the three-point positioning principle:
Figure PCTCN2016000306-appb-000002
Figure PCTCN2016000306-appb-000002
Figure PCTCN2016000306-appb-000003
Figure PCTCN2016000306-appb-000003
Figure PCTCN2016000306-appb-000004
Figure PCTCN2016000306-appb-000004
可以得出被定位设备的坐标(x,y,z)=(5,4,3)。It can be derived that the coordinates of the device being located (x, y, z) = (5, 4, 3).
本发明还提出了一种基于穿戴式设备的定位方法。智能终端通过超声波测距检测与被看护人的距离,当距离超过预先设定的门限值时,智能终端可以进行声音、设备振动等多种报警方式,提醒智能终端携带者关于被看护人的活动范围,以达到防止被看护人走失的目的。The invention also proposes a positioning method based on a wearable device. The intelligent terminal detects the distance from the caretaker by ultrasonic ranging. When the distance exceeds a preset threshold, the intelligent terminal can perform various alarm modes such as sound and equipment vibration to remind the intelligent terminal carrier about the caretaker. The scope of activities to achieve the purpose of preventing the loss of the caretaker.
图11为根据本发明基于超声定位的定位系统结构图。如图11所示,该系统包括第一可穿戴设备和智能终端。其中:第一可穿戴设备包括第一超声波发送器;智能终端包括第一超声波接收器和报警单元;第一超声波发送器,用于发送包含第一可穿戴设备标识的第一超声波信号;第一超声波接收器,用于接收第一超声波信号,并基于第一超声波信号的超声定位确定与可穿戴设备的距离,并当距离超过预先设定的门限值时,向报警单元发送报警命令;报警单元,用于根据报警命令发出报警信号。Figure 11 is a block diagram of a positioning system based on ultrasonic positioning in accordance with the present invention. As shown in FIG. 11, the system includes a first wearable device and a smart terminal. Wherein: the first wearable device comprises a first ultrasonic transmitter; the intelligent terminal comprises a first ultrasonic receiver and an alarm unit; the first ultrasonic transmitter is configured to transmit a first ultrasonic signal comprising the first wearable device identifier; The ultrasonic receiver is configured to receive the first ultrasonic signal, determine a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and send an alarm command to the alarm unit when the distance exceeds a preset threshold; Unit for issuing an alarm signal according to an alarm command.
在一个实施方式中,报警单元具体可以通过声音报警、振动报警、闪光报警等方式发出报警。在一个实施方式中,第一可穿戴设备还包括第二超声波接收器和存储单元;第二超声波接收器,用于接收除第一可穿戴设备之外的其他可穿戴设备发送的第二超声波信号,并从所述第二超声波信号中解析出所述除第一可穿戴设备之外的其他可穿戴设备的标识;存储单元,用于关联存储所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及所述接收第二超声波信号时的位置;第一超声波发送器,用于当接收到智能终端发出的包含除第一可穿戴设备之外的其他可穿戴设备的标识的超声波信号时, 向智能终端发送包含第二超声波信号的接收时间、除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置的第三超声波信号,从而由智能终端基于第二超声波信号的接收时间、除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置确定除第一可穿戴设备之外的其他可穿戴设备的历史参考位置。In an embodiment, the alarm unit may specifically issue an alarm by means of an audible alarm, a vibration alarm, a flash alarm, or the like. In one embodiment, the first wearable device further includes a second ultrasonic receiver and a storage unit; and the second ultrasonic receiver is configured to receive the second ultrasonic signal sent by the wearable device other than the first wearable device And parsing, from the second ultrasonic signal, the identifier of the wearable device other than the first wearable device; the storage unit, configured to associate the storage time of the second ultrasonic signal, the dividing An identifier of the other wearable device other than the first wearable device and a position when the second ultrasonic signal is received; a first ultrasonic transmitter configured to receive, when received by the smart terminal, include the first wearable device When other ultrasonic signals of the wearable device are identified, Transmitting, to the smart terminal, a reception time including the second ultrasonic signal, an identifier of the wearable device other than the first wearable device, and a third ultrasonic signal of the position when the second ultrasonic signal is received, thereby being based on the second by the intelligent terminal The reception time of the ultrasonic signal, the identification of the wearable device other than the first wearable device, and the position when the second ultrasonic signal is received determine the historical reference position of the wearable device other than the first wearable device.
智能终端可以包括但是不局限于:功能手机、智能手机、掌上电脑、个人电脑(PC)、平板电脑或个人数字助理(PDA),等等。而且,智能终端适用于任意的智能终端操作系统,具体可以采用的操作系统包括但是不局限于:安卓(Andorid)、Palm OS、Symbian(塞班)、Windows mobile、Linux、Android(安卓)、iPhone(苹果)OS、Black Berry(黑莓)OS 6.0、Windows Phone系列,等等。在本发明实施方式中,智能终端具体可以采用Andorid操作系统,而且智能终端可以采用到Andorid的各个版本之中,包括但是不局限于:阿童木(Android Beta)、发条机器人(Android 1.0)、纸杯蛋糕(Android 1.5)、甜甜圈(Android 1.6)、松饼(Android 2.0/2.1),冻酸奶(Android 2.2)、姜饼(Android 2.3)、蜂巢(Android 3.0)、冰激凌三明治(Android 4.0)、果冻豆(Jelly Bean,Android4.1)等版本。以上详细罗列了Android平台的具体版本,本领域技术人员可以意识到,本发明实施方式并不局限于上述罗列版本,而还可以适用于其他基于Android软件架构的任意版本之中。Smart terminals can include, but are not limited to, feature phones, smart phones, PDAs, personal computers (PCs), tablets or personal digital assistants (PDAs), and the like. Moreover, the smart terminal is applicable to any smart terminal operating system, and specific operating systems include but are not limited to: Android (Andorid), Palm OS, Symbian (Saipan), Windows mobile, Linux, Android (Android), iPhone. (Apple) OS, Blackberry OS 6.0, Windows Phone series, and more. In the embodiment of the present invention, the smart terminal may specifically adopt the Andorid operating system, and the smart terminal may adopt various versions of Andorid, including but not limited to: Android Beta, clockwork robot (Android 1.0) , Cupcakes (Android 1.5), Donuts (Android 1.6), Muffins (Android 2.0/2.1), Frozen Yogurt (Android 2.2), Gingerbread (Android 2.3), Honeycomb (Android 3.0), Ice Cream Sandwich (Android 4.0 ), Jelly Bean (Android 4.1) and other versions. The specific version of the Android platform is listed in detail above. Those skilled in the art can appreciate that the embodiments of the present invention are not limited to the above listed version, but can also be applied to any other version based on the Android software architecture.
本发明提出两种超声测距的方法,一种是智能终端与可穿戴设备之间时间同步的超声测距;一种是智能终端与可穿戴设备之间无需时间同步的超声测距方法。The invention provides two methods for ultrasonic ranging, one is ultrasonic time ranging between a smart terminal and a wearable device; and the other is an ultrasonic ranging method between a smart terminal and a wearable device without time synchronization.
图12是根据本发明为时间同步方式的定位系统结构图。如图12所示,该系统包括第一可穿戴设备和智能终端。第一可穿戴设备包括第一超声波发送器;智能终端包括第一超声波接收器和报警单元;第一超声 波发送器,用于发送包含第一可穿戴设备标识的第一超声波信号;第一超声波接收器,用于接收第一超声波信号,并基于第一超声波信号的超声定位确定与可穿戴设备的距离,并当距离超过预先设定的门限值时,向报警单元发送报警命令;第一可穿戴设备和智能终端分别包括时间同步单元;智能终端的时间同步单元,用于向第一可穿戴设备的时间同步单元发送时间同步信号;第一可穿戴设备的时间同步单元,用于基于该时间同步信号与智能终端保持时间同步;第一超声波发送器发送的第一超声波信号进一步包含第一超声波信号的发送时间点T1;第一超声波接收器,用于记录第一超声波信号的接收时间点T2,从第一超声波信号中解析出发送时间点T1,并计算与可穿戴设备的距离L,其中:L=(T2-T1)×V;V为超声波在空气中的传播速度。报警单元,用于根据报警命令发出报警信号。具体地,智能终端可以通过超声波方式、wifi方式、蓝牙方式等电磁传输方式与第一可穿戴设备保持时间同步。Figure 12 is a block diagram of a positioning system in a time synchronized manner in accordance with the present invention. As shown in FIG. 12, the system includes a first wearable device and a smart terminal. The first wearable device includes a first ultrasonic transmitter; the intelligent terminal includes a first ultrasonic receiver and an alarm unit; the first ultrasound a wave transmitter for transmitting a first ultrasonic signal including a first wearable device identifier; a first ultrasonic receiver for receiving the first ultrasonic signal, and determining a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal And sending an alarm command to the alarm unit when the distance exceeds a preset threshold; the first wearable device and the smart terminal respectively comprise a time synchronization unit; the time synchronization unit of the intelligent terminal is configured to the first wearable device The time synchronization unit sends a time synchronization signal; the time synchronization unit of the first wearable device is configured to maintain time synchronization with the smart terminal based on the time synchronization signal; the first ultrasonic signal transmitted by the first ultrasonic transmitter further includes the first ultrasonic signal a transmission time point T1; a first ultrasonic receiver for recording a reception time point T2 of the first ultrasonic signal, parsing a transmission time point T1 from the first ultrasonic signal, and calculating a distance L from the wearable device, wherein: L = (T2-T1) × V; V is the propagation speed of the ultrasonic wave in the air. An alarm unit for issuing an alarm signal according to an alarm command. Specifically, the smart terminal can maintain time synchronization with the first wearable device by using an electromagnetic transmission manner such as an ultrasonic method, a wifi method, or a Bluetooth method.
在一个实施方式中,第一可穿戴设备还包括第二超声波接收器和存储单元(图12中没有画出)。第二超声波接收器,用于接收除第一可穿戴设备之外的其他可穿戴设备发送的第二超声波信号,并从所述第二超声波信号中解析出所述除第一可穿戴设备之外的其他可穿戴设备的标识;存储单元,用于关联存储所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及所述接收第二超声波信号时的位置;第一超声波发送器,用于当接收到智能终端发出的包含所述除第一可穿戴设备之外的其他可穿戴设备的标识的超声波信号时,向智能终端发送包含所述第二超声波信号的接收时间、除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置的第三超声波信号,从而由所述智能终端基于所述第二超声波信号的接收时间、除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第 二超声波信号时的位置确定除第一可穿戴设备之外的其他可穿戴设备的历史参考位置。In one embodiment, the first wearable device further includes a second ultrasonic receiver and a storage unit (not shown in FIG. 12). a second ultrasonic receiver, configured to receive a second ultrasonic signal sent by the wearable device other than the first wearable device, and parse the second ultrasonic signal from the second wearable device The identifier of the other wearable device; the storage unit, configured to associate the storage time of the second ultrasonic signal, the identifier of the wearable device other than the first wearable device, and the receiving the second ultrasonic signal a first ultrasonic transmitter, configured to: when receiving an ultrasonic signal sent by the smart terminal that includes the identifier of the wearable device other than the first wearable device, send the a receiving time of the ultrasonic signal, an identification of the wearable device other than the first wearable device, and a third ultrasonic signal of the position when the second ultrasonic signal is received, thereby being based on the second ultrasonic signal by the intelligent terminal Receiving time, identification of other wearable devices other than the first wearable device, and receiving The position at the time of the ultrasonic signal determines the historical reference position of the wearable device other than the first wearable device.
当对测距精度要求不高时,可以采用时间同步方式进行超声波定位。图13根据本发明为时间同步方式的定位方法流程图,在该方法中,第一穿戴式设备具体实施为具有超声波发送功能的手环。手环中设置有自身的标识;智能终端中保存有需要监测的手环的标识。When the accuracy of the ranging is not high, the time synchronization method can be used for ultrasonic positioning. FIG. 13 is a flow chart of a positioning method in a time synchronization manner according to the present invention, in which the first wearable device is embodied as a wristband having an ultrasonic transmission function. The wristband is provided with its own identifier; the smart terminal stores the identifier of the wristband to be monitored.
如图13所示,该方法包括:As shown in FIG. 13, the method includes:
步骤301-步骤303:手环定时发送带自身标识的超声波,智能终端接收超声波。Step 301 - Step 303: The wristband periodically transmits an ultrasonic wave with its own identification, and the intelligent terminal receives the ultrasonic wave.
步骤304:智能终端判断接收到的超声波中所携带的标识是否与需要监测的手环的标识相匹配,如果是则执行步骤305及其后续步骤;如果不是,则返回执行步骤303。优选地,当智能终端判定接收到的超声波中所携带的标识是否与需要监测的手环的标识不匹配时,或不能接收到包含需要监测的手环的标识的超声波信号时,进一步发出报警。Step 304: The smart terminal determines whether the identifier carried in the received ultrasonic wave matches the identifier of the wristband to be monitored. If yes, step 305 and subsequent steps are performed; if not, return to step 303. Preferably, when the intelligent terminal determines whether the identifier carried in the received ultrasonic wave does not match the identifier of the wristband to be monitored, or fails to receive the ultrasonic signal including the identifier of the wristband to be monitored, an alarm is further issued.
步骤305:智能终端计算与手环之间的距离L,其中L=(T2-T1)×V;V为超声波在空气中的传播速度;T2为智能终端接收到超声波的时间点;T1为手环发出超声波的时间点;T1可以携带在手环所定时发送的超声波中。Step 305: The intelligent terminal calculates a distance L between the wristband and the wristband, where L=(T2-T1)×V; V is the propagation speed of the ultrasonic wave in the air; T2 is the time point when the intelligent terminal receives the ultrasonic wave; T1 is the hand The time point at which the ring emits ultrasonic waves; T1 can be carried in the ultrasonic waves sent periodically by the wristband.
步骤306:智能终端判断L是否小于预先设定的第一门限值S1,其中当L小于S1时,返回执行步骤301及其后续步骤;当L不小于S1时,执行步骤307及其后续步骤。Step 306: The smart terminal determines whether the L is smaller than the preset first threshold S1. When L is less than S1, the process returns to step 301 and subsequent steps. When L is not less than S1, step 307 and subsequent steps are performed. .
步骤307:智能终端判断L是否小于预先设定的第二门限值S2,S2大于S1;其中当L小于S2时,执行步骤309并退出本流程;当L不小于S2时,执行步骤308并退出本流程。Step 307: The smart terminal determines whether L is smaller than a preset second threshold S2, S2 is greater than S1; wherein when L is less than S2, step 309 is performed and the process is exited; when L is not less than S2, step 308 is performed. Exit this process.
步骤308:智能终端执行严重报警,比如发出声音、闪光提醒和振 动提醒。Step 308: The smart terminal performs a serious alarm, such as making a sound, flashing a reminder, and vibrating Reminder.
步骤309:智能终端执行预警报警,比如发出声音和闪光提醒。Step 309: The smart terminal performs an early warning alarm, such as a sound and a flash reminder.
图14根据本发明为不时间同步方式的定位系统结构图。如图14所示,该系统包括第一可穿戴设备和智能终端。第一可穿戴设备包括第一超声波发送器;智能终端包括第一超声波接收器和报警单元;第一超声波发送器,用于发送包含第一可穿戴设备标识的第一超声波信号;第一超声波接收器,用于接收第一超声波信号,并基于第一超声波信号的超声定位确定与可穿戴设备的距离,并当距离超过预先设定的门限值时,向报警单元发送报警命令;智能终端还包括第二超声波发送器;第一可穿戴设备还包括第二超声波接收器;其中第一超声波发送器发送的所述包含可穿戴设备标识的第一超声波信号,是第二超声波接收器从第二超声波发送器接收到的;第一超声波接收器,用于保存预设的处理时间ΔT以及第二超声波发送器发出所述第一超声波信号的时间点T1,记录第一超声波信号的接收时间点T2,并计算与所述可穿戴设备的距离L,其中:L=((T2-T1-ΔT)/2)×V;V为超声波在空气中的传播速度。Figure 14 is a block diagram of a positioning system that is not time synchronized in accordance with the present invention. As shown in FIG. 14, the system includes a first wearable device and a smart terminal. The first wearable device includes a first ultrasonic transmitter; the intelligent terminal includes a first ultrasonic receiver and an alarm unit; the first ultrasonic transmitter is configured to transmit a first ultrasonic signal including the first wearable device identifier; the first ultrasonic receiving And receiving the first ultrasonic signal, determining a distance from the wearable device based on the ultrasonic positioning of the first ultrasonic signal, and sending an alarm command to the alarm unit when the distance exceeds a preset threshold; the smart terminal further The second ultrasonic transmitter is further included; the first wearable device further includes a second ultrasonic receiver; wherein the first ultrasonic signal including the wearable device identifier sent by the first ultrasonic transmitter is the second ultrasonic receiver from the second Receiving by the ultrasonic transmitter; the first ultrasonic receiver is configured to save the preset processing time ΔT and the time point T1 at which the second ultrasonic transmitter sends the first ultrasonic signal, and record the receiving time point T2 of the first ultrasonic signal And calculating a distance L from the wearable device, wherein: L = ((T2-T1 - ΔT) / 2) × V; V is an ultrasonic wave The speed of propagation in the air.
在不时间同步方式的定位方式中,智能终端首先打开安装的应用软件,选择需要测距的第一可穿戴设备的ID,当有多个ID时,也可以进行轮询测距。第一可穿戴设备开启超声功能。智能终端定时发送超声波信号,该信号带有需要测距的ID,第一可穿戴设备收到超声波信号后进行解析,若超声波信号中带有自身的ID,则将该超声波信号再发送出去;若收到的超声波信号中没有自己ID,则不做反应。智能终端收到第一可穿戴设备发送的超声波信号,计算智能终端到第一可穿戴设备的距离,当距离超过一定范围,则发出该距离对应的报警信号,如不同的声音信号和振动信号,等等。In the non-time synchronization mode, the smart terminal first opens the installed application software, selects the ID of the first wearable device that needs to be ranging, and when there are multiple IDs, the polling ranging can also be performed. The first wearable device turns on the ultrasound function. The intelligent terminal periodically sends an ultrasonic signal, and the signal carries an ID that needs to be measured. The first wearable device analyzes the ultrasonic signal, and if the ultrasonic signal has its own ID, the ultrasonic signal is sent again; If the received ultrasonic signal does not have its own ID, it will not react. The smart terminal receives the ultrasonic signal sent by the first wearable device, calculates the distance from the smart terminal to the first wearable device, and when the distance exceeds a certain range, sends an alarm signal corresponding to the distance, such as different sound signals and vibration signals. and many more.
具体地,智能终端首先发送超声波信号并记录时刻T1,智能终端记 录第一可穿戴设备接收到该超声波信号时需要执行的处理时间ΔT。第一可穿戴设备接收到超声波信号后,执行处理时间ΔT,并将超声波信号发送至智能终端,智能终端接收到可穿戴设备返回的该定位信号时记录时刻T2。Specifically, the intelligent terminal first transmits an ultrasonic signal and records the time T1, and the intelligent terminal records The processing time ΔT that needs to be performed when the first wearable device receives the ultrasonic signal is recorded. After receiving the ultrasonic signal, the first wearable device performs the processing time ΔT and transmits the ultrasonic signal to the smart terminal, and the smart terminal records the time T2 when receiving the positioning signal returned by the wearable device.
在一个实施方式中,第一可穿戴设备还包括存储单元;第二超声波接收器,还用于接收除第一可穿戴设备之外的其他可穿戴设备发送的第二超声波信号,并从第二超声波信号中解析出所述除第一可穿戴设备之外的其他可穿戴设备的标识;存储单元,用于关联存储所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及所述接收第二超声波信号时的位置;第一超声波发送器,用于当接收到智能终端发出的包含所述除第一可穿戴设备之外的其他可穿戴设备的标识的超声波信号时,向智能终端发送包含所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置的第三超声波信号,从而由所述智能终端基于所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置确定所述除第一可穿戴设备之外的其他可穿戴设备的历史参考位置。In one embodiment, the first wearable device further includes a storage unit; the second ultrasonic receiver is further configured to receive a second ultrasonic signal sent by the wearable device other than the first wearable device, and from the second An identifier of the wearable device other than the first wearable device is parsed in the ultrasonic signal; a storage unit configured to associate the storage time of the second ultrasonic signal, the first wearable device The identifier of the other wearable device and the position when the second ultrasonic signal is received; the first ultrasonic transmitter is configured to receive the wearable device including the first wearable device issued by the smart terminal When the ultrasonic signal is identified, the receiving time including the second ultrasonic signal, the identifier of the wearable device other than the first wearable device, and the position when receiving the second ultrasonic signal are transmitted to the smart terminal a third ultrasonic signal, whereby the smart terminal is based on the receiving time of the second ultrasonic signal, the first wearable device Identifying other external wearable device and a second position when the received ultrasonic signals to determine the position of the reference history, among other wearable device other than the first device wearable.
图15根据本发明为不时间同步方式的定位方法流程图。在该方法中,第一穿戴式设备具体实施为具有超声波发送功能的手环。手环中设置有自身的标识;智能终端中保存有需要监测的手环的标识。Figure 15 is a flow chart of a positioning method in a time-insensitive manner in accordance with the present invention. In this method, the first wearable device is embodied as a wristband having an ultrasonic transmission function. The wristband is provided with its own identifier; the smart terminal stores the identifier of the wristband to be monitored.
如图15所示,该方法包括:As shown in Figure 15, the method includes:
步骤501-步骤503:智能终端定时发送带自身标识的超声波,手环接收超声波。Step 501 - Step 503: The intelligent terminal periodically transmits the ultrasonic wave with its own identification, and the wristband receives the ultrasonic wave.
步骤504:手环判断接收到的超声波中所携带的标识是否与自身标识相匹配,如果是则执行步骤505及其后续步骤;如果不是,则返回执 行步骤503。Step 504: The wristband determines whether the identifier carried in the received ultrasonic wave matches the identifier of the self, and if yes, performs step 505 and subsequent steps; if not, returns the license. Go to step 503.
步骤505-506:手环将接收到的超声波进一步发送出去,智能终端接收超声波。Steps 505-506: The wristband further transmits the received ultrasonic wave, and the intelligent terminal receives the ultrasonic wave.
步骤507:智能终端判断接收到的超声波中所携带的标识是否与需要监测的手环的标识相匹配,如果是则执行步骤508及其后续步骤;如果不是,则返回执行步骤501。Step 507: The smart terminal determines whether the identifier carried in the received ultrasonic wave matches the identifier of the wristband to be monitored, and if yes, performs step 508 and subsequent steps; if not, returns to step 501.
步骤508:智能终端计算与手环之间的距离L,其中L=((T2-T1-ΔT)/2)×V;V为超声波在空气中的传播速度;ΔT为预设处理时间;T2为智能终端接收到超声波信号的时间点;T1为智能终端发出超声波信号的时间点。Step 508: The intelligent terminal calculates a distance L between the wristband and the wristband, where L=((T2-T1-ΔT)/2)×V; V is the propagation speed of the ultrasonic wave in the air; ΔT is the preset processing time; T2 The time point at which the intelligent terminal receives the ultrasonic signal; T1 is the time point at which the intelligent terminal sends the ultrasonic signal.
步骤509:智能终端判断L是否小于预先设定的第一门限值S1,其中当L小于S1时,返回执行步骤501及其后续步骤;当L不小于S1时,执行步骤510及其后续步骤。Step 509: The smart terminal determines whether the L is smaller than the preset first threshold S1. When L is less than S1, the process returns to step 501 and subsequent steps. When L is not less than S1, step 510 and subsequent steps are performed. .
步骤510:智能终端判断L是否小于预先设定的第二门限值S2,S2大于S1;其中当L小于S2时,执行步骤512并退出本流程;当L不小于S2时,执行步骤511并退出本流程。Step 510: The smart terminal determines whether the L is smaller than the preset second threshold S2, and S2 is greater than S1. When L is less than S2, step 512 is executed and the process is exited; when L is not less than S2, step 511 is performed. Exit this process.
步骤511:智能终端执行严重报警,比如发出声音、闪光提醒和振动提醒。Step 511: The smart terminal performs a serious alarm, such as a sound, a flash reminder, and a vibration reminder.
步骤512:智能终端执行预警报警,比如发出声音和闪光提醒。Step 512: The smart terminal performs an early warning alarm, such as a sound and a flash reminder.
当第一可穿戴设备远离智能终端时,第一可穿戴设备与智能终端之间将没有超声波交互。此时,通常情况下,智能终端将失去对第一可穿戴设备的监控。为进一步解决此技术问题,本发明还提出了一种具有协助定位功能的定位系统。When the first wearable device is away from the smart terminal, there will be no ultrasonic interaction between the first wearable device and the smart terminal. At this time, in general, the smart terminal will lose the monitoring of the first wearable device. To further solve this technical problem, the present invention also proposes a positioning system with an assisted positioning function.
图16根据本发明具有协助定位功能的定位系统结构图。由图16可见,该系统包含第一可穿戴设备、第二可穿戴设备和智能终端。其中: 第一可穿戴设备与智能终端之间的距离不在超声波交互范围之内;第一可穿戴设备与第二可穿戴设备之间的距离在超声波交互范围之内;第二可穿戴设备与智能终端之间的距离在超声波交互范围之内。智能终端期望监控第一可穿戴设备。由于第一可穿戴设备与智能终端之间的距离不在超声波交互范围之内,因此智能终端不能接收到第一可穿戴设备发送的超声波信号时,智能终端认定第一可穿戴设备已经丢失。此时,智能终端发出包含第一可穿戴设备标识的超声波信号,用于查询第一可穿戴设备。由于第一可穿戴设备与第二可穿戴设备之间的距离在超声波交互范围之内,第二可穿戴设备可以接收到第一可穿戴设备发送的超声波信号。第二可穿戴设备从第一可穿戴设备发送的超声波信号中解析出第一可穿戴设备的标识,并且关联存储接收到第一可穿戴设备发送的超声波信号的时间、第一可穿戴设备的标识以及接收到第一可穿戴设备发送的超声波信号时第二可穿戴设备的位置。第二可穿戴设备接收到智能终端发出的包含第一可穿戴设备标识的超声波信号后,从本地检索出接收到第一可穿戴设备发送的超声波信号的时间、第一可穿戴设备的标识以及接收到第一可穿戴设备发送的超声波信号时第二可穿戴设备的位置,并将检索出的这些信息(接收到第一可穿戴设备发送的超声波信号的时间、第一可穿戴设备的标识以及接收到第一可穿戴设备发送的超声波信号时第二可穿戴设备的位)发送到智能终端。因此,智能终端可以基于第二可穿戴设备所提供的信息间接了解第一可穿戴设备的大致位置。Figure 16 is a block diagram of a positioning system having an assisted positioning function in accordance with the present invention. As can be seen from Figure 16, the system includes a first wearable device, a second wearable device, and a smart terminal. among them: The distance between the first wearable device and the smart terminal is not within the scope of the ultrasonic interaction; the distance between the first wearable device and the second wearable device is within the range of the ultrasonic interaction; the second wearable device and the smart terminal The distance between them is within the range of ultrasonic interaction. The smart terminal desires to monitor the first wearable device. Since the distance between the first wearable device and the smart terminal is not within the range of the ultrasonic interaction, the smart terminal determines that the first wearable device has been lost when the smart terminal cannot receive the ultrasonic signal sent by the first wearable device. At this time, the smart terminal sends an ultrasonic signal including the identifier of the first wearable device for querying the first wearable device. Since the distance between the first wearable device and the second wearable device is within the ultrasonic interaction range, the second wearable device can receive the ultrasonic signal transmitted by the first wearable device. The second wearable device parses the identifier of the first wearable device from the ultrasonic signal sent by the first wearable device, and associates the time when the ultrasonic signal sent by the first wearable device is received, the identifier of the first wearable device And a location of the second wearable device when receiving the ultrasonic signal transmitted by the first wearable device. After receiving the ultrasonic signal sent by the smart terminal and including the first wearable device identifier, the second wearable device retrieves the time when the ultrasonic signal sent by the first wearable device is received, the identifier of the first wearable device, and the receiving The location of the second wearable device when the ultrasonic signal is transmitted to the first wearable device, and the retrieved information (the time when the ultrasonic signal transmitted by the first wearable device is received, the identifier of the first wearable device, and the reception) The bit of the second wearable device is transmitted to the smart terminal when the ultrasonic signal transmitted by the first wearable device is transmitted. Therefore, the smart terminal can indirectly understand the approximate location of the first wearable device based on the information provided by the second wearable device.
在图16中,在第一可穿戴设备与智能终端之间,利用第二可穿戴设备执行协助定位。实际上,在第一可穿戴设备与智能终端之间,还可以具有多个协助定位的可穿戴设备,本发明对此并无限定。In FIG. 16, between the first wearable device and the smart terminal, assisted positioning is performed using the second wearable device. In fact, between the first wearable device and the smart terminal, there may be a plurality of wearable devices that assist in positioning, which is not limited by the present invention.
本领域普通技术人员可以理解实现上述实施方式的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的 程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。而且,还可以通过包含网络节点的网络系统来实施本发明上述实施方式的全部或部分步骤,该网络系统可以充分利用客户端和服务器两端硬件环境的优势,将任务合理分配到客户端和服务器端来实现,从而降低系统的通讯开销。客户端具体可以为瘦客户端(Thin Client),该瘦客户端可以是在客户端-服务器网络体系中的一个基本无需应用程序的计算机终端,而且瘦客户端可以通过一些常见通信协议和服务器通信,进而接入局域网。本发明的每一个实施例可以通过由数据处理设备如计算机执行的数据处理程序来实现。显然,数据处理程序构成了本发明。此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和或内存)中执行。因此,这样的存储介质也构成了本发明。存储介质可以使用任何类型的记录方式,例如纸张存储介质(如纸带等)、磁存储介质(如软盘、硬盘、闪存等)、光存储介质(如CD-ROM等)、磁光存储介质(如MO等)等。因此本发明还公开了一种存储介质,其中存储有数据处理程序,该数据处理程序用于执行本发明上述方法的任何一种实施例。A person of ordinary skill in the art may understand that all or part of the steps of implementing the foregoing embodiments may be completed by hardware, or may be instructed by a program to complete related hardware. The program may be stored in a computer readable storage medium, which may be a read only memory, a magnetic disk or an optical disk or the like. Moreover, all or part of the steps of the foregoing embodiments of the present invention may also be implemented by a network system including a network node, which can fully utilize the advantages of the hardware environment at both ends of the client and the server to properly allocate tasks to the client and the server. The end is implemented to reduce the communication overhead of the system. The client can be a thin client (Thin Client), which can be a basic application-free computer terminal in the client-server network system, and the thin client can communicate with the server through some common communication protocols. And then access the LAN. Each of the embodiments of the present invention can be implemented by a data processing program executed by a data processing device such as a computer. Obviously, the data processing program constitutes the present invention. Further, a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present invention. The storage medium can use any type of recording method, such as paper storage medium (such as paper tape, etc.), magnetic storage medium (such as floppy disk, hard disk, flash memory, etc.), optical storage medium (such as CD-ROM, etc.), magneto-optical storage medium ( Such as MO, etc.). The present invention therefore also discloses a storage medium in which is stored a data processing program for performing any of the above embodiments of the present invention.
以上所述仅为本发明的较佳实施方式,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (20)

  1. 一种超声波测距系统,其特征在于,包括:An ultrasonic ranging system, comprising:
    包含第一超声波发送器、第一超声波接收器和计算单元的第一设备,所述第一设备保存有时间值;a first device including a first ultrasonic transmitter, a first ultrasonic receiver, and a computing unit, the first device retaining a time value;
    包含第二超声波发送器和第二超声波接收器的第二设备,所述第二设备保存有所述时间值;其中:a second device comprising a second ultrasonic transmitter and a second ultrasonic receiver, the second device retaining the time value; wherein:
    第一超声波发送器,用于发送第一超声波信号;a first ultrasonic transmitter for transmitting the first ultrasonic signal;
    第二超声波接收器,用于接收所述第一超声波信号;a second ultrasonic receiver, configured to receive the first ultrasonic signal;
    第二超声波发送器,用于在第二超声波接收器接收所述第一超声波信号后,经过所述时间值的时刻发送第二超声波信号;a second ultrasonic transmitter, configured to send a second ultrasonic signal after the time value is received after the second ultrasonic receiver receives the first ultrasonic signal;
    第一超声波接收器,用于接收所述第二超声波信号;a first ultrasonic receiver for receiving the second ultrasonic signal;
    计算单元,用于基于在第一设备记录的、第一超声波发送器发送所述第一超声波信号的第一时刻,在第一设备记录的、第一超声波接收器接收所述第二超声波信号的第二时刻,以及所述时间值计算所述第一设备与所述第二设备之间的距离。a calculating unit, configured to receive the second ultrasonic signal by the first ultrasonic receiver recorded by the first device at a first moment of the first ultrasonic transmitter transmitting the first ultrasonic signal recorded by the first device The second time, and the time value, calculates a distance between the first device and the second device.
  2. 根据权利要求1所述的超声波测距系统,其特征在于,The ultrasonic ranging system according to claim 1, wherein
    第一设备,还用于将计算单元计算出的所述第一设备与第二设备之间的距离发送到所述第二设备。The first device is further configured to send, by the computing unit, a distance between the first device and the second device to the second device.
  3. 根据权利要求1所述的超声波测距系统,其特征在于,第一设备还包括报警单元;The ultrasonic ranging system according to claim 1, wherein the first device further comprises an alarm unit;
    计算单元,还用于当所述第一设备与所述第二设备之间的距离超过预先设定的门限值时,向所述报警单元发送报警命令;The calculating unit is further configured to: when the distance between the first device and the second device exceeds a preset threshold, send an alarm command to the alarm unit;
    报警单元,用于根据所述报警命令发出报警信号。An alarm unit is configured to issue an alarm signal according to the alarm command.
  4. 一种超声波测距方法,其特征在于,包括:An ultrasonic ranging method, comprising:
    在保存有时间值的第一设备发送第一超声波信号,并记录第一设备 发送第一超声波信号的发送时刻;Transmitting the first ultrasonic signal to the first device storing the time value, and recording the first device Sending a transmission time of the first ultrasonic signal;
    在所述第一设备接收由第二设备发送的第二超声波信号,并记录第一设备接收第二超声波信号的接收时刻,其中第二设备接收所述第一超声波信号后,经过所述时间值的时刻发送所述第二超声波信号;Receiving, by the first device, a second ultrasonic signal sent by the second device, and recording a receiving moment of the first device receiving the second ultrasonic signal, wherein the second device receives the first ultrasonic signal, and the time value is passed Transmitting the second ultrasonic signal at a time;
    基于所述发送时刻、所述接收时刻以及所述时间值计算第一设备与第二设备之间的距离。Calculating a distance between the first device and the second device based on the sending time, the receiving time, and the time value.
  5. 根据权利要求4所述的测距方法,其特征在于,还包括:The ranging method according to claim 4, further comprising:
    将计算出的所述第一设备与所述第二设备之间的距离发送到第二设备;和/或Transmitting the calculated distance between the first device and the second device to the second device; and/or
    当所述第一设备与所述第二设备之间的距离超过预先设定的门限值时,发出报警信号。An alarm signal is issued when the distance between the first device and the second device exceeds a preset threshold.
  6. 一种超声波定位系统,其特征在于,包括至少三个固定设备、被定位设备和计算设备;An ultrasonic positioning system, comprising: at least three fixed devices, a positioned device, and a computing device;
    所述至少三个固定设备中的每一个,用于分别发送各自的定位超声波信号;Each of the at least three fixed devices is configured to separately transmit respective positioning ultrasonic signals;
    被定位设备,用于在接收到各个固定设备发送的各自的定位超声波信号后,分别间隔一预定时间值向每一个固定设备发送各自的回复超声波信号;The locating device is configured to: after receiving the respective positioning ultrasonic signals sent by the respective fixed devices, respectively send a respective reply ultrasonic signals to each fixed device by a predetermined time value;
    所述至少三个固定设备中的每一个,还用于基于在各自本地记录的、发送各自的定位超声波信号的时刻,在各自本地记录的、接收各自的回复超声波信号的时刻以及所述预定时间值分别计算与所述被定位设备之间的各自距离;Each of the at least three fixed devices is further configured to, based on respective locally recorded times at which respective positioning ultrasonic signals are transmitted, at respective moments of receiving the respective recovered ultrasonic signals and the predetermined time The values are calculated separately from the respective distances between the devices being located;
    保存有所述至少三个固定设备的各自坐标的计算设备,用于基于所述至少三个固定设备的各自坐标以及所述至少三个固定设备中的每一个与所述被定位设备之间的各自距离,计算所述被定位设备的坐标。 a computing device storing respective coordinates of the at least three fixed devices for based on respective coordinates of the at least three fixed devices and between each of the at least three fixed devices and the positioned device The coordinates of the positioned device are calculated for the respective distances.
  7. 根据权利要求6所述的超声波定位系统,其特征在于,所述计算设备布置在所述至少三个固定设备中的任意一个中,或所述计算设备布置在所述至少三个固定设备之外且与所述至少三个固定设备分别具有通信连接;和/或,The ultrasonic positioning system according to claim 6, wherein said computing device is disposed in any one of said at least three fixed devices, or said computing device is disposed outside said at least three fixed devices And having a communication connection with the at least three fixed devices; and/or,
    所述被定位设备为智能终端。The location device is a smart terminal.
  8. 一种超声波定位系统,其特征在于,包括至少三个固定设备和被定位设备,被定位设备保存有所述至少三个固定设备的各自坐标;An ultrasonic positioning system, comprising: at least three fixed devices and a positioned device, wherein the positioned device stores respective coordinates of the at least three fixed devices;
    所述被定位设备,用于分别向所述至少三个固定设备中的每一个发送各自的定位超声波信号;The located device is configured to respectively send respective positioning ultrasonic signals to each of the at least three fixed devices;
    所述至少三个固定设备中的每一个,用于在接收到所述被定位设备发送的各自的定位超声波信号后,分别间隔一预定时间值向所述被定位设备发送各自的回复超声波信号;Each of the at least three fixed devices is configured to, after receiving the respective positioning ultrasonic signals sent by the positioned device, respectively send a respective reply ultrasonic signal to the positioned device by a predetermined time value;
    所述被定位设备,还用于基于本地记录的、向所述至少三个固定设备中的每一个发送各自的定位超声波信号的时刻,本地记录的、接收所述至少三个固定设备中的每一个各自发送的回复超声波信号的时刻以及所述预定时间值,分别计算被定位设备与所述至少三个固定设备中的每一个之间的距离;并基于所述至少三个固定设备的各自坐标以及所述被定位设备与所述至少三个固定设备中的每一个之间的距离,计算所述被定位设备的坐标。The located device is further configured to: locally record, receive each of the at least three fixed devices based on a locally recorded time of transmitting a respective positioning ultrasonic signal to each of the at least three fixed devices Calculating a distance between the positioned device and each of the at least three fixed devices, respectively, at a time of each of the transmitted ultrasonic signals and the predetermined time value; and based on respective coordinates of the at least three fixed devices And calculating a coordinate of the located device by a distance between the positioned device and each of the at least three fixed devices.
  9. 根据权利要求8所述的超声波定位系统,其特征在于,The ultrasonic positioning system according to claim 8, wherein
    所述被定位设备为智能终端。The location device is a smart terminal.
  10. 一种超声波定位系统,其特征在于,包括第一固定设备、第二固定设备、被定位设备和主设备;所述主设备的位置固定,所述主设备保存有所述第一固定设备、第二固定设备以及所述主设备的坐标;An ultrasonic positioning system, comprising: a first fixed device, a second fixed device, a positioned device, and a master device; the location of the master device is fixed, and the master device stores the first fixed device, Two fixed devices and coordinates of the master device;
    所述第一固定设备,用于发送第一定位超声波信号; The first fixed device is configured to send a first positioning ultrasonic signal;
    所述第二固定设备,用于发送第二定位超声波信号;The second fixing device is configured to send a second positioning ultrasonic signal;
    被定位设备,用于在接收到第一定位超声波信号后,间隔一预定时间值发送第一回复超声波信号,在接收到第二定位超声波信号后,间隔所述预定时间值发送第二回复超声波信号;The positioning device is configured to: after receiving the first positioning ultrasonic signal, send a first reply ultrasonic signal at intervals of a predetermined time value, and after receiving the second positioning ultrasonic signal, send the second reply ultrasonic signal at intervals by the predetermined time value ;
    主设备,用于基于接收到第一定位超声波信号与接收到第一回复超声波信号的第一时间差,计算第一固定设备与被定位设备之间的第一距离,基于接收到第二定位超声波信号与接收到第二回复超声波信号的第二时间差,计算第二固定设备与被定位设备之间的第二距离,并基于所述第一距离、第二距离、所述主设备与被定位设备之间的第三距离以及所述第一固定设备、第二固定设备以及所述主设备的坐标,计算所述被定位设备的坐标。a master device, configured to calculate a first distance between the first fixed device and the device to be located based on the first time difference between receiving the first positioning ultrasonic signal and receiving the first reply ultrasonic signal, based on receiving the second positioning ultrasonic signal And calculating, by the second time difference of the second reply ultrasonic signal, a second distance between the second fixed device and the positioned device, and based on the first distance, the second distance, the master device and the located device Calculating coordinates of the positioned device by a third distance therebetween and coordinates of the first fixed device, the second fixed device, and the primary device.
  11. 根据权利要求10所述的超声波定位系统,其特征在于,The ultrasonic positioning system according to claim 10, wherein
    所述主设备,用于发送第三定位超声波信号;The master device is configured to send a third positioning ultrasonic signal;
    被定位设备,用于在接收到第三定位超声波信号后,间隔所述预定时间值发送第三回复超声波信号;a positioning device, configured to send a third reply ultrasonic signal at intervals of the predetermined time value after receiving the third positioning ultrasonic signal;
    所述主设备用于基于在本地记录的、发送所述第三定位超声波信号的第一时刻,在本地记录的、接收所述第三回复超声波信号的第二时刻,以及所述预定时间值计算所述第三距离。The master device is configured to calculate, at a first moment of locally recording, transmitting the third positioning ultrasonic signal, a second time recorded locally, receiving the third reply ultrasonic signal, and the predetermined time value The third distance.
  12. 一种基于超声定位的定位系统,其特征在于,包括第一可穿戴设备和智能终端;所述第一可穿戴设备包括第一超声波发送器;所述智能终端包括第一超声波接收器和报警单元;An ultrasonic positioning based positioning system, comprising: a first wearable device and an intelligent terminal; the first wearable device comprises a first ultrasonic transmitter; the intelligent terminal comprises a first ultrasonic receiver and an alarm unit ;
    第一超声波发送器,用于发送包含第一可穿戴设备标识的第一超声波信号;a first ultrasonic transmitter, configured to send a first ultrasonic signal including a first wearable device identifier;
    第一超声波接收器,用于接收所述第一超声波信号,并基于所述第一超声波信号的超声定位确定与所述可穿戴设备的距离,并当所述距离 超过预先设定的门限值时,向所述报警单元发送报警命令;a first ultrasonic receiver for receiving the first ultrasonic signal, and determining a distance from the wearable device based on ultrasonic positioning of the first ultrasonic signal, and when the distance When the preset threshold is exceeded, an alarm command is sent to the alarm unit;
    报警单元,用于根据所述报警命令发出报警信号。An alarm unit is configured to issue an alarm signal according to the alarm command.
  13. 根据权利要求12所述的基于超声定位的定位系统,其特征在于,第一可穿戴设备和智能终端分别包括时间同步单元;智能终端的时间同步单元,用于向第一可穿戴设备的时间同步单元发送时间同步信号;第一可穿戴设备的时间同步单元,用于基于该时间同步信号与智能终端保持时间同步;The ultrasonic positioning based positioning system according to claim 12, wherein the first wearable device and the smart terminal respectively comprise a time synchronization unit; the time synchronization unit of the intelligent terminal, for time synchronization to the first wearable device The unit sends a time synchronization signal; a time synchronization unit of the first wearable device, configured to maintain time synchronization with the smart terminal based on the time synchronization signal;
    第一超声波发送器发送的第一超声波信号进一步包含第一超声波信号的发送时间点T1;The first ultrasonic signal transmitted by the first ultrasonic transmitter further includes a transmission time point T1 of the first ultrasonic signal;
    第一超声波接收器,用于记录第一超声波信号的接收时间点T2,从所述第一超声波信号中解析出所述发送时间点T1,并计算与所述可穿戴设备的距离L,其中:a first ultrasonic receiver for recording a reception time point T2 of the first ultrasonic signal, parsing the transmission time point T1 from the first ultrasonic signal, and calculating a distance L from the wearable device, wherein:
    L=(T2-T1)×V;V为超声波在空气中的传播速度。L = (T2-T1) × V; V is the propagation speed of the ultrasonic wave in the air.
  14. 根据权利要求12所述的基于超声定位的定位系统,其特征在于,智能终端还包括第二超声波发送器;第一可穿戴设备包括第二超声波接收器;The ultrasonic positioning based positioning system according to claim 12, wherein the intelligent terminal further comprises a second ultrasonic transmitter; the first wearable device comprises a second ultrasonic receiver;
    第一超声波发送器发送的所述包含可穿戴设备标识的第一超声波信号,是第二超声波接收器从第二超声波发送器接收到的;The first ultrasonic signal including the wearable device identifier sent by the first ultrasonic transmitter is received by the second ultrasonic receiver from the second ultrasonic transmitter;
    第一超声波接收器,用于保存预设的处理时间ΔT以及第二超声波发送器发出所述第一超声波信号的时间点T1,记录第一超声波信号的接收时间点T2,并计算与所述可穿戴设备的距离L,其中:a first ultrasonic receiver for storing a preset processing time ΔT and a time point T1 at which the second ultrasonic transmitter emits the first ultrasonic signal, recording a receiving time point T2 of the first ultrasonic signal, and calculating The distance L of the wearable device, where:
    L=((T2-T1-ΔT)/2)×V;V为超声波在空气中的传播速度。L = ((T2-T1-ΔT)/2) × V; V is the propagation speed of the ultrasonic wave in the air.
  15. 根据权利要求12所述的基于超声定位的定位系统,其特征在于,所述第一可穿戴设备还包括第二超声波接收器和存储单元;The ultrasonic positioning based positioning system according to claim 12, wherein the first wearable device further comprises a second ultrasonic receiver and a storage unit;
    第二超声波接收器,用于接收除第一可穿戴设备之外的其他可穿戴 设备发送的第二超声波信号,并从所述第二超声波信号中解析出所述除第一可穿戴设备之外的其他可穿戴设备的标识;a second ultrasonic receiver for receiving wearables other than the first wearable device a second ultrasonic signal sent by the device, and parsing an identifier of the wearable device other than the first wearable device from the second ultrasonic signal;
    存储单元,用于关联存储所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及所述接收第二超声波信号时的位置;a storage unit, configured to associate a storage time of the second ultrasonic signal, an identifier of the wearable device other than the first wearable device, and a position when the second ultrasonic signal is received;
    第一超声波发送器,用于当接收到智能终端发出的包含所述除第一可穿戴设备之外的其他可穿戴设备的标识的超声波信号时,向智能终端发送包含所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置的第三超声波信号,从而由所述智能终端基于所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置确定所述除第一可穿戴设备之外的其他可穿戴设备的历史参考位置。a first ultrasonic transmitter, configured to: when receiving an ultrasonic signal sent by the smart terminal that includes the identifier of the wearable device other than the first wearable device, send the second ultrasonic signal to the smart terminal Receiving time, an identifier of the wearable device other than the first wearable device, and a third ultrasonic signal of a position at which the second ultrasonic signal is received, thereby receiving by the smart terminal based on the second ultrasonic signal The time, the identification of the wearable device other than the first wearable device, and the location at which the second ultrasonic signal is received determine a historical reference location of the wearable device other than the first wearable device.
  16. 一种基于超声定位的可穿戴设备,其特征在于,包括:A wearable device based on ultrasonic positioning, comprising:
    第一超声波发送器:用于发送包含可穿戴设备标识的第一超声波信号;从而由智能终端的第一超声波接收器接收所述第一超声波信号,并由智能终端的第一超声波接收器基于所述第一超声波信号的超声定位确定与所述可穿戴设备的距离,并当所述距离超过预先设定的门限值时,由智能终端的第一超声波接收器向智能终端的报警单元发送报警命令,其中报警单元根据所述报警命令发出报警信号。a first ultrasonic transmitter: configured to transmit a first ultrasonic signal including a wearable device identifier; thereby receiving the first ultrasonic signal by a first ultrasonic receiver of the smart terminal, and based on the first ultrasonic receiver of the smart terminal The ultrasonic positioning of the first ultrasonic signal determines a distance from the wearable device, and when the distance exceeds a preset threshold, the first ultrasonic receiver of the intelligent terminal sends an alarm to the alarm unit of the intelligent terminal. A command, wherein the alarm unit issues an alarm signal according to the alarm command.
  17. 根据权利要求16所述的基于超声定位的可穿戴设备,其特征在于,还包括:The ultrasonic positioning-based wearable device according to claim 16, further comprising:
    时间同步单元,用于从智能终端接收时间同步信号,并基于该时间同步信号与智能终端保持时间同步;a time synchronization unit, configured to receive a time synchronization signal from the smart terminal, and maintain time synchronization with the smart terminal based on the time synchronization signal;
    第一超声波发送器发送的第一超声波信号进一步包含第一超声波信 号的发送时间点T1;第一超声波接收器,用于记录第一超声波信号的接收时间点T2,从所述第一超声波信号中解析出超声波发送时间点T1,并计算与所述可穿戴设备的距离L,其中:The first ultrasonic signal transmitted by the first ultrasonic transmitter further includes a first ultrasonic signal a transmission time point T1; a first ultrasonic receiver for recording a reception time point T2 of the first ultrasonic signal, parsing an ultrasonic transmission time point T1 from the first ultrasonic signal, and calculating with the wearable device The distance L, where:
    L=(T2-T1)×V;V为超声波在空气中的传播速度。L = (T2-T1) × V; V is the propagation speed of the ultrasonic wave in the air.
  18. 根据权利要求16所述的基于超声定位的可穿戴设备,其特征在于,可穿戴设备还包括第二超声波接收器;智能终端还包括第二超声波发送器;The ultrasonic positioning-based wearable device according to claim 16, wherein the wearable device further comprises a second ultrasonic receiver; the intelligent terminal further comprises a second ultrasonic transmitter;
    第一超声波发送器发送的所述包含可穿戴设备标识的第一超声波信号,是第二超声波接收器从第二超声波发送器接收到的;The first ultrasonic signal including the wearable device identifier sent by the first ultrasonic transmitter is received by the second ultrasonic receiver from the second ultrasonic transmitter;
    第一超声波接收器,用于保存预设的处理时间ΔT以及第二超声波发送器发出所述第一超声波信号的时间点T1,记录第一超声波信号的接收时间点T2,并计算与所述可穿戴设备的距离L,其中:a first ultrasonic receiver for storing a preset processing time ΔT and a time point T1 at which the second ultrasonic transmitter emits the first ultrasonic signal, recording a receiving time point T2 of the first ultrasonic signal, and calculating The distance L of the wearable device, where:
    L=((T2-T1-ΔT)/2)×V;V为超声波在空气中的传播速度。L = ((T2-T1-ΔT)/2) × V; V is the propagation speed of the ultrasonic wave in the air.
  19. 根据权利要求16所述的基于超声定位的可穿戴设备,其特征在于,可穿戴设备还包括第二超声波接收器和存储单元;The ultrasonic positioning-based wearable device according to claim 16, wherein the wearable device further comprises a second ultrasonic receiver and a storage unit;
    第二超声波接收器,用于接收除第一可穿戴设备之外的其他可穿戴设备发送的第二超声波信号,并从所述第二超声波信号中解析出所述除第一可穿戴设备之外的其他可穿戴设备的标识;a second ultrasonic receiver, configured to receive a second ultrasonic signal sent by the wearable device other than the first wearable device, and parse the second ultrasonic signal from the second wearable device Identification of other wearable devices;
    存储单元,用于关联存储所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置;a storage unit, configured to associate a storage time of the second ultrasonic signal, an identifier of the wearable device other than the first wearable device, and a position when receiving the second ultrasonic signal;
    第一超声波发送器,用于当接收到智能终端发出的包含所述除第一可穿戴设备之外的其他可穿戴设备的标识的超声波信号时,向智能终端发送包含所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置的第三超 声波信号,从而由所述智能终端基于所述第二超声波信号的接收时间、所述除第一可穿戴设备之外的其他可穿戴设备的标识以及接收第二超声波信号时的位置确定所述除第一可穿戴设备之外的其他可穿戴设备的历史参考位置。a first ultrasonic transmitter, configured to: when receiving an ultrasonic signal sent by the smart terminal that includes the identifier of the wearable device other than the first wearable device, send the second ultrasonic signal to the smart terminal Receiving time, the identifier of the wearable device other than the first wearable device, and the third super position when receiving the second ultrasonic signal Acoustic signal, whereby the smart terminal determines the division based on a reception time of the second ultrasonic signal, an identification of the wearable device other than the first wearable device, and a position when receiving the second ultrasonic signal A historical reference location of other wearable devices other than the first wearable device.
  20. 根据权利要求16-19中任一项所述的基于超声定位的可穿戴设备,其特征在于,An ultrasonic positioning-based wearable device according to any one of claims 16 to 19, wherein
    所述可穿戴设备为手环、项链、脚环、脚链或项圈。 The wearable device is a bracelet, a necklace, a toe ring, an anklet or a collar.
PCT/CN2016/000306 2015-06-18 2016-06-14 Ranging system, positioning system and method, and wearable device WO2016201952A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510339402.9 2015-06-18
CN201510339402.9A CN104898111B (en) 2015-06-18 2015-06-18 A kind of alignment system based on localization by ultrasonic, wearable device and localization method

Publications (1)

Publication Number Publication Date
WO2016201952A1 true WO2016201952A1 (en) 2016-12-22

Family

ID=54030875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/000306 WO2016201952A1 (en) 2015-06-18 2016-06-14 Ranging system, positioning system and method, and wearable device

Country Status (2)

Country Link
CN (1) CN104898111B (en)
WO (1) WO2016201952A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221251A (en) * 2019-07-10 2019-09-10 成都大汇智联科技有限公司 It is a kind of for positioning the remote monitoring method of power station personnel positions coordinate
CN110286358A (en) * 2019-06-28 2019-09-27 努比亚技术有限公司 A kind of indoor orientation method, equipment and computer readable storage medium
CN110426676A (en) * 2019-07-31 2019-11-08 长春工程学院 A kind of positioning system based on ultrasound and localization method
CN112098942A (en) * 2020-02-24 2020-12-18 苏州触达信息技术有限公司 Intelligent device positioning method and intelligent device
CN112291710A (en) * 2020-09-21 2021-01-29 宇龙计算机通信科技(深圳)有限公司 Distance measuring method, distance measuring device, storage medium and electronic equipment

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898111B (en) * 2015-06-18 2017-10-31 苏州触达信息技术有限公司 A kind of alignment system based on localization by ultrasonic, wearable device and localization method
CN105829911A (en) * 2015-09-23 2016-08-03 深圳还是威健康科技有限公司 Method, smart bracelet and terminal for preventing user from going missing
CN105342812A (en) * 2015-10-05 2016-02-24 上海大学 Wearable walking aid for patient with Parkinson's disease
EP3432804B1 (en) * 2016-03-21 2021-05-05 Isono Health, Inc. Wearable ultrasound system and method
CN105785353B (en) * 2016-03-30 2018-05-11 南京大学 A kind of pedestrian's Relatively orientation method based on wearable audio frequency apparatus
CN105783920A (en) * 2016-04-22 2016-07-20 李明科 Indoor and outdoor positioning method, positioning system, and positioning foot rings
CN107690022A (en) * 2016-08-03 2018-02-13 陈江权 A kind of life study habit correction system
CN109799497B (en) * 2017-11-15 2021-06-11 张昊华 Sound source positioning method and sound wave navigator
CN109849810A (en) * 2017-11-30 2019-06-07 长城汽车股份有限公司 A kind of location determining method and device
CN108200646A (en) * 2018-01-29 2018-06-22 广东云立方互动科技有限公司 Fence implementation method based on ultrasonic wave
CN108398675B (en) * 2018-03-01 2020-12-11 英华达(上海)科技有限公司 Positioning system
CN110415495B (en) * 2018-04-26 2021-03-12 Oppo广东移动通信有限公司 Equipment loss processing method and related equipment
CN108985749A (en) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
CN110646762B (en) * 2018-06-26 2021-09-10 苏州触达信息技术有限公司 System, method and computer readable storage medium for monitoring position of person in tunnel
CN112098937A (en) * 2020-04-16 2020-12-18 苏州触达信息技术有限公司 Intelligent device positioning method and intelligent device
CN112098928B (en) * 2020-06-03 2023-10-24 苏州触达信息技术有限公司 Method, apparatus, server and computer readable storage medium for determining contactor
CN112312273B (en) * 2020-11-06 2023-02-03 维沃移动通信有限公司 Sound playing method, sound receiving method and electronic equipment
CN115223329B (en) * 2022-07-04 2024-01-09 湖南智圣云科技有限公司 Anti-lost method and system based on acoustic wave identity recognition

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798410A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Method for implementing measurement of round trip time
US20120086568A1 (en) * 2010-10-06 2012-04-12 Microsoft Corporation Inferring Building Metadata From Distributed Sensors
CN102680944A (en) * 2012-06-01 2012-09-19 中国科学院微电子研究所 Ultrasonic positioning method, device and system
CN103038663A (en) * 2010-04-30 2013-04-10 高通股份有限公司 Device for round trip time measurements
CN103169598A (en) * 2013-03-15 2013-06-26 华中科技大学 Wearable intelligent guide system and intelligent guide method
CN104898111A (en) * 2015-06-18 2015-09-09 苏州触达信息技术有限公司 Positioning system, wearable device and positioning method based on ultrasonic positioning
CN204719229U (en) * 2015-06-18 2015-10-21 苏州触达信息技术有限公司 A kind of positioning system based on localization by ultrasonic and wearable device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0768629A1 (en) * 1995-10-13 1997-04-16 MATRIX S.a.s. di G. DE ZORZI e C. An alarm system for articles to be confined within a given range
CN103761839A (en) * 2014-01-14 2014-04-30 柳明福 Anti-lost object search method based on TOF wireless distance measurement
CN103794001A (en) * 2014-03-09 2014-05-14 杜雨轩 Loss prevention bank card
CN204166124U (en) * 2014-10-09 2015-02-18 上海有向网络科技有限公司 Indoor locating system
CN104332012A (en) * 2014-10-31 2015-02-04 小米科技有限责任公司 Anti-theft method and device of terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798410A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Method for implementing measurement of round trip time
CN103038663A (en) * 2010-04-30 2013-04-10 高通股份有限公司 Device for round trip time measurements
US20120086568A1 (en) * 2010-10-06 2012-04-12 Microsoft Corporation Inferring Building Metadata From Distributed Sensors
CN102680944A (en) * 2012-06-01 2012-09-19 中国科学院微电子研究所 Ultrasonic positioning method, device and system
CN103169598A (en) * 2013-03-15 2013-06-26 华中科技大学 Wearable intelligent guide system and intelligent guide method
CN104898111A (en) * 2015-06-18 2015-09-09 苏州触达信息技术有限公司 Positioning system, wearable device and positioning method based on ultrasonic positioning
CN204719229U (en) * 2015-06-18 2015-10-21 苏州触达信息技术有限公司 A kind of positioning system based on localization by ultrasonic and wearable device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286358A (en) * 2019-06-28 2019-09-27 努比亚技术有限公司 A kind of indoor orientation method, equipment and computer readable storage medium
CN110221251A (en) * 2019-07-10 2019-09-10 成都大汇智联科技有限公司 It is a kind of for positioning the remote monitoring method of power station personnel positions coordinate
CN110221251B (en) * 2019-07-10 2023-04-07 成都大汇智联科技有限公司 Remote monitoring method for positioning personnel position coordinates of hydropower station
CN110426676A (en) * 2019-07-31 2019-11-08 长春工程学院 A kind of positioning system based on ultrasound and localization method
CN112098942A (en) * 2020-02-24 2020-12-18 苏州触达信息技术有限公司 Intelligent device positioning method and intelligent device
CN112291710A (en) * 2020-09-21 2021-01-29 宇龙计算机通信科技(深圳)有限公司 Distance measuring method, distance measuring device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104898111B (en) 2017-10-31
CN104898111A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
WO2016201952A1 (en) Ranging system, positioning system and method, and wearable device
KR100671283B1 (en) System and method for asynchronous wireless positioning by ordered transmission
US8203910B2 (en) Autonomous ultrasonic indoor location system, apparatus and method
EP2674775B1 (en) Wireless localisation system
US8811199B2 (en) Location detection in a wireless network
US8487756B2 (en) Locator inventory system
US20140038636A1 (en) Location of cooperative tags with personal electronic device
JP7232200B2 (en) Transmission device for use in location determination system
US20240107260A1 (en) Low level smartphone audio and sensor clock synchronization
JP2011196998A (en) Position identification method and system for searched object
EP3098621B1 (en) Systems and methods for detecting physical asset locations
ITRM20130702A1 (en) METHOD AND SYSTEM FOR THE LOCALIZATION OF OBJECTS IN AN ENVIRONMENT TO BE MONITORED.
JP2012255680A (en) Human position search system
CN204719229U (en) A kind of positioning system based on localization by ultrasonic and wearable device
CN107688183A (en) A kind of location monitoring system and method based on indoor accurate position
US10149634B2 (en) Mobile device and case functionally and physically coupled to the mobile device
JP2000180526A (en) Positioning system
Li et al. Portable RFID location system in security field
JP2019105602A (en) Reciprocation time measurement system
JP7341118B2 (en) System and method for registering the location of lost items
US11067663B2 (en) Apparatus and method of flight measurement
KR20110012121A (en) Store management server, wireless terminal and cart management mothod using the same
US11869334B2 (en) Medical item distance alert system
Ilas et al. Wireless sensors and actuators networks: Localization for medical and robotics applications
Vartak Smart security system for women and children using IoT

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16810693

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.04.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16810693

Country of ref document: EP

Kind code of ref document: A1