Self-adaptive frequency measurement device of string wire type instrument
By introducing the frequency measurement duration adaptive adjustment counter into the steel string instrument, the measurement accuracy and adaptability problems caused by the traditional fixed preset gate duration are solved, and accurate measurement and accuracy improvement of frequency parameters are achieved.
Patent Information
- Application Number
- CN202323605343.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2033-12-28
AI Technical Summary
In the frequency parameter measurement of traditional steel string instruments, due to the use of fixed preset gate durations, the frequency measurement durations of different types of steel string instruments vary greatly and cannot be adapted, resulting in reduced measurement accuracy or insufficient sample numbers, which affects the project. practice.
Design an adaptive frequency measurement device for steel string instruments, which uses frequency measurement duration adaptive adjustment counters and controls the preset gate duration adjustment of the first and second counters through the CPU to achieve the frequency measurement duration and the vibration duration of the steel string instrument. The best match to ensure accurate measurement of frequency parameters.
It achieves accurate measurement of frequency parameters, ensures optimal measurement accuracy, adapts to the effective duration of different steel string instruments, and improves the reliability and accuracy of measurement.
Smart Images

Figure CN221612927U
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of health monitoring of geotechnical engineering, and specifically relates to a steel string instrument adaptive frequency measuring device. Background Art
[0002] In the field of health monitoring technology for geotechnical engineering, safety monitoring instruments such as steel string type (or steel string type) instruments are usually used to achieve long-term continuous monitoring of physical quantities such as stress and strain, temperature, joint opening, leakage and deformation of geotechnical engineering, so as to track, monitor, analyze and judge the safety status of geotechnical engineering.
[0003] The steel string instrument (or steel string sensor) consists of a homogeneous steel string with both ends fixed. The length of the steel string is L. When sensing the external force F (which can be stress and strain, temperature, joint opening, leakage and deformation of geotechnical engineering, etc.), the steel string will produce a tensile deformation of ΔL. Within the elastic range, while considering the influence of temperature T, the calculation expression of F is: , where ∆T=T-T0, α is the linear expansion coefficient of the steel string, T0, α, and K are all known constants. The mechanical vibration natural frequency f of the steel string can be obtained as follows: , where E is the elastic modulus of the steel string, ρ v is the density of the steel string material, λ is the Poisson coefficient of the steel string material, ρ v and λ are both constants. Arrange the above two expressions and Convert it into an expression of f and substitute it into the expression of F to perform variable elimination, and you will find that F is a definite function of f and T. Therefore, F can be measured by measuring f and T. Generally, the range of variation of the working environment temperature T of the steel string instrument will not be too large. Therefore, the vibration natural frequency parameter f of the steel string is the most critical measurement factor for measuring F.
[0004] The method of excitation and vibration pickup is usually used to measure the frequency parameter f of the steel string of the steel string instrument. The steel string is placed in a magnetic field environment composed of an excitation coil, a frequency measurement coil (if a single-coil steel string instrument, the excitation coil and the frequency measurement coil are combined into one and time-division multiplexed) and a permanent magnet. By applying an alternating current to the excitation coil, the steel string is subjected to the action of magnetic force to cause mechanical vibration and eventually form a standing wave vibration mode characterized by a natural frequency. The vibrating steel string cuts the magnetic lines of force in the magnetic field environment and generates a weak electromotive force in the measuring coil. The variation law of the electromotive force is consistent with the mechanical vibration law of the steel string, that is, the variation frequency of the electromotive force is consistent with the mechanical vibration frequency. Therefore, the measurement of the variation frequency of the electromotive force can be achieved by the method of electrical signal measurement, and then the measured value of the mechanical vibration natural frequency f of the steel string can be obtained. According to the above working principle description, the measurement process of the frequency parameter f of the steel string instrument should include the excitation process, the standing wave stabilization process and the vibration pickup process. After excitation, the steel string instrument will output a weak alternating electromotive force with attenuated amplitude and the same frequency as the natural frequency at both ends of the measuring coil. The duration of the alternating electromotive force varies greatly due to factors such as structural design, material properties, and signal transmission loss, ranging from tens of milliseconds to several seconds. The frequency information of the alternating electromotive force can be measured by using a counter to measure the frequency. The traditional equal-precision counter uses a fixed preset gate time T, which varies greatly due to factors such as structural design, material properties, and signal transmission loss. The effective duration of the frequency parameters of different steel string instruments varies greatly, ranging from tens of milliseconds to several seconds. The fixed T value cannot adapt to the frequency measurement requirements of various types of steel string instruments, which will cause the following two adverse effects: ⑴ If a long-duration counter is used, the steel string instrument with a short vibration time will not be able to measure data due to insufficient number of collected samples; ⑵ If a short-duration counter is used, the steel string instrument will greatly reduce the measurement accuracy due to the small number of collected samples, which brings inconvenience to engineering practice. Utility Model Content
[0005] Technical problem to be solved: In view of the above technical problems, the utility model provides an adaptive frequency measuring device for a steel string instrument, which introduces an adaptive frequency measuring time adjustment counter in the frequency f parameter measuring device, so that the frequency measuring time and the vibration maintaining time of the steel string instrument are optimally matched, thereby reliably realizing the measurement of the frequency f parameter of the steel string instrument and ensuring the optimal measurement accuracy.
[0006] Technical solution: A steel string instrument adaptive frequency measuring device, including a CPU, wherein the input port I1 of the CPU is connected to a start measurement button, the input port I2 of the CPU is connected to a stop measurement button, and the output port O3 of the CPU is connected to the input end of an excitation circuit. The circuit equivalent model of the steel string instrument is a coil, one end of the coil is connected to the output end of the excitation circuit, and the other end is sequentially connected to a signal conditioning circuit and a frequency measurement time adaptive adjustment counter, wherein the frequency measurement time adaptive adjustment counter includes a first counter and a second counter, wherein the CPU controls the selection of a four-to-one electronic switch built into the frequency measurement time adaptive adjustment counter through a logical combination of two output control lines O4 and O5, thereby adjusting the preset gate time T input to the first counter and the second counter, and realizing synchronous zeroing operation of the first counter and the second counter through the output port O6, and obtaining the measured value N1 of the first counter and the measured value N2 of the second counter through the first counter data line and the second counter data line, respectively, and the signal input end of the frequency measurement time adaptive adjustment counter is connected to the signal output end of the signal conditioning circuit.
[0007] Preferably, the CPU has more than 5 input ports and more than 10 output ports.
[0008] Preferably, the device further comprises a serial liquid crystal display module, and the serial liquid crystal display module is connected to the CPU via an SPI serial data line.
[0009] Preferably, the measurement start button and the measurement stop button are both unlocked buttons.
[0010] Preferably, the CPU is provided with peripheral circuits.
[0011] Preferably, the excitation circuit is provided with an f parameter input core wire interface.
[0012] Beneficial effect: In view of the working characteristics of the steel string instrument that the duration of vibration maintained varies greatly, the utility model introduces a frequency measurement duration adaptive adjustment counter in the frequency f parameter measurement device, so that the frequency measurement duration and the duration of vibration maintained by the steel string instrument are optimally matched, and the measurement of the frequency f parameter of the steel string instrument is reliably realized and the optimal measurement accuracy is ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a structural schematic diagram of a steel string instrument adaptive frequency measuring device of the utility model;
[0014] Figure 2 It is a schematic diagram of the working principle of the frequency measurement duration adaptive adjustment counter;
[0015] Figure 3 This is the circuit diagram for detecting the state change of the start measurement button;
[0016] Figure 4 This is the circuit diagram for detecting the state change of the stop measurement button;
[0017] Serial numbers in the figure: 1. CPU, 2. Excitation circuit, 3. Coil, 4. Signal conditioning circuit, 5. Frequency measurement time adaptive adjustment counter, 6. Start measurement button, 7. Stop measurement button, 8. Peripheral circuit, 9. Serial LCD display module, 10. Steel string instrument, 11. SPI serial data line, 12. Control line, 13. First counter data line, 14. Second counter data line. DETAILED DESCRIPTION
[0018] The technical solution of the utility model is further described in detail below in conjunction with the accompanying drawings. Example 1
[0019] Reference Figure 1-Figure 2 , a steel string instrument adaptive frequency measuring device, including a CPU 1 and its peripheral circuit 8, the input port I1 of the CPU 1 is connected to the start measurement button 6, the input port I2 of the CPU 1 is connected to the stop measurement button 7, the output port O3 of the CPU 1 is connected to the input end of the excitation circuit 2, the excitation circuit 2 is provided with an f parameter input core wire interface, the circuit equivalent model of the steel string instrument 10 is a coil 3, one end of the coil 3 is connected to the output end of the excitation circuit 2, and the other end is sequentially connected to the signal conditioning circuit 4 and the frequency measurement time adaptive adjustment counter 5, the frequency measurement time adaptive adjustment counter 5 includes a first counter and a second counter, the CPU 1 realizes the gating control of the four-to-one electronic switch built in the frequency measurement time adaptive adjustment counter 5 through the logic combination (00, 01, 10, 11) of the two output control lines 12 of O4 and O5, thereby realizing the adjustment of the preset gate time T input to the first counter and the second counter, realizes the synchronous clearing operation of the first counter and the second counter through the output port O6, and obtains the measured value N1 of the first counter and the measured value N2 of the second counter through the first counter data line 13 and the second counter data line 14 respectively, and the signal input end of the frequency measurement time adaptive adjustment counter 5 is connected to the signal output end of the signal conditioning circuit 4; and also includes a serial liquid crystal display module 9, which is connected to the CPU 1 through the SPI serial data line 11 and is used to realize the display of the measured value result of the frequency f parameter.
[0020] The CPU 1 is a CPU with more than 5 input ports and more than 10 output ports, such as CD4040. A single CD4040 can achieve a maximum binary count length of 12 bits. After 2 CD4040s are cascaded, a maximum binary counter length of 24 bits can be obtained. At the same time, the count value output of the counter composed of 2 cascaded CD4040s can be read by a parallel input / serial output shift register chip, such as a 74HC165 chip. Each 74HC165 can achieve a maximum parallel data length of 8 bits. After 3 74HC165s are cascaded, a maximum parallel data length of 24 bits can be read, which just matches the count length of the cascaded 2 CD4040s. The serial data line of 74HC165 includes 3 I / O port core wires connected to the corresponding I / O of CPU 1. The first counter and the second counter are respectively composed of 2 cascaded CD4040s, 3 74HC163 chips and 3 I / O port core wires. All CD4040 chips can be Figure 1 The O6 shown in the figure performs a synchronous clearing operation, and the end of the clearing operation serves as a synchronous signal for the first counter and the second counter to start counting. The CPU 1 reads the data of the first counter through the first counter data line (O7, O8, I4), and reads the data of the second counter through the second counter data line (O9, O10, I5).
[0021] The above-mentioned four-to-one electronic switch 12, such as CD4052, is controlled by O4 and O5 of CPU 1 to achieve four-to-one control, so that the equal-precision frequency measurement preset gate time length T can be adjusted within the range of 18, 17, 16, and 15 bits. Taking the standard frequency of 1 MHz as an example, when the length of the binary counter is 18 bits, T=2 18 ×1=262144(us), through the design of digital logic circuit, the length of binary counter can be adjusted, such as adjusting in the range of 18, 17, 16, 15 bits, and T value is adjusted in the range of 262144 us, 131072 us, 65536 us, 32768 us accordingly. During the measurement process, the preset gate time length T is controlled in the order from high to low: when the preset gate length is 18 bits, if the measured value is correct, the measured value result is transmitted to the serial liquid crystal display module 9 (128*160 dot matrix serial liquid crystal screen) through the SPI serial data line 11 (O1, O2, I3) to realize the display of the measured value result of the frequency f parameter; if the correct frequency f parameter cannot be measured, CPU 1 automatically adjusts the preset gate length to 17 bits, and measures again... and so on, thereby realizing the adaptive frequency measurement function.
[0022] The circuit function of the steel string instrument adaptive frequency measuring device can be realized by various electronic components. The start measurement button 6 and the stop measurement button 7 are both unlocked buttons. Figure 3 and Figure 4 Circuit design. Figure 3 When the unlocked key is not pressed, the logic level of I1 is high. When the key is pressed briefly, the logic level changes from high to low. The change from high to low can be recognized by CPU 1 as a measurement instruction for starting the adaptive frequency measuring device of the steel string instrument. Similarly, Figure 4 When the unlocked button is not pressed, the logic level of I2 is high. When the button is pressed briefly, the logic level changes from high to low. The change from high to low can be recognized by CPU 1. The change of the logic level serves as an instruction for the adaptive frequency measuring device of the steel string instrument to stop measuring.
[0023] The specific measurement process of the steel string instrument adaptive frequency measuring device is as follows:
[0024] ⑴ Press the start measurement button 6, and the device enters the continuous measurement working mode;
[0025] (2) When receiving the measurement start command, CPU 1 controls O3 to output a frequency sweep pulse as an excitation signal, and at the same time coil 2 enters the excitation working mode. Under the excitation of the frequency sweep pulse, the steel string is vibrated by the alternating electromagnetic force;
[0026] ⑶ Delay waiting for 100ms to avoid the transition period from steel string excitation to vibration pickup;
[0027] (4) CPU 1 controls O6 to generate a level change signal of "high level → low level → high level", performs a synchronous clearing operation on the first counter and the second counter, and triggers the preset gate time T at the end of the clearing operation, and the first counter and the second counter start counting synchronously;
[0028] ⑸ O4 and O5 of CPU 1 implement four-in-one control, so that the preset gate time length T of equal-precision frequency measurement is 18 bits. When the preset gate T time is up, the counting of the first counter and the second counter is stopped synchronously. CPU 1 reads the measured value N1 of the first counter and the measured value N2 of the second counter through the data line 13 of the first counter and the data line 14 of the second counter respectively, and obtains the measured value result of the frequency f parameter by formula fx=fs×N2 / N1. CPU 1 checks the measurement accuracy according to empirical data or the preset effective measurement range. If the accuracy check is passed, the measured value result is transmitted to the serial liquid crystal display module 9 (128*160 dot matrix serial liquid crystal screen) through the SPI serial data line 11 (O1, O2, I3) to realize the display of the measured value result of the frequency f parameter, and the next measurement is started according to the working process of "excitation → waiting for 100 ms in the transition process → equal precision frequency measurement → measurement calculation → measurement accuracy check → measurement result display → excitation →..." until CPU 1 receives the stop measurement instruction transmitted by I2; if the accuracy check is not passed, CPU 1 controls O4 and O5 to make the preset gate time length T be 17 bits, and a new round of measurement is carried out according to the working process of "excitation → waiting for 100 ms in the transition process → equal precision frequency measurement → measurement calculation → measurement accuracy check". If the accuracy check is passed, the measured value result is transmitted to the serial liquid crystal display module 9 (128*160 dot matrix serial liquid crystal screen) through the SPI serial data line 11 (O1, O2, I3) to realize the display of the measured value result of the frequency f parameter, and CPU 1 At the same time, record the most suitable preset gate time length T of the instrument as 17 bits, and start the next measurement according to the workflow of "excitation → wait for 100ms during the transition process → equal precision frequency measurement → measurement value calculation → measurement value accuracy check → measurement value result display → excitation → ..." until CPU1 receives the stop measurement instruction transmitted by I2. If the preset gate time length T is 17 bits, and the measurement value accuracy check still fails, the CPU controls O4 and O5 to make the preset gate time length T 16 bits, and so on, until the preset gate time length T is 15 bits;
[0029] When the stop measurement button 7 is pressed, the signal I2 is transmitted to the CPU 1, and the CPU 1 issues a stop measurement command after recognition, and the frequency measurement process of the steel string instrument 10 is suspended. The best matching can be achieved for the effective duration of the frequency parameters of different steel string instruments, and the measurement of the frequency f parameter of the steel string instrument can be reliably achieved and the optimal measurement accuracy can be ensured.
[0030] The embodiments of this specific implementation method are all preferred embodiments of the utility model, and are not intended to limit the protection scope of the utility model. Therefore, all equivalent changes made based on the structure, shape, and principle of the utility model should be included in the protection scope of the utility model.
Claims
1. An adaptive frequency measuring device for a steel string instrument, characterized in that: It includes a CPU, wherein the input port I1 of the CPU is connected to a start measurement button, the input port I2 of the CPU is connected to a stop measurement button, the output port O3 of the CPU is connected to the input end of an excitation circuit, the circuit equivalent model of the steel string instrument is a coil, one end of the coil is connected to the output end of the excitation circuit, and the other end is sequentially connected to a signal conditioning circuit and a frequency measurement time adaptive adjustment counter, the frequency measurement time adaptive adjustment counter includes a first counter and a second counter, the CPU controls the selection of a four-to-one electronic switch built into the frequency measurement time adaptive adjustment counter through a logical combination of two output control lines O4 and O5, thereby adjusting the preset gate time T input to the first counter and the second counter, and realizes a synchronous zeroing operation of the first counter and the second counter through the output port O6, and obtains the measured value N1 of the first counter and the measured value N2 of the second counter through the first counter data line and the second counter data line, respectively, and the signal input end of the frequency measurement time adaptive adjustment counter is connected to the signal output end of the signal conditioning circuit.
2. The steel string instrument adaptive frequency measuring device according to claim 1, characterized in that: The CPU has more than 5 input ports and more than 10 output ports.
3. The adaptive frequency measuring device for a steel string instrument according to claim 1, characterized in that: It also includes a serial liquid crystal display module, which is connected to the CPU via a SPI serial data line.
4. The steel string instrument adaptive frequency measuring device according to claim 1, characterized in that: The start measurement button and the stop measurement button are both unlocked buttons.
5. The steel string instrument adaptive frequency measuring device according to claim 1, characterized in that: The CPU is provided with peripheral circuits.
6. The steel string instrument adaptive frequency measuring device according to claim 1, characterized in that: The excitation circuit is provided with an f parameter input core line interface.
