CN112433064A - Rotating speed detection method, device and equipment - Google Patents

Rotating speed detection method, device and equipment Download PDF

Info

Publication number
CN112433064A
CN112433064A CN202011231020.1A CN202011231020A CN112433064A CN 112433064 A CN112433064 A CN 112433064A CN 202011231020 A CN202011231020 A CN 202011231020A CN 112433064 A CN112433064 A CN 112433064A
Authority
CN
China
Prior art keywords
gear
measured
rotating speed
module
amplitude
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.)
Pending
Application number
CN202011231020.1A
Other languages
Chinese (zh)
Inventor
王轩
宫聪伟
王力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN202011231020.1A priority Critical patent/CN112433064A/en
Publication of CN112433064A publication Critical patent/CN112433064A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/481Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals

Abstract

The invention discloses a rotating speed detection method, which considers that structural defects generated by a production process only affect a small part of single teeth of a gear, namely, the structure of most of the single teeth is standard, the method can calculate undetermined frequency (frequency corresponds to the rotating speed) corresponding to the consumed time length of each single tooth when passing through an electromagnetic sensor, namely calculate the rotating speed of the gear through each single tooth, and determine the determined rotating speed of the gear by a method of solving the average value of all the undetermined frequencies. The invention also discloses a rotating speed detection device and equipment, which have the same beneficial effects as the rotating speed detection method.

Description

Rotating speed detection method, device and equipment
Technical Field
The invention relates to the field of gear speed measurement, in particular to a rotating speed detection method, and further relates to a rotating speed detection device and equipment.
Background
The gear is a tool commonly used in production activities, and in order to perform the production activities better, it is necessary to measure and regulate the rotation speed of the gear, but the gear is likely to have structural defects due to production processes and the like, such as axial eccentricity or gear defects and the like, so that the difficulty of measuring the rotation speed of the gear is increased, and how to accurately measure the rotation speed in such a situation is a big problem, for example, if the measured rotation speed is not accurate, the product quality is likely to be reduced and safety problems are likely to be caused.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a rotating speed detection method, which has higher accuracy of finally obtained measured rotating speed, is beneficial to improving the product quality and improving the safety of gear operation; another object of the present invention is to provide a device and an apparatus for detecting a rotation speed, which are capable of obtaining a rotation speed with high accuracy, and are beneficial to improving the product quality and improving the safety of the gear operation.
In order to solve the above technical problem, the present invention provides a method for detecting a rotation speed, comprising:
acquiring the consumption duration of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
calculating undetermined frequency corresponding to each consumed duration;
calculating the average value of all the undetermined frequencies;
and converting according to the average value to obtain the measured rotating speed of the gear to be measured.
Preferably, the time consumed for each single tooth to pass through the electromagnetic sensor in the plurality of single teeth of the gear to be measured is specifically:
receiving an induction electric signal generated by an electromagnetic sensor arranged on a gear to be detected;
judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform flag bit and the induced electrical signal;
if so, saving the consumed time length corresponding to the current rotating single-tooth amplitude;
and executing the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform zone bit and the induced electrical signal.
Preferably, if so, after the consumed time corresponding to the current rotating single-tooth amplitude is saved, before the step of judging whether the rotating amplitude of the gear to be detected reaches the amplitude of one single tooth or not according to the preset waveform flag bit and the induced electrical signal is executed, the rotating speed detection method further includes:
judging whether the total number of the currently stored consumed durations exceeds a preset threshold value or not;
if not, executing the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform zone bit and the induced electrical signal;
and if so, deleting the oldest saved one of the consumed time lengths.
Preferably, the preset threshold is the total number of teeth of the gear to be measured.
Preferably, the step of judging whether the rotation amplitude of the gear to be measured reaches the amplitude of a single tooth or not by means of a preset waveform flag bit and the induced electrical signal is specifically as follows:
judging whether two preset pulse edges in the induction electric signal are continuously detected or not;
if so, judging that the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth;
the induced electrical signal is a square-wave induced electrical signal obtained through wave form conversion, and the preset wave form mark bit is the preset pulse edge.
Preferably, the electromagnetic sensor is a magnetoresistive sensor.
Preferably, the time consumed for each single tooth to pass through the electromagnetic sensor in the plurality of single teeth of the gear to be measured is specifically:
respectively acquiring the consumed time of each single tooth of the gear to be measured after passing through the electromagnetic sensor in a plurality of single teeth of the gear to be measured based on the induction electric signals generated by the electromagnetic sensor through two measurement modules of a Field Programmable Gate Array (FPGA);
then the calculating the average value of all the undetermined frequencies specifically includes:
respectively calculating the average value of all the undetermined frequencies output by the two measurement modules;
the measured rotating speed of the gear to be measured obtained through conversion according to the average value is specifically as follows:
converting according to the two average values to obtain two undetermined rotating speeds of the gear to be detected;
judging whether the two undetermined rotating speeds are the same or not;
if the gear to be measured is the same as the gear to be measured, taking the undetermined rotating speed as the measured rotating speed of the gear to be measured;
and if not, controlling a prompter to prompt the fault of the measurement module in the FPGA.
Preferably, the rotation speed detection method further includes:
responding to a single diagnosis instruction through a generating module of the FPGA to generate an analog electric signal with a preset period, and controlling a channel switching module in the FPGA to be in a first state or a second state;
the channel switching module is specifically configured to control the induced electrical signal to access a first measurement module of the two measurement modules when the channel switching module is in the first state, control the analog electrical signal to access a second measurement module of the two acquisition modules, control the induced electrical signal to access the second measurement module when the channel switching module is in the second state, control the induced electrical signal to access the first measurement module, and control the induced electrical signal to access the first measurement module and the second measurement module respectively when the channel switching module is in a default state;
the step of judging whether the two undetermined rotating speeds are the same specifically comprises the following steps:
when the channel switching module is in a default state, judging whether the two measured rotating speeds are the same;
the rotating speed detection method further comprises the following steps:
when the channel switching module is in the first state, judging whether the measured rotating speed corresponding to the second measuring module corresponds to the preset period;
if the measured rotating speed corresponding to the second measuring module does not correspond to the preset period, controlling a prompter to prompt the second measuring module to have a fault;
when the channel switching module is in the second state, judging whether the measured rotating speed corresponding to the first measuring module corresponds to the preset period;
and if the determined rotating speed corresponding to the first measuring module does not correspond to the preset period, controlling a prompter to prompt the first measuring module to have a fault.
In order to solve the above technical problem, the present invention further provides a rotation speed detecting apparatus, including:
the acquisition module is used for acquiring the consumed time of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
the first calculation module is used for calculating the undetermined frequency corresponding to each consumed duration;
the second calculation module is used for calculating the average value of all the undetermined frequencies;
and the conversion module is used for converting according to the average value to obtain the measured rotating speed of the gear to be measured.
In order to solve the above technical problem, the present invention further provides a rotational speed detecting apparatus, including:
a memory for storing a computer program;
a processor for implementing the steps of the rotational speed detection method as described above when executing the computer program.
The invention provides a rotating speed detection method, which considers that structural defects generated by a production process only affect a small part of single teeth of a gear, namely, the structure of most of the single teeth is standard, the method can calculate undetermined frequency (frequency corresponds to the rotating speed) corresponding to the consumed time length of each single tooth when passing through an electromagnetic sensor, namely calculate the rotating speed of the gear through each single tooth, and determine the determined rotating speed of the gear by a method of solving the average value of all the undetermined frequencies.
The invention also provides a rotating speed detection device and equipment, which have the same beneficial effects as the rotating speed detection method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for detecting a rotational speed according to the present invention;
FIG. 2 is a schematic diagram of a waveform of an electrical signal according to the present invention;
FIG. 3 is a schematic structural diagram of a rotational speed detecting apparatus according to the present invention;
FIG. 4 is a schematic structural diagram of a rotational speed detecting apparatus according to the present invention;
fig. 5 is a schematic structural diagram of another rotational speed detection apparatus provided by the present invention.
Detailed Description
The core of the invention is to provide a rotating speed detection method, the accuracy of the finally obtained measured rotating speed is higher, which is beneficial to improving the product quality and improving the safety of gear operation; the other core of the invention is to provide a rotating speed detection device and equipment, which have higher accuracy of finally obtained measured rotating speed, are beneficial to improving the product quality and improving the safety of gear operation.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a rotational speed detection method provided in the present invention, the rotational speed detection method includes:
step S1: acquiring the consumption duration of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
in particular, in view of the technical problems in the background art as described above, and in view of the fact that even if the amplitude of the sinusoidal waveform output from the electromagnetic sensor varies due to axial eccentricity or gear defect, and further causes the duty ratio of the conditioned individual pulse signals to change (after the sine wave is conditioned into the square wave, the detection of the pulse edge for the single tooth passing through the electromagnetic sensor takes a long time), but the period of one rotation of the gear is fixed, most of the structures of the single teeth are standard, so that the amplitude of the sine waveform output by the electromagnetic sensor corresponding to most of the single teeth is standard, the duty ratio of the square waveform obtained after the sine waveform conditioning is also standard, therefore, the consumed time of each single tooth passing through the electromagnetic sensor obtained by detecting the pulse edge of the square wave can mostly accurately reflect the real rotating speed of the gear to be measured.
Specifically, due to the consideration, the method can firstly obtain the consumed time of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor, and then detect the rotating speed of the gear to be detected by taking the consumed time as the data basis of the subsequent steps, so as to desirably eliminate the measurement error caused by axial eccentricity or gear defects.
The induced electrical signal generated by the electromagnetic sensor is initially in a sine wave form, and may be conditioned into a square wave for conveniently detecting the elapsed time.
Specifically, the gear to be measured may be of various types, for example, a gear applied in a steam turbine, and the like, and the embodiment of the present invention is not limited herein.
Step S2: calculating undetermined frequency corresponding to each consumed duration;
specifically, each consumed time length represents the time consumed by a corresponding single tooth passing through the electromagnetic sensor, the time required by the gear to be measured to rotate for one circle can be obtained by multiplying the consumed time length by the total number of teeth of the gear to be measured, the undetermined frequency of the gear to be measured corresponding to the consumed time length can be measured, the undetermined frequency may be inaccurate due to axial eccentricity or gear defects, and the obtained undetermined frequencies can be used as a data basis of subsequent steps to finally obtain an accurate measured rotating speed.
Step S3: calculating the average value of all undetermined frequencies;
specifically, if the consumed time of a single tooth caused by axial eccentricity or gear defect is not one of the total number of teeth of the gear to be measured, which is consumed by rotating for one circle, the undetermined frequency calculated by the single tooth is inaccurate, but considering that even if the consumed time of the single tooth caused by axial eccentricity or gear defect is not one of the total number of teeth of the gear to be measured, which is consumed by rotating for one circle, the period of the gear to be measured is fixed, the accurate frequency value of the gear to be measured can be obtained by calculating the average value of all undetermined frequencies, and the accurate frequency value can be used as the data base to finally obtain the accurate rotating speed of the gear to be measured.
Of course, the undetermined frequency of all the single teeth does not need to be measured, and the rotating speed can be accurately measured finally through the undetermined frequency of a part of the single teeth.
Step S4: and converting according to the average value to obtain the measured rotating speed of the gear to be measured.
Specifically, since the average value obtained in the foregoing step can reflect the rotation frequency of the gear to be measured relatively accurately, the measured rotation speed of the gear to be measured can be obtained by converting the average value to obtain the measured rotation speed of the gear to be measured in this step, and the measurement result is relatively accurate.
Specifically, in order to effectively improve the rotation speed detection efficiency and optimize the topology structure of the measurement system, step S1 may be applied to an FPGA (Field Programmable Gate Array), and the subsequent steps may be applied to a CPU, which is not limited herein.
For better explaining the embodiment of the present invention, please refer to fig. 2, and fig. 2 is a schematic diagram of a waveform of an electrical signal provided by the present invention, in fig. 2, a frequency between two leftmost dotted lines is a measurement result of a consumed duration of a single tooth, and the sliding filter window may correspond to a preset threshold in the following, that is, a maximum number of stored consumed durations.
The invention provides a rotating speed detection method, which considers that structural defects generated by a production process only affect a small part of single teeth of a gear, namely, the structure of most of the single teeth is standard, the method can calculate undetermined frequency (frequency corresponds to the rotating speed) corresponding to the consumed time length of each single tooth when passing through an electromagnetic sensor, namely calculate the rotating speed of the gear through each single tooth, and determine the determined rotating speed of the gear by a method of solving the average value of all the undetermined frequencies.
On the basis of the above-described embodiment:
as a preferred embodiment, the time spent by each single tooth passing through the electromagnetic sensor in the plurality of single teeth of the gear to be measured is specifically:
receiving an induction electric signal generated by an electromagnetic sensor arranged on a gear to be detected;
judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform flag bit and an induced electrical signal;
if so, saving the consumed time length corresponding to the current rotating single-tooth amplitude;
and executing the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform zone bit and the induced electrical signal.
Specifically, because the sine wave output by the electromagnetic sensor is periodic, one complete movement of the single tooth relative to the electromagnetic sensor can be detected in a mode of detecting each period of the sine wave by presetting the waveform flag bits, so that the time consumed is obtained by the time passing between the two preset waveform flag bits, and the time consumed can be conveniently and accurately obtained.
Of course, the time spent on the single tooth passing through the electromagnetic sensor may be measured in other ways besides the way of presetting the waveform flag bit, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, if the rotation speed detection method is the same as the rotation speed detection method, after the consumed time corresponding to the current single-tooth amplitude is saved, before the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of one single tooth through the preset waveform flag bit and the induced electrical signal is executed, the rotation speed detection method further includes:
judging whether the total number of the currently stored consumed durations exceeds a preset threshold value or not;
if not, executing a step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform flag bit and an induced electrical signal;
if the time length exceeds the preset time length, deleting the oldest saved time length.
Specifically, considering that the computing capacity of the processor is limited and the storage space is limited, in the embodiment of the present invention, the total number of the saved consumed durations is limited within a certain number by limiting the preset threshold, so that on one hand, the requirement on the storage space is reduced, on the other hand, the computing speed can be increased, and further, the speed of detecting the rotation speed is increased.
When the total number of the saved consumed time durations does not reach the preset threshold, only the saving action can be executed without executing the action of deleting the saved consumed time durations, and when the total number of the saved consumed time durations reaches the preset threshold, the earliest saved consumed time duration can be deleted to ensure that the memory space of the saved consumed time durations is kept at the preset threshold.
As a preferred embodiment, the preset threshold is the total number of teeth of the gear to be measured.
Specifically, considering that the fact that the total amount of the saved consumed time exceeds the total number of teeth of the gear to be measured does not contribute to improving the accuracy of the rotating speed measurement, the preset threshold is set as the total number of teeth of the gear to be measured in the embodiment of the invention, so that the accuracy of the finally calculated measured rotating speed can be ensured, the requirements on storage capacity and calculation capacity are reduced, and the real-time performance of the rotating speed detection is improved.
Of course, the preset threshold may be set to other specific values besides the total number of teeth of the gear to be measured, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the specific step of judging whether the rotation amplitude of the gear to be measured reaches the amplitude of a single tooth or not by presetting the waveform flag bit and the induced electrical signal is as follows:
judging whether two preset pulse edges in the induction electric signal are continuously detected or not;
if so, judging that the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth;
the induced electrical signal is a square-wave induced electrical signal obtained by wave form conversion, and the preset wave form flag bit is a preset pulse edge.
Specifically, in the embodiment of the invention, the sine wave output by the electromagnetic sensor is converted into the square wave in advance, the consumed time of the single tooth passing through the electromagnetic sensor can be accurately detected by detecting the pulse edge of the square wave, and the accuracy of the consumed time detection is improved.
The preset pulse edge may be a rising edge or a falling edge, and the embodiment of the present invention is not limited herein.
Specifically, before determining whether two preset pulse edges in the induced electrical signal are continuously detected, filtering may be performed on the square wave obtained by conditioning, so as to filter out high-frequency interference, thereby improving accuracy of detecting the consumed duration.
As a preferred embodiment, the electromagnetic sensor is a magnetoresistive sensor.
Specifically, the magnetoresistive sensor has the advantages of small volume, low cost, long service life and the like.
Of course, besides the magnetoresistive sensor, the electromagnetic sensor may also be of other types, for example, an eddy current probe or an active proximity probe sensor may also be used, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the time spent by each single tooth passing through the electromagnetic sensor in the plurality of single teeth of the gear to be measured is specifically:
acquiring the consumed time of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor through two measurement modules of the FPGA respectively;
then calculating the average of all the pending frequencies is specifically:
respectively calculating the average value of all undetermined frequencies output by the two measurement modules;
the measured rotating speed of the gear to be measured obtained by the average value conversion is specifically as follows:
converting according to the two average values to obtain two undetermined rotating speeds of the gear to be detected;
judging whether the two undetermined rotating speeds are the same;
if the gear to be measured is the same as the gear to be measured, taking the undetermined rotating speed as the measured rotating speed of the gear to be measured;
and if not, controlling the prompter to prompt the fault of the measurement module in the FPGA.
Specifically, for better explaining the embodiment of the present invention, please refer to fig. 3, and fig. 3 is a schematic structural diagram of a rotational speed detecting apparatus provided in the present invention.
Specifically, the FPGA has the advantages of small size, low cost, long service life, and the like, so that the time consumption is measured through the FPGA in the embodiment of the present invention.
Specifically, considering that when the time consumption is measured through the FPGA, the internal measurement module is likely to cause time consumption measurement errors due to program disorder or transistor failure, and the time consumption is measured through one measurement module alone, the only time consumption is likely to be wrong, in order to verify the accuracy of the output time consumption, in the embodiment of the invention, two groups of time consumption outputs can be performed through two identical measurement modules in the FPGA simultaneously based on the induced electrical signals generated by the electromagnetic sensor, and finally, whether the measurement module has errors can be verified through the judgment on the consistency of the two groups of time consumption, and the subsequent steps can be performed only under the condition that the two groups of time consumption are consistent, so that the accuracy of the rotation speed measurement can be effectively improved.
As a preferred embodiment, the rotation speed detection method further includes:
responding to the single diagnosis instruction through a generating module of the FPGA, generating an analog electric signal with a preset period, and controlling a channel switching module in the FPGA to be in a first state or a second state;
the channel switching module is specifically used for controlling the induction electric signal to be accessed to a first measuring module of the two measuring modules when the channel switching module is in a first state, controlling the analog electric signal to be accessed to a second measuring module of the two obtaining modules when the channel switching module is in a second state, controlling the induction electric signal to be accessed to the second measuring module, controlling the analog electric signal to be accessed to the first measuring module when the channel switching module is in a second state, and controlling the induction electric signal to be accessed to the first measuring module and the second measuring module when the channel switching module is in a default state;
judging whether the two undetermined rotating speeds are the same specifically as follows:
when the channel switching module is in a default state, judging whether the two measured rotating speeds are the same;
the rotating speed detection method further comprises the following steps:
when the channel switching module is in the first state, judging whether the measured rotating speed corresponding to the second measuring module corresponds to a preset period;
if the measured rotating speed corresponding to the second measuring module does not correspond to the preset period, controlling a prompter to prompt the second measuring module to have a fault;
when the channel switching module is in the second state, judging whether the measured rotating speed corresponding to the first measuring module corresponds to a preset period;
and if the measured rotating speed corresponding to the first measuring module does not correspond to the preset period, controlling a prompter to prompt the first measuring module to have a fault.
Specifically, whether the measuring module has an error or not can be judged by detecting the consistency of the two groups of consumed time lengths, whether the measuring module has the error or not can be judged by providing a form of an analog electric signal with a preset period for any one of the measuring modules, and whether the measuring module has the error or not can be judged by the measuring module based on the consumed time lengths output by the analog electric signal, and the fault detection mode can avoid the situation that the fault cannot be detected due to the fact that the two measuring modules have the fault at the same time and output the same wrong consumed time lengths, and can improve the fault detection accuracy of the measuring modules.
Specifically, according to the IEC 61508 standard, the FPGA belongs to a complex device (class B) and cannot enumerate all failure modes, and the FPGA must be diagnosed according to a method recommended by the IEC 61508 standard to achieve a certain diagnosis coverage, where a testpattern diagnosis type is adopted for a register or a RAM (Random Access Memory) inside the FPGA and a Single Chip Microcomputer (MCU) of a Localbus bus between the FPGA and the FPGA, and a frequency acquisition channel (i.e., a measurement module) is periodically diagnosed, and a specific diagnosis implementation method is shown in fig. 3, where "PO _ OUT" (i.e., a generation module) generates frequency signals according to a diagnosis command issued by the MCU, "Data Sample 1" and "Data Sample 2" are two measurement modules, and the diagnosis step is:
1) when a1 point is selected by the switch S1, a field electric signal is acquired by the Data Sample1 to the MCU, a b2 point is selected by the switch S2, the MCU writes a preset frequency value into the TestPattern of the FPGA through a locBus bus, the Data Sample2 acquires a frequency signal generated inside the FPGA and sends the acquired value to the MCU, the diagnosis acquired value is compared with the preset TestPattern inside the MCU, if the diagnosis acquired value is within a safety precision range, the channel quality bit is good, and if the diagnosis acquired value exceeds the safety precision range, the quality bit is bad;
2) after the diagnosis of the Data Sample2 is finished, the switch S2 selects a b1 point, and the Data Sample2 collects the electric signals of the scene to the MCU; when the switch S1 selects the point a2, the MCU writes a preset frequency value into the TestPattern of the FPGA through the Localbus, the Data Sample1 collects frequency signals generated inside the FPGA and sends the collected values to the MCU, the MCU compares the diagnosis collected values with the preset TestPattern, if the diagnosis collected values are within the safety precision range, the channel quality bit is good, and if the diagnosis collected values exceed the safety precision range, the quality bit is bad.
3) After the diagnosis is finished, the system enters a normal working state, the switch S1 selects a1 point, the switch S2 selects b1 point, the Data Sample1 and the Data Sample2 simultaneously acquire field electric signals to the MCU, the MCU compares the acquisition values of the Data Sample1 and the Data Sample2, if the acquisition values are consistent, the channel quality bit is good, and if the acquisition values are inconsistent, the quality bit is bad.
When the control channel switching module is in the first state or the second state, the first state or the second state may be selected according to a preset rule, for example, the channel switching module may be controlled to be in one of the states by alternately selecting each time, so as to implement diagnosis for two measurement modules alternately.
Specifically, when there is no single diagnosis instruction, the generation module may not control the state of the channel switching module and make it in the default state, which may reduce the working pressure of the FPGA.
The elapsed time output by the measurement module may be basic data used for calculating the elapsed time, for example, the elapsed time may be basic data including the number of frequency-measuring fundamental frequency pulses and a fundamental frequency pulse time base, and the elapsed time of a single tooth passing through the electromagnetic sensor may be calculated through the basic data in the subsequent step.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a rotational speed detecting device provided in the present invention, the rotational speed detecting device includes:
the acquisition module 1 is used for acquiring the consumed time of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
the first calculation module 2 is used for calculating undetermined frequencies corresponding to the consumed durations;
the second calculating module 3 is used for calculating the average value of all undetermined frequencies;
and the conversion module 4 is used for obtaining the measured rotating speed of the gear to be measured according to the average value conversion.
For the introduction of the rotation speed detecting device provided in the embodiment of the present invention, please refer to the embodiment of the rotation speed detecting method, which is not described herein again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another rotational speed detecting apparatus provided in the present invention, the rotational speed detecting apparatus includes:
a memory 5 for storing a computer program;
and a processor 6 for implementing the steps of the rotation speed detection method as described above when executing the computer program.
For the introduction of the rotational speed detection apparatus provided in the embodiment of the present invention, please refer to the embodiment of the rotational speed detection method described above, and the embodiment of the present invention is not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A rotational speed detection method, characterized by comprising:
acquiring the consumption duration of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
calculating undetermined frequency corresponding to each consumed duration;
calculating the average value of all the undetermined frequencies;
and converting according to the average value to obtain the measured rotating speed of the gear to be measured.
2. The method for detecting the rotating speed according to claim 1, wherein the time spent by each single tooth to pass through the electromagnetic sensor in the plurality of single teeth of the gear to be detected is specifically:
receiving an induction electric signal generated by an electromagnetic sensor arranged on a gear to be detected;
judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform flag bit and the induced electrical signal;
if so, saving the consumed time length corresponding to the current rotating single-tooth amplitude;
and executing the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform zone bit and the induced electrical signal.
3. A method as claimed in claim 2, wherein if so, after the elapsed time corresponding to the current single-tooth amplitude is saved, before the step of determining whether the rotation amplitude of the gear to be measured reaches a single-tooth amplitude according to the preset waveform flag bit and the induced electrical signal is executed, the method further comprises:
judging whether the total number of the currently stored consumed durations exceeds a preset threshold value or not;
if not, executing the step of judging whether the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform zone bit and the induced electrical signal;
and if so, deleting the oldest saved one of the consumed time lengths.
4. A rotation speed detecting method according to claim 3, wherein the preset threshold is a total number of teeth of the gear to be measured.
5. The method for detecting the rotating speed according to claim 3, wherein the step of judging whether the rotating amplitude of the gear to be detected reaches the amplitude of a single tooth or not through a preset waveform flag bit and the induced electrical signal is specifically as follows:
judging whether two preset pulse edges in the induction electric signal are continuously detected or not;
if so, judging that the rotation amplitude of the gear to be detected reaches the amplitude of a single tooth;
the induced electrical signal is a square-wave induced electrical signal obtained through wave form conversion, and the preset wave form mark bit is the preset pulse edge.
6. A rotation speed detecting method according to claim 1, wherein the electromagnetic sensor is a magnetoresistive sensor.
7. The method for detecting the rotating speed according to any one of claims 1 to 6, wherein the time spent by each single tooth passing through the electromagnetic sensor in the plurality of single teeth of the gear to be detected is obtained based on the induced electric signal generated by the electromagnetic sensor, and specifically:
respectively acquiring the consumed time of each single tooth of the gear to be measured after passing through the electromagnetic sensor in a plurality of single teeth of the gear to be measured based on the induction electric signals generated by the electromagnetic sensor through two measurement modules of a Field Programmable Gate Array (FPGA);
then the calculating the average value of all the undetermined frequencies specifically includes:
respectively calculating the average value of all the undetermined frequencies output by the two measurement modules;
the measured rotating speed of the gear to be measured obtained through conversion according to the average value is specifically as follows:
converting according to the two average values to obtain two undetermined rotating speeds of the gear to be detected;
judging whether the two undetermined rotating speeds are the same or not;
if the gear to be measured is the same as the gear to be measured, taking the undetermined rotating speed as the measured rotating speed of the gear to be measured;
and if not, controlling a prompter to prompt the fault of the measurement module in the FPGA.
8. A rotation speed detecting method according to claim 7, characterized by further comprising:
responding to a single diagnosis instruction through a generating module of the FPGA to generate an analog electric signal with a preset period, and controlling a channel switching module in the FPGA to be in a first state or a second state;
the channel switching module is specifically configured to control the induced electrical signal to access a first measurement module of the two measurement modules when the channel switching module is in the first state, control the analog electrical signal to access a second measurement module of the two acquisition modules, control the induced electrical signal to access the second measurement module when the channel switching module is in the second state, control the induced electrical signal to access the first measurement module, and control the induced electrical signal to access the first measurement module and the second measurement module respectively when the channel switching module is in a default state;
the step of judging whether the two undetermined rotating speeds are the same specifically comprises the following steps:
when the channel switching module is in a default state, judging whether the two measured rotating speeds are the same;
the rotating speed detection method further comprises the following steps:
when the channel switching module is in the first state, judging whether the measured rotating speed corresponding to the second measuring module corresponds to the preset period;
if the measured rotating speed corresponding to the second measuring module does not correspond to the preset period, controlling a prompter to prompt the second measuring module to have a fault;
when the channel switching module is in the second state, judging whether the measured rotating speed corresponding to the first measuring module corresponds to the preset period;
and if the determined rotating speed corresponding to the first measuring module does not correspond to the preset period, controlling a prompter to prompt the first measuring module to have a fault.
9. A rotational speed detection apparatus characterized by comprising:
the acquisition module is used for acquiring the consumed time of each single tooth passing through the electromagnetic sensor in a plurality of single teeth of the gear to be detected based on the induction electric signals generated by the electromagnetic sensor;
the first calculation module is used for calculating the undetermined frequency corresponding to each consumed duration;
the second calculation module is used for calculating the average value of all the undetermined frequencies;
and the conversion module is used for converting according to the average value to obtain the measured rotating speed of the gear to be measured.
10. A rotational speed detection apparatus characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the rotation speed detection method according to any one of claims 1 to 8 when executing the computer program.
CN202011231020.1A 2020-11-06 2020-11-06 Rotating speed detection method, device and equipment Pending CN112433064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011231020.1A CN112433064A (en) 2020-11-06 2020-11-06 Rotating speed detection method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011231020.1A CN112433064A (en) 2020-11-06 2020-11-06 Rotating speed detection method, device and equipment

Publications (1)

Publication Number Publication Date
CN112433064A true CN112433064A (en) 2021-03-02

Family

ID=74695545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011231020.1A Pending CN112433064A (en) 2020-11-06 2020-11-06 Rotating speed detection method, device and equipment

Country Status (1)

Country Link
CN (1) CN112433064A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138290A (en) * 2021-04-13 2021-07-20 西安热工研究院有限公司 Method for measuring rotation speed of steam turbine generator unit by using eddy current sensor
CN114778883A (en) * 2022-03-28 2022-07-22 上海电气集团股份有限公司 Detection method, system, equipment and medium for train door limit switch

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183674A (en) * 2011-03-11 2011-09-14 东南大学 Low redundancy and high reliability intelligent speed measuring equipment for ship generator set
CN105699683A (en) * 2016-03-29 2016-06-22 杭州和利时自动化有限公司 Steam turbine rotation speed measurement method and steam turbine rotation speed measurement system
DE102016121395A1 (en) * 2016-04-11 2017-10-12 Leuze Electronic Gmbh + Co. Kg sensor arrangement
CN108226761A (en) * 2017-12-28 2018-06-29 合肥工大高科信息科技股份有限公司 A kind of rail traffic vehicles speed acquires the method with replacing self-test in real time
CN207964866U (en) * 2018-03-23 2018-10-12 长沙南车电气设备有限公司 A kind of six channel hall speed sensors
US20180364271A1 (en) * 2017-06-14 2018-12-20 Safran Aircraft Engines Processing method for a rotation speed signal of an aircraft engine shaft affected by noise
CN109188077A (en) * 2018-09-10 2019-01-11 杭州和利时自动化有限公司 A kind of signal frequency measuring method, system, device and readable storage medium storing program for executing
CN110579618A (en) * 2019-09-17 2019-12-17 西安翔迅科技有限责任公司 Motor rotating speed acquisition and analysis device and method based on FPGA

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183674A (en) * 2011-03-11 2011-09-14 东南大学 Low redundancy and high reliability intelligent speed measuring equipment for ship generator set
CN105699683A (en) * 2016-03-29 2016-06-22 杭州和利时自动化有限公司 Steam turbine rotation speed measurement method and steam turbine rotation speed measurement system
DE102016121395A1 (en) * 2016-04-11 2017-10-12 Leuze Electronic Gmbh + Co. Kg sensor arrangement
US20180364271A1 (en) * 2017-06-14 2018-12-20 Safran Aircraft Engines Processing method for a rotation speed signal of an aircraft engine shaft affected by noise
CN108226761A (en) * 2017-12-28 2018-06-29 合肥工大高科信息科技股份有限公司 A kind of rail traffic vehicles speed acquires the method with replacing self-test in real time
CN207964866U (en) * 2018-03-23 2018-10-12 长沙南车电气设备有限公司 A kind of six channel hall speed sensors
CN109188077A (en) * 2018-09-10 2019-01-11 杭州和利时自动化有限公司 A kind of signal frequency measuring method, system, device and readable storage medium storing program for executing
CN110579618A (en) * 2019-09-17 2019-12-17 西安翔迅科技有限责任公司 Motor rotating speed acquisition and analysis device and method based on FPGA

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138290A (en) * 2021-04-13 2021-07-20 西安热工研究院有限公司 Method for measuring rotation speed of steam turbine generator unit by using eddy current sensor
CN113138290B (en) * 2021-04-13 2022-08-23 西安热工研究院有限公司 Method for measuring rotation speed of steam turbine generator unit by using eddy current sensor
CN114778883A (en) * 2022-03-28 2022-07-22 上海电气集团股份有限公司 Detection method, system, equipment and medium for train door limit switch
CN114778883B (en) * 2022-03-28 2024-04-12 上海电气集团股份有限公司 Detection method, system, equipment and medium for train door limit switch

Similar Documents

Publication Publication Date Title
CN112433064A (en) Rotating speed detection method, device and equipment
CN102035455B (en) M/T speed measuring method for frequency converter
CN1896760A (en) Method for determining short circuit between windings of power generator rotor with load automatically
WO2013135139A1 (en) Speed measuring method and device for servo motor during low-speed running
CN107013421B (en) Method and system for measuring rotation speed of impeller of wind generating set
CN105116369A (en) Radio frequency radiation disturbance rejection degree test apparatus and system
CN101701869B (en) Portable transmission noise meter for controlling engaging quality of bevel gear
CN105203794A (en) Electric generator rotation speed measuring system and method
CN108333617A (en) The quick Peak Search Method of radioactive material quality detection in a kind of seawater
CN103969614A (en) Calibration method for digital multimeter
CN111197517B (en) Fault diagnosis method and device for urea tank, vehicle and storage medium
CN110231504A (en) Detect the method and stealing detection device of electricity stealing
CN109009051A (en) Method for measuring heart rate, device, equipment and storage medium
CN205120740U (en) Motor rotational speed comprehensive testing system
CN112834776A (en) Novel non-contact rotating shaft rotating speed measuring device
CN108593955A (en) For moment rotatation speed test method in the case of cyclic irregularity
CN205120929U (en) Motor aging testing system
CN103439660A (en) Method for testing rotation of motormeter stepper motor
CN103201687A (en) Low energy sensor interface
CN204202871U (en) A kind of gearbox of wind turbine state evaluation device
WO2021093579A1 (en) Waveform measuring method
CN108427345A (en) Load equipment control method, device and system based on square-wave pulse signal
CN104133136A (en) Testing device for rotating table frequency response
CN110045139B (en) Rotating speed measuring system based on pulse time
CN204142175U (en) A kind of portable spindle rotation error measuring instrument

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210302