Iron shoe positioning method and device
By combining Bluetooth and satellite positioning technology and inertial navigation system, the problem of low positioning accuracy when the iron shoes are blocked by the car is solved, achieving high-precision iron shoes positioning and reducing costs.
Patent Information
- Application Number
- CN202410975130.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-26
AI Technical Summary
The existing iron shoe positioning method has low positioning accuracy when the iron shoe is blocked by the carriage, and the large number of Bluetooth control points are expensive to arrange.
The Bluetooth gateway on the iron shoe receives signals from multiple Bluetooth beacons in the car. If no signal is received, satellite positioning is used. After receiving the signal, the signal is integrated and filtered, the signal is converted to distance, and the displacement is measured in combination with the inertial navigation system. , realize precise positioning and reduce the number of Bluetooth device deployments in the preset area.
It improves the accuracy and security of iron shoes positioning, while reducing the deployment cost of Bluetooth devices and reducing the workload of iron shoes to prevent slipping and theft.
Smart Images

Figure CN119031328A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning, and in particular to a method and device for positioning an iron shoe. Background Art
[0002] Preventing vehicles from sliding is a critical safety issue for railway systems. Regular inspections increase workload and create safety risks for personnel crossing tracks. Furthermore, theft of shoe locators is a common occurrence at most railway stations, making the development and design of shoe locating methods particularly important.
[0003] In related technologies, shoe locators typically use satellite positioning, wireless communication base stations, or radio frequency cards to locate the shoe. The shoe's location information is then sent to a monitoring center via text message or other wireless communication methods to prevent the shoe from slipping or theft. However, using satellite positioning, wireless communication base stations, or radio frequency cards to locate the shoe can result in obstruction by the train, leading to low positioning accuracy.
[0004] Bluetooth positioning typically involves deploying Bluetooth control points along the tracks to determine the relative position of the shoe. However, Bluetooth positioning alone is ineffective if the shoe leaves the control point range, and deploying numerous Bluetooth control points along the tracks is costly. Summary of the Invention
[0005] The present application provides an iron shoe positioning method and device, which can improve the positioning accuracy of the iron shoe while reducing costs.
[0006] In a first aspect, an embodiment of the present application provides a method for positioning an iron shoe, the method comprising:
[0007] Receive Bluetooth signals from multiple Bluetooth beacons in the carriage through the Bluetooth gateway on the iron shoe;
[0008] If no Bluetooth signal is received, the iron shoe will be continuously located through satellite positioning, and an alarm will be triggered when the iron shoe is out of the preset area;
[0009] If a Bluetooth signal is received, integrating all Bluetooth signals into a first data set;
[0010] Dividing the Bluetooth signals in the first data set into three frequency bands, filtering the first data set, and retaining the frequency band with the highest Bluetooth signal strength in the first data set to obtain a second data set;
[0011] The signal strength of each Bluetooth signal in the second data set is converted into a first distance between each Bluetooth beacon and the iron shoe, and the iron shoe is accurately positioned according to all the first distances. If the iron shoe deviates from the preset placement position, an alarm is triggered.
[0012] In conjunction with the first aspect, in one embodiment, before the method is started, it further includes:
[0013] When the vehicle is stopped and located in the garage, the driver places the iron shoe;
[0014] The method is started after a pre-start time has elapsed.
[0015] In combination with the first aspect, in one embodiment, when the iron shoe is located at a preset placement position, the method further includes:
[0016] The displacement of the iron shoe is continuously measured by the inertial navigation system on the iron shoe. When the displacement of the iron shoe exceeds the preset displacement threshold, an alarm is triggered.
[0017] In combination with the first aspect, in one embodiment, measuring the displacement of the iron shoe by an inertial navigation system on the iron shoe includes:
[0018] The inertial navigation system includes an accelerometer and a gyroscope;
[0019] The acceleration value of the iron shoe is measured by the accelerometer, the angular velocity value of the iron shoe is measured by the gyroscope, and the displacement of the iron shoe is obtained according to the acceleration value and the angular velocity value.
[0020] In conjunction with the first aspect, in one embodiment, filtering the first data set includes:
[0021] The first data set is filtered by a maximum filtering method.
[0022] In combination with the first aspect, in one embodiment, converting the signal strength of each Bluetooth signal in the second data set into a first distance between each Bluetooth beacon and the iron shoe includes:
[0023] The signal strength of each Bluetooth signal in the second data set is converted into a first distance between each Bluetooth beacon and the iron shoe through a logarithmic path loss model.
[0024] In conjunction with the first aspect, in one implementation, the parameters of the logarithmic path loss model are calculated as follows:
[0025] Before the method is started, 3 to 5 Bluetooth beacons are pre-selected to send Bluetooth signals, and the parameters of the logarithmic path loss model are calculated based on the second distance between each Bluetooth beacon and the iron shoe, and the signal strength of each Bluetooth signal.
[0026] In combination with the first aspect, in one embodiment, the second distance between each Bluetooth beacon and the iron shoe is calculated as follows:
[0027] Establish the first coordinate system based on the carriage where the iron shoes are placed;
[0028] Calculate the coordinates of each Bluetooth beacon and the coordinates of the iron shoe based on the first coordinate system;
[0029] Based on the coordinates of each Bluetooth beacon and the coordinates of the iron shoe, a second distance between each Bluetooth beacon and the iron shoe is calculated.
[0030] In combination with the first aspect, in one embodiment, the step of accurately positioning the iron shoe according to all first distances includes:
[0031] The iron shoe is positioned by using an iterative weighted least square method, wherein the weight of the iterative weighted least square method is set to the inverse of the first distance.
[0032] In a second aspect, an embodiment of the present application provides an iron shoe positioning device based on the above method, the device comprising:
[0033] The acquisition module is used to receive Bluetooth signals sent by multiple Bluetooth beacons in the carriage through the Bluetooth gateway on the iron shoe;
[0034] Satellite positioning module, used to continuously locate the iron shoe through satellite positioning when the acquisition module does not receive the Bluetooth signal;
[0035] An analysis module is configured to integrate all Bluetooth signals into a first data set; divide the Bluetooth signals in the first data set into three frequency bands, filter the first data set, retain the frequency band with the highest Bluetooth signal strength in the first data set, and obtain a second data set; convert the signal strength of each Bluetooth signal in the second data set into a first distance between each Bluetooth beacon and the iron shoe, and accurately locate the iron shoe based on all the first distances;
[0036] The alarm module is used to alarm when the iron shoe is not in the preset area or deviates from the preset placement position.
[0037] The beneficial effects of the technical solutions provided in the embodiments of the present application include:
[0038] The Bluetooth gateway on the shoe receives Bluetooth signals from multiple Bluetooth beacons within the carriage. If no Bluetooth signals are received, the shoe is continuously located using satellite positioning. When a Bluetooth signal is received, all Bluetooth signals are integrated into a first data set, retaining the frequency band with the highest signal strength. The signal strength of each Bluetooth signal is then converted into a first distance between each Bluetooth beacon and the shoe, and the shoe is accurately located based on all these first distances. Using satellite positioning for large areas and Bluetooth positioning for smaller areas reduces the number of Bluetooth devices deployed, thereby improving shoe positioning accuracy and reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a flow chart of a specific embodiment of the iron shoe positioning method of this application.
[0040] Figure 2 This is a schematic diagram of distance intersection positioning in a specific embodiment of the iron shoe positioning method of this application. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] First, some technical terms in this application are explained to facilitate those skilled in the art to understand this application.
[0043] Wheel shoes: Wheel shoes, also known as wheel stoppers, are crucial anti-skid devices in railway shunting operations. Their primary function is to prevent rolling stock from sliding while stationary or under certain circumstances, thereby ensuring rail transportation safety. Wheel shoes typically consist of two parts: a base and a head. The base is used by the wheel to slide, while the head grips the wheel, allowing it to slide along with the wheel, thus providing a braking effect.
[0044] Bluetooth beacon: A Bluetooth beacon is a small wireless device based on the Bluetooth low-power protocol. As a peripheral device in the Bluetooth low-power protocol, a Bluetooth beacon features low power consumption, high accuracy, and ease of deployment. A Bluetooth beacon broadcasts a data packet to the surrounding area at regular intervals. This packet contains the device's unique ID and other relevant information, such as the MAC (Media Access Control Address) address and the received and transmitted signal strength indicator. When a user's mobile device receives these signals, it can calculate its distance and direction relative to the Bluetooth beacon, thereby achieving indoor positioning.
[0045] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0046] In a first aspect, an embodiment of the present application provides a method for positioning an iron shoe, the method comprising the following steps:
[0047] The Bluetooth signals sent by multiple Bluetooth beacons in the carriage are received through the Bluetooth gateway on the iron shoe.
[0048] If no Bluetooth signal is received, the iron shoe will be continuously located through satellite positioning, and an alarm will be triggered when the iron shoe is not within the preset area.
[0049] If a Bluetooth signal is received, all Bluetooth signals are integrated into a first data set.
[0050] The Bluetooth signals in the first data set are divided into three frequency bands, the first data set is filtered, and the frequency band with the highest Bluetooth signal strength in the first data set is retained to obtain a second data set.
[0051] The signal strength of each Bluetooth signal in the second data set is converted into the first distance between each Bluetooth beacon and the iron shoe, and the iron shoe is accurately positioned according to all the first distances. If the iron shoe deviates from the preset placement position, an alarm is triggered.
[0052] In this embodiment, the shoe positioning method uses satellite positioning within a pre-set area and Bluetooth positioning within areas obscured by train cars. Because the train cars are mobile, there's no need to deploy fixed Bluetooth devices on the tracks at each station. This reduces the number of Bluetooth devices deployed, thereby improving shoe positioning accuracy and reducing costs.
[0053] In this embodiment, the preset area is a fixed area designated within each train station and can be appropriately adjusted according to changes in the tracks and other facilities within the train station.
[0054] In some embodiments, before the above method is started, the method further includes:
[0055] When the vehicle is stopped and located in the garage, the driver places the iron shoe and starts the method after the pre-start time. It should be noted that this pre-start time is the time required to activate the Bluetooth beacon, Bluetooth gateway and satellite positioning.
[0056] In some embodiments, the iron shoe is accurately positioned based on all the first distances. If the iron shoe is at a preset placement position, the method further includes: continuously measuring the displacement of the iron shoe through an inertial navigation system on the iron shoe, and when the displacement of the iron shoe is greater than a preset displacement threshold, an alarm is triggered. Figure 1 , Figure 1 This is a flow chart of a specific embodiment of the iron shoe positioning method of this application. This embodiment includes the following steps:
[0057] Step S1: When the vehicle stops and is located in the garage, the driver places the iron shoe.
[0058] Step S2: Receive Bluetooth signals sent by multiple Bluetooth beacons in the carriage through the Bluetooth gateway on the iron shoe.
[0059] Step S3: Determine whether a Bluetooth signal is received. If so, proceed to step S4; if not, proceed to step S9.
[0060] It should be noted that if a Bluetooth signal is collected, it means that the iron shoe is near the carriage, and the iron shoe can be located by Bluetooth; if no Bluetooth signal is collected, it means that the iron shoe is not near the carriage, and a larger range satellite positioning is needed to locate the iron shoe.
[0061] Step S4: Integrate all Bluetooth signals into a first data set.
[0062] Step S5: Divide the Bluetooth signals in the first data set into three frequency bands, filter the first data set, and retain the frequency band with the highest Bluetooth signal strength in the first data set to obtain a second data set.
[0063] Step S6: converting the signal strength of each Bluetooth signal in the second data set into a first distance between each Bluetooth beacon and the iron shoe, and accurately positioning the iron shoe according to all the first distances.
[0064] Step S7: Determine whether the iron shoe is placed in the preset position. If so, proceed to step S12; if not, proceed to step S8.
[0065] Step S8: Alarm. Specifically, the alarm here is an alarm when the iron shoe is not placed in the preset position.
[0066] Step S9: Continuously positioning the iron shoe via satellite.
[0067] In some embodiments, after the coordinates of the iron shoe are obtained through satellite positioning, the coordinates are marked on an electronic map.
[0068] Step S10: Determine whether the iron shoe is within the preset area. If so, return to step S9; if not, proceed to step S11.
[0069] Step S11: alarm. Specifically, the alarm here is an iron shoe anti-theft alarm.
[0070] Step S12: Continuously measure the displacement of the iron shoe through the inertial navigation system on the iron shoe.
[0071] Step S13: Determine whether the displacement of the iron shoe is greater than a preset displacement threshold. If so, proceed to step S14; if not, return to step S12.
[0072] Step S14: alarm. Specifically, the alarm here is an iron shoe anti-slip alarm.
[0073] In some embodiments, in the above step S5, the first data set is filtered using a maximum filtering method.
[0074] In some embodiments, in the above step S6, the signal strength of each Bluetooth signal in the second data set is converted into the first distance between each Bluetooth beacon and the iron shoe using a logarithmic path loss model. The formula of the logarithmic path loss model is:
[0075]
[0076] In formula (1), P(d) and P(d0) are the signal strength RSSI at d meters and d0 meters away from the Bluetooth beacon, respectively, in dBm. n is the signal attenuation factor, which is related to the space in which the signal propagates. In this embodiment, d0 is 1 meter, and A = P(1). From formula (1), the relationship between d and P(d) can be deduced, resulting in formula (2):
[0077]
[0078] In formula (2), A is the signal strength at a distance of one meter from the Bluetooth beacon, P(d) is the signal strength of each Bluetooth signal, n is the signal attenuation factor, and d is the first distance between each Bluetooth beacon and the iron shoe.
[0079] In some embodiments, in the above step S6, the iron shoe is precisely positioned using a distance intersection method based on all the first distances.
[0080] In this embodiment, please refer to Figure 2 , Figure 2 This is a schematic diagram of distance intersection positioning in a specific embodiment of the iron shoe positioning method of this application.
[0081] exist Figure 2 In the figure, BS1, BS2 and BS3 are three Bluetooth beacons respectively. A circle is drawn with each Bluetooth beacon as the center and the first distances r1, r2 and r3 corresponding to each Bluetooth beacon as the radius. The obtained intersection point E is the location of the iron shoe.
[0082] In some embodiments, in the above step S6, the logarithmic path loss model parameters are calculated as follows:
[0083] Before starting the method, 3 to 5 Bluetooth beacons are preselected to send Bluetooth signals, and the parameters of the logarithmic path loss model are calculated based on the second distance between each Bluetooth beacon and the iron shoe and the signal strength of each Bluetooth signal.
[0084] In this embodiment, the calculated logarithmic path loss model parameters include the signal strength A and the signal attenuation factor n at a distance of one meter from the Bluetooth beacon.
[0085] In some embodiments, the second distance between each Bluetooth beacon and the iron shoe is calculated as follows:
[0086] A first coordinate system is established with the carriage where the shoe is placed as a reference. The coordinates of each Bluetooth beacon and the shoe are calculated based on the first coordinate system. A second distance between each Bluetooth beacon and the shoe is then calculated based on the coordinates of the Bluetooth beacon and the shoe.
[0087] In some embodiments, in the above step S6, the above-mentioned precise positioning of the iron shoe according to all the first distances may be specifically:
[0088] The iron shoe is positioned by using an iterative weighted least square method, wherein the weight of the iterative weighted least square method is set to the inverse of the first distance.
[0089] It should be noted that due to the influence of obstruction, multipath effects and inaccurate parameters of the logarithmic path loss model, the first distance measured often has errors, which makes the multiple circles obtained by the above-mentioned distance intersection method not intersect at the position of the iron shoe. Therefore, it is necessary to locate the iron shoe through iterative weighted least squares method.
[0090] In this embodiment, the specific algorithm steps of the iterative weighted least squares method are as follows:
[0091] A01: The distance observation equation between the iron shoe and the i-th Bluetooth beacon is:
[0092]
[0093] In formula (3), d i is the first distance between the iron shoe and the i-th Bluetooth beacon, is the iron shoe coordinate, X i 、Y i , Z i is the coordinate of the i-th Bluetooth beacon, ε i is the measurement error.
[0094] A02: Assume that the initial value of the iron shoe coordinate is Linearize formula (3) and get:
[0095]
[0096] In formula (4), v i is the residual, is the coordinate correction value of the iron shoe, satisfying
[0097] A03: Assume:
[0098] m i =(x 0 -x i ) / ρ 0 , n i =(y 0 -y i ) / ρ 0 , l i =(z 0 -z i ) / ρ 0 , mi 、n i 、l i 、w i They are all reference symbols.
[0099] Then formula (4) can be converted into formula (5):
[0100] v i =m i x+n i y+l i zw i (5)
[0101] A04: Assuming there are a Bluetooth beacons, formula (5) can be converted into matrix form:
[0102] v=Bx-w (6)
[0103] In formula (6), v=[v1 ... v a ] T , w=[w1 ...w a ] T .
[0104] A05: By processing formula (6) through least squares solution, we can obtain formula (7)
[0105]
[0106] In formula (7), P is set to the reciprocal of the first distance.
[0107] A06: To determine when the least squares method converges, let when When , the least squares method does not converge, let Re-linearize and perform least squares solution until the convergence condition is met. After convergence, the final result of the iron shoe coordinates is
[0108] In some embodiments, in the above step S12, measuring the displacement of the iron shoe by an inertial navigation system on the iron shoe includes:
[0109] The inertial navigation system includes an accelerometer and a gyroscope. The acceleration value of the iron shoe is measured by the accelerometer, and the angular velocity value of the iron shoe is measured by the gyroscope. The displacement of the iron shoe is obtained according to the acceleration value and the angular velocity value.
[0110] It should be noted that since the positioning accuracy of Bluetooth positioning cannot be accurate to extremely small measurements, such as centimeters and millimeters, it is necessary to obtain the displacement of the iron shoe through an inertial navigation system and determine whether the iron shoe has slipped based on the displacement.
[0111] In this embodiment, the displacement of the iron shoe is measured by an inertial navigation system on the iron shoe. The specific steps are as follows:
[0112] S121: The acceleration values of the iron shoe in three axes are measured by the accelerometer on the iron shoe (α x ,α y ,α z ), the angular velocity of the iron shoe in three axes is measured by the gyroscope (ω x ,ω y ,ω z ).
[0113] S122: Referring to formula (8), integrate the acceleration value to obtain the speed of the iron shoe.
[0114]
[0115] In formula (8), v(t) is the velocity of the iron shoe, a(t) is the acceleration of the iron shoe, and v0 is the initial velocity of the iron shoe, which is usually set to zero.
[0116] S123: Referring to formula (9), the speed of the iron shoe is integrated to obtain the displacement of the iron shoe.
[0117]
[0118] In formula (9), s(t) is the displacement of the iron shoe, v(t) is the velocity of the iron shoe, and s0 is the initial position of the iron shoe, which is usually set to zero.
[0119] S124: Referring to formula (10), the angular velocity of the iron shoe is integrated to obtain the posture angle of the iron shoe.
[0120]
[0121] In formula (10), θ(t) is the posture angle of the iron shoe, ω(t) is the angular velocity of the iron shoe, and θ0 is the initial posture angle of the iron shoe.
[0122] S125: Obtain the displacement of the iron shoe according to the posture angle of the iron shoe and the displacement of the iron shoe.
[0123] In a second aspect, an embodiment of the present application provides an iron shoe positioning device based on the above method, the device comprising the following modules:
[0124] The acquisition module is used to receive Bluetooth signals emitted by multiple Bluetooth beacons in the carriage through the Bluetooth gateway on the iron shoe.
[0125] The satellite positioning module is used to continuously locate the iron shoe through satellite positioning when the acquisition module does not receive the Bluetooth signal.
[0126] The analysis module is used to integrate all Bluetooth signals into a first data set, divide the Bluetooth signals in the first data set into three frequency bands, filter the first data set, retain the frequency band with the highest Bluetooth signal strength in the first data set, obtain a second data set, convert the signal strength of each Bluetooth signal in the second data set into the first distance between each Bluetooth beacon and the iron shoe, and accurately locate the iron shoe based on all the first distances.
[0127] The alarm module is used to alarm when the iron shoe is not in the preset area or deviates from the preset placement position.
[0128] In this embodiment, the Bluetooth beacon is used. A Bluetooth beacon is a low-power Bluetooth technology that can only broadcast information, not receive it. When the acquisition module is operating, the Bluetooth beacon installed in the carriage continuously broadcasts Bluetooth signals, and the Bluetooth gateway on the shoe continuously receives the Bluetooth signals broadcast by the Bluetooth beacon.
[0129] In this embodiment, Beidou positioning is used to collect the position of the iron shoe, and the latitude and longitude coordinates of the iron shoe are compared with the position inside the work vehicle to determine whether the iron shoe is stolen.
[0130] In this embodiment, the satellite positioning module consists of a positioning device on the iron shoe body, an intermediate router, and an iron shoe monitoring terminal, and the positioning device on the iron shoe body consists of a positioning unit, a data transmission unit and a power supply unit. The intermediate router is mainly responsible for sending the positioning data to the Beidou positioning data server. Beidou positioning uses data analysis to mark the current position of the iron shoe on the electronic map. If the iron shoe is currently in the preset area, it means that the iron shoe has not been stolen. If the iron shoe is outside the preset area, it means that the iron shoe has been stolen.
[0131] It should be noted that since the satellite positioning module needs to be installed on the iron shoe body, it is necessary to control the volume of the satellite positioning module to ensure that the satellite positioning module does not affect the normal use of the iron shoe when installed on the iron shoe body.
[0132] It should be noted that the shoe's positioning is accomplished through a combination of Bluetooth and satellite positioning. The acquisition and analysis modules are responsible for positioning in small, obstructed areas, while the satellite positioning module is responsible for large-scale positioning. Small-scale obstruction refers to the area obscured by the train. Large-scale positioning refers to the area beyond the obstruction.
[0133] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0134] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit the "first", "second" and "third" to different types.
[0135] In the description of the embodiments of this application, the words "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.
[0136] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0137] In some processes described in the embodiments of the present application, multiple operations or steps are included that appear in a specific order. However, it should be understood that these operations or steps may not be performed in the order in which they appear in the embodiments of the present application or may be performed in parallel. The sequence numbers of the operations are only used to distinguish between different operations, and the sequence numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations or steps may be performed in sequence or in parallel, and these operations or steps may be combined.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device to execute the methods described in each embodiment of the present application.
[0139] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for positioning an iron shoe, It is characterized in that The method comprises: The Bluetooth signal sent by multiple Bluetooth beacons in the carriage is received through the Bluetooth gateway on the iron shoe; If no Bluetooth signal is received, the iron shoe will be continuously located through satellite positioning, and an alarm will be triggered when the iron shoe is not within the preset area; If a Bluetooth signal is received, integrating all Bluetooth signals into a first data set; Dividing the Bluetooth signals in the first data set into three frequency bands, filtering the first data set, retaining the frequency band with the highest Bluetooth signal strength in the first data set, and obtaining a second data set; The signal strength of each Bluetooth signal in the second data set is converted into the first distance between each Bluetooth beacon and the iron shoe, and the iron shoe is accurately positioned according to all the first distances. If the iron shoe deviates from the preset placement position, an alarm is triggered.
2. The iron shoe positioning method according to claim 1, It is characterized in that Before the method is started, it also includes: When the vehicle is stopped and located in the garage, the driver places the iron shoe; The method is started after a pre-start time has elapsed.
3. The iron shoe positioning method according to claim 1, It is characterized in that When the iron shoe is at the preset placement position, it also includes: The displacement of the iron shoe is continuously measured by the inertial navigation system on the iron shoe. When the displacement of the iron shoe is greater than the preset displacement threshold, an alarm is triggered.
4. The iron shoe positioning method according to claim 3, It is characterized in that The method of measuring the displacement of the iron shoe by using an inertial navigation system on the iron shoe comprises: The inertial navigation system includes an accelerometer and a gyroscope; The acceleration value of the iron shoe is measured by the accelerometer, the angular velocity value of the iron shoe is measured by the gyroscope, and the displacement of the iron shoe is obtained according to the acceleration value and the angular velocity value.
5. The iron shoe positioning method according to claim 1, It is characterized in that The filtering the first data set comprises: The first data set is filtered by a maximum filtering method.
6. The iron shoe positioning method according to claim 1, It is characterized in that The converting the signal strength of each Bluetooth signal in the second data set into a first distance between each Bluetooth beacon and the iron shoe comprises: The signal strength of each Bluetooth signal in the second data set is converted into a first distance between each Bluetooth beacon and the iron shoe through a logarithmic path loss model.
7. The iron shoe positioning method according to claim 6, It is characterized in that The parameters of the logarithmic path loss model are calculated as follows: Before the method is started, 3 to 5 Bluetooth beacons are pre-selected to send Bluetooth signals, and the parameters of the logarithmic path loss model are calculated based on the second distance between each Bluetooth beacon and the iron shoe and the signal strength of each Bluetooth signal.
8. The iron shoe positioning method according to claim 7, It is characterized in that The calculation method of the second distance between each Bluetooth beacon and the iron shoe is: Establish the first coordinate system based on the carriage where the iron shoes are placed; Calculate the coordinates of each Bluetooth beacon and the coordinates of the iron shoe based on the first coordinate system; Based on the coordinates of each Bluetooth beacon and the coordinates of the iron shoe, a second distance between each Bluetooth beacon and the iron shoe is calculated.
9. The iron shoe positioning method according to claim 1, It is characterized in that The method of accurately positioning the iron shoe according to all the first distances comprises: The iron shoe is located by using an iterative weighted least square method, wherein the weight of the iterative weighted least square method is set to be the inverse of the first distance.
10. An iron shoe positioning device based on the method according to any one of claims 1 to 9, It is characterized in that The device comprises: A collection module, used for receiving Bluetooth signals sent by multiple Bluetooth beacons in the carriage through the Bluetooth gateway on the iron shoe; The satellite positioning module is used to continuously locate the iron shoe through satellite positioning when the acquisition module does not receive the Bluetooth signal; An analysis module is used to integrate all Bluetooth signals into a first data set; divide the Bluetooth signals in the first data set into three frequency bands, filter the first data set, retain the frequency band with the highest Bluetooth signal strength in the first data set, and obtain a second data set; convert the signal strength of each Bluetooth signal in the second data set into a first distance between each Bluetooth beacon and the iron shoe, and accurately locate the iron shoe according to all the first distances; The alarm module is used to alarm when the iron shoe is not in the preset area and deviates from the preset placement position.
