CN107031538B - Vehicle driving direction identification method and system - Google Patents
Vehicle driving direction identification method and system Download PDFInfo
- Publication number
- CN107031538B CN107031538B CN201611177054.0A CN201611177054A CN107031538B CN 107031538 B CN107031538 B CN 107031538B CN 201611177054 A CN201611177054 A CN 201611177054A CN 107031538 B CN107031538 B CN 107031538B
- Authority
- CN
- China
- Prior art keywords
- level
- gear ring
- hall sensor
- surface shape
- vehicle
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 claims description 12
- 239000003990 capacitor Substances 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 4
- 239000000523 sample Substances 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000002596 correlated effect Effects 0.000 description 2
- 230000005355 Hall effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
- B60R16/0231—Circuits relating to the driving or the functioning of the vehicle
- B60R16/0232—Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Mechanical Engineering (AREA)
- Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
Abstract
The invention discloses a method and a system for identifying the driving direction of a vehicle, wherein the method comprises the following steps: providing a gear ring and a Hall sensor, wherein the gear ring comprises a ring body and tooth parts uniformly distributed on the ring body; after the Hall sensor is electrified, adjusting the distance between the gear ring and the Hall sensor to enable the Hall sensor to output square wave signals with high level and low level when the gear ring rotates; increasing the resistance value between the output end of the Hall sensor and the ground, so that the difference between the high level and the low level is increased, and the Hall sensor outputs square wave signals with the high level, the medium level and the low level when the gear ring rotates, wherein a plurality of medium levels exist between two adjacent high levels; selecting a middle level position corresponding to the vehicle advancing direction from the positions of the plurality of middle levels as a driving direction identification position; and determining the driving direction of the vehicle according to the level of the driving direction identification bit. The invention can accurately judge the tiny advance and retreat.
Description
Technical Field
The invention relates to the technical field of electronic control, in particular to a method and a system for identifying the driving direction of a vehicle.
Background
Identifying whether a vehicle is in forward or reverse is an important part of automotive research, an essential part of the development of active safety features for automobiles.
The vehicle in the prior art cannot automatically and rapidly recognize whether the vehicle is in forward or backward movement at present, and particularly, the vehicle can accurately judge the extremely small forward or backward movement. For example, if the vehicle slips down a slope on a slope and the vehicle can automatically recognize that the vehicle is backing back, support can be provided for developing an intervention system.
Disclosure of Invention
The invention provides a vehicle driving direction identification method and a vehicle driving direction identification system, which solve the problem that a vehicle in the prior art cannot rapidly and automatically identify whether the vehicle is in a forward state or a backward state.
The invention provides a vehicle driving direction identification method, which comprises the following steps:
the method comprises the following steps of calibrating a driving direction identification position in advance, wherein the calibration process comprises the following steps:
providing a gear ring and a Hall sensor, wherein the gear ring comprises a ring body and tooth parts uniformly distributed on the ring body;
after the Hall sensor is electrified, adjusting the distance between the gear ring and the Hall sensor to enable the Hall sensor to output square wave signals with high level and low level when the gear ring rotates;
increasing the resistance value between the output end of the Hall sensor and the ground, so that the difference between the high level and the low level is increased, and the Hall sensor outputs square wave signals with the high level, the medium level and the low level when the gear ring rotates, wherein a plurality of medium levels exist between two adjacent high levels;
selecting a middle level position corresponding to the vehicle advancing direction from the positions of the plurality of middle levels as a driving direction identification position;
and during the running of the vehicle, determining the running direction of the vehicle according to the level of the running direction identification bit.
Preferably, the method further comprises:
after the middle level is adjusted, the tooth portion is shaped so that the difference between the middle level and the high and low levels becomes large.
Preferably, the shape of the adjusted teeth is: the clockwise surface shape and the counterclockwise surface shape are different.
Preferably, the shape of the adjusted teeth is:
the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or
The surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane.
Preferably, the shape of the teeth is: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane;
the step of selecting a middle level position corresponding to the vehicle traveling direction from the plurality of middle level positions as the traveling direction identification position comprises the following steps:
determining the number of the middle levels between two adjacent high levels;
setting a communication protocol, wherein the level of each middle level position corresponds to one byte in the communication protocol, and each byte represents the level of the level position, wherein the middle level corresponds to 1, and the low level corresponds to 0;
rotating the gear ring, and comparing each byte in the signal output by the sensor with the rotating direction of the gear ring;
if the byte corresponding to a certain middle level position is 0 when the rotation direction of the gear ring is clockwise, and the byte is 1 when the rotation direction of the gear ring is anticlockwise, the byte can be used as a driving direction identification bit;
one of the bytes which can be used as the driving direction identification bit is selected as the driving direction identification bit.
Correspondingly, the invention also provides a vehicle driving direction identification system, which comprises:
the circuit comprises a gear ring, a Hall sensor, a capacitor, a resistor, an electronic control unit and an adjusting resistor, wherein a radial extension line of a probe of the Hall sensor penetrates through the circle center of the gear ring and is positioned on the same plane with the gear ring;
the adjusting resistor is connected between the output end of the Hall sensor and the ground in series and used for increasing the resistance value between the output end of the Hall sensor and the ground, so that the difference value between a high level and a low level is increased, the Hall sensor outputs square wave signals with the high level, a medium level and the low level when the gear ring rotates, and the capacitor plays a filtering role, wherein a plurality of medium levels exist between two adjacent high levels;
the electronic control unit selects a middle level position corresponding to the vehicle advancing direction from positions corresponding to a plurality of middle levels of the received square wave signals as a driving direction identification bit, and then determines the driving direction of the vehicle according to the level of the driving direction identification bit.
Preferably, the ring gear includes: the ring body and the tooth parts are uniformly distributed on the ring body;
the tooth portion is shaped so that the difference between the middle level and the high and low levels becomes large.
Preferably, the shape of the teeth is: the clockwise surface shape and the counterclockwise surface shape are different.
Preferably, the shape of the teeth is:
the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or
The surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane.
Preferably, the shape of the teeth is: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane;
the electronic control unit is specifically configured to:
in the setting process of the communication protocol: determining the number of the middle levels between two adjacent high levels; setting a byte for each middle level position, wherein each byte represents the level of the level position, the middle level corresponds to 1, and the low level corresponds to 0; when the gear ring rotates, comparing the consistency of each byte in the signal output by the Hall sensor with the rotating direction of the gear ring, and determining a driving direction identification position; the driving direction identification position at least meets the following conditions: the byte is 0 when the ring gear rotation direction is clockwise, and is 1 when the ring gear rotation direction is counterclockwise;
in the vehicle traveling direction recognition process: the electronic control unit determines the driving direction of the vehicle according to the value of the driving direction identification bit, wherein when the driving direction identification bit is 0, the driving direction of the vehicle is forward driving; when the driving direction flag is 1, the driving direction of the vehicle is backward driving.
The invention provides a vehicle driving direction identification method and a vehicle driving direction identification system, which utilize a gear ring and a Hall sensor to judge whether a whole vehicle is in a forward or backward state. Specifically, in the process of calibrating the driving direction identification position: providing a gear ring and a Hall sensor, wherein the gear ring comprises a ring body and tooth parts uniformly distributed on the ring body; after the Hall sensor is electrified, adjusting the distance between the gear ring and the Hall sensor to enable the Hall sensor to output square wave signals with high level and low level when the gear ring rotates; increasing the resistance value between the output end of the Hall sensor and the ground, so that the difference between the high level and the low level is increased, and the Hall sensor outputs square wave signals with the high level, the medium level and the low level when the gear ring rotates, wherein a plurality of medium levels exist between two adjacent high levels; and selecting a middle level position corresponding to the vehicle traveling direction from the positions of the plurality of middle levels as a traveling direction identification position. In the vehicle traveling direction recognition process: and determining the driving direction of the vehicle according to the level of the driving direction identification bit. In the prior art, a gear ring and a Hall sensor are generally adopted to acquire rotating speed information, but direction information can not be acquired. The method and the device effectively solve the problem that the vehicle in the prior art cannot rapidly and automatically identify whether the vehicle is in a forward state or a backward state.
Further, the vehicle driving direction recognition method and system provided by the invention can also make the difference between the middle level and the high level and the low level larger by adjusting the shape of the tooth part. This facilitates distinguishing the difference between the high level and the low level, especially when the middle level is also present, so that the difference between the middle level and the high level and the low level is more obvious, and the stability of the middle level is improved.
Further, the vehicle driving direction recognition method and system provided by the invention also provide the following specific tooth shapes: the surface shape in the clockwise direction is a concave surface, and the surface shape in the counterclockwise direction is a flat surface, and the like. The tooth shape can better adjust the middle level, so that whether the tooth is in a forward state or a backward state can be quickly and automatically identified according to the middle level.
Further, the method and the system for identifying the vehicle driving direction also provide a specific driving direction identification position selection mode: setting a communication protocol, wherein the level of each level position corresponds to one byte in the communication protocol, determining whether each byte can be used as a driving direction identification bit according to whether each byte is consistent with the rotation direction of the gear ring, and if so, selecting one byte from the bytes as the driving direction identification bit. Therefore, the driving direction identification position can be simply and accurately selected, so that whether the current vehicle is in a forward state or a backward state can be judged according to the value of the driving direction identification position subsequently.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a schematic diagram of an active wheel speed sensor of the prior art;
FIG. 2 is a square wave plot of the output of an active wheel speed sensor of the prior art;
fig. 3 is a first flowchart of a method for identifying a driving direction of a vehicle according to an embodiment of the present invention;
FIG. 4 is a square wave plot of Hall sensor output provided in accordance with an embodiment of the present invention;
fig. 5 is a second flowchart of a method for identifying a driving direction of a vehicle according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for determining a driving direction flag according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a vehicle driving direction recognition system according to an embodiment of the present invention.
Reference numerals:
in fig. 1-7:
1 gear ring 6 regulating resistor
2 Hall sensor
3-capacitor 1' gear ring
4-resistor 2' Hall sensor
5 electronic control unit
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar parameters or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As shown in fig. 1, a schematic diagram of a prior art active wheel speed sensor is shown, which generates two levels by hall potential difference generated by hall effect: high and low. This allows the wheel speed to be calculated based on the number of times the high or low level is sent per unit time. The principle is that the gear ring 1 'continuously rotates, when a tooth part of the gear ring 1' is close to the Hall sensor 2 ', the Hall sensor 2' outputs a high level, and when a tooth groove is close to the Hall sensor 2 ', the Hall sensor 2' generates a low level. As shown in fig. 2, it is a square wave diagram of the output of the active wheel speed sensor in the prior art, in which the circuit outputs two levels: the waveform diagrams are a square waveform diagram, I1 high and I2 low. The capacitor has the function of filtering, namely only outputting a high level I1 when the level is within a certain range above and below the value I1, and only outputting a low level I2 when the level is within a certain range above and below the value I2. For example, if the high level is 2.2mA and the low level is I2 is 1.1mA, the low level of 1.1mA is output when the level is less than or equal to 1.6mA, and the high level of 2.2mA is output when the level is more than 1.6 mA.
According to the invention, the size of the resistor is adjusted to enable the Hall sensor to output square wave signals with high level, medium level and low level when the gear ring rotates, and the medium level can be used for representing the driving direction of the vehicle. The method and the device effectively solve the problem that the vehicle in the prior art cannot rapidly and automatically identify whether the vehicle is in a forward state or a backward state.
In order to better understand the technical scheme and technical effect of the present invention, the following detailed description will be made on specific embodiments with reference to a flow diagram. As shown in fig. 3, a first flowchart of a method for identifying a driving direction of a vehicle according to an embodiment of the present invention may include:
the method comprises the following steps of calibrating a driving direction identification position in advance, wherein the calibration process comprises the following steps:
and step S01, providing a gear ring and a Hall sensor, wherein the gear ring comprises a ring body and teeth uniformly distributed on the ring body.
In this embodiment, the ring gear includes a ring body and teeth uniformly distributed on the ring body, and when the ring gear is continuously rotated, if the teeth of the ring gear are close to the hall sensor, the hall sensor outputs a high level, and if the tooth grooves are close to the wheel speed sensor, the hall sensor outputs a low level.
And step S02, after the Hall sensor is electrified, adjusting the distance between the gear ring and the Hall sensor, so that the Hall sensor outputs square wave signals with high level and low level when the gear ring rotates.
In the present embodiment, by adjusting the distance between the ring gear and the hall sensor, the hall sensor outputs a square wave signal having a high level and a low level when the ring gear rotates. The scheme of the step can be the same as the debugging method of the wheel speed sensor in the prior art, and the details are not described.
Step S03, increasing the resistance value between the output end of the hall sensor and the ground so that the difference between the high level and the low level becomes large, and the hall sensor outputting a square wave signal having a high level, a middle level and a low level when the ring gear rotates, wherein a plurality of middle levels exist between two adjacent high levels.
In this embodiment, when the resistance value is larger, the range of the output level of the hall sensor is larger, which may facilitate obtaining an intermediate level in addition to the high and low levels, for example, by increasing the resistance value, the hall sensor outputs a low level of 1.2mA, a high level of 4.8mA, and a medium level of 2.4 mA. The resistance value after the resistance is increased may be 80 Ω, 100 Ω, 120 Ω, 150 Ω, and the like. Fig. 4 is a square wave diagram of the output of the hall sensor provided by the embodiment of the invention. Among them, there are 8 mid-levels between the high levels: b1, b2, b3, b4, b5, b6, b7 and b 8. The middle level is present in a portion where the vehicle traveling direction has uniformity.
Step S04, selecting a middle level position corresponding to the vehicle traveling direction from several middle level positions as the driving direction identification position
In this embodiment, since the rotation direction of the ring gear and the traveling direction of the vehicle are correlated, for example, the ring gear rotates counterclockwise when the vehicle travels forward, or the ring gear rotates clockwise when the vehicle travels forward, then according to the correlation between the rotation direction of the ring gear and each intermediate level, when the level of a certain intermediate level position and the rotation direction of the ring gear have consistency, the rotation direction of the ring gear can be determined according to the intermediate level having consistency, and the traveling direction of the vehicle can be determined according to the rotation direction of the ring gear.
It should be noted that, after the calibration is performed once in steps S01 to S03, the calibration may be used according to the result of the calibration in the subsequent use, and the calibration does not need to be performed again each time the calibration is used.
In the vehicle traveling direction recognition process:
and step S05, determining the driving direction of the vehicle according to the level of the driving direction flag bit during the driving of the vehicle.
In this embodiment, since the level of the driving direction flag coincides with the driving direction of the vehicle, the driving direction of the vehicle can be determined according to the level of the driving direction flag. For example, when the level of the travel direction flag is low, it can be determined that the vehicle is in a forward state, and when the level of the travel direction flag is high, it can be determined that the vehicle is in a reverse state. Of course, the driving direction of the vehicle needs to be adjusted according to the actual corresponding relationship between the rotation direction of the ring gear and the driving direction of the whole vehicle.
The invention judges whether the gear ring and the Hall sensor are in a forward or backward state, and can realize the rotation speed information acquisition in the prior art. According to the invention, the size of the resistor is adjusted to enable the Hall sensor to output square wave signals with high level, medium level and low level when the gear ring rotates, and the medium level can represent the driving direction of the vehicle. The invention effectively solves the problems that the vehicle in the prior art can not be rapidly and accurately recognized and is automatically recognized to be in a forward state or a backward state.
Fig. 5 is a second flowchart of a method for identifying a driving direction of a vehicle according to an embodiment of the present invention. The method further comprises the following steps: in step S56, after the middle level is adjusted, the tooth shape is adjusted so that the difference between the middle level and the high and low levels becomes large.
In the present embodiment, the shape of the teeth may be adjusted to be stepped, asymmetrical on both sides, and other conceivable shapes as long as the shape of the teeth is such that the difference between the middle level and the high level and the low level becomes large, and the middle level is correlated with the turning of the ring gear.
In one embodiment, the shape of the teeth is: the clockwise surface shape and the counterclockwise surface shape are different. Therefore, when the gear ring rotates towards different directions, the Hall sensor outputs different square waves, and the rotating direction of the gear ring can be determined according to the square waves.
Further, the shape of the tooth is: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or the surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or the surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane. Therefore, three levels of a high level, a medium level and a low level can be formed, the medium level can be used for representing the rotation direction of the gear ring, the high level can be used for representing the rotation speed of the gear ring, and one sensor can simultaneously realize the acquisition of the rotation speed and the rotation direction.
Fig. 6 is a flowchart of a method for determining a driving direction flag according to an embodiment of the present invention.
In the present embodiment, the shape of the tooth is: the clockwise surface shape is a concave surface, and the counterclockwise surface shape is a flat surface. The step of selecting a middle level position corresponding to the vehicle traveling direction from the plurality of middle level positions as the traveling direction identification position comprises the following steps:
in step S61, the number of middle levels between two adjacent high levels is determined.
In step S62, communication protocols are set, each level of the level position corresponds to a byte in the communication protocol, and each byte represents the level of the level position, wherein the level of the level position corresponds to 1, and the level of the level position corresponds to 0.
And step S63, the gear ring is rotated, and the bytes in the signal output by the sensor are compared with the rotation direction of the gear ring.
In step S64, if a certain middle level position corresponding byte is 0 when the ring gear rotation direction is clockwise and 1 when the ring gear rotation direction is counterclockwise, the byte can be used as the travel direction flag.
In step S65, one of the bytes that can be used as the travel direction flag is selected as the travel direction flag.
In one specific embodiment, I0 is a middle level, each middle level corresponds to one Bit (byte) in the communication protocol, and each Bit can be used for characterizing the directivity of the wheel speed sensor according to the consistency between the level of each middle level position and the rotation direction of the gear ring through the binary code of which the level is 0 or 1. For example, the 3 rd Bit b3 in fig. 4 is used to indicate the traveling direction of the entire vehicle, and b3 issues a code of 0 when moving forward and a code of 1 when moving backward. Namely, the b3 level is I0 when the vehicle is moving forward, and the b3 level is I2 when the vehicle is moving backward.
Correspondingly, the present invention further provides a vehicle driving direction identification system corresponding to the above method, as shown in fig. 7, which is a schematic structural diagram of a vehicle driving direction identification system provided according to an embodiment of the present invention, including:
the circuit comprises a gear ring 1, a Hall sensor 2, a capacitor 3, a resistor 4, an electronic control unit 5 and an adjusting resistor 6, wherein a radial extension line of a probe of the Hall sensor 2 passes through the circle center of the gear ring 1 and is positioned on the same plane with the gear ring 1, the capacitor 3 is connected in parallel between a power supply end and an output end of the Hall sensor 2, the output end of the Hall sensor 2 is also respectively grounded and connected with the electronic control unit 5, and the resistor 4 is connected in series between the output end of the Hall sensor 2 and the ground;
the adjusting resistor 6 is connected between the output end of the Hall sensor 2 and the ground in series and used for increasing the resistance value between the output end of the Hall sensor 2 and the ground, so that the difference value between a high level and a low level is increased, the Hall sensor 2 outputs square wave signals with the high level, a medium level and the low level when the gear ring 1 rotates, and the capacitor 3 plays a filtering role, wherein a plurality of medium levels exist between two adjacent high levels;
the electronic control unit 5 selects a middle level position corresponding to the vehicle traveling direction from the positions corresponding to the plurality of middle levels of the received square wave signals as a traveling direction identification bit, and then determines the traveling direction of the vehicle according to the level of the traveling direction identification bit.
Further, in order to make the difference between the high level, the middle level, and the low level more apparent, the ring gear 1 includes: the ring body and the tooth part evenly distributed on the ring body. The tooth portion is shaped so that the difference between the middle level and the high and low levels becomes large.
Wherein the shape of the tooth part is: the clockwise surface shape and the counterclockwise surface shape are different.
Preferably, the shape of the teeth is: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or the surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or the surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane. It should be noted that the above examples are only illustrative examples, and should not be construed as limiting the present invention.
In another embodiment, the electronic control unit 5 is specifically configured to:
in the setting process of the communication protocol: determining the number of the middle levels between two adjacent high levels; setting a byte for each middle level position, wherein each byte represents the level of the level position, the middle level corresponds to 1, and the low level corresponds to 0; when the gear ring 1 rotates, comparing the consistency of each byte in the signal output by the Hall sensor 2 with the rotating direction of the gear ring 1, and determining a driving direction identification position; the driving direction identification position at least meets the following conditions: the byte is 0 when the rotation direction of the ring gear 1 is clockwise, and is 1 when the rotation direction of the ring gear 1 is counterclockwise.
In the vehicle traveling direction recognition process: the electronic control unit 5 determines the driving direction of the vehicle according to the value of the driving direction identification bit, wherein when the driving direction identification bit is 0, the driving direction of the vehicle is forward driving; when the driving direction flag is 1, the driving direction of the vehicle is backward driving.
According to the vehicle driving direction recognition system provided by the embodiment of the invention, whether the vehicle is in a forward or backward state is judged through the gear ring 1 and the Hall sensor 2. According to the invention, the size of the resistor is adjusted, so that the Hall sensor 2 outputs square wave signals with high level, medium level and low level when the gear ring 1 rotates, and the medium level can represent the driving direction of the vehicle. The method and the device effectively solve the problem that the vehicle in the prior art cannot rapidly and automatically identify whether the vehicle is in a forward state or a backward state.
The embodiments in this specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other. In particular, for system embodiments, since they are substantially similar to method embodiments, they are described in a relatively simple manner, and reference may be made to some descriptions of method embodiments for relevant points. The above-described system embodiments are merely illustrative, in that the elements described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above embodiments of the present invention have been described in detail, and the present invention is described herein using specific embodiments, but the above embodiments are only used to help understanding the method and system of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A vehicle travel direction recognition method characterized by comprising:
the method comprises the following steps of calibrating a driving direction identification position in advance, wherein the calibration process comprises the following steps:
providing a gear ring and a Hall sensor, wherein the gear ring comprises a ring body and tooth parts uniformly distributed on the ring body;
after the Hall sensor is electrified, adjusting the distance between the gear ring and the Hall sensor to enable the Hall sensor to output square wave signals with high level and low level when the gear ring rotates;
increasing the resistance value between the output end of the Hall sensor and the ground, so that the difference between the high level and the low level is increased, and the Hall sensor outputs square wave signals with the high level, the medium level and the low level when the gear ring rotates, wherein a plurality of medium levels exist between two adjacent high levels;
according to the corresponding relation between the rotation direction of the gear ring and the advancing direction of the vehicle and the corresponding relation between the rotation direction of the gear ring and each medium level, when the level of the medium level position is consistent with the rotation direction of the gear ring, one medium level position corresponding to the advancing direction of the vehicle is selected from the positions of the medium levels to serve as a driving direction identification position;
and during the running of the vehicle, determining the running direction of the vehicle according to the level of the running direction identification bit.
2. The method of claim 1, further comprising:
after the middle level is adjusted, the tooth portion is shaped so that the difference between the middle level and the high and low levels becomes large.
3. The method of claim 2, wherein the shape of the adjusted teeth is: the clockwise surface shape and the counterclockwise surface shape are different.
4. The method of claim 3, wherein the shape of the adjusted teeth is:
the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or
The surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane.
5. The method of claim 4, wherein the shape of the teeth is: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane;
the step of selecting a middle level position corresponding to the vehicle traveling direction from the plurality of middle level positions as the traveling direction identification position comprises the following steps:
determining the number of the middle levels between two adjacent high levels;
setting a communication protocol, wherein the level of each middle level position corresponds to one byte in the communication protocol, and each byte represents the level of the level position, wherein the middle level corresponds to 1, and the low level corresponds to 0;
rotating the gear ring, and comparing each byte in the signal output by the sensor with the rotating direction of the gear ring;
if the byte corresponding to a certain middle level position is 0 when the rotation direction of the gear ring is clockwise, and the byte is 1 when the rotation direction of the gear ring is anticlockwise, the byte can be used as a driving direction identification bit;
one of the bytes which can be used as the driving direction identification bit is selected as the driving direction identification bit.
6. A vehicle travel direction recognition system, characterized by comprising:
the circuit comprises a gear ring (1), a Hall sensor (2), a capacitor (3), a resistor (4), an electronic control unit (5) and an adjusting resistor (6), wherein a radial extension line of a probe of the Hall sensor (2) penetrates through the circle center of the gear ring (1) and is positioned on the same plane with the gear ring (1), the capacitor (3) is connected in parallel between a power supply end and an output end of the Hall sensor (2), the output end of the Hall sensor (2) is also respectively grounded and connected with the electronic control unit (5), and the resistor (4) is connected in series between the output end of the Hall sensor (2) and the ground;
the adjusting resistor (6) is connected between the output end of the Hall sensor (2) and the ground in series and used for increasing the resistance value between the output end of the Hall sensor (2) and the ground, so that the difference value between a high level and a low level is increased, the Hall sensor (2) outputs square wave signals with the high level, a medium level and the low level when the gear ring (1) rotates, and the capacitor (3) plays a filtering role, wherein a plurality of medium levels exist between two adjacent high levels;
the electronic control unit (5) selects a middle level position corresponding to the vehicle advancing direction from positions corresponding to a plurality of middle levels of the received square wave signals as a traveling direction identification position according to the corresponding relation between the rotating direction of the gear ring and the vehicle advancing direction and the corresponding relation between the rotating direction of the gear ring and each middle level, when the level of the middle level position is consistent with the rotating direction of the gear ring, and then determines the traveling direction of the vehicle according to the level of the traveling direction identification position.
7. The system according to claim 6, characterized in that the ring gear (1) comprises: the ring body and the tooth parts are uniformly distributed on the ring body;
the tooth portion is shaped so that the difference between the middle level and the high and low levels becomes large.
8. The system of claim 7, wherein the teeth are shaped to: the clockwise surface shape and the counterclockwise surface shape are different.
9. The system of claim 8, wherein the teeth are shaped to:
the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane; or
The surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is a plane, and the surface shape in the anticlockwise direction is a convex surface; or
The surface shape in the clockwise direction is an S-shaped cambered surface, and the surface shape in the anticlockwise direction is a plane.
10. The system of claim 9, wherein the teeth are shaped to: the surface shape in the clockwise direction is a concave surface, and the surface shape in the anticlockwise direction is a plane;
the electronic control unit (5) is specifically configured to:
in the setting process of the communication protocol: determining the number of the middle levels between two adjacent high levels; setting a byte for each middle level position, wherein each byte represents the level of the level position, the middle level corresponds to 1, and the low level corresponds to 0; when the gear ring (1) rotates, comparing the consistency of each byte in the signal output by the Hall sensor (2) and the rotating direction of the gear ring (1) to determine a driving direction identification position; the driving direction identification position at least meets the following conditions: the byte is 0 when the rotation direction of the ring gear (1) is clockwise, and is 1 when the rotation direction of the ring gear (1) is counterclockwise;
in the vehicle traveling direction recognition process: the electronic control unit (5) determines the driving direction of the vehicle according to the value of the driving direction identification bit, wherein when the driving direction identification bit is 0, the driving direction of the vehicle is forward driving; when the driving direction flag is 1, the driving direction of the vehicle is backward driving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611177054.0A CN107031538B (en) | 2016-12-19 | 2016-12-19 | Vehicle driving direction identification method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611177054.0A CN107031538B (en) | 2016-12-19 | 2016-12-19 | Vehicle driving direction identification method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107031538A CN107031538A (en) | 2017-08-11 |
CN107031538B true CN107031538B (en) | 2019-12-31 |
Family
ID=59530529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611177054.0A Expired - Fee Related CN107031538B (en) | 2016-12-19 | 2016-12-19 | Vehicle driving direction identification method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107031538B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542847B1 (en) * | 1998-03-20 | 2003-04-01 | Continental Teves Ag & Co., Ohg | Sensor system for detecting movements |
CN202038231U (en) * | 2011-03-25 | 2011-11-16 | 惠州华阳通用电子有限公司 | Vehicle-mounted vehicle running direction displaying device |
CN103991441A (en) * | 2013-02-14 | 2014-08-20 | 福特全球技术公司 | System and method to prevent unintended vehicle travel |
CN104777500A (en) * | 2015-04-22 | 2015-07-15 | 武汉英思工程科技股份有限公司 | High-precision determination system and method for driving direction and operation position of compactor vehicle |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1183890A (en) * | 1997-09-09 | 1999-03-26 | Denso Corp | Rotating direction detecting device |
-
2016
- 2016-12-19 CN CN201611177054.0A patent/CN107031538B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542847B1 (en) * | 1998-03-20 | 2003-04-01 | Continental Teves Ag & Co., Ohg | Sensor system for detecting movements |
CN202038231U (en) * | 2011-03-25 | 2011-11-16 | 惠州华阳通用电子有限公司 | Vehicle-mounted vehicle running direction displaying device |
CN103991441A (en) * | 2013-02-14 | 2014-08-20 | 福特全球技术公司 | System and method to prevent unintended vehicle travel |
CN104777500A (en) * | 2015-04-22 | 2015-07-15 | 武汉英思工程科技股份有限公司 | High-precision determination system and method for driving direction and operation position of compactor vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN107031538A (en) | 2017-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9001843B2 (en) | Fast wake-up and link acquisition in reduced-twisted pair gigabit Ethernet applications | |
US9625903B2 (en) | Data link for use with components of remote control vehicles | |
US6324905B2 (en) | Method and device for measuring an angle of a rotatable body | |
US10759470B2 (en) | Sensor device and electric power steering apparatus using same | |
US8427135B2 (en) | Directional speed sensing systems and methods | |
US9939410B2 (en) | Transmission of information associated with a possible sensor fault of a magnetic sensor | |
DE102016208428A1 (en) | Sensor device and electric power steering device using the same | |
CN108032804A (en) | Car slipping based reminding method and device | |
CN107336700B (en) | A kind of emergency vehicle method and system in slope | |
CN107031538B (en) | Vehicle driving direction identification method and system | |
CN115931036B (en) | Magnetic encoder fault detection method and device, electronic equipment and storage medium | |
CN110247609A (en) | Controller for motor | |
CN105915123B (en) | Motor control fault-tolerance processing method, device, motor and electric vehicle | |
DE102018211145A1 (en) | Pulse width modulation with two or more different threshold levels | |
US10377360B1 (en) | Resistive short circuit immunity for wheel speed sensor interface on braking system | |
CN106740763B (en) | A kind of emergency vehicle method and system in slope | |
CN106595465B (en) | method and system for detecting air gap of wheel speed sensor | |
CN104833404A (en) | Oil level detection device, automobile, oil tank and oil level detection method | |
CN202661477U (en) | Signal processing circuit and vehicle-mounted electronic control device | |
WO2016144556A1 (en) | Signaling between master and slave components using a shared communication node of the master component | |
CN116373883A (en) | Vehicle wheel speed signal processing device, method and system and vehicle | |
US8390273B2 (en) | Slew rate compensated wheel speed sensor signal processing method and system | |
CN112977614B (en) | Automatic line alignment method, device, medium and system | |
CN112820131B (en) | UWB-based target vehicle screening method, device and equipment for sharing environment sensing data | |
EP1488991A2 (en) | Circuit for the brake dependent control of a bicycle lighting unit and a method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191231 |