Mileage measurement system and method based on magnetic sensor

文档序号:5564 发布日期:2021-09-17 浏览:132次 中文

1. A magnetic sensor-based mileage measuring system is characterized by comprising a processor, a magnetic sensor and a magnet;

at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and waveforms generated when any magnet mounting part passes through the magnetic sensor are different;

the processor is configured to:

acquiring a waveform generated by a magnet following the tire to roll in the rolling process of the tire through a magnetic sensor;

determining the rolling direction of the tire according to the waveform; the scrolling direction comprises a forward direction and a backward direction;

determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number;

and determining the current total travel distance according to the travel distance.

2. The system of claim 1, wherein the magnet mounting portions mount different numbers of magnets.

3. The system of claim 2, wherein the magnet mounts are evenly distributed along the tire circumference.

4. The system of any one of claims 1 to 3, wherein the processor is further configured to:

and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round.

5. The system of claim 4, wherein the processor is further configured to:

and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming.

6. The system of claim 4, wherein the processor is further configured to:

and comparing the incomplete waveform with the complete waveform to determine the magnet installation part with the fault.

7. A mileage measuring method based on a magnetic sensor is applied to a processor and comprises the following steps:

acquiring a waveform generated by a magnet following the tire to roll in the rolling process of the tire through a magnetic sensor; at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and waveforms generated when any magnet mounting part passes through the magnetic sensor are different;

determining the rolling direction of the tire according to the waveform; the scrolling direction comprises a forward direction and a backward direction;

determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number;

and determining the current total travel distance according to the travel distance.

8. The method of claim 7, wherein after said obtaining, by a magnetic sensor, a waveform generated by a magnet following the tire rolling during the tire rolling, further comprising:

and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round.

9. The method of claim 8, wherein after said obtaining, by a magnetic sensor, a waveform generated by a magnet following the tire rolling during the tire rolling, further comprising:

and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming.

10. The method of claim 8, wherein after said obtaining, by a magnetic sensor, a waveform generated by a magnet following the tire rolling during the tire rolling, further comprising:

and comparing the incomplete waveform with the complete waveform to determine the magnet installation part with the fault.

Background

The distance and speed measuring instruments of the existing bicycles, motorcycles or other vehicles are not very accurate, and some vehicles even have larger errors. In the present stage, a mileage measuring device in a vehicle such as a bicycle usually uses a magnetic sensor, a magnet placed on a spoke of a wheel, to measure a distance and a speed. This often results in missed detection and thus measurement errors. Some instruments use a plurality of magnetic sensors and a plurality of magnets, so that although the missing detection is improved, the loss of hardware is increased, and the two schemes cannot solve the problem of the error in measuring the mileage caused by the backing of the vehicle. Therefore, how to avoid the wrong mileage measurement caused by the reversing of the vehicle is an urgent problem to be solved by the technical personnel in the field.

Disclosure of Invention

The invention aims to provide a magnetic sensor-based mileage measuring system, which can avoid the error of mileage measurement caused by reversing a vehicle; the invention also provides a mileage measuring method based on the magnetic sensor, which can avoid the mileage measuring error caused by the backing of the vehicle.

In order to solve the technical problem, the invention provides a magnetic sensor-based mileage measuring system, which comprises a processor, a magnetic sensor and a magnet;

at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and waveforms generated when any magnet mounting part passes through the magnetic sensor are different;

the processor is configured to:

acquiring a waveform generated by a magnet following the tire to roll in the rolling process of the tire through a magnetic sensor;

determining the rolling direction of the tire according to the waveform; the scrolling direction comprises a forward direction and a backward direction;

determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number;

and determining the current total travel distance according to the travel distance.

Optionally, the number of the magnets mounted on the magnet mounting portion is different.

Optionally, the magnet mounting portions are uniformly distributed along the tire circumferential direction.

Optionally, the processor is further configured to:

and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round.

Optionally, the processor is further configured to:

and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming.

Optionally, the processor is further configured to:

and comparing the incomplete waveform with the complete waveform to determine the magnet installation part with the fault.

The invention also provides a mileage measuring method based on the magnetic sensor, which is applied to a processor and comprises the following steps:

acquiring a waveform generated by a magnet following the tire to roll in the rolling process of the tire through a magnetic sensor; at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and waveforms generated when any magnet mounting part passes through the magnetic sensor are different;

determining the rolling direction of the tire according to the waveform; the scrolling direction comprises a forward direction and a backward direction;

determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number;

and determining the current total travel distance according to the travel distance.

Optionally, after the obtaining, by the magnetic sensor, a waveform generated by the magnet following the tire rolling in the tire rolling process, the method further includes:

and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round.

Optionally, after the obtaining, by the magnetic sensor, a waveform generated by the magnet following the tire rolling in the tire rolling process, the method further includes:

and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming.

Optionally, after the obtaining, by the magnetic sensor, a waveform generated by the magnet following the tire rolling in the tire rolling process, the method further includes:

and comparing the incomplete waveform with the complete waveform to determine the magnet installation part with the fault.

The invention provides a magnetic sensor-based mileage measuring system, which comprises a processor, a magnetic sensor and a magnet, wherein the magnetic sensor is arranged on the processor; at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and the waveforms generated by the magnet mounting parts at any position through a magnetic sensor are different; the processor is configured to: acquiring a waveform generated by the magnet rolling along with the tire in the tire rolling process through a magnetic sensor; determining the rolling direction of the tire according to the waveform; the rolling direction includes a forward direction and a backward direction; determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is the advancing direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number; and determining the current total travel distance according to the travel distance.

Because the wave forms that each magnet installation department produced through magnetic sensor are all inequality, consequently can confirm the tire according to the sequence of different wave forms in the wave form that magnetic sensor obtained whether forward rotation or reverse rotation to can confirm that the carrier is marching forward or is retreating, and then can avoid measuring the mistake because of the mileage that the car formed when calculating total mileage.

The invention also provides a mileage measuring method based on the magnetic sensor, which has the beneficial effects and is not repeated herein.

Drawings

In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.

Fig. 1 is a schematic structural diagram of a magnetic sensor-based mileage measuring system according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of waveforms acquired by the processor of FIG. 1;

fig. 3 is a flowchart of a method for measuring mileage based on a magnetic sensor according to an embodiment of the present invention.

In the figure: 1. the magnetic sensor comprises a processor, 2 magnetic sensors, 3 magnets and 4 magnet mounting parts.

Detailed Description

The core of the invention is to provide a mileage measuring method based on a magnetic sensor. In the prior art, the problem of measuring errors of mileage caused by reversing a vehicle cannot be solved only by the magnet and the magnetic sensor.

The mileage measuring system based on the magnetic sensor comprises a processor, a magnetic sensor and a magnet; at least three magnet mounting parts are arranged along the circumferential direction of the tire, magnets are arranged on the magnet mounting parts, and the waveforms generated by the magnet mounting parts at any position through a magnetic sensor are different; the processor is configured to: acquiring a waveform generated by the magnet rolling along with the tire in the tire rolling process through a magnetic sensor; determining the rolling direction of the tire according to the waveform; the rolling direction includes a forward direction and a backward direction; determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is the advancing direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number; and determining the current total travel distance according to the travel distance.

Because the wave forms that each magnet installation department produced through magnetic sensor are all inequality, consequently can confirm the tire according to the sequence of different wave forms in the wave form that magnetic sensor obtained whether forward rotation or reverse rotation to can confirm that the carrier is marching forward or is retreating, and then can avoid measuring the mistake because of the mileage that the car formed when calculating total mileage.

In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1 and fig. 2, fig. 1 is a schematic structural diagram of a magnetic sensor-based mileage measuring system according to an embodiment of the present invention; fig. 2 is a schematic diagram of waveforms acquired by the processor of fig. 1.

Referring to fig. 1, in an embodiment of the present invention, a magnetic sensor-based mileage measuring system is characterized by including a processor 1, a magnetic sensor 2, and a magnet 3; at least three magnet mounting parts 4 are arranged along the circumferential direction of the tire, magnets 3 are arranged on the magnet mounting parts 4, and waveforms generated when any magnet mounting part 4 passes through the magnetic sensor 2 are different; the processor 1 is configured to: acquiring a waveform generated by the magnet 3 rolling along with the tire in the tire rolling process through the magnetic sensor 2; determining the rolling direction of the tire according to the waveform; the scrolling direction comprises a forward direction and a backward direction; determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number; and determining the current total travel distance according to the travel distance.

The magnetic sensor-based mileage measuring system provided by the embodiment of the invention is usually applied to carriers such as existing bicycles, motorcycles and the like, at least three magnet mounting parts 4 are required to be arranged on spokes of a carrier tire along the circumferential direction, wherein each magnet mounting part 4 is required to be provided with a magnet 3. During the rolling process of the tire, the magnet 3 mounted on each magnet mounting part 4 needs to pass through the magnetic sensor 2 fixed on the vehicle, so that the magnetic sensor 2 can generate a corresponding waveform according to the passing magnet 3. Note that the magnet attachment portions 4 each generate a different waveform when passing through the magnetic force sensor 2. Thus, the waveform over time generated by the forward rolling of the tire in embodiments of the present invention is not the same as the waveform over time generated by the backward rolling of the tire. At this time, whether the tire is rolling forward or backward can be determined according to the difference of the waveform.

Specifically, in the embodiment of the present invention, the number of the magnets 3 mounted on the magnet mounting portion 4 may be different, so that each magnet mounting portion 4 generates a different waveform when passing through the magnetic sensor 2. Taking three magnet installation parts 4 as an example, the first magnet installation part 4 can be provided with only one magnet 3, and the waveform of the magnet installation part 4 when passing through the magnetic sensor 2 only has one wave crest; two magnets 3 can be arranged on the second magnet mounting part 4, and the waveform of the magnet mounting part 4 passing through the magnetic sensor 2 has two wave crests; the third magnet mounting portion 4 may be provided with three magnets 3, and the waveform of the magnet mounting portion 4 passing through the magnetic sensor 2 has three peaks. Of course, the number of the magnet mounting portions 4 and the number of the magnets 3 in each magnet mounting portion 4 may be set by themselves according to the actual situation, and is not particularly limited herein. Normally, the magnet mounting portions 4 are uniformly distributed along the tire circumferential direction to ensure the accuracy of measurement.

With reference to fig. 2, the magnetic sensor 2 is connected to a processor 1, the processor 1 being first configured to: the waveform generated by the magnet 3 following the rolling of the tire during the rolling process of the tire is obtained through the magnetic sensor 2. It should be noted that the waveform acquired by the processor 1 here is generally a waveform acquired in a period of time during the continuous rolling of the tire, and the waveform generally requires at least three complete waveforms generated by the magnet mounting portion 4 passing through the magnetic sensor 2.

The processor 1 will then be configured to: determining the rolling direction of the tire according to the waveform; the scrolling directions include a forward direction and a reverse direction. Taking the three magnet mounting portions 4 as an example, when the number of wave crests of the waveform acquired by the processor 1 is a cycle of "1-2-3" in sequence, the rolling direction of the tire can be determined, namely the rolling direction is the advancing direction; when the number of peaks of the waveform acquired by the processor 1 is in turn "1-3-2" cycles, the direction in which the tire rolls, i.e., the rolling direction is the backward direction, can be determined.

After that, the processor 1 is configured to: determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is a forward direction, the running distance is a positive number; when the rolling direction is a reverse direction, the travel distance is a negative number. The calculation cycle may specifically determine the length of the current calculation according to the duration, or may determine the length of the current calculation according to the number of waveforms, which is determined according to specific situations and is not specifically limited herein.

The above process of determining the distance traveled by the tire in the current calculation run from the waveform means that the tire has rolled one revolution each time the waveform of "1-2-3-1" appears at the peak of the waveform, or the waveform of "1-3-2-1" appears, taking the above three magnet mounting portions 4 as an example. The running distance of the tire in the current calculation round can be calculated according to the circumference of the tire and the occurrence number of the waveform. Specifically, in the embodiment of the present invention, when the rolling direction is the forward direction, the travel distance is set to be a positive number; when the scroll direction is the reverse direction, the travel distance is set to a negative number. In order to avoid the occurrence of waveforms indicating a plurality of driving directions in one calculation round, it is necessary to appropriately adjust the length of the calculation round, and the driving distance in the calculation round is usually calculated as one calculation round each time the tire rolls for one round.

Finally, the processor 1 will be configured to: and determining the current total travel distance according to the travel distance. When calculating the total travel distance, i.e., the travel range, the travel distances calculated before are added up, and at this time, since the travel distance corresponding to the reverse direction is a negative number, the distance moved by the vehicle when the vehicle is moving backward is subtracted in this step, that is, the total travel distance is usually obtained by subtracting the reverse distance corresponding to the reverse direction from the forward distance corresponding to the forward direction. Therefore, the measuring error of the mileage caused by the backing of the vehicle is avoided, and the accuracy of the mileage calculation is ensured.

In the embodiment of the present invention, the processor 1 may further calculate the moving speed of the vehicle according to the waveform measured by the magnetic sensor 2. For the specific calculation process of the moving speed, reference may be made to the prior art, and details thereof are not repeated herein.

The embodiment of the invention provides a magnetic sensor-based mileage measuring system, which comprises a processor 1, a magnetic sensor 2 and a magnet 3; at least three magnet mounting parts 4 are arranged along the circumferential direction of the tire, the magnet mounting parts 4 are provided with magnets 3, and the waveforms generated by the magnet mounting parts 4 passing through the magnetic sensor 2 at any position are different; the processor 1 is configured to: acquiring a waveform generated by the magnet 3 rolling along with the tire in the tire rolling process through the magnetic sensor 2; determining the rolling direction of the tire according to the waveform; the rolling direction includes a forward direction and a backward direction; determining the running distance of the tire in the current calculation turn according to the waveform; when the rolling direction is the advancing direction, the running distance is a positive number; when the rolling direction is a backward direction, the running distance is a negative number; and determining the current total travel distance according to the travel distance.

Because the waveforms that each magnet installation portion 4 produced through magnetic sensor 2 are all different, consequently can confirm the tire according to the sequence of different waveforms in the waveform that magnetic sensor 2 obtained whether forward rotation or reverse rotation to can confirm that the carrier is marching forward or retreating, and then can avoid because of the car measures the mistake because of the mileage that the car backed a car when calculating total mileage.

The following embodiments of the present invention will be described in detail with reference to a magnetic sensor-based mileage measuring system.

Different from the above embodiment of the invention, the embodiment of the invention is further limited to the calculation process of the processor 1 based on the above embodiment of the invention. The rest of the contents are already described in detail in the above embodiments of the present invention, and are not described herein again.

In the embodiment of the present invention, the processor 1 is further configured to: and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round. The waveform detected by the magnetic sensor 2 can be divided into a complete waveform and an incomplete waveform, wherein the complete waveform is a waveform generated when each magnet mounting portion 4 has no fault and passes through the magnetic sensor 2, and the incomplete waveform is a waveform generated when one or some magnet mounting portions 4 have faults and passes through the magnetic sensor 2. Compared to a full waveform, a non-full waveform will produce some change. Taking the three magnet mounting portions 4 as an example, the waveforms with the number of wave crests sequentially being "1-2-3" in the forward direction and the waveforms with the number of wave crests sequentially being "1-3-2" in the backward direction can be regarded as complete waveforms; waveforms such as "2-3-2-3", "1-3-1", "1-2-2" may be considered as incomplete waveforms.

In the embodiment of the present invention, when an incomplete waveform occurs, there may be a false detection of the magnetic sensor 2 or a failure of the magnet mounting portion. In any case, due to the inertia of the vehicle, the driving distance obtained in the previous calculation round is used as the driving distance in the current calculation round in the embodiment of the present invention, so as to ensure the consistency of data display.

Specifically, in the embodiment of the present invention, the processor 1 is further configured to: and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming. That is, in the embodiment of the present invention, the number of occurrences of the above-mentioned incomplete waveform is counted. In general, the processor 1 in the embodiment of the present invention counts the number of occurrences of an incomplete waveform every time the incomplete waveform occurs, or counts the number of occurrences of an incomplete waveform that continuously occurs. When the incomplete waveform appears only once, the incomplete waveform may be only detected by the magnetic sensor 2, and at this time, only the travel distance in the previous calculation round is used as the travel distance in the current calculation round, so as to ensure the continuation of the calculation. When the number of consecutive occurrences of the incomplete waveform reaches a preset number, for example, 5 consecutive occurrences, it indicates that there is a problem in the magnet mounting portion 4, for example, the magnet 3 comes off, or the like, more probably. At this time, an alarm is required to remind a user to maintain the magnetic sensor-based mileage measuring system provided by the embodiment of the invention.

Further, in the embodiment of the present invention, the health status of the magnetic sensor-based mileage measuring system provided in the embodiment of the present invention may be determined according to the number of times of occurrence of the incomplete waveform continuously or the number of times of occurrence of the incomplete waveform within a period of time. For example, when the counted number of times of the incomplete waveform is 0, it is determined and displayed that the health state is good; when the counted number of times of the incomplete waveform is 1 to 3 times, determining and displaying that the health state is middle; when the counted number of times of the incomplete waveform is more than 3, it is determined and displayed that the health state is poor. The evaluation criterion of the health status may be determined according to actual conditions, or may be evaluated according to other conditions, such as similarity between an incomplete waveform and a complete waveform, and the like, as the case may be, and is not particularly limited herein.

Specifically, in the embodiment of the present invention, the processor 1 is further configured to: and comparing the incomplete waveform with the complete waveform to determine the magnet mounting part 4 with a fault. In the embodiment of the invention, because the waveforms generated by the magnet mounting parts 4 passing through the magnetic sensor 2 are different, incomplete waveforms can be compared with complete waveforms to position the magnet mounting part 4 with a fault, and the process is usually executed after the magnet mounting part 4 is determined to have the fault, namely when the frequency of the continuous occurrence of the incomplete waveforms reaches the preset frequency. Taking the three magnet mounting portions 4 as an example, if the number of wave peaks of the waveform acquired by the magnetic sensor 2 is "2-3-2-3", it can be determined that the magnet mounting portion 4 provided with only one magnet 3 is faulty; if the number of wave crests of the waveform acquired by the magnetic sensor 2 is "1-2-2-1-2-2", it can be determined that the magnet mounting portion 4 provided with the three magnets 3 is failed, and specifically, one magnet 3 in the magnet mounting portion 4 provided with the three magnets 3 is failed. In the embodiment of the invention, the failed magnet mounting part 4 can be positioned by comparing the incomplete waveform with the complete waveform, so that maintenance personnel can maintain the magnet conveniently.

Specifically, in the embodiment of the present invention, in order to further ensure the performance of the mileage measurement and the speed measurement when the number of times of the incomplete waveform continuously appearing reaches the preset number, in the embodiment of the present invention, a flag signal may be determined from the incomplete waveform, and the driving distance and the driving speed may be calculated based on the flag signal by using a calculation method of a magnetic sensor 2 and a magnet 3 in the related art. For a specific algorithm for calculating the driving distance and the driving speed by using one magnetic sensor 2 and one magnet 3, reference may be made to the prior art, and the detailed description thereof will be omitted. The marker signal usually needs to select a unique waveform signal in an incomplete waveform as an identification signal, and taking the three magnet mounting portions 4 as an example, if the obtained incomplete waveform is "1-2-2", the "1" can be used as the marker signal; when the incomplete waveform is "1-1-3", it is possible to use "3" as a flag signal and the like.

According to the mileage measuring system based on the magnetic sensor provided by the embodiment of the invention, because the waveforms generated by the magnet installation parts 4 passing through the magnetic sensor 2 are different, the forward rotation or the reverse rotation of the tire can be determined according to the sequence of different waveforms in the waveforms acquired by the magnetic sensor 2, so that the forward movement or the backward movement of the vehicle can be determined, and the mileage measuring error caused by the reversing of the vehicle can be avoided when the total mileage is calculated. When the incomplete waveform occurs, the fault occurrence position can be determined according to the incomplete waveform, and simultaneously, the mileage measurement and the speed measurement can still be carried out after the fault occurs.

In the following, a magnetic sensor-based mileage measuring method according to an embodiment of the present invention is described, and the magnetic sensor-based mileage measuring method described below and the magnetic sensor-based mileage measuring system described above may be referred to in correspondence with each other.

Referring to fig. 3, fig. 3 is a flowchart of a method for measuring mileage based on a magnetic sensor according to an embodiment of the present invention.

The mileage measuring method based on the magnetic sensor provided by the embodiment of the present invention is specifically applied to the processor 1, and the details of the relevant structures of the processor 1, the magnet mounting portion 4, the magnetic sensor 2, and the like are described in detail in the embodiment of the present invention, and are not described herein again. The method is used for realizing the specific functions of the magnetic sensor-based mileage measuring system. Referring to fig. 3, in an embodiment of the present invention, a magnetic sensor-based mileage measuring method includes:

s101: and acquiring a waveform generated by the magnet following the tire to roll in the rolling process of the tire through the magnetic sensor.

In the embodiment of the invention, at least three magnet mounting parts 4 are arranged along the circumferential direction of the tire, the magnet 3 is arranged on the magnet mounting part 4, and the waveforms generated by the magnet mounting parts 4 passing through the magnetic sensor 2 are different at any position.

S102: the rolling direction of the tire is determined from the waveform.

In an embodiment of the present invention, the scroll direction includes a forward direction and a backward direction.

S103: and determining the running distance of the tire in the current calculation turn according to the waveform.

In the embodiment of the present invention, when the rolling direction is a forward direction, the travel distance is a positive number; when the rolling direction is a reverse direction, the travel distance is a negative number.

S104: and determining the current total travel distance according to the travel distance.

Specifically, in the embodiment of the present invention, after S101, the method may further include:

and when the waveform is an incomplete waveform, using the travel distance in the last calculation round as the travel distance in the current calculation round.

Specifically, in the embodiment of the present invention, after S101, the method may further include:

and when the frequency of the continuous occurrence of the incomplete waveform reaches the preset frequency, alarming.

Specifically, in the embodiment of the present invention, after S101, the method may further include:

and comparing the incomplete waveform with the complete waveform to determine the magnet mounting part 4 with a fault.

Specifically, in the embodiment of the present invention, after S101, the method may further include:

and determining the health state according to the times of the occurrence of the incomplete waveform in the preset time period.

Specifically, in the embodiment of the present invention, after S101, the method may further include:

when the frequency of the continuous occurrence of the incomplete waveform reaches a preset frequency, determining a mark signal from the incomplete waveform;

and determining the running distance of the tire in the current calculation turn according to the waveform determined to have the mark signal. In general, the running speed may be calculated from the waveform of the flag signal.

The mileage measuring method based on the magnetic sensor in this embodiment is used to implement the functions of the mileage measuring system based on the magnetic sensor, and therefore, the specific implementation of the mileage measuring method based on the magnetic sensor can be found in the foregoing embodiments of the mileage measuring system based on the magnetic sensor, so that the specific implementation thereof can refer to the descriptions of the corresponding embodiments of the parts, and is not described herein again.

The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The mileage measuring system based on the magnetic sensor and the mileage measuring method based on the magnetic sensor provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种惯性测量单元对准方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!