CN117110732A - Electrostatic detection system and electrostatic detection method for phase compensation - Google Patents
Electrostatic detection system and electrostatic detection method for phase compensation Download PDFInfo
- Publication number
- CN117110732A CN117110732A CN202311387733.0A CN202311387733A CN117110732A CN 117110732 A CN117110732 A CN 117110732A CN 202311387733 A CN202311387733 A CN 202311387733A CN 117110732 A CN117110732 A CN 117110732A
- Authority
- CN
- China
- Prior art keywords
- signal
- module
- value
- vibration
- electrostatic
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 51
- 230000006698 induction Effects 0.000 claims abstract description 84
- 230000003068 static effect Effects 0.000 claims abstract description 73
- 230000005686 electrostatic field Effects 0.000 claims abstract description 14
- 238000004364 calculation method Methods 0.000 claims abstract description 10
- 238000005259 measurement Methods 0.000 claims abstract description 5
- 230000000630 rising effect Effects 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000009825 accumulation Methods 0.000 claims description 3
- 230000001934 delay Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 4
- 230000010354 integration Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000013139 quantization Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004043 dyeing Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000004753 textile Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
- G01R29/12—Measuring electrostatic fields or voltage-potential
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/005—Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention provides an electrostatic detection system and an electrostatic detection method for phase compensation, belongs to the technical field of measuring electric variables, and solves the problem of phase difference between a vibration signal and an electrostatic induction signal. The invention comprises a non-contact vibration sensor, a singlechip and a relay, wherein the non-contact vibration sensor keeps a measurement distance with an external electrostatic field, the singlechip is electrically connected with the non-contact vibration sensor, a comparator module, an AD module, a judging module, a storage module, a control module and a calculation module are arranged in the singlechip, the AD module is connected with a controlled end of the relay through an electric signal, and the control module is connected with the controlled end of the relay through the electric signal. The invention captures the phase difference between the vibration signal and the static induction signal by time delay, and compensates the hysteresis value by the control signal to achieve the synchronism of the vibration signal and the static induction signal. The one-key phase correcting function is formed, so that the sensor is not limited by the natural frequency of the sensor, and the universality is realized.
Description
Technical Field
The invention belongs to the technical field of measuring electric variables, and relates to electrostatic detection, in particular to an electrostatic detection system and an electrostatic detection method of phase compensation.
Background
Along with the rapid development of national economy in China, electrostatic detection and elimination technologies are widely adopted in industries such as electronics, medical treatment, plastic rubber, textile, printing and dyeing, and the like, the electrostatic detection generally adopts the technology of a non-contact vibration induction principle, and is arranged on various production lines to monitor the electrostatic voltage of materials in real time and eliminate static by matching with feedback of an electrostatic eliminator, so that the safe and efficient production purpose is achieved.
The static induction signal of the non-contact vibration sensor is generated based on the vibration signal, so that the phase of the static induction signal lags behind the vibration signal, a square wave signal synchronous with the static induction signal is needed to be used as a trigger control signal for processing the static induction signal, the control signal is used for controlling the relay to carry out chopping processing on the static induction signal, finally the static induction signal enters an AD module of the singlechip after passing through the integrating circuit, the AD module of the singlechip reads the AD value of the signal, and the AD value is converted into a static display voltage value.
At present, the problem of phase difference compensation of a vibration signal and an electrostatic induction signal is generally solved by adopting a hardware processing mode, namely, after the voltage is divided by a voltage dividing circuit, the vibration signal is delayed in phase by a resistance-capacitance phase shifting circuit so as to achieve the purpose of phase compensation. However, the method is limited by the precision of the resistor and the capacitor, so that the energy consumption is high, the precision is difficult to meet the requirement, the consistency is poor, and the error is larger due to the fact that the vibration natural frequencies of the non-contact vibration sensors are different, the consistency of the precision cannot be ensured, and the accuracy of equipment measurement cannot be ensured.
Disclosure of Invention
The invention aims at solving the problems in the prior art and provides an electrostatic detection system and an electrostatic detection method for compensating phase by capturing the phase difference between a vibration signal and an electrostatic induction signal in a delayed manner so as to achieve the same frequency and the same phase.
The aim of the invention can be achieved by the following technical scheme: the static detection system comprises a non-contact vibration sensor, a singlechip and a relay, wherein the non-contact vibration sensor keeps a measurement distance with an external electrostatic field, the singlechip is electrically connected with the non-contact vibration sensor, a comparator module, an AD module, a judging module, a storage module, a control module and a calculation module are arranged in the singlechip, the AD module is connected with a controlled end of the relay through an electric signal, and the control module is connected with the controlled end of the relay through the electric signal;
the comparator module is provided with two voltage input ends and an interrupt trigger point and is used for comparing the magnitudes of the two input quantity voltages so as to capture the target value of the vibration signal and start timing;
the AD module is used for reading the AD value of the static induction signal, capturing the instantaneous time of the AD value equal to the reference value and taking the instantaneous time as a timing end point;
the judging module is used for judging the instant point positions of which the AD values are equal to the reference values under the duration of time;
the storage module is used for storing the time value which is continued when the AD value is equal to the reference value;
the control module is used for sending out a control signal for delaying the vibration signal by the time value;
the relay is used for carrying out chopper processing on the electrostatic induction signal to obtain a waveform signal;
the AD module is used for reading the integrated waveform signal and converting the waveform signal into a Vad value;
the calculation module is used for carrying out integral operation on the processing signals and converting the Vad value into a final electrostatic display voltage value.
In the above-described electrostatic detection system, the vibration signal is a trapezoidal wave signal generated by the noncontact vibration sensor, and the vibration signal is a resonance frequency signal inherent to the vibrating fork; the static induction signal is a positive brown wave signal generated after the non-contact vibration sensor senses an external electrostatic field, and the amplitude of the positive brown wave signal is used for reflecting the strength of the sensed external electrostatic field and further converting the strength into a static voltage value to display; the control signal is a square wave signal generated by the control module after delay processing according to the vibration signal.
The phase compensation detection method of the electrostatic detection system is applied to the electrostatic detection system, and comprises the following steps of:
s1, initializing a system, and setting t=0;
s2, capturing a rising edge of a vibration signal to Vz by a comparator module; the comparator module outputs a square wave signal according to the Vz;
s3, the AD module reads an AD value Vn of the electrostatic induction signal; delaying Vz in the square wave signal backwards by t++ until the Vn value is equal to the reference value Vg;
s4, the control module reads phase differences of the non-contact vibration sensors of corresponding models from the storage moduleSimultaneously, the comparator module reads the vibration signal to capture the rising edge to Vz, and the comparator module further outputs a square wave signal; the control module delays the square wave signal +.>Outputting a control signal;
s5, the AD module reads the static induction signal and inputs the static induction signal into a controlled end of the relay, the control module inputs the control signal into a control end of the relay, and the relay chops the static induction signal according to the control signal to obtain a chopped wave signal;
s6, integrating the chopped signals through an integrating circuit by a computing module, reading the integrated chopped signals into Vad values by an AD module, and converting the Vad values into the following values by the computing module:
①;
②;
bringing (2) into (1) to obtain:
③;
vs-the final electrostatic display voltage in volts (v);
the level voltage value corresponding to the Vx-AD value Vad is in volts (v);
kv-converting the static voltage coefficient, each sensor having a constant, no units;
3.3-is the reference full scale voltage of the power supply in volts (v);
the real-time value read by the Vad-AD module has no unit;
65535-is the maximum value of a 16-bit AD converter.
In the above-mentioned static detection method for phase compensation of static detection system, in step S2, two voltage input terminals of the comparator module, one of which inputs the reference value Vz and the other inputs the vibration signal; the comparator outputs a high level when the value of the vibration signal is greater than Vz, and outputs a low level when the value of the vibration signal is less than Vz; when the value of the captured vibration signal is equal to Vz, the comparator is triggered to interrupt to the timing start point.
In the above-described electrostatic detection method for phase compensation of the electrostatic detection system, in step S3, step 1, when the rising edge of the first vibration signal reaches Vz, a delay is set=1, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 2, when the rising edge of the second vibration signal reaches Vz, setting a delay time=2, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 3, when the rising edge of the third vibration signal reaches Vz, setting a delay time=3, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
……
step n, setting delay time until rising edge of nth vibration signal reaches VzN, the Vn of the static induction signal read by the AD module is judged to be equal to the reference value Vg, which is +.>The value of n is the phase difference calculated +.>;
Phase differenceAnd storing the model and the corresponding non-contact vibration sensor model into a storage module simultaneously.
In the above-mentioned static electricity detection method of phase compensation of static electricity detection system, in step S3, the phase difference between the vibration signal and static electricity induction signal of the same non-contact vibration sensor is a fixed value, the phase difference is a time difference, and it is set as,/>The specific numerical value of (1) is calculated by adopting a tentative accumulation method; vibration signals and static induction signals of different non-contact vibration sensors are different, so +.>Different, it is necessary to re-targetAnd (5) sex estimation.
In the above-described electrostatic detection method for phase compensation of an electrostatic detection system, in step S5, the chopping process specifically operates as:
when the control signal is at a high level, the relay is conducted, and at the moment, the upper half part of the positive brown wave signal of the static induction signal passes through;
when the control signal is at a low level, the relay is turned off, and the lower half of the positive brown wave signal of the electrostatic induction signal cannot pass.
Compared with the prior art, the electrostatic detection system and the electrostatic detection method for phase compensation have the following beneficial effects:
1. the invention solves the problem of phase difference between the vibration signal and the static induction signal of the non-contact vibration sensor. In particular to a method for capturing the phase difference between a vibration signal and an electrostatic induction signal through time delayAnd then the hysteresis value is compensated by the control signal, so that the synchronism of the vibration signal and the static induction signal is achieved.
2. The invention solves the problem that non-contact vibration sensors cannot be commonly used due to the difference of natural frequencies. Through non-contact vibration sensor, singlechip and relay cooperation, form a key and correct the phase place function, make every sensor no longer receive the restriction of its own natural frequency, can both correct the phase place through a key, accurate finding own phase place value for the commonality of sensor can be realized.
3. The invention solves the precision problem caused by hardware errors and the complex operation problem of manual hardware adjustment. The compensation of the phase is completed through the algorithm of the software, so that the design of circuit hardware is simplified, the types of components are reduced, the cost is reduced, and the accuracy and the instantaneity are improved.
4. The invention solves the problem of errors caused by environmental changes such as temperature, humidity and the like. The production success rate, efficiency, accuracy and the like of related products are improved.
Drawings
Fig. 1 is a flow chart of the procedure of the present invention.
Fig. 2 is a flow chart of an application program of one of the cases after the application of the present invention.
Fig. 3 is a flow chart of the present invention.
Fig. 4 is a block diagram of the application flow of one of the cases after application of the present invention.
Fig. 5 is a signal change process diagram of the phase compensation static detection method according to the present invention, wherein (a) is a waveform diagram of a vibration signal according to the present invention, (b) is a waveform diagram of an output signal of the single chip microcomputer comparator according to the present invention, (c) is a waveform diagram of a static induction signal according to the present invention, (d) is a waveform diagram of a control signal according to the present invention, (e) is a waveform diagram of a static induction signal after chopping according to the present invention, and (f) is a waveform diagram after integrating the static induction signal after chopping according to the present invention.
Detailed Description
The following are specific embodiments of the present invention and the technical solutions of the present invention will be further described with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
Example 1
The static detection system comprises a non-contact vibration sensor, a singlechip and a relay, wherein the non-contact vibration sensor keeps a measurement distance with an external electrostatic field, the singlechip is electrically connected with the non-contact vibration sensor, a comparator module, an AD module, a judging module, a storage module, a control module and a calculation module are arranged in the singlechip, the AD module is connected with a controlled end of the relay through an electric signal, and the control module is connected with the controlled end of the relay through the electric signal;
the comparator module is provided with two voltage input ends and an interrupt trigger point and is used for comparing the magnitudes of the two input quantity voltages so as to capture the target value of the vibration signal and start timing; the voltage input end of the comparator module and the interrupt trigger point are of the existing structure, and the input voltage of the comparator module is compared and triggered to be the existing function.
The AD module is used for reading the AD value of the static induction signal, capturing the instantaneous time of the AD value equal to the reference value and taking the instantaneous time as a timing end point; the AD module is a functional module for converting analog signals into digital signals in the singlechip.
The judging module is used for judging the instant point positions of which the AD values are equal to the reference values under the continuation of time;
a storage module for storing a time value extended when the AD value is equal to the reference value;
the control module is used for sending out a control signal for delaying the vibration signal by the time value;
the relay is used for carrying out chopper processing on the electrostatic induction signal to obtain a waveform signal;
the AD module is used for reading the integrated waveform signal and converting the waveform signal into a Vad value; the Vad value refers to a binary coded value output by the AD module after the analog signal is converted into a digital signal for quantization.
The calculation module is used for carrying out integral operation on the processing signals and converting the Vad value into a final electrostatic display voltage value.
As shown in (a) of fig. 5, the vibration signal is a trapezoidal wave signal generated by the noncontact vibration sensor, and the vibration signal is a resonance frequency signal inherent to the vibrating fork; as shown in fig. 5 (c), the electrostatic induction signal is a positive sine wave signal generated after the non-contact vibration sensor senses an external electrostatic field, and the magnitude of the positive sine wave signal is used for reflecting the strength of the sensed external electrostatic field, and is further converted into a static voltage value to be displayed; as shown in (d) of fig. 5, the control signal is a square wave signal generated by the control module through delay processing according to the vibration signal.
Because the electrostatic induction signals output by the non-contact vibration sensor are generated according to the vibration signals, the frequencies of the electrostatic induction signals and the vibration signals are the same, but the phases of the electrostatic induction signals are different, the electrostatic induction signals lag behind a certain phase difference of the vibration signals, the magnitude of the phase difference is determined by the non-contact vibration sensor, and the phase differences of different non-contact vibration sensors are not necessarily the same. The magnitude of the electrostatic induction signal amplitude can reflect the intensity of the electrostatic field, but the electrostatic induction signal is a positive sine wave signal, and the upper half area and the lower half area of the positive sine wave are equal, but the vector directions of the positive sine wave signal and the negative sine wave signal are opposite, and the sum of the vector directions of the positive sine wave signal and the negative sine wave signal is zero. Further, since the area of the upper half of the positive sine wave is linearly proportional to the intensity of the external electrostatic field, the area of the upper half of the positive sine wave can be obtained.
The vibration signal is an original signal generated by the sensor, and the static induction signal and the vibration signal have phase difference, the solid control signal is a signal generated by the relay after processing according to the vibration signal, and the control signal and the static induction signal are the same frequency and the same phase. The static induction signal is that after passing through the controlled end of the relay, the upper half part of the positive brown wave is reserved and output to the integrating circuit, and the lower half part of the positive brown wave is chopped and removed by the control signal.
Example two
Based on the first embodiment, the present embodiment is different in that:
as shown in fig. 1 to 5, a phase compensation detection method of an electrostatic detection system is applied to the electrostatic detection system, and the phase compensation detection method includes the following steps:
s1, initializing a system, and setting t=0; the system initialization is to initialize configuration of a port of the singlechip, initialization configuration of a functional module, data initialization and the like through a program. The initialization is to complete the initial configuration of each function when the system starts to run, and corresponding functional tasks can be executed according to the initial configuration when the system runs.
S2, as shown in (a) of FIG. 5, the comparator module captures the rising edge of the vibration signal to Vz; as shown in (b) of fig. 5, the comparator module outputs a square wave signal according to Vz;
in step S2, two voltage input terminals of the comparator module, one of which inputs the reference value Vz and the other of which inputs the vibration signal; the comparator outputs a high level when the value of the vibration signal is greater than Vz, and outputs a low level when the value of the vibration signal is less than Vz; when the value of the captured vibration signal is equal to Vz, the comparator is triggered to interrupt to the timing start point. As shown in (b) of fig. 5, a square wave signal with high and low levels alternating is formed by the level signal of the comparator.
S3, as shown in (c) of FIG. 5, the AD module reads an AD value Vn of the electrostatic induction signal; as shown in (b) and (c) of fig. 5, vz in the square wave signal is delayed backward by t++ until the value of Vn is equal to the reference value Vg;
the step S3 includes: step 1, when the rising edge of the first vibration signal reaches Vz, setting a delay time=1, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 2, when the rising edge of the second vibration signal reaches Vz, setting a delay time=2, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 3, when the rising edge of the third vibration signal reaches Vz, setting a delay time=3, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
……
step n, setting delay time until rising edge of nth vibration signal reaches VzN, the Vn of the static induction signal read by the AD module is judged to be equal to the reference value Vg, which is +.>The value of n is the phase difference calculated +.>;
Phase differenceSimultaneously storing the model number and the corresponding non-contact vibration sensor model number into a storage module;
in example operation, the delay is time when the rising edge Vz of the vibration signal is capturedThen, the output control signal and the static induction signal are the same in frequency and phase, and the control signal at the moment is the control signal for controlling the relay to carry out chopping treatment on the static induction signal.
In step S3, the phase difference between the vibration signal and the electrostatic induction signal of the same non-contact vibration sensor is a fixed value, the phase difference is a time difference, and is set as,/>The specific numerical value of (1) is calculated by adopting a tentative accumulation method; vibration signals and static induction signals of different non-contact vibration sensors are different, so +.>Different, the targeted estimation needs to be performed again.
Each non-contact vibration sensor must find its own phase difference value before useThe non-contact vibration sensor and other peripheral matched circuits are used as equipment. The equipment only needs to find the corresponding position according to the detection methodThe value is stored, and the program can automatically read and call the ++each time when the device is used>The value participates in the exercise. That is to say that a set of devices only has to find +.>The storage is needed, and the operation only needs to be called in the future>Values without re-finding +.>The value is given.
S4, the control module reads phase differences of the non-contact vibration sensors of corresponding models from the storage moduleSimultaneously, the comparator module reads the vibration signal to capture the rising edge to Vz, and the comparator module further outputs a square wave signal; the control module delays the square wave signal +.>Outputting a control signal as shown in (d) of fig. 5;
s5, the AD module reads the static induction signal and inputs the static induction signal into a controlled end of the relay, the control module inputs the control signal into a control end of the relay, and the relay chops the static induction signal according to the control signal to obtain a chopped signal, as shown in (e) of FIG. 5;
in step S5, the chopping process specifically operates as:
when the control signal is at a high level, the relay is conducted, and at the moment, the upper half part of the positive brown wave signal of the static induction signal passes through;
when the control signal is at a low level, the relay is turned off, and the lower half of the positive brown wave signal of the electrostatic induction signal cannot pass.
Through the above chopping process, the electrostatic induction signal is converted into a waveform above the positive brown wave, i.e., the lower waveform is chopped.
S6, the calculation module integrates the chopped signals through the integration circuit, and the integration is automatically completed through the integration circuit without calculation. As shown in (f) of fig. 5, a waveform signal obtained by integrating the electrostatic induction signal after chopping is obtained. And the AD module reads the integrated chopping signal as a Vad value, and the AD conversion is to convert the analog quantity with continuous time and continuous amplitude into the digital quantity with discrete time and discrete amplitude. The digital quantity of the output is made proportional to the analog quantity of the input. The AD conversion process has four stages, namely sampling, holding, quantization and encoding. Sampling is the process of changing a continuous time signal into a discrete time signal; the holding is a process of changing a time-discrete, numerical value-continuous signal into a time-continuous, numerical value-discrete signal; quantization is the process of changing a continuous value signal into a discrete value signal; the encoding is to convert the numerical value of the numerical value signal into a binary code by an encoding circuit. The last encoded binary code value is the Vad value. The conversion of this signal is done automatically by the AD module.
The calculation module converts the Vad value as follows:
①;
②;
bringing (2) into (1) to obtain:
③;
vs-the final electrostatic display voltage in volts (v);
the level voltage value corresponding to the Vx-AD value Vad is in volts (v);
kv-converting the static voltage coefficient, each sensor having a constant, no units;
3.3-is the reference full scale voltage of the power supply in volts (v);
the real-time value read by the Vad-AD module has no unit;
65535-is the maximum value of a 16-bit AD converter.
As shown in fig. 5 (f), the waveform of the upper half of the positive brown wave of the electrostatic induction signal is changed into a linear waveform by integration, the area is changed from the original arc shape into a rectangle, and the waveform is changed into a level of Vx.
The non-contact vibration sensor is a precise sensor for detecting the intensity of an electrostatic field, and is matched with a control circuit, so that the non-contact vibration sensor can generate vibration and generate a vibration signal (the waveform is a trapezoidal wave); according to the generation of vibration, when the non-contact vibration sensor senses an electrostatic field, an electrostatic induction signal (the waveform is sine wave) is generated; the vibration signal and the static induction signal have the same frequency, but the static induction signal lags behind the vibration signal by a phase difference, the phase difference of each non-contact vibration sensor is a fixed value, and the phase difference of different sensors is different. The detection method is to obtain the phase difference fixed value of each non-contact vibration sensor.
The detection method includes the steps that after the rising edge of a vibration signal reaches a reference value Vz, the rising edge is delayed by t++ through a comparator module of a singlechip; at this time, the AD module of the singlechip reads the Vn value of the electrostatic induction signal and judges whether the Vn value is equal to the reference value Vg of the static induction signal. If not, the delay judging program is circulated until vn=vg is satisfied. At this time, obtain the phase differenceValues.
In summary, the detection method finds a hysteresis value of hysteresis, according to the hysteresis value, the singlechip generates a control signal with the same frequency and the same phase as those of the static induction signal, the control signal is used for controlling the relay to complete chopping processing on the static induction signal, and finally the final static display voltage value is obtained through conversion.
The specific embodiments described herein are offered by way of example only to illustrate the spirit of the invention. Those skilled in the art may make various modifications or additions to the described embodiments or substitutions thereof without departing from the spirit of the invention or exceeding the scope of the invention as defined.
Claims (7)
1. The static detection system comprises a non-contact vibration sensor, a singlechip and a relay, and is characterized in that the non-contact vibration sensor keeps a measurement distance with an external electrostatic field, the singlechip is electrically connected with the non-contact vibration sensor, a comparator module, an AD module, a judging module, a storage module, a control module and a calculation module are arranged in the singlechip, the AD module is connected with a controlled end of the relay through an electric signal, and the control module is connected with the controlled end of the relay through the electric signal;
the comparator module is provided with two voltage input ends and an interrupt trigger point and is used for comparing the magnitudes of the two input quantity voltages so as to capture the target value of the vibration signal and start timing;
the AD module is used for reading the AD value of the static induction signal, capturing the instantaneous time of the AD value equal to the reference value and taking the instantaneous time as a timing end point;
the judging module is used for judging the instant point positions of which the AD values are equal to the reference values under the duration of time;
the storage module is used for storing the time value which is continued when the AD value is equal to the reference value;
the control module is used for sending out a control signal for delaying the vibration signal by the time value;
the relay is used for carrying out chopper processing on the electrostatic induction signal to obtain a waveform signal;
the AD module is used for reading the integrated waveform signal and converting the waveform signal into a Vad value;
the calculation module is used for carrying out integral operation on the processing signals and converting the Vad value into a final electrostatic display voltage value.
2. The electrostatic detection system according to claim 1, wherein the vibration signal is a trapezoidal wave signal generated by the non-contact vibration sensor, the vibration signal being a resonance frequency signal inherent to a vibrating fork; the static induction signal is a positive brown wave signal generated after the non-contact vibration sensor senses an external electrostatic field, and the amplitude of the positive brown wave signal is used for reflecting the strength of the sensed external electrostatic field and further converting the strength into a static voltage value to display; the control signal is a square wave signal generated by the control module after delay processing according to the vibration signal.
3. A phase compensation detection method of an electrostatic detection system, wherein the method is applied to the electrostatic detection system according to claim 1 or 2, the phase compensation detection method comprising the steps of:
s1, initializing a system, and setting t=0;
s2, capturing a rising edge of a vibration signal to Vz by a comparator module; the comparator module outputs a square wave signal according to the Vz;
s3, the AD module reads an AD value Vn of the electrostatic induction signal; delaying Vz in the square wave signal backwards by t++ until the Vn value is equal to the reference value Vg;
s4, the control module reads phase differences of the non-contact vibration sensors of corresponding models from the storage moduleSimultaneously, the comparator module reads the vibration signal to capture the rising edge to Vz, and the comparator module further outputs a square wave signal; the control module delays the square wave signal +.>Outputting a control signal;
s5, the AD module reads the static induction signal and inputs the static induction signal into a controlled end of the relay, the control module inputs the control signal into a control end of the relay, and the relay chops the static induction signal according to the control signal to obtain a chopped wave signal;
s6, integrating the chopped signals through an integrating circuit by a computing module, reading the integrated chopped signals into Vad values by an AD module, and converting the Vad values into the following values by the computing module:
①;
②;
bringing (2) into (1) to obtain:
③;
vs-the final electrostatic display voltage in volts (v);
the level voltage value corresponding to the Vx-AD value Vad is in volts (v);
kv-converting the static voltage coefficient, each sensor having a constant, no units;
3.3-is the reference full scale voltage of the power supply in volts (v);
the real-time value read by the Vad-AD module has no unit;
65535-is the maximum value of a 16-bit AD converter.
4. The method for detecting phase compensation of an electrostatic detection system according to claim 3, wherein in step S2, two voltage input terminals of the comparator module, one of the voltage input terminals inputs the reference value Vz, and the other voltage input terminal inputs the vibration signal; the comparator outputs a high level when the value of the vibration signal is greater than Vz, and outputs a low level when the value of the vibration signal is less than Vz; when the value of the captured vibration signal is equal to Vz, the comparator is triggered to interrupt to the timing start point.
5. The method of phase compensation detection of an electrostatic detection system according to claim 3, wherein in step S3, step 1, when the rising edge of the first vibration signal reaches Vz, a delay is set=1, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 2, when the rising edge of the second vibration signal reaches Vz, setting a delay time=2, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
step 3, when the third vibration signalWhen the rising edge reaches Vz, the delay is set=3, judging whether Vn of the static induction signal read by the AD module is equal to the reference value Vg, and continuing if Vn is not equal to Vg;
……
step n, setting delay time until rising edge of nth vibration signal reaches VzN, the Vn of the static induction signal read by the AD module is judged to be equal to the reference value Vg, which is +.>The value of n is the phase difference calculated +.>;
Phase differenceAnd storing the model and the corresponding non-contact vibration sensor model into a storage module simultaneously.
6. The method of phase compensation detection of an electrostatic detection system according to claim 3, wherein in step S3, a phase difference between a vibration signal and an electrostatic induction signal of the same non-contact vibration sensor is a fixed value, the phase difference is a time difference, and the method is as follows,/>The specific numerical value of (1) is calculated by adopting a tentative accumulation method; vibration signals and static induction signals of different non-contact vibration sensors are different, so +.>The differences are not the same and,targeted estimations need to be re-made.
7. A phase compensation detection method of an electrostatic detection system according to claim 3, wherein in step S5, the chopping process is specifically operated as:
when the control signal is at a high level, the relay is conducted, and at the moment, the upper half part of the positive brown wave signal of the static induction signal passes through;
when the control signal is at a low level, the relay is turned off, and the lower half of the positive brown wave signal of the electrostatic induction signal cannot pass.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311387733.0A CN117110732B (en) | 2023-10-25 | 2023-10-25 | Electrostatic detection system and electrostatic detection method for phase compensation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311387733.0A CN117110732B (en) | 2023-10-25 | 2023-10-25 | Electrostatic detection system and electrostatic detection method for phase compensation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117110732A true CN117110732A (en) | 2023-11-24 |
CN117110732B CN117110732B (en) | 2024-01-09 |
Family
ID=88811468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311387733.0A Active CN117110732B (en) | 2023-10-25 | 2023-10-25 | Electrostatic detection system and electrostatic detection method for phase compensation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117110732B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6608483B1 (en) * | 2001-11-13 | 2003-08-19 | John P. Hill | Quadrature differential charge commutation sensor enabling wide bandwith field mills and other electrostatic field measuring devices |
CN101617238A (en) * | 2008-02-20 | 2009-12-30 | 惠瑞捷(新加坡)私人有限公司 | Detect system, the method and computer program of electrostatic discharge event |
CN101815956A (en) * | 2007-10-04 | 2010-08-25 | 株式会社藤仓 | Capacitive proximity sensor and proximity detection method |
CN102508050A (en) * | 2011-11-21 | 2012-06-20 | 重庆工业自动化仪表研究所 | Instrument for measuring static electricity on line |
CN104808056A (en) * | 2015-04-19 | 2015-07-29 | 华南理工大学 | Frequency characteristic testing method and device based on comparator conversion |
CN106841831A (en) * | 2016-12-29 | 2017-06-13 | 成都冠禹科技有限公司 | A kind of electrostatic field tester |
CN207882349U (en) * | 2018-03-20 | 2018-09-18 | 绍兴为华电子科技有限公司 | A kind of electronic type atmospheric static electric field detection device |
CN109342844A (en) * | 2018-09-18 | 2019-02-15 | 国网江苏省电力有限公司盐城供电分公司 | A kind of power equipment electrostatic intelligent detecting prewarning system and its detection method for early warning |
CN111190058A (en) * | 2020-02-12 | 2020-05-22 | 南京理工大学 | Micro-resonator natural frequency and quality factor synchronous measurement system |
CN217156655U (en) * | 2022-04-19 | 2022-08-09 | 杭州师范大学 | Non-contact electrostatic detector |
CN115356552A (en) * | 2021-05-17 | 2022-11-18 | 意法半导体股份有限公司 | System and method for detecting presence in an enclosed environment to be monitored |
-
2023
- 2023-10-25 CN CN202311387733.0A patent/CN117110732B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6608483B1 (en) * | 2001-11-13 | 2003-08-19 | John P. Hill | Quadrature differential charge commutation sensor enabling wide bandwith field mills and other electrostatic field measuring devices |
CN101815956A (en) * | 2007-10-04 | 2010-08-25 | 株式会社藤仓 | Capacitive proximity sensor and proximity detection method |
CN101617238A (en) * | 2008-02-20 | 2009-12-30 | 惠瑞捷(新加坡)私人有限公司 | Detect system, the method and computer program of electrostatic discharge event |
CN102508050A (en) * | 2011-11-21 | 2012-06-20 | 重庆工业自动化仪表研究所 | Instrument for measuring static electricity on line |
CN104808056A (en) * | 2015-04-19 | 2015-07-29 | 华南理工大学 | Frequency characteristic testing method and device based on comparator conversion |
CN106841831A (en) * | 2016-12-29 | 2017-06-13 | 成都冠禹科技有限公司 | A kind of electrostatic field tester |
CN207882349U (en) * | 2018-03-20 | 2018-09-18 | 绍兴为华电子科技有限公司 | A kind of electronic type atmospheric static electric field detection device |
CN109342844A (en) * | 2018-09-18 | 2019-02-15 | 国网江苏省电力有限公司盐城供电分公司 | A kind of power equipment electrostatic intelligent detecting prewarning system and its detection method for early warning |
CN111190058A (en) * | 2020-02-12 | 2020-05-22 | 南京理工大学 | Micro-resonator natural frequency and quality factor synchronous measurement system |
CN115356552A (en) * | 2021-05-17 | 2022-11-18 | 意法半导体股份有限公司 | System and method for detecting presence in an enclosed environment to be monitored |
CN217156655U (en) * | 2022-04-19 | 2022-08-09 | 杭州师范大学 | Non-contact electrostatic detector |
Also Published As
Publication number | Publication date |
---|---|
CN117110732B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109579880B (en) | Magnetic encoder with adaptive compensation function | |
WO1994029826A9 (en) | Error compensating instrument system with digital communications | |
CN117110732B (en) | Electrostatic detection system and electrostatic detection method for phase compensation | |
CN102620862A (en) | Temperature checker | |
TWI399564B (en) | Phase difference correcting method of the power meter | |
US3438026A (en) | Analog to digital converter | |
CN109188074B (en) | Mutual detection circuit and method, current detection system, electric energy metering system and chip | |
GB2408808A (en) | Electric power meter with phase shift compensation | |
US8274414B2 (en) | Signal amplitude adjustment to improve resolver-to-digital converter performance | |
CN117491848B (en) | Device, method, equipment and system for determining circuit attribute | |
WO2003081264A1 (en) | Electronic watthour meter and power-associated quantity calculating circuit | |
JPH0496130A (en) | Signal calibrating device | |
CN209689647U (en) | Encoder head and encoder | |
CN112504519B (en) | Pressure detection circuit, device and pressure input device | |
JPH1010163A (en) | Effective voltage value measuring apparatus | |
US10608657B2 (en) | Analog-to-digital conversion apparatus and analog-to-digital conversion method | |
CN104215924A (en) | Synchronous demodulator, power standard source comprising synchronous demodulator and control method of power standard source | |
CN112595351B (en) | Absolute value encoder | |
Han et al. | Resolver-to-digital converter based on tangent algorithm | |
CN216210613U (en) | LVDT data acquisition system | |
KR900008302B1 (en) | Power factor measuring circuit and method of power meter | |
RU38976U1 (en) | ANALOG-DIGITAL CONVERTER OF ANGULAR COORDINATES WITH DEVICE FOR CORRECTION OF SYSTEMATIC ERROR | |
JPS6136648B2 (en) | ||
Chen | A 16-bit Tracking LVDT-to-Digital Converter with Programmable Frequency Reference Oscillator | |
JP2002243501A (en) | Automatic adjustment device for encoder output signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |