DETECTION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
Embodiments of the present invention provide a detection method and apparatus, an electronic device, and a storage medium. The method includes: when a first apparatus controls a gear to be detected to rotate, obtaining a first curve corresponding to the gear in a magnetic field generated by a detection system, wherein the first curve represents a relationship between each gear tooth among at least one gear tooth in the gear and a first position of a tooth groove corresponding to each gear tooth and a first voltage generated at the first position in the detection system; converting the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, wherein the second curve represents a relationship between the first position and a second voltage after the first voltage is converted; on the basis of the second curve, determining a first parameter representing a uniformity degree of the gear tooth in the gear; and determining a detection result of the gear on the basis of the first parameter.
This application is filed based on and claims priority to Chinese Patent Application No. 202211575077.2 filed on Dec. 8, 2022, the disclosure of which is hereby incorporated by reference in its entirety.
TECHNICAL FIELDThe disclosure relates to the field of locomotive manufacturing, and in particular to a detection method and apparatus, an electronic device, and a storage medium.
BACKGROUNDWith the rapid development of rail transit technology and the rapid growth of demand for railway passenger and freight transport, it has become a development trend to create safer, more reliable, economically advanced, energy-saving and environmentally friendly passenger and freight trains to achieve a purpose of safe and reliable transport, which has put forward higher requirements on reliability, lightweight and miniaturization of a traction auxiliary system.
At present, what used in auxiliary systems of most of electric locomotives is that a main circuit of the auxiliary system shares an intermediate Direct Current (DC) circuit with a main circuit of a traction system. The auxiliary system takes power from the main circuit of the traction system through the intermediate DC circuit. In the event of a failure in the auxiliary system, it will cause a fluctuation influence to the traction system; and in the event of a failure in the traction system, it will also cause an interference impact to the auxiliary system. Currently, there is no effective solution to solve this problem.
SUMMARYIn view of this, a main purpose of the disclosure is to provide a detection method and apparatus, an electronic device, and a storage medium.
In order to achieve the above purpose, technical solutions of the disclosure are implemented as follows.
An embodiment of the disclosure provides a detection method, the method is applied to a detection system which includes a first device driving a to-be-detected gear to rotate, and the method includes the following operations.
When the first device controls the to-be-detected gear to rotate, a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system is acquired. The first curve characterizes a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system.
The first curve is converted by using a first preset threshold to obtain a second curve corresponding to the first curve. The second curve characterizes a relationship between the first position and a second voltage converted from the first voltage.
A first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve.
A detection result of the to-be-detected gear is determined based on the first parameter.
In the above solution, the second voltage may include a first voltage value and a second voltage value, and the first voltage value is greater than the second voltage value. The operation that the first curve is converted by using the first preset threshold to obtain the second curve corresponding to the first curve includes the following operations.
A first voltage equal to or greater than the first preset threshold is determined from the first curve, and the first voltage equal to or greater than the first preset threshold is converted into the first voltage value.
A first voltage less than the first preset threshold is determined from the first curve, and the first voltage less than the first preset threshold is converted into the second voltage value.
The second curve corresponding to the first curve is determined based on the first voltage value and the second voltage value.
In the above solution, uniformity parameters may include a distance parameter for any one of the at least one gear tooth of the to-be-detected gear and a gear slot corresponding to any one of the at least one gear tooth, and the operation that the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve includes the following operations.
A first time length corresponding to each adjacent first and second voltage values from the second curve is acquired.
The distance parameter for any one of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to any one of the at least one gear tooth is determined according to the first time length.
In the above solution, the operation that the detection result of the to-be-detected gear is determined based on the first parameter may include the following operations.
Any two distance parameters are compared to obtain a second comparison result.
When the second comparison result characterizes that an absolute value of a difference between any two distance parameters is less than a second preset threshold, the detection result is determined to be that uniformity of the at least one gear tooth of the to-be-detected gear and gear slots corresponding to the at least one gear tooth is high.
When the second comparison result characterizes that the absolute value of the difference between any two distance parameters is equal to or greater than the second preset threshold, the detection result is determined to be that the uniformity of the at least one gear tooth of the to-be-detected gear and the gear slots corresponding to the at least one gear tooth is low.
In the above solution, the uniformity parameters may include a first width parameter of any one of the at least one gear tooth of the to-be-detected gear, and the operation that the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve includes the following operations.
A second time length corresponding to each first voltage value is acquired from the second curve.
The first width parameter of any one of the at least one gear tooth of the to-be-detected gear is determined according to the second time length.
In the above solution, the operation that the detection result of the to-be-detected gear is determined based on the first parameter may include the following operations.
Any two first width parameters are compared to obtain a third comparison result.
When the third comparison result characterizes that an absolute value of a difference between any two first width parameters is less than a third preset threshold, the detection result is determined to be that uniformity of the at least one gear tooth of the to-be-detected gear is high.
When the third comparison result characterizes that the absolute value of the difference between any two first width parameters is equal to or greater than the third preset threshold, the detection result is determined to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
In the above solution, the uniformity parameters may include a second width parameter of a gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear, and the operation that the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve includes the following operations.
A third time length corresponding to each second voltage value is acquired from the second curve.
The second width parameter of the gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear is determined according to the third time length.
In the above solution, the operation that the detection result of the to-be-detected gear is determined based on the first parameter may include the following operations.
Any two second width parameters are compared to obtain a fourth comparison result.
When the fourth comparison result characterizes that an absolute value of a difference between any two second width parameters is less than a fourth preset threshold, the detection result is determined to be that uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is high.
When the fourth comparison result characterizes that the absolute value of the difference between any two second width parameters is equal to or greater than the fourth preset threshold, the detection result is determined to be that the uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is low.
In the above solution, the operation that the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve may include the following operations.
At least one second curve corresponding to the to-be-detected gear is acquired.
At least one second voltage corresponding to the first position is determined based on the at least one second curve.
A computational processing is performed on the at least one second voltage to obtain an average voltage.
The first parameter is determined based on the average voltage.
An embodiment of the disclosure provides a detection apparatus, the apparatus is applied to a detection system which includes a first device driving a to-be-detected gear to rotate, and the apparatus includes a first acquisition module, a conversion module, a first determination module and a second determination module.
The first acquisition module is configured to acquire a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system when the first device controls the to-be-detected gear to rotate. The first curve characterizes a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system.
The conversion module is configured to convert the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, and the second curve characterizes a relationship between the first position and a second voltage converted from the first voltage.
The first determination module is configured to determine, based on the second curve, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear.
The second determination module is configured to determine, based on the first parameter, a detection result of the to-be-detected gear.
An embodiment of the disclosure provides a detection device. The detection device includes a processor and a memory having stored thereon a computer program executable on the processor. The processor is configured to execute the program to implement any of the methods as described above.
An embodiment of the disclosure provides a storage medium. The storage medium has stored thereon executable instructions, which, when executed by a processor, implement any of the methods as described above.
Embodiments of the disclosure provide a detection method and apparatus, an electronic device, and a storage medium. The above method is applied to a detection system which includes a first device driving a to-be-detected gear to rotate, and the method includes the following operations. When the first device controls the to-be-detected gear to rotate, a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system is acquired. The first curve characterizes a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system. The first curve is converted by using a first preset threshold to obtain a second curve corresponding to the first curve. The second curve characterizes a relationship between the first position and a second voltage converted from the first voltage. A first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve. A detection result of the to-be-detected gear is determined based on the first parameter. A mapping relationship between the first position of each of at least one gear tooth of the to-be-detected gear and the first voltage generated by the first position in the detection system is established; then a mapping relationship between the first position and the second voltage converted from the first voltage is established; and the second voltage is analyzed and calculated to determine the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear, thereby obtaining the detection result of the to-be-detected gear, which solves the problems of high difficulty, significant errors and extended time consumption in manual measurement of the first parameter of the gear.
In order to make the purpose, technical solutions and advantages of the embodiments of the disclosure clearer, specific technical solutions of the disclosure will be further described in detail below with reference to the drawings in the embodiments of the disclosure. The following embodiments are intended to explain the disclosure, but are not intended to limit the scope of the disclosure.
An embodiment of the disclosure proposes a detection method, and functions implemented by the method may be implemented by calling program codes by a processor in a detection device. Of course, the program codes may be stored in a computer storage medium. It may be seen that the computing device includes at least a processor and a storage medium.
In operation 101, when the first device controls the to-be-detected gear to rotate, a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system is acquired. The first curve characterizes a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system.
In operation 102, the first curve is converted by using a first preset threshold to obtain a second curve corresponding to the first curve. The second curve characterizes a relationship between the first position and a second voltage converted from the first voltage.
In operation 103, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear is determined based on the second curve.
In operation 104, a detection result of the to-be-detected gear is determined based on the first parameter.
In the operation 101, the detection method may be determined according to an actual situation and is not limited here. As an example, the detection method may be a detection method for a speed gear, which is used to quickly detect uniformity of gear teeth of the speed gear.
The first device may be determined according to an actual situation and is not limited here. As an example, the first device may be a rotation device for a speed gear, which is configured to connect the to-be-detected gear and drive the to-be-detected gear to rotate uniformly at a preset speed.
The magnetic field generated by the detection system may be determined according to an actual situation and is not limited here. As an example, the magnetic field generated by the detection system may be a constant magnetic field.
(a) of
The first curve may be determined according to an actual situation and is not limited here. As an example, the first curve may be a quasi-sine wave voltage curve.
The first position may be determined according to an actual situation and is not limited here. As an example, the first position may be any position between a gear position corresponding to each gear tooth and a tooth root position corresponding to each gear slot.
The operation of acquiring the first curve corresponding to the to-be-detected gear in the magnetic field generated by the detection system may be implemented by obtaining a quasi-sine wave voltage curve by tooth crests of gear teeth and tooth roots of gear slots of the to-be-detected gear cutting the magnetic induction lines of the constant magnetic field.
Specifically, a larger first voltage is generated when the area of the to-be-detected gear cutting the magnetic induction lines in the constant magnetic field is large, and a smaller first voltage is generated when the area of the to-be-detected gear cutting the magnetic induction lines in the constant magnetic field is small. A periodic quasi-sine wave voltage curve may be obtained by the tooth crests of gear teeth and tooth roots of gear slots of the to-be-detected gear passing through the constant magnetic field sequentially.
In the operation 102, the first preset threshold may be determined according to an actual situation and is not limited here. As an example, the first preset threshold may be a value corresponding to 0.5 times of a maximum first voltage.
The second curve may be determined according to an actual situation and is not limited here. As an example, the second curve may be a rectangular high-low voltage curve.
The operation of converting the first curve by using the first preset threshold may be determined according to an actual situation and is not limited here. As an example, the quasi-sine wave voltage curve may be converted into a rectangular high-low voltage curve by a voltage shaping circuit with threshold determination.
The voltage shaping circuit may be determined according to an actual situation and is not limited here. As an example, the voltage shaping circuit converts a voltage higher than the threshold into a high voltage, converts a voltage lower than the threshold into a low voltage, and forms the second voltage based on the high voltage and the low voltage, thereby implementing the operation of converting the first curve by using the first preset threshold to obtain the second curve corresponding to the first curve. That is, the voltage curve with a continuous quasi-sine wave of voltages is converted into a rectangular high-low voltage curve with rapid transitions between high and low voltages.
In the operation 103, the operation of determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear may be implemented by acquiring a time length corresponding to a voltage value of the second curve and determining the first parameter based on the time length.
Specifically, the voltage value corresponds to the first position in the second curve. The time length characterizes a duration of the voltage value, that is, a duration of the first position cutting the magnetic induction lines in the magnetic field; the first parameter characterizes a size parameter of the first position, that is, the size parameter of the first position is determined according to the duration of the first position cutting the magnetic induction lines in the magnetic field.
In the operation 104, the operation of determining, based on the first parameter, the detection result of the to-be-detected gear may be implemented by comparing any two of at least one first parameter to obtain a comparison result; when the comparison result characterizes that an absolute value of a difference between any two of at least one first parameter is less than a preset threshold, determining the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear is high; and when the comparison result characterizes that the absolute value of the difference between any two of the at least one first parameter is equal to or greater than the preset threshold, determining the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
The preset threshold may be determined according to an actual situation and is not limited here. As an example, the preset threshold may be an allowable error value of the first parameter.
In some embodiments,
In some embodiments,
In some embodiments, the first connector 501 is provided with a blind hole, and the fastener inserted into the blind hole fixes the to-be-detected gear 505. The fastener 502 inserted into the blind hole may fix the to-be-detected gear 505 by making the penetration hole of the to-be-detected gear 505 correspond to the blind hole of the first connector 501, and inserting the fastener 502 into the penetration hole and the blind hole.
In some embodiments,
In some embodiments, there may be two clamping parts 504 in terms of number, and the two clamping parts 504 are distributed on the second connector 503 in a centrally symmetric manner. There may also be three clamping parts 504 in terms of number, and the three clamping parts 504 are uniformly distributed in 360 degrees on the second connector 503. In some embodiments, the at least one clamping part 504 withdrawn in a circumferential direction of the second connector 503 releases the to-be-detected gear 505.
The embodiment of the disclosure provides a detection method, in which a mapping relationship between the first position of each of at least one gear tooth of the to-be-detected gear and the first voltage generated by the first position in the detection system is established; then a mapping relationship between the first position and the second voltage converted from the first voltage is established; and the second voltage is analyzed and calculated to determine the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear, thereby obtaining the detection result of the to-be-detected gear, which solves the problems of high difficulty, significant errors and extended time consumption in manual measurement of the first parameter of the gear.
In an optional embodiment of the disclosure, the second voltage includes a first voltage value and a second voltage value. The first voltage value is greater than the second voltage value. The operation of converting the first curve by using the first preset threshold to obtain the second curve corresponding to the first curve includes the following operations.
A first voltage equal to or greater than the first preset threshold is determined from the first curve, and the first voltage equal to or greater than the first preset threshold is converted into the first voltage value.
A first voltage less than the first preset threshold is determined from the first curve, and the first voltage less than the first preset threshold is converted into the second voltage value.
The second curve corresponding to the first curve is determined based on the first voltage value and the second voltage value.
In this embodiment, the first voltage value and the second voltage value may be determined according to an actual situation and are not limited here. As an example, the first voltage value may be a high voltage, and the second voltage value may be a low voltage.
The operation of determining, based on the first voltage value and the second voltage value, the second curve corresponding to the first curve may be implemented by sequentially arranging the high voltage and the low voltage according to a period. A position where the same low voltage rises to a high voltage in different periods of the periodic rectangular high-low voltage curve represents the same second position of different gear teeth of the to-be-detected gear. A position where the same high voltage falls to a low voltage in different periods of the periodic rectangular high-low voltage curve represents the same third position of different gear teeth of the to-be-detected gear.
As shown in
In an optional embodiment of the disclosure, the uniformity parameters include a distance parameter for any one of the at least one gear tooth of the to-be-detected gear and a gear slot corresponding to any one of the at least one gear tooth. The operation of determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear includes the following operations.
A first time length corresponding to each adjacent first and second voltage values from the second curve is acquired.
The distance parameter for any one of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to any one of the at least one gear tooth is determined according to the first time length.
In this embodiment, the adjacent first and second voltage values correspond to positions of adjacent gear tooth and gear slot of the to-be-detected gear in the second curve.
The first time length characterizes a duration of the adjacent first and second voltage values, that is, a duration of adjacent gear tooth and gear slot of the to-be-detected gear cutting the magnetic induction lines in the magnetic field.
The second position where the periodic rectangular high-low voltage curve rises is the same position of different gear teeth, that is, a duration of adjacent high and low voltages in a period is recorded according to the second mapping relationship, and durations of different adjacent high and low voltages are compared, that is, distances at the same position of gear teeth in different adjacent gear teeth and gear slots are compared, such that tooth pitches corresponding to addition of different gear teeth and gear slots may be compared to achieve a purpose of detecting uniformity of gear teeth of the gear.
In an optional embodiment of the disclosure, the operation of determining, based on the first parameter, the detection result of the to-be-detected gear includes the following operations.
Any two distance parameters are compared to obtain a second comparison result.
When the second comparison result characterizes that an absolute value of a difference between any two distance parameters is less than a second preset threshold, the detection result is determined to be that uniformity of the at least one gear tooth of the to-be-detected gear and gear slots corresponding to the at least one gear tooth is high.
When the second comparison result characterizes that the absolute value of the difference between any two distance parameters is equal to or greater than the second preset threshold, the detection result is determined to be that the uniformity of the at least one gear tooth of the to-be-detected gear and the gear slots corresponding to the at least one gear tooth is low.
In this embodiment, the operation of comparing any two distance parameters to obtain the second comparison result may be implemented by calculating a difference between any two distance parameters to obtain an absolute value of the difference between any two distance parameters; and comparing the absolute value of the difference between any two distance parameters with the second preset threshold to obtain the second comparison result.
The second preset threshold may be determined according to an actual situation and is not limited here. As an example, the second preset threshold may be an allowable error value of the distance parameter for the gear tooth of the to-be-detected gear and the gear slot corresponding to the gear tooth.
In an optional embodiment of the disclosure, the uniformity parameters include a first width parameter of any one of the at least one gear tooth of the to-be-detected gear. The operation of determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear includes the following operations.
A second time length corresponding to each first voltage value is acquired from the second curve.
The first width parameter of any one of the at least one gear tooth of the to-be-detected gear is determined according to the second time length.
In this embodiment, the first voltage value corresponds to a position of the gear tooth of the to-be-detected gear in the second curve.
The second time length characterizes a duration of the first voltage value, that is, a duration of the gear tooth of the to-be-detected gear cutting the magnetic induction lines in the magnetic field.
The second position where the periodic rectangular high-low voltage curve rises is the same position of different gear teeth, that is, a duration of the high voltage in a period is recorded according to the second mapping relationship, and durations of different high voltages are compared, that is, distances at the same position of different gear teeth are compared, such that widths corresponding to different gear teeth may be compared to achieve a purpose of detecting uniformity of gear teeth of the gear.
In an optional embodiment of the disclosure, the operation of determining, based on the first parameter, the detection result of the to-be-detected gear includes the following operations.
Any two first width parameters are compared to obtain a third comparison result.
When the third comparison result characterizes that an absolute value of a difference between any two first width parameters is less than a third preset threshold, the detection result is determined to be that uniformity of the at least one gear tooth of the to-be-detected gear is high.
When the third comparison result characterizes that the absolute value of the difference between any two first width parameters is equal to or greater than the third preset threshold, the detection result is determined to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
In this embodiment, the operation of comparing any two first width parameters to obtain the third comparison result may be implemented by calculating a difference between any two first width parameters to obtain an absolute value of the difference between any two first width parameters; and comparing the absolute value of the difference between any two first width parameters with the third preset threshold to obtain the third comparison result.
The third preset threshold may be determined according to an actual situation and is not limited here. As an example, the third preset threshold may be an allowable error value of the first width parameter of the gear tooth of the to-be-detected gear.
In an optional embodiment of the disclosure, the uniformity parameters include a second width parameter of a gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear. The operation of determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear includes the following operations.
A third time length corresponding to each second voltage value is acquired from the second curve.
The second width parameter of the gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear is determined according to the third time length.
In this embodiment, the second voltage value corresponds to a position of the gear slot of the to-be-detected gear in the second curve.
The third time length characterizes a duration of the second voltage value, that is, a duration of the gear slot of the to-be-detected gear cutting the magnetic induction lines in the magnetic field.
As shown in
The third position where the periodic rectangular high-low voltage curve falls is the same position of different gear slots, that is, a duration of the low voltage in a period is recorded according to the second mapping relationship, and durations of different low voltages are compared, that is, distances at the same position of different gear slots are compared, such that widths corresponding to different gear slots may be compared to achieve a purpose of detecting uniformity of the gear slots of the gear.
In an optional embodiment of the disclosure, the operation of determining, based on the first parameter, the detection result of the to-be-detected gear includes the following operations.
Any two second width parameters are compared to obtain a fourth comparison result.
When the fourth comparison result characterizes that an absolute value of a difference between any two second width parameters is less than a fourth preset threshold, the detection result is determined to be that uniformity of the gear slots corresponding to the at least one gear tooth of the to-be-detected gear is high.
When the fourth comparison result characterizes that the absolute value of the difference between any two second width parameters is equal to or greater than the fourth preset threshold, the detection result is determined to be that the uniformity of the gear slots corresponding to the at least one gear tooth of the to-be-detected gear is low.
In this embodiment, the operation of comparing any two second width parameters to obtain the fourth comparison result may be implemented by calculating a difference between any two second width parameters to obtain an absolute value of the difference between any two second width parameters; and comparing the absolute value of the difference between any two second width parameters with the fourth preset threshold to obtain the fourth comparison result.
The fourth preset threshold may be determined according to an actual situation and is not limited here. As an example, the fourth preset threshold may be an allowable error value of the second width parameter of the gear slot of the to-be-detected gear.
In an optional embodiment of the disclosure, the operation of determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear includes the following operations.
At least one second curve corresponding to the to-be-detected gear is acquired.
At least one second voltage corresponding to the first position is determined based on the at least one second curve.
A computational processing is performed on the at least one second voltage to obtain an average voltage.
The first parameter is determined based on the average voltage.
In this embodiment, the operation of acquiring at least one second curve corresponding to the to-be-detected gear may be implemented by controlling the to-be-detected gear to rotate by at least one circle in the constant magnetic field, here a second curve is generated each time the to-be-detected gear rotates by a circle; and acquiring at least one second curve based on the to-be-detected gear rotating by at least one circle.
The operation of determining, based on the at least one second curve, at least one second voltage corresponding to the first position may be implemented by determining, based on a number of teeth of the to-be-detected gear, at least one second voltage corresponding to the first position from the at least one second curve.
The operation of performing the computational processing on the at least one second voltage to obtain the average voltage may be implemented by calculating an average value of the at least one second voltage to obtain an average voltage corresponding to the first position.
The operation of determining the first parameter based on the average voltage may be implemented by performing computational processing on a time length corresponding to the at least one second voltage value to obtain an average time length; and determining the first parameter based on the average time length.
As shown in
An embodiment of the disclosure provides a detection apparatus. The apparatus is applied to a detection system which includes a first device driving a to-be-detected gear to rotate.
The first acquisition module 801 is configured to acquire a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system when the first device controls the to-be-detected gear to rotate. The first curve characterizes a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system.
The conversion module 802 is configured to convert the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, and the second curve characterizes a relationship between the first position and a second voltage converted from the first voltage.
The first determination module 803 is configured to determine, based on the second curve, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear.
The second determination module 804 is configured to determine, based on the first parameter, a detection result of the to-be-detected gear.
In other embodiments, the second voltage includes a first voltage value and a second voltage value, and the first voltage value is greater than the second voltage value. The conversion module 802 is further configured to: determine a first voltage equal to or greater than the first preset threshold from the first curve, and convert the first voltage equal to or greater than the first preset threshold into the first voltage value; determine a first voltage less than the first preset threshold from the first curve, and convert the first voltage less than the first preset threshold into the second voltage value; and determine, based on the first voltage value and the second voltage value, the second curve corresponding to the first curve.
In other embodiments, the uniformity parameters include a distance parameter for any one of the at least one gear tooth of the to-be-detected gear and a gear slot corresponding to any one of the at least one gear tooth. The first determination module 803 is further configured to: acquire a first time length corresponding to each adjacent first and second voltage values from the second curve; and determine, according to the first time length, the distance parameter for any one of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to any one of the at least one gear tooth.
In other embodiments, the second determination module 804 is further configured to: compare any two distance parameters to obtain a second comparison result; when the second comparison result characterizes that an absolute value of a difference between any two distance parameters is less than a second preset threshold, determine the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to the at least one gear tooth is high; and when the second comparison result characterizes that the absolute value of the difference between any two distance parameters is equal to or greater than the second preset threshold, determine the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to the at least one gear tooth is low.
In other embodiments, the uniformity parameters include a first width parameter of any one of the at least one gear tooth of the to-be-detected gear. The first determination module 803 is further configured to: acquire a second time length corresponding to each first voltage value from the second curve; and determine, according to the second time length, the first width parameter of any one of the at least one gear tooth of the to-be-detected gear.
In other embodiments, the second determination module 804 is further configured to: compare any two first width parameters to obtain a third comparison result; when the third comparison result characterizes that an absolute value of a difference between any two first width parameters is less than a third preset threshold, determine the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear is high; and when the third comparison result characterizes that the absolute value of the difference between any two first width parameters is equal to or greater than the third preset threshold, determine the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
In other embodiments, the uniformity parameters include a second width parameter of a gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear. The first determination module 803 is further configured to: acquire a third time length corresponding to each second voltage value from the second curve; and determine, according to the third time length, the second width parameter of the gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear.
In other embodiments, the second determination module 804 is further configured to: compare any two second width parameters to obtain a fourth comparison result; when the fourth comparison result characterizes that an absolute value of a difference between any two second width parameters is less than a fourth preset threshold, determine the detection result to be that uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is high; and when the fourth comparison result characterizes that the absolute value of the difference between any two second width parameters is equal to or greater than the fourth preset threshold, determine the detection result to be that the uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is low.
In other embodiments, the first determination module 803 is further configured to: acquire at least one second curve corresponding to the to-be-detected gear; determine, based on the at least one second curve, at least one second voltage corresponding to the first position; perform a computational processing on the at least one second voltage to obtain an average voltage; and determine the first parameter based on the average voltage.
Descriptions of the above apparatus embodiments are similar to descriptions of the above method embodiments, and have beneficial effects similar to those of the method embodiments. Technical details which are not disclosed in the apparatus embodiments of the disclosure may be understood by referring to the descriptions of the method embodiments of the disclosure.
It should be noted that in the embodiments of the disclosure, if the above detection method is implemented in form of a software functional module and is sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the disclosure substantially or parts making contributions to the related art may be embodied in form of a software product. The computer software product may be stored in a storage medium, which includes several instructions to enable a detection device (which may be a personal computer, a server, or a network device, or the like) to perform all or part of the methods described in the embodiments of the disclosure. The above storage medium includes various media capable of storing program codes such as a U disk, a mobile hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, etc. In this way, the embodiments of the disclosure are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the disclosure provides a detection device. The detection device includes a memory and a processor. The memory has stored thereon a computer program executable on the processor, and the method as described in any one of the above paragraphs is implemented when the processor executes the program.
Correspondingly, an embodiment of the disclosure provides a storage medium. The storage medium has stored thereon executable instructions, and the method as described in any one of the above paragraphs is implemented when the executable instructions are executed by a processor.
It should be noted here that descriptions of the above storage medium and device embodiments are similar to descriptions of the above method embodiments, and have beneficial effects similar to those of the method embodiments. Technical details which are not disclosed in the storage medium and device embodiments of the disclosure may be understood by referring to the descriptions of the method embodiments of the disclosure.
It should be noted that
It may be understood that the memory 903 may be a volatile memory or a non-volatile memory, or may include both the volatile memory and the non-volatile memory. The non-volatile memory may be a ROM, a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Ferromagnetic Random Access Memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM). The magnetic surface memory may be a magnetic disk memory or a magnetic tape memory. The volatile memory may be a Random Access Memory (RAM) which is used as an external high-speed cache. In exemplary but non-limiting descriptions, many forms of RAMs are available, such as a Static Random Access Memory (SRAM), a Synchronous Static Random Access Memory (SSRAM), a Dynamic Random Access Memory (DRAM), a Synchronous Dynamic Random Access Memory (SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), an Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), a SyncLink Dynamic Random Access Memory (SLDRAM) and a Direct Rambus Random Access Memory (DRRAM). The memory 903 described in the embodiment of the disclosure is intended to include but is not limited to these and any other suitable types of memories.
The method disclosed in the above embodiment of the disclosure may be applied to the processor 901, or may be implemented by the processor 901. The processor 901 may be an integrated circuit chip with a signal processing capability. During implementation, each operation in the above method may be completed by an integrated logical circuit in form of hardware in the processor 901 or an instruction in form of software. The above processor 901 may be a general purpose processor, a Digital Signal Processor (DSP), or other programmable logical devices, a discrete gate or a transistor logical device, a discrete hardware component, etc. Various methods, operations and logical block diagrams disclosed in the embodiments of the disclosure may be implemented or executed by the processor 901. The general purpose processor may be a microprocessor, or any conventional processor, etc. Operations of the method disclosed in combination with the embodiments of the disclosure may be directly embodied to be executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware in the decoding processor and software modules. The software module may be located in a storage medium. The storage medium is located in the memory 903. The processor 901 reads information in the memory 903, and completes the operations of the above method in combination with the hardware thereof.
In an exemplary embodiment, the detection device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controller Units (MCUs), microprocessors, or other electronic components configured to perform the above method.
In several embodiments provided in the disclosure, it should be understood that the disclosed method and apparatus may be implemented in other manners. The above apparatus embodiments are only schematic, and for example, division of the units is only a logic function division, and other division manners may be adopted during an actual implementation. For example, multiple units or components may be combined or integrated into another observation item, or some features may be neglected or may not be performed. Furthermore, communication connection between displayed or discussed components may be implemented through some interfaces, may be indirect coupling or communication connection of the device or the units, and may be electrical, mechanical or adopt other forms.
The above units described as separate parts may be or may not be physically separated, and parts displayed as units may be or may not be physical units, that is, they may be located in a place, or may be distributed to multiple network units. Part or all of the units may be selected to achieve the purpose of the embodiments according to actual requirements.
It may be understood by those of ordinary skill in the art that all or part of operations implementing the above method embodiment may be completed by hardware relevant to program instructions, and the above program may be stored in a computer-readable storage medium. Operations including the above method embodiment are executed when the program is executed. The above storage medium includes various media capable of storing program codes such as a mobile storage device, a ROM, a magnetic disk, or an optical disk, etc.
Alternatively, if the above integrated units of the embodiments of the disclosure are implemented in form of a software functional unit and are sold or used as an independent product, they may also be stored in a computer-readable storage medium. Based on such an understanding, technical implementations of the embodiments of the disclosure substantially or parts making contributions to the related art may be embodied in form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a detection device (which may be a personal computer, a server, or a network device, or the like) to perform all or part of the methods described in the embodiments of the disclosure. The above storage medium includes various media capable of storing program codes such as a mobile storage device, a ROM, a magnetic disk, or an optical disk, etc.
The detection method and apparatus and the computer storage medium recorded in the embodiments of the disclosure take the embodiments described in the disclosure as examples only, but are not limited to the embodiments. Any item should fall within the scope of protection of the disclosure as long as the detection method and apparatus and the computer storage medium are involved therein.
It should be understood that “one embodiment” or “an embodiment” mentioned throughout the description mean that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the disclosure. Therefore, “in one embodiment” or “in an embodiment” present throughout the description does not necessarily refer to the same embodiment. Furthermore, these specific features, structures or characteristics may be combined in one or more embodiments by any suitable manner. It should be understood that in various embodiments of the disclosure, sizes of serial numbers of the above processes do not mean a sequence of execution, and the sequence of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on implementation processes of the embodiments of the disclosure. The above serial numbers of the embodiments of the disclosure are only for the purpose of descriptions, and do not represent advantages and disadvantages of the embodiments.
It should be noted that terms “including”, “include” or any other variants thereof in the context are intended to encompass a non-exclusive inclusion, such that a process, method, article or apparatus including a series of elements includes not only those elements, but also other elements which are not explicitly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by a statement “including a . . . ” does not preclude presence of additional identical elements in a process, method, article or apparatus including the element.
The above descriptions are only specific implementations of the disclosure. However, the scope of protection of the disclosure is not limited thereto. Variation or replacement easily conceived by any technician familiar with this technical field within the technical scope disclosed in the disclosure should fall within the scope of protection of the disclosure. Therefore, the scope of protection of the disclosure shall be subject to the scope of protection of the claims.
Claims
1. A detection method, applied to a detection system which comprises a first device driving a to-be-detected gear to rotate, the method comprising:
- when the first device controls the to-be-detected gear to rotate, acquiring a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system, the first curve characterizing a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system;
- converting the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, the second curve characterizing a relationship between the first position and a second voltage converted from the first voltage;
- determining, based on the second curve, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear; and
- determining, based on the first parameter, a detection result of the to-be-detected gear.
2. The method of claim 1, wherein the second voltage comprises a first voltage value and a second voltage value, the first voltage value is greater than the second voltage value, wherein converting the first curve by using the first preset threshold to obtain the second curve corresponding to the first curve comprises:
- determining a first voltage equal to or greater than the first preset threshold from the first curve, and converting the first voltage equal to or greater than the first preset threshold into the first voltage value;
- determining a first voltage less than the first preset threshold from the first curve, and converting the first voltage less than the first preset threshold into the second voltage value; and
- determining, based on the first voltage value and the second voltage value, the second curve corresponding to the first curve.
3. The method of claim 2, wherein the first parameter comprises a distance parameter for any one of the at least one gear tooth of the to-be-detected gear and a gear slot corresponding to any one of the at least one gear tooth, and determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear comprises:
- acquiring a first time length corresponding to each adjacent first and second voltage values from the second curve; and
- determining, according to the first time length, the distance parameter for any one of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to any one of the at least one gear tooth.
4. The method of claim 3, wherein determining, based on the first parameter, the detection result of the to-be-detected gear comprises:
- comparing any two distance parameters to obtain a second comparison result;
- when the second comparison result characterizes that an absolute value of a difference between any two distance parameters is less than a second preset threshold, determining the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear and gear slots corresponding to the at least one gear tooth is high; and
- when the second comparison result characterizes that the absolute value of the difference between any two distance parameters is equal to or greater than the second preset threshold, determining the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear and the gear slots corresponding to the at least one gear tooth is low.
5. The method of claim 2, wherein the first parameter comprises a first width parameter of any one of the at least one gear tooth of the to-be-detected gear, and determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear comprises:
- acquiring a second time length corresponding to each first voltage value from the second curve; and
- determining, according to the second time length, the first width parameter of any one of the at least one gear tooth of the to-be-detected gear.
6. The method of claim 5, wherein determining, based on the first parameter, the detection result of the to-be-detected gear comprises:
- comparing any two first width parameters to obtain a third comparison result;
- when the third comparison result characterizes that an absolute value of a difference between any two first width parameters is less than a third preset threshold, determining the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear is high; and
- when the third comparison result characterizes that the absolute value of the difference between any two first width parameters is equal to or greater than the third preset threshold, determining the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
7. The method of claim 2, wherein the first parameter comprises a second width parameter of a gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear, and determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear comprises:
- acquiring a third time length corresponding to each second voltage value from the second curve; and
- determining, according to the third time length, the second width parameter of the gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear.
8. The method of claim 7, wherein determining, based on the first parameter, the detection result of the to-be-detected gear comprises:
- comparing any two second width parameters to obtain a fourth comparison result;
- when the fourth comparison result characterizes that an absolute value of a difference between any two second width parameters is less than a fourth preset threshold, determining the detection result to be that uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is high; and
- when the fourth comparison result characterizes that the absolute value of the difference between any two second width parameters is equal to or greater than the fourth preset threshold, determining the detection result to be that the uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is low.
9. The method of claim 1, wherein determining, based on the second curve, the first parameter characterizing the uniformity of the at least one gear tooth of the to-be-detected gear comprises:
- acquiring at least one second curve corresponding to the to-be-detected gear;
- determining, based on the at least one second curve, at least one second voltage corresponding to the first position;
- performing a computational processing on the at least one second voltage to obtain an average voltage; and
- determining the first parameter based on the average voltage.
10. (canceled)
11. A detection device, applied to a detection system which comprises a first device driving a to-be-detected gear to rotate, wherein the detection device comprises a processor and a memory having stored thereon a computer program executable on the processor, and the processor is configured to execute the computer program to:
- when the first device controls the to-be-detected gear to rotate, acquire a first curve corresponding to the to-be-detected gear in a magnetic field generated by the detection system, the first curve characterizing a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system;
- convert the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, the second curve characterizing a relationship between the first position and a second voltage converted from the first voltage;
- determine, based on the second curve, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear; and
- determine, based on the first parameter, a detection result of the to-be-detected gear.
12. A non-transitory computer-readable storage medium, having stored thereon executable instructions, which, when executed by a processor, implement a detection method, the method comprising:
- when a first device controls a to-be-detected gear to rotate, acquiring a first curve corresponding to the to-be-detected gear in a magnetic field generated by a detection system, the first curve characterizing a relationship between a first position for each of at least one gear tooth of the to-be-detected gear and a gear slot corresponding to each of the at least one gear tooth, and a first voltage generated by the first position in the detection system;
- converting the first curve by using a first preset threshold to obtain a second curve corresponding to the first curve, the second curve characterizing a relationship between the first position and a second voltage converted from the first voltage;
- determining, based on the second curve, a first parameter characterizing uniformity of the at least one gear tooth of the to-be-detected gear; and
- determining, based on the first parameter, a detection result of the to-be-detected gear.
13. The detection device of claim 11, wherein the second voltage comprises a first voltage value and a second voltage value, the first voltage value is greater than the second voltage value, and the processor is further configured to execute the computer program to:
- determine a first voltage equal to or greater than the first preset threshold from the first curve, and convert the first voltage equal to or greater than the first preset threshold into the first voltage value;
- determine a first voltage less than the first preset threshold from the first curve, and convert the first voltage less than the first preset threshold into the second voltage value; and
- determine, based on the first voltage value and the second voltage value, the second curve corresponding to the first curve.
14. The detection device of claim 13, wherein the first parameter comprises a distance parameter for any one of the at least one gear tooth of the to-be-detected gear and a gear slot corresponding to any one of the at least one gear tooth, and the processor is further configured to execute the computer program to:
- acquire a first time length corresponding to each adjacent first and second voltage values from the second curve; and
- determine, according to the first time length, the distance parameter for any one of the at least one gear tooth of the to-be-detected gear and the gear slot corresponding to any one of the at least one gear tooth.
15. The detection device of claim 14, wherein the processor is further configured to execute the computer program to:
- compare any two distance parameters to obtain a second comparison result;
- when the second comparison result characterizes that an absolute value of a difference between any two distance parameters is less than a second preset threshold, determine the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear and gear slots corresponding to the at least one gear tooth is high; and
- when the second comparison result characterizes that the absolute value of the difference between any two distance parameters is equal to or greater than the second preset threshold, determine the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear and the gear slots corresponding to the at least one gear tooth is low.
16. The detection device of claim 13, wherein first parameter comprises a first width parameter of any one of the at least one gear tooth of the to-be-detected gear, and the processor is further configured to execute the computer program to:
- acquire a second time length corresponding to each first voltage value from the second curve; and
- determine, according to the second time length, the first width parameter of any one of the at least one gear tooth of the to-be-detected gear.
17. The detection device of claim 16, wherein the processor is further configured to execute the computer program to:
- compare any two first width parameters to obtain a third comparison result;
- when the third comparison result characterizes that an absolute value of a difference between any two first width parameters is less than a third preset threshold, determine the detection result to be that uniformity of the at least one gear tooth of the to-be-detected gear is high; and
- when the third comparison result characterizes that the absolute value of the difference between any two first width parameters is equal to or greater than the third preset threshold, determine the detection result to be that the uniformity of the at least one gear tooth of the to-be-detected gear is low.
18. The detection device of claim 13, wherein first parameter comprises a second width parameter of a gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear, and the processor is further configured to execute the computer program to:
- acquire a third time length corresponding to each second voltage value from the second curve; and
- determine, according to the third time length, the second width parameter of the gear slot corresponding to any one of the at least one gear tooth of the to-be-detected gear.
19. The detection device of claim 18, wherein the processor is further configured to execute the computer program to:
- compare any two second width parameters to obtain a fourth comparison result;
- when the fourth comparison result characterizes that an absolute value of a difference between any two second width parameters is less than a fourth preset threshold, determine the detection result to be that uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is high; and
- when the fourth comparison result characterizes that the absolute value of the difference between any two second width parameters is equal to or greater than the fourth preset threshold, determine the detection result to be that the uniformity of gear slots corresponding to the at least one gear tooth of the to-be-detected gear is low.
20. The detection device of claim 11, wherein the processor is further configured to execute the computer program to:
- acquire at least one second curve corresponding to the to-be-detected gear;
- determine, based on the at least one second curve, at least one second voltage corresponding to the first position;
- perform a computational processing on the at least one second voltage to obtain an average voltage; and
- determine the first parameter based on the average voltage.
21. The non-transitory computer-readable storage medium of claim 12, wherein the second voltage comprises a first voltage value and a second voltage value, the first voltage value is greater than the second voltage value, wherein converting the first curve by using the first preset threshold to obtain the second curve corresponding to the first curve comprises:
- determining a first voltage equal to or greater than the first preset threshold from the first curve, and converting the first voltage equal to or greater than the first preset threshold into the first voltage value;
- determining a first voltage less than the first preset threshold from the first curve, and converting the first voltage less than the first preset threshold into the second voltage value; and
- determining, based on the first voltage value and the second voltage value, the second curve corresponding to the first curve.
Type: Application
Filed: Dec 30, 2022
Publication Date: Nov 26, 2026
Inventors: Xiuhui XUE (Yuncheng), Chen JIANG (Yuncheng), Aizheng XIE (Yuncheng), Peng Li (Yuncheng), Yongfeng LIAN (Yuncheng)
Application Number: 19/135,851