CN116182910A - Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment - Google Patents
Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment Download PDFInfo
- Publication number
- CN116182910A CN116182910A CN202310220315.6A CN202310220315A CN116182910A CN 116182910 A CN116182910 A CN 116182910A CN 202310220315 A CN202310220315 A CN 202310220315A CN 116182910 A CN116182910 A CN 116182910A
- Authority
- CN
- China
- Prior art keywords
- vibrating wire
- frequency
- sensor
- preset
- type sensor
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The application discloses a self-adaptive vibrating wire type sensor detection method, a device, a medium and electronic equipment, wherein the method comprises the following steps: acquiring preset frequency and preset voltage, sweeping the vibrating wire type sensor, exciting the vibrating wire type sensor according to the preset voltage, and measuring and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor; determining the frequency range of the vibrating wire sensor according to the preset frequency by taking the initial frequency of the vibrating wire sensor as a reference; exciting the vibrating wire type sensor according to a preset voltage in the frequency range of the vibrating wire type sensor, measuring and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor, and judging the signal quality and stability of the output frequency of the vibrating wire type sensor by visually displaying an induced voltage spectrum curve, an induced voltage waveform and an induced voltage attenuation curve of the vibrating wire type sensor while measuring and reading the frequency. The vibrating wire sensor can be suitable for vibrating wire sensors with various different frequencies.
Description
Technical Field
The invention relates to the technical field of vibrating wire sensors, in particular to a detection method and device of a self-adaptive vibrating wire sensor, a medium and electronic equipment.
Background
The vibrating wire sensor (vibrating wire transducer) is a resonant sensor taking a pre-tensioned metal wire as a sensitive element, specifically, after the length of the metal wire is determined, the change of the natural vibration frequency of the metal wire can represent the magnitude of the external load borne by the metal wire, and an electric signal with a certain relation with the external load can be obtained through a corresponding measuring circuit.
In actual work, the electric signals are read by using a vibrating wire type sensor acquisition instrument to obtain the detection result of the vibrating wire type sensor, however, the existing vibrating wire type sensor acquisition instrument is generally matched with the vibrating wire type sensor, and because vibrating wire type sensors produced by different manufacturers or by different processes are different, excitation frequency bands and energy of the vibrating wire type sensor are different, when the vibrating wire type sensors produced by different manufacturers or by different processes are tested, a plurality of vibrating wire type sensor acquisition instruments matched with the vibrating wire type sensors are required to be carried, and a plurality of inconveniences are brought to test work. Moreover, the existing vibrating wire type sensor frequency acquisition instrument can only give out a final signal result, can not visually display the quality of the signal quality, is difficult for a user to evaluate the performance and stability of the vibrating wire type sensor, and can only acquire the reliability of the vibrating wire type sensor after the vibrating wire type sensor is put into use for a long time.
Therefore, there is a need for a vibrating wire sensor acquisition instrument that can acquire electrical signals of vibrating wire sensors produced by different manufacturers or by different processes, so as to facilitate testing, inspection, and other operations of the vibrating wire sensor.
Disclosure of Invention
The embodiment of the application provides a self-adaptive vibrating wire type sensor detection method, a device, a medium and electronic equipment, which can acquire electric signals of vibrating wire type sensors produced by different manufacturers or by different processes and has good universality.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
According to a first aspect of embodiments of the present application, there is provided an adaptive vibrating wire sensor detection method, including:
acquiring a preset frequency and a preset voltage;
the method comprises the steps of carrying out frequency sweep on a vibrating wire type sensor, exciting the vibrating wire type sensor according to preset voltage, and measuring and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor;
determining the frequency range of the vibrating wire sensor according to the preset frequency by taking the initial frequency of the vibrating wire sensor as a reference;
and exciting the vibrating wire type sensor according to a preset voltage in the frequency range of the vibrating wire type sensor, and measuring and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor.
In some embodiments of the present application, based on the foregoing solution, the method further includes:
acquiring an induced voltage spectrum curve and preset energy of a vibrating wire sensor;
calculating the energy of a spectral peak in an induced voltage spectral curve of the vibrating wire sensor;
comparing the energy of the spectral peak with a preset energy to determine whether to update the preset voltage.
In some embodiments of the present application, based on the foregoing scheme, the comparing the energy of the spectral peak with a preset energy to determine whether to update the preset voltage includes:
the energy of the spectrum peak is larger than the preset energy, and the preset voltage is reduced;
the energy of the spectrum peak is smaller than the preset energy, and the preset voltage is increased;
the energy of the spectrum peak is equal to the preset energy, and the preset voltage is kept unchanged.
In some embodiments of the present application, based on the foregoing solution, the determining, based on the initial frequency of the vibrating wire sensor and according to the preset frequency, the frequency range of the vibrating wire sensor includes:
the initial frequency of the vibrating wire sensor is increased by a preset frequency to serve as a high-point frequency;
the initial frequency of the vibrating wire sensor is reduced by a preset frequency to be used as a low-point frequency;
the frequency band between the high point frequency and the low point frequency is the frequency range of the vibrating wire sensor.
In some embodiments of the present application, based on the foregoing solution, the method further includes:
acquiring an induced voltage waveform and an induced voltage decay curve of the vibrating wire sensor;
and establishing a judgment index based on the induced voltage spectrum curve of the vibrating wire sensor, the induced voltage waveform of the vibrating wire sensor and the induced voltage attenuation curve so as to judge the signal quality and stability of the output frequency of the vibrating wire sensor.
In some embodiments of the present application, based on the foregoing scheme, the evaluation index includes:
the effective amplitude represents the effective amplitude of a spectral peak in an induced voltage spectral curve of the vibrating wire sensor;
the distortion degree represents the distortion degree of the induced voltage waveform of the vibrating wire sensor;
the attenuation rate is used for representing the number of vibration waves from the maximum amplitude to the preset amplitude in an induced voltage attenuation curve of the vibrating wire sensor.
In some embodiments of the present application, based on the foregoing scheme, the preset amplitude is less than one-half of the maximum amplitude and greater than one-third of the maximum amplitude.
In some embodiments of the present application, first, the frequency of the vibrating wire sensor is measured and read primarily, then the vibrating wire sensor is measured and read accurately, and the vibrating wire sensor does not need to be set manually in advance, so that the sensor can adapt to vibrating wire sensors with various frequencies, and the test work of the vibrating wire sensor is facilitated.
According to a second aspect of embodiments of the present application, there is provided an adaptive vibrating wire sensor detection device, the device comprising:
the acquisition unit is used for acquiring preset frequency and preset voltage;
the detection unit is used for carrying out frequency sweep on the vibrating wire type sensor, exciting the vibrating wire type sensor according to a preset voltage, detecting and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor, determining the frequency range of the vibrating wire type sensor according to the preset frequency by taking the initial frequency of the vibrating wire type sensor as a reference, exciting the vibrating wire type sensor according to the preset voltage in the frequency range of the vibrating wire type sensor, and detecting and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor.
According to a third aspect of embodiments of the present application, there is provided a computer readable storage medium having stored thereon a computer program comprising executable instructions which, when executed by a processor, implement the method according to any of the embodiments of the first aspect described above.
According to a fourth aspect of embodiments of the present application, there is provided an electronic device, including: one or more processors; and a memory for storing executable instructions of the processor, which when executed by the one or more processors, cause the one or more processors to implement the method of any embodiment of the first aspect.
The advantages of the embodiments of the second aspect and the fourth aspect may be referred to the advantages of the first aspect and the embodiments of the first aspect, and are not described here again.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 illustrates a flow chart of an adaptive vibrating wire sensor detection method in an embodiment of the present application;
FIG. 2 is a flow chart of a method for adjusting a preset voltage in an embodiment of the present application;
FIG. 3 illustrates a flow chart of a method of evaluating vibrating wire sensor performance in an embodiment of the present application;
FIG. 4 illustrates a block diagram of an adaptive vibrating wire sensor detection device in an embodiment of the application;
FIG. 5 illustrates a schematic diagram of an adaptive vibrating wire sensor detection device in an embodiment of the present application;
FIG. 6 is a schematic diagram of a computer-readable storage medium shown according to an embodiment of the invention;
fig. 7 is a schematic diagram showing a system structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Fig. 1 shows a flow chart of an adaptive vibrating wire sensor detection method in an embodiment of the present application, which may be performed by a device having a computing processing function.
Referring to fig. 1, the detection method of the adaptive vibrating wire sensor at least includes steps S1 to S4, and is described in detail as follows:
in step S1, a preset frequency and a preset voltage are obtained.
In this application, the preset frequency may be set according to the actual situation, for example, the preset frequency is 50Hz, the preset voltage may be set according to the actual situation, for example, the preset voltage is 2V to 8V, and the preset voltage may be the amplitude of the alternating excitation voltage.
In step S2, the vibrating wire sensor is swept, excited according to a preset voltage, and the frequency of the vibrating wire sensor is measured and read to obtain the initial frequency of the vibrating wire sensor.
In this application, the vibrating wire sensor is excited, and the frequency of the vibrating wire sensor is measured and read, so as to determine the approximate frequency of the vibrating wire sensor, i.e., the initial frequency of the vibrating wire sensor.
In step S3, the frequency range of the vibrating wire sensor is determined according to the preset frequency with reference to the initial frequency of the vibrating wire sensor.
In this application, confirm the frequency range of vibrating wire sensor, aim at reduces vibrating wire sensor's detection interval, reduces and detects consuming time, improves and detects the precision.
In this application, determining the frequency range of the vibrating wire sensor may be accomplished by:
the initial frequency of the vibrating wire sensor is increased by a preset frequency to serve as a high-point frequency;
the initial frequency of the vibrating wire sensor is reduced by a preset frequency to be used as a low-point frequency;
the frequency band between the high point frequency and the low point frequency is the frequency range of the vibrating wire sensor.
For example, the initial frequency of the vibrating wire sensor is 600Hz, the preset frequency is 50Hz, the high point frequency is 650Hz, the low point frequency is 550Hz, and the frequency range of the vibrating wire sensor is 550Hz to 650Hz.
In step S4, the vibrating wire sensor is excited according to a preset voltage within the frequency range of the vibrating wire sensor, and the frequency of the vibrating wire sensor is measured and read to obtain the final frequency of the vibrating wire sensor.
In the present application, the final frequency of the vibrating wire sensor is the natural frequency of the vibrating wire sensor obtained by detection, and the preset voltage may be the amplitude of the alternating excitation voltage.
In this application, the preset voltage may be adjusted to avoid the overdrive phenomenon, and referring to fig. 2, fig. 2 shows a flowchart of a method for adjusting the preset voltage in an embodiment of the present application, where the method for adjusting the preset voltage at least includes S01 to S03, which is described in detail below:
in step S01, an induced voltage spectrum curve and preset energy of the vibrating wire sensor are acquired.
In the application, the induced voltage spectrum curve of the vibrating wire sensor can be obtained by collecting the induced voltage of the vibrating wire sensor and then performing fast fourier transform, and the preset energy can be set according to the actual situation, for example, the preset energy is 5V.
In step S02, the energy of the spectral peak in the induced voltage spectral curve of the vibrating wire sensor is calculated.
In the present application, the energy near the spectral peak in the induced voltage spectral curve of the vibrating wire sensor can also be calculated.
In step S03, the energy of the spectral peak is compared with a preset energy to determine whether to update the preset voltage.
Specifically, whether the preset voltage is updated or not depends on the magnitude relation between the energy of the spectrum peak and the preset energy.
The energy of the spectrum peak is larger than the preset energy, the preset voltage is reduced, for example, the energy of the spectrum peak is 6V, the preset energy is 5V, and the preset voltage is reduced;
the energy of the spectrum peak is smaller than the preset energy, the preset voltage is increased, for example, the energy of the spectrum peak is 4V, the preset energy is 5V, and the preset voltage is increased;
the energy of the spectrum peak is equal to the preset energy, and then the preset voltage is kept unchanged, for example, the energy of the spectrum peak and the preset energy are both 5V, and then the preset voltage is kept unchanged.
In the present application, the performance of the vibrating wire sensor may be evaluated, referring to fig. 3, fig. 3 shows a flowchart of a method for evaluating the performance of the vibrating wire sensor in the embodiment of the present application, where the method for evaluating the performance of the vibrating wire sensor at least includes Sa to Sb, which is described in detail as follows:
in step Sa, an induced voltage waveform and an induced voltage decay curve of the vibrating wire sensor are acquired.
In the present application, the induced voltage waveform and the induced voltage decay curve of the vibrating wire sensor can be obtained by collecting the induced voltage of the vibrating wire sensor.
In step Sb, a judgment index is established based on the induced voltage spectrum curve of the vibrating wire sensor, the induced voltage waveform of the vibrating wire sensor, and the induced voltage attenuation curve, so as to judge the signal quality and stability of the output frequency of the vibrating wire sensor.
In the present application, the evaluation index is used to evaluate the performance of the vibrating wire sensor, thereby detecting the quality of the vibrating wire sensor.
Specifically, the evaluation index includes:
the effective amplitude represents the effective amplitude of a spectral peak in an induced voltage spectral curve of the vibrating wire sensor;
the distortion degree represents the distortion degree of the induced voltage waveform of the vibrating wire sensor;
the attenuation rate is used for representing the number of vibration waves from the maximum amplitude to the preset amplitude in an induced voltage attenuation curve of the vibrating wire sensor.
The preset amplitude is smaller than one half of the maximum amplitude and larger than one third of the maximum amplitude.
Referring to fig. 4, a block diagram of an adaptive vibrating wire sensor detection device in an embodiment of the present application is shown, and fig. 5 shows a schematic diagram of an adaptive vibrating wire sensor detection device in an embodiment of the present application.
As shown in fig. 4 and 5, based on the same inventive concept, a second aspect of the embodiments of the present application further provides an adaptive vibrating wire sensor detection device 100, including: an acquisition unit 101, a detection unit 102, and a display unit 103.
Wherein, the acquiring unit 101 is configured to acquire a preset frequency and a preset voltage;
the detection unit 102 is used for sweeping the vibrating wire type sensor, exciting the vibrating wire type sensor according to a preset voltage, measuring and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor, determining the frequency range of the vibrating wire type sensor according to the preset frequency by taking the initial frequency of the vibrating wire type sensor as a reference, exciting the vibrating wire type sensor according to the preset voltage in the frequency range of the vibrating wire type sensor, and measuring and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor.
And the display unit 103 is used for displaying an induced voltage spectrum curve of the vibrating wire sensor, an induced voltage waveform and an induced voltage attenuation curve of the vibrating wire sensor, and judging the signal quality and stability of the output frequency of the vibrating wire sensor by visually displaying the induced voltage spectrum curve, the induced voltage waveform and the induced voltage attenuation curve of the vibrating wire sensor while measuring the read frequency.
Specifically, the detection unit 102 may include a single-chip microcomputer, where the single-chip microcomputer outputs a frequency sweep signal, sweeps the vibrating wire sensor, then outputs a frequency measurement signal, measures and reads the frequency of the vibrating wire sensor, and the single-chip microcomputer may include a dynamic memory SRAM for storing an induced voltage spectrum curve of the vibrating wire sensor, an induced voltage waveform of the vibrating wire sensor, and an induced voltage attenuation curve.
The single chip microcomputer can be electrically connected with a plurality of keys, the keys are used for carrying out corresponding operations, such as single measurement or multiple measurement, the single measurement can carry out single measurement on the vibrating wire type sensor, the multiple measurement can carry out multiple measurement on the vibrating wire type sensor, the single measurement can be a process comprising sequentially carrying out frequency sweeping, excitation, measurement reading and display, and the multiple measurement is repeated to circulate the single measurement, and the single chip microcomputer can be electrically connected with a bus for transmitting data.
The detection unit 102 may include a temperature detection module for detecting a temperature of the vibrating wire sensor, and the temperature detection module may include a constant current source and a thermistor, the thermistor being for sensing the temperature of the vibrating wire sensor, the thermistor being electrically connected to the constant current source, the constant current source being electrically connected to the monolithic computer.
The detection unit can comprise a multiplexer and three cascaded operational amplifiers, the multiplexer is electrically connected with the vibrating wire type sensor, the multiplexer is electrically connected with the single-chip microcomputer, the operational amplifiers are electrically connected with the operational amplifiers at one stage, the operational amplifiers at three stages are electrically connected with the counting ports of the single-chip microcomputer, and the waveform after the idealized processing is obtained by the operational amplifiers at two stages, and the waveform after the idealized processing is amplified again to obtain the ideal waveform which enters the counting ports of the single-chip microcomputer.
The device has an automatic shutdown function, when the singlechip does not detect frequency and temperature signals within preset time such as 5 minutes, or the frequency value and the temperature value of continuous 5 minutes are not within a measurement range, the singlechip is electrically connected with a field effect switch tube for controlling the switching of the device, a PIO port of the singlechip outputs a low-level signal to a source electrode of the field effect switch tube, the source electrode low potential causes the field effect switch tube to enter a cut-off state, and the device is automatically shut down.
The display unit 103 may include a display screen, which may be a touch screen, electrically connected to the monolithic computer.
The display unit can display parameters such as the modulus of the vibrating wire type sensor, the internal temperature, the frequency, the voltage, the resistance, the temperature, the swing amplitude and the like of the vibrating wire type sensor.
The device adopts the excitation unit to excite the vibrating wire type sensor, the excitation unit includes battery, direct current change module, excitation power and the excitation module that connects gradually, excitation power and singlechip electricity are connected, the excitation module is connected with the multiplexer electricity, the excitation module can be class D amplifier.
Specifically, the excitation energy of the device is 2V to 8V, the excitation frequency is 400Hz to 6000Hz, when the frequency of the vibrating wire type sensor is detected, the frequency measurement precision can be 0.05Hz, the resolution can be 0.01Hz, the time base precision can be 0.01%, the precision of the device depends on the total precision of software and hardware, such as the factory precision of components, the time base precision of crystal oscillator, the measurement precision of a counting port of a single chip microcomputer, and the single chip microcomputer software comprises algorithms including monitoring programs, such as application of digital filtering, selection of zero crossing period and the like.
The shell of the device adopts a protection grade of support I P, can adopt five-core aviation plug, supports thousands of plug operations, the device is connected with the vibrating wire type sensor through a connecting wire, one end of the connecting wire is electrically connected with the five-core aviation plug, the other end of the connecting wire is provided with a crocodile clip with five wires, and the crocodile clip comprises two red and black crocodile clips connected with the vibrating wire type signal output end of the vibrating wire type sensor, two green and white crocodile clips connected with the temperature signal output end of the vibrating wire type sensor and one blue crocodile clip serving as a lead wire of a shielding layer.
The operational amplifier can adopt PGA, the gain of the operational amplifier can be adjusted, the default value of the gain can be 38dB, the step length can be 3dB, and the maximum value can be 50dB.
It should be noted that the device may also comprise the acquisition unit 101 and the detection unit 102, without the display unit 103, without affecting the implementation of the function.
Based on the same inventive concept, the third aspect of the embodiments of the present application also provides, as another aspect, a computer-readable storage medium having stored thereon a program product capable of implementing the adaptive vibrating wire sensor detection method described in the present specification. In some possible implementations, the various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the present application as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
Referring to fig. 6, a program product 200 for implementing the above-described method according to an embodiment of the present application is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
As another aspect, the present application further provides an electronic device capable of implementing the above method.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 300 according to this embodiment of the present application is described below with reference to fig. 7. The electronic device 300 shown in fig. 7 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 7, the electronic device 300 is embodied in the form of a general purpose computing device. Components of electronic device 300 may include, but are not limited to: the at least one processing unit 310, the at least one memory unit 320, and a bus 330 connecting the various system components, including the memory unit 320 and the processing unit 310.
Wherein the storage unit stores program code that is executable by the processing unit 310 such that the processing unit 310 performs steps according to various exemplary embodiments of the present application described in the above-described "example methods" section of the present specification.
The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a Random Access Memory (RAM) 321 and/or a cache memory 322, and may further include a Read Only Memory (ROM) 323.
The storage unit 320 may also include a program/utility 324 having a set (at least one) of program modules 325, such program modules 325 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 300, and/or any device (e.g., router, modem, etc.) that enables the electronic device 300 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 350. Also, electronic device 300 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 300 over the bus 330. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 300, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software that is executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the present application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate components may or may not be physically separate, and components as control devices may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely exemplary of the present application and is not intended to limit the present application, and various modifications and variations may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. The detection method of the self-adaptive vibrating wire sensor is characterized by comprising the following steps of:
acquiring a preset frequency and a preset voltage;
the method comprises the steps of carrying out frequency sweep on a vibrating wire type sensor, exciting the vibrating wire type sensor according to preset voltage, and measuring and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor;
determining the frequency range of the vibrating wire sensor according to the preset frequency by taking the initial frequency of the vibrating wire sensor as a reference;
and exciting the vibrating wire type sensor according to a preset voltage in the frequency range of the vibrating wire type sensor, and measuring and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor.
2. The method as recited in claim 1, further comprising:
acquiring an induced voltage spectrum curve and preset energy of a vibrating wire sensor;
calculating the energy of a spectral peak in an induced voltage spectral curve of the vibrating wire sensor;
comparing the energy of the spectral peak with a preset energy to determine whether to update the preset voltage.
3. The method of claim 2, wherein said comparing the energy of the spectral peak with a preset energy to determine whether to update a preset voltage comprises:
the energy of the spectrum peak is larger than the preset energy, and the preset voltage is reduced;
the energy of the spectrum peak is smaller than the preset energy, and the preset voltage is increased;
the energy of the spectrum peak is equal to the preset energy, and the preset voltage is kept unchanged.
4. The method of claim 1, wherein determining the frequency range of the vibrating wire sensor based on the predetermined frequency with reference to the initial frequency of the vibrating wire sensor comprises:
the initial frequency of the vibrating wire sensor is increased by a preset frequency to serve as a high-point frequency;
the initial frequency of the vibrating wire sensor is reduced by a preset frequency to be used as a low-point frequency;
the frequency band between the high point frequency and the low point frequency is the frequency range of the vibrating wire sensor.
5. The method as recited in claim 2, further comprising:
acquiring an induced voltage waveform and an induced voltage decay curve of the vibrating wire sensor;
and establishing a judgment index based on the induced voltage spectrum curve of the vibrating wire sensor, the induced voltage waveform of the vibrating wire sensor and the induced voltage attenuation curve so as to judge the signal quality and stability of the output frequency of the vibrating wire sensor.
6. The method of claim 5, wherein the evaluation index comprises:
the effective amplitude represents the effective amplitude of a spectral peak in an induced voltage spectral curve of the vibrating wire sensor;
the distortion degree represents the distortion degree of the induced voltage waveform of the vibrating wire sensor;
the attenuation rate is used for representing the number of vibration waves from the maximum amplitude to the preset amplitude in an induced voltage attenuation curve of the vibrating wire sensor.
7. The method of claim 6, wherein the predetermined amplitude is less than one-half of the maximum amplitude and greater than one-third of the maximum amplitude.
8. An adaptive vibrating wire sensor detection device, the device comprising:
the acquisition unit is used for acquiring preset frequency and preset voltage;
the detection unit is used for carrying out frequency sweep on the vibrating wire type sensor, exciting the vibrating wire type sensor according to a preset voltage, detecting and reading the frequency of the vibrating wire type sensor to obtain the initial frequency of the vibrating wire type sensor, determining the frequency range of the vibrating wire type sensor according to the preset frequency by taking the initial frequency of the vibrating wire type sensor as a reference, exciting the vibrating wire type sensor according to the preset voltage in the frequency range of the vibrating wire type sensor, and detecting and reading the frequency of the vibrating wire type sensor to obtain the final frequency of the vibrating wire type sensor.
9. A computer readable storage medium having stored thereon a computer program comprising executable instructions which, when executed by a processor, implement the method according to any of claims 1-7.
10. An electronic device, comprising: one or more processors; a memory for storing executable instructions of the processor, which when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310220315.6A CN116182910A (en) | 2023-03-02 | 2023-03-02 | Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310220315.6A CN116182910A (en) | 2023-03-02 | 2023-03-02 | Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116182910A true CN116182910A (en) | 2023-05-30 |
Family
ID=86452131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310220315.6A Pending CN116182910A (en) | 2023-03-02 | 2023-03-02 | Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116182910A (en) |
-
2023
- 2023-03-02 CN CN202310220315.6A patent/CN116182910A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6133720A (en) | High speed multifunction testing and calibration of electronic electricity meters | |
KR101151742B1 (en) | Portable System for Diagnosis of Partial Discharge | |
CN108571997A (en) | A kind of method and apparatus that measured point is steadily contacted in detection probe | |
CN114924119A (en) | Clock chip and frequency measuring method | |
KR100538081B1 (en) | Lightning arrester analyzer and analyzing method | |
JP2009276354A (en) | Current-measuring device and current measurement method | |
CN116182910A (en) | Self-adaptive vibrating wire type sensor detection method and device, medium and electronic equipment | |
CN206695822U (en) | A kind of vibrating string type sensor work condition online testing device | |
US20230408577A1 (en) | Low current leakage measurement on a high current unified static and dynamic characterization platform | |
CN108490265B (en) | Ground resistance testing method, device and tester | |
US6442239B1 (en) | Telephone line longitudinal balance tester and method | |
CN110032484A (en) | The test macro and method of a kind of server and its vdd voltage in memory | |
CN116381348A (en) | Device and method for testing broadband impedance characteristics of cable terminal | |
US6574310B1 (en) | Apparatus and method for a wide band spectral balance measurement | |
JPS63138232A (en) | Vibration testing system | |
CN106840246A (en) | A kind of vibrating string type sensor work condition on-line testing method and device | |
JP2023507333A (en) | Detecting the fundamental component of the current to gate energy consumption storage | |
CN113156208A (en) | Automatic detection equipment | |
CN113504498B (en) | Performance detection method and system of partial discharge intelligent sensing terminal | |
US5555311A (en) | Electro-acoustic system analyzer | |
TWI429922B (en) | Non-contact measurement method for electromagnetic interference | |
JP3084207U (en) | Simple leakage current frequency component display | |
CN113625102B (en) | Cable defect positioning method, device, computer equipment and storage medium | |
CN117516666B (en) | Quality factor measuring equipment and method for coriolis flowmeter | |
CN117706196A (en) | Frequency measurement method and device, electronic equipment and storage medium |
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 |