CN208171165U - Displacement measurement system for sensor device - Google Patents
Displacement measurement system for sensor device Download PDFInfo
- Publication number
- CN208171165U CN208171165U CN201820578278.0U CN201820578278U CN208171165U CN 208171165 U CN208171165 U CN 208171165U CN 201820578278 U CN201820578278 U CN 201820578278U CN 208171165 U CN208171165 U CN 208171165U
- Authority
- CN
- China
- Prior art keywords
- signal
- displacement
- grid
- timer
- measurement system
- 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.)
- Active
Links
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
- Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Abstract
The utility model provides a kind of displacement measurement system for sensor device, and the sensor device includes the first displacement sensor, and the displacement measurement system includes:Drive signal generation circuit is used for the first displacement sensor output drive signal;First signal processing circuit, for receiving the signal from first displacement sensor and exporting the first ADSO signal;And calculate equipment, including first timer;Wherein, the first timer carries out timing or counting for receiving CLK512 signal and the first ADSO signal, and according to the CLK512 signal and the first ADSO signal;Wherein, the CLK512 signal is square-wave signal relevant to the period of the driving signal and phase.Displacement measurement system provided by the utility model realizes the promotion of performance with lower cost, can obtain higher Measurement Resolution and measurement accuracy.
Description
Technical field
The utility model relates to position and displacement measurement, it particularly relates to positioning and the displacement measurement of angle and length
Technology, more particularly, to the displacement measurement system for sensor device.
Background technique
Displacement sensor is typically used as surveying length, angle measurement, tests the speed, the position in the measuring systems such as precision positioning and servo follow-up tracing
Measuring cell, displacement sensor include capacitance type sensor, inductosyn, grating sensor etc..Wherein, most popular
It is the capacitor grid transducer in capacitance type sensor, constitutes capacitor grid transducer displacement measurement system with displacement measurement circuit, be divided into
Phase demodulating type and amplitude discrimination type.Fig. 1 shows an exemplary diagram of traditional phase demodulating sensor displacement measurement system, with pitch
For measurement period, the position quantity of the grid of capacitor grid transducer in one cycle is obtained by way of phase demodulation, and by distinguishing
The displacement measurement of a cycle is achieved over to counting.Tradition phase demodulating sensor displacement measurement system packet shown in FIG. 1
Capacitor grid transducer 10 and capacitor grid transducer asic chip 20 (being hereafter also referred to as asic chip 20 or chip 20) are included, wherein capacitive grating
Sensors A SIC chip 20 is integrated with crystal oscillating circuit 21, clock division circuits 22, multichannel (usually 8 tunnel) driving and analog switch
Signal generating circuit 23 (hereafter be also referred to as drive signal generation circuit 23), the demodulation of capacitive grating signal, amplification, filtering and more electric
Road 24 (is hereafter also referred to as capacitive grating signal processing circuit 24 or signal processing circuit 24), phase demodulation and counting circuit 25, displacement
Data processing circuit 26, LCD display circuit 29, voltage detecting circuit 28 and serial output port 27 etc..
The signal period (512CP) that above-mentioned capacitive grating signal processing circuit 24 exports spatially corresponds to one in capacitor grid transducer
The length of a pitch, it is assumed that the length of a pitch is 5.08mm, then the phase demodulating sensor displacement measurement system can divide
The minimum precision distinguished is:5.08mm/512≈0.01mm≈0.0004inch.In this case, the moving grid of capacitor grid transducer is every
180/256 degree of variation can occur for the unit of a mobile minimum precision, the phase of CSI signal.As it can be seen that traditional phase demodulating
The resolution ratio of sensor displacement measuring system is not high, and is using the reason of this low resolution:According to active phase demodulation
The measurement mechanism of capacitive grating technology, the displacement variable of the phase difference operated through phase demodulation and capacitor grid transducer grid and non-fully
Linear proportionate relationship, but have about 0.1% deviation, it is therefore desirable to guarantee certain output essence using lower resolution ratio
Degree;In addition, the frequency of 8 tunnel driving signals and the area of grid in capacitor grid transducer have stronger electrical correlation, in order to adapt to
The impedance matching requirements of capacitor grid transducer and chip, while low-power consumption and with certain resolution ratio in order to balance, will usually hold
The driving frequency of gate sensor is arranged between 200Hz~500Hz, and by the setting of the working frequency of chip 100kHz~
Between 300kHz, this is but also the resolution ratio of measuring system is lower.
By description above as it can be seen that the resolution ratio of traditional phase demodulating sensor displacement measurement system with the work of chip
Working frequency has cured, and to improve resolution ratio, current common practice is that reducing the pitch of capacitor grid transducer.However, being manufactured, being filled
With etc. technologies limitation, the reduction space of capacitor grid transducer pitch be it is very limited, this makes phase demodulating sensor position
Shift measurement system is still difficult to realize high-resolution displacement measurement.
Utility model content
To solve above-mentioned problems of the prior art, one embodiment according to the present utility model provides a kind of use
In the displacement measurement system of sensor device, wherein the sensor device includes the first displacement sensor, institute's displacement measurement
System includes:
Drive signal generation circuit is used for the first displacement sensor output drive signal;
First signal processing circuit, for receiving the signal from first displacement sensor and exporting the first ADSO
Signal;And
Calculate equipment comprising first timer;
Wherein, the first timer is used to receive CLK512 signal and the first ADSO signal, and according to described
CLK512 signal and the first ADSO signal carry out timing or counting;Wherein, the CLK512 signal is believed with the driving
Number period and phase relevant square-wave signal.
It further include clock division circuits in above-mentioned displacement measurement system, for being exported to the drive signal generation circuit
Clock signal and the output CLK512 signal.
In above-mentioned displacement measurement system, the calculating equipment further includes processor, for passing through the first timer
Timing or the data counted to get are converted to absolute displacement values of the grid of first displacement sensor in a pitch.
It further include counting clock in above-mentioned displacement measurement system, wherein when the first timer is used for the counting
The clock frequency that clock provides carries out timing or counting according to the CLK512 signal and the first ADSO signal.
In above-mentioned displacement measurement system, the first timer is used for when monitoring the rising edge of the CLK512 signal
Started from scratch timing or counting with the clock frequency that the counting clock provides, and is monitoring the first ADSO signal
Current time or current count are sent to the processor when rising edge.
In above-mentioned displacement measurement system, the first timer further includes the first buffer;Wherein, the first timer
For being started from scratch timing when monitoring the rising edge of the CLK512 signal with the clock frequency that the counting clock provides
Or it counts, and when monitoring the rising edge of the first ADSO signal by current time or current count write-in described first
Buffer.The processor is used to receive the interrupt flag by the first ADSO signal or CLK512 signal triggering
After signal, the data in first buffer are read.
In above-mentioned displacement measurement system, the processor is used for the data obtained according to the first timer by timing
And the clock frequency that the counting clock provides obtains position of the grid of first displacement sensor in a pitch
Equivalent, and position equivalent of the grid of first displacement sensor in a pitch is converted into first displacement and is passed
Absolute displacement values of the grid of sensor in a pitch.The processor is also used to the grid to first displacement sensor
Position equivalent in a pitch carries out digitized filtered processing, and to the grid of first displacement sensor at one
Absolute displacement values in pitch carry out drift correction.
In above-mentioned displacement measurement system, the counting clock may be embodied in the calculating equipment.
In above-mentioned displacement measurement system, the calculating equipment further includes second timer, for receiving the CLK512 letter
Number and the first ADSO signal, and first displacement is passed according to the CLK512 signal and the first ADSO signal
The mobile pitch number of the grid of sensor is counted.Wherein, the processor is also used to pass through meter according to the second timer
The data that the data and the first timer that number obtains pass through timing or count to get obtain first displacement sensor
Grid total absolute displacement values.
In above-mentioned displacement measurement system, the drive signal generation circuit and first signal processing circuit are integrated in together
In one chip.The chip further includes:Phase demodulation and counting circuit, for receiving the first ADSO signal;And Serial output
Port, the DATA signal of the displacement information for exporting CLK signal and the grid including first displacement sensor.The meter
It calculates equipment and is also used to receive the CLK signal and the DATA signal.The processor is also used to according to the received CLK of institute
Signal and the DATA signal obtain the pitch number of the grid movement of first displacement sensor, and according to described first
The mobile pitch number of the grid of displacement sensor and the first timer obtain described the by timing or the data counted to get
Total absolute displacement values of the grid of one displacement sensor.
In above-mentioned displacement measurement system, the processor is used for the grid mobile according to the grid of first displacement sensor
The total of the grid of first displacement sensor is obtained away from several data for passing through timing with the first timer or counting to get
Absolute displacement equivalent, and total absolute displacement equivalent of the grid of first displacement sensor is converted into first displacement
Total absolute displacement values of the grid of sensor.
In above-mentioned displacement measurement system, the sensor device further includes second displacement sensor, wherein described first
Displacement sensor has multiple pitch in a pitch of the second displacement sensor, and the drive signal generation circuit is also used
In exporting the driving signal to the second displacement sensor.The displacement measurement system further includes second signal processing electricity
Road, for receiving the signal from the second displacement sensor and exporting the 2nd ADSO signal.The calculating equipment is also wrapped
Include third timer, for receiving the 2nd ADSO signal and the CLK512 signal, with the counting clock provide when
Clock frequency carries out timing or counting according to the 2nd ADSO signal and the CLK512 signal.The processor is also used to basis
The third timer determines the mobile grid of the grid of first displacement sensor by timing or the data counted to get
Pass through timing or meter away from number, and according to the mobile pitch number of the grid of first displacement sensor and the first timer
The data that number obtains obtain total absolute displacement values of the grid of first displacement sensor.
In above-mentioned displacement measurement system, the third timer is used for when monitoring the rising edge of the CLK512 signal
Started from scratch timing or counting with the clock frequency that the counting clock provides, and is monitoring the 2nd ADSO signal
Current time or current count are sent to the processor when rising edge or record the current time or current count.
In above-mentioned displacement measurement system, first displacement sensor and the second displacement sensor are capacitive grating sensings
Device.
In above-mentioned displacement measurement system, the CLK512 signal is identical as the period of the driving signal and phase phase
Same square-wave signal.
In above-mentioned displacement measurement system, the calculating equipment, the drive signal generation circuit and first signal
Processing circuit is integrated in same chip.
Compared with prior art, the utility model has following beneficial effect:
It is passed on the basis of inheriting tradition phase demodulating type displacement measurement system large-scale production technology, and not changing displacement
On the basis of the size of sensor coupled structure, displacement measurement system provided by the utility model realizes performance with lower cost
Promotion, obtain the Measurement Resolution and higher measurement accuracy of higher (such as micron order and submicron order).
In addition, the scope of application of the utility model is wider, in addition to capacitor grid transducer, the utility model can also be with other classes
Capacitance type sensor, inductosyn and grating sensor of type etc. are used in combination.
Detailed description of the invention
Below will by reference to attached drawing, exemplary embodiment is described in detail, attached drawing is intended to depicted example embodiment
And it is not necessarily to be construed as limiting the desired extent of claim.Unless explicitly stated otherwise, otherwise attached drawing be not considered according to than
Example is drawn.
Fig. 1 is the block diagram of traditional phase demodulating sensor displacement measurement system;
Fig. 2 is being believed with what ADSO signal was mapped to by ADSO by CLK512 signal according to the utility model one embodiment
Number modulation equivalent pulsewidth modulation square wave schematic diagram;
Fig. 3 be include capacitor grid transducer and according to the ASIC in the displacement measurement system of the utility model one embodiment
The block diagram of the structure of chip;
Fig. 4 is the block diagram of the single-chip microcontroller in the displacement measurement system according to the utility model one embodiment;
Fig. 5 is the single-chip microcontroller work flow diagram according to the utility model one embodiment;
Fig. 6 is the block diagram of the single-chip microcontroller in the displacement measurement system according to another embodiment of the utility model;
Fig. 7 is the process for carrying out data processor by the CPU in single-chip microcontroller according to another embodiment of the utility model
Figure;
Fig. 8 is to include in capacitor grid transducer and displacement measurement system according to another embodiment of the utility model
The block diagram of the structure of asic chip;
Fig. 9 is the block diagram of the single-chip microcontroller in the displacement measurement system according to another embodiment of the utility model;
Figure 10 is to include rough segmentation with subdivision capacitor grid transducer and according to the displacement survey of another embodiment of the utility model
The block diagram of the structure of asic chip in amount system;
Figure 11 is the block diagram of the single-chip microcontroller in the displacement measurement system according to another embodiment of the utility model.
Specific embodiment
In order to make the purpose of the utility model, technical solutions and advantages more clearly understood, pass through tool below in conjunction with attached drawing
The utility model is further described in body embodiment.It should be appreciated that specific embodiment described herein is only to explain
The utility model is not used to limit the utility model.
It should be noted that for ease of understanding, the utility model is following before describing each embodiment of the utility model
Embodiment surrounds capacitor grid transducer expansion description, but the displacement sensor of such as other capacitance type sensors is also applied for this.
Inventor has found after being studied by the measuring principle to traditional phase demodulating sensor displacement measurement system,
Multi-channel drive signal for driving capacitor grid transducer is to be generated by the clock division circuits in chip by combinational logic, should
Driving signal and capacitor grid transducer export and it is demodulated, amplify, filter and compared with operate obtained signal and (be known as in the application
ADSO signal) there is stringent phase matching relationship.If by ADSO signal and the square-wave signal (party all the way as shown in Figure 2
Wave signal with for driving the multi-channel drive signal period of capacitor grid transducer identical, and with wherein driving signal phase phase all the way
Phase bit comparison is carried out together), then can map to obtain the equivalent pulsewidth modulation square wave as shown in Figure 2 by ADSO signal modulation.Together
When, further study show that, equivalent pulsewidth modulation side's wave modulation pulsewidth (A1, A2, A3, A4 as shown in Figure 2) is not only
Corresponding to the phase difference of ADSO signal and above-mentioned square-wave signal, and the grid of capacitor grid transducer is spatially also corresponded to one
Positional value in a pitch.In addition, inventor also found, with the prior art (as described above, being obtained after phase demodulation in the prior art
Phase difference is with the displacement variable of capacitor grid transducer grid and non-fully linear proportionate relationship) compared with, according to above-mentioned corresponding pass
System, it is possible to by directly measuring equivalent pulsewidth modulation side's wave modulation pulsewidth, obtain the grid of capacitor grid transducer in a grid
Away from it is interior, there are high-resolution position equivalent, and grid by carrying out the position equivalent to be converted to capacitor grid transducer
Positional value or absolute displacement values of the pole in a pitch.
In view of this, in order to improve Measurement Resolution on the basis of existing capacitor grid transducer, it is according to the present utility model
One embodiment, provides a kind of displacement measurement system for sensor device, and the sensor device includes capacitor grid transducer.
Referring to Fig. 3 and Fig. 4, the displacement measurement system according to the utility model one embodiment includes:It is integrated with crystal oscillator electricity
Road 21, clock division circuits 22, multichannel driving and analog switch signal generating circuit 23 are (hereafter with the driving of 8 tunnels and analog switch
Description is unfolded for signal generating circuit), the asic chip 30 (Fig. 3) of capacitive grating signal processing circuit 24;And including timer
41, the single-chip microcontroller 40 (Fig. 4) of counting clock 42, CPU 43, RAM 44, display unit 45 and serial ports 46.Wherein, timer also wraps
Include buffer (being not shown in Fig. 4).Wherein, the ADSO signal of generation is sent to by the capacitive grating signal processing circuit 24 in chip 30
The timer 41 of single-chip microcontroller 40;When clock division circuits 22 to the driving of 8 tunnels and analog switch signal generating circuit 23 in addition to sending
Except clock signal, (CLK512 signal, period and 8 tunnel driving signals will be also known as in the utility model by square-wave signal all the way
The period of out1-out8 is identical, for example, 512T, and wherein 1T indicates the inverse of working frequency of chip;And its phase with wherein
The phase of driving signal is identical all the way) it is sent to the timer 41 of single-chip microcontroller 40.One embodiment according to the present utility model, should
The workflow of measuring system is as follows:
1) in asic chip 30, clock signal is generated by crystal oscillating circuit 21 and is delivered to clock division circuits 22;Clock
Frequency dividing circuit 22 carries out scaling down processing to the clock signal and the clock signal of generation is sent to the driving of 8 tunnels and analog switch letter
Number generative circuit 23, clock division circuits 22 are also exported identical as the period of 8 tunnel driving signals all the way and are driven with any road
The identical square-wave signal of the phase of signal (CLK512 signal);The driving of 8 tunnels and the reception of analog switch signal generating circuit 23 come from
The signal of clock division circuits generates and exports the 8 tunnel driving signals for driving capacitor grid transducer 10.
After the driving of 8 tunnels and analog switch signal generating circuit 23 export 8 tunnel driving signals, held by capacitor grid transducer 10
The following processing of row:
The 8 tunnels transmitting pole piece of capacitor grid transducer 10 receives the 8 tunnel driving signals from asic chip 30 respectively, via capacitive grating
The different periodic signal (i.e. CSI signal) of the grid capacitance modulation output voltage amplitude of sensor 10, then, capacitor grid transducer 10
CSI signal is input to the inside of asic chip 30.
2) in asic chip 30, capacitive grating signal processing circuit 24 receives the CSI signal from capacitor grid transducer 10, passes through
It demodulates, amplify, filter and compares operation and CSI signal is converted into ADSO letter relevant to the displacement of the grid of capacitor grid transducer 10
Number, and export the ADSO signal.It will be understood by those skilled in the art that when ADSO signal 360 ° of electrical phase angles of phase shift, in sky
Between a pitch in upper corresponding capacitor grid transducer.
3) in single-chip microcontroller 40, the ADSO from capacitive grating signal processing circuit 24 is received by the timer 41 of single-chip microcontroller 40 and is believed
Number and the CLK512 signal from clock division circuits 22.In this embodiment, the timer 41 in single-chip microcontroller 40 is to count
The clock frequency that clock 42 provides is as count frequency (that is, pulse number of counting number clock 42), and according to ADSO signal
And CLK512 signal is counted.One embodiment (referring to Fig. 5) according to the present utility model, the workflow of single-chip microcontroller
It is as follows:
31) timer 41 of single-chip microcontroller 40 receives ADSO signal and CLK512 signal, when timer 41 monitors
When the rising edge of CLK512 signal, reset counting;When timer 41 monitors the rising edge of ADSO signal, by current count
Write buffer, while generating interrupt flag signal and interrupt flag signal is sent to CPU 43.
Referring to Fig. 2 it is found that the counting of 41 write buffer of timer corresponds to a modulation of equivalent pulsewidth modulation square wave
Pulsewidth (A1 as shown in Figure 2, A2 ... ..), the counting indicate that position of the grid of capacitor grid transducer 10 in a pitch is worked as
Amount.In addition, since timer 41 is counted with the clock frequency that counting clock 42 provides, by being set to counting clock 42
Set the different position equivalent of the available resolution ratio of different clock frequencies.For example, it is assumed that the clock frequency of single-chip microcontroller 40 is
The working frequency of 6MHz and asic chip 30 is 153.6KHz, then 512T corresponding to capacitor grid transducer 10 a pitch believes
The when a length of 512x1/153.6x10 in number period-3Second=10/3x10-3Second, the timer 41 of single-chip microcontroller 40 is most in the duration
Counter value is (10/3x10-3)/(1/6x10-6)=20000.Therefore, position equivalent subdivision relatively original (that is, 512) improves
20000/512=40 times or so.Assuming that a pitch of capacitor grid transducer is 5.08mm, then the position equivalent obtained is subdivided into
5.08/20000=0.000254mm.It is set since clock frequency in single-chip microcontroller 40 can according to need, thus can
So that equivalent subdivision in position, which becomes several times originally, arrives hundreds of times, to reach high-resolution purpose.
32) CPU 43 is performed the following operations after receiving interrupt flag signal:
321) the position equivalent of the data in read buffers, the i.e. grid of capacitor grid transducer 10 in a pitch.
322) actual displacement value (also known as capacitive grating of the grid of capacitor grid transducer 10 in a pitch is converted the data into
Absolute displacement values of the grid of sensor 10 in a pitch).
323) absolute displacement values of the grid of capacitor grid transducer 10 in a pitch are exported to display unit 45 and
Serial ports 46 is exported by display unit 45, serial ports 46.
The embodiment of displacement measurement system described above is suitable for the moving range of capacitor grid transducer grid in a grid
Away from interior situation.
In the embodiment of above-described displacement measurement system, when timer 41 is in the rising edge for monitoring ADSO signal
When generate and interrupt flag signal and the interrupt flag signal be sent to CPU 43.It will be understood by those skilled in the art that timing
Device 41, can also be with when monitoring the failing edge of ADSO signal or in the rising edge or failing edge for monitoring CLK512 signal
It generates interrupt flag signal and is sent to CPU 43.Therefore, in another embodiment, CPU 43 is receiving ADSO signal
Data after the interrupt flag signal of the failing edge triggering of failing edge, the rising edge of CLK512 or CLK512 in read buffers are simultaneously
It is converted into absolute displacement values of the grid of capacitor grid transducer 10 in a pitch.
In the embodiment of above-described displacement measurement system, timer 41 is according to CLK512 signal and ADSO signal
Rising edge come control count, that is, when timer 41 monitors the rising edge of 2 signal of CLK51, by count reset;And when fixed
When device 41 when monitoring the rising edge of ADSO signal, by the current count write buffer of timer 41.However as it is clear from fig. 2 that
In another embodiment, timer 41 can also control counting according to the failing edge of CLK512 signal and ADSO signal
System is reset that is, when monitoring the failing edge of CLK512 signal by counting;When timer 41 monitors the failing edge of ADSO signal
When, by timer current count write buffer, the grid of the equally available capacitor grid transducer 10 of this mode is in a grid
Away from interior position equivalent.Using this embodiment, CPU 43 can be according to rising edge/decline of ADSO signal
Along or CLK512 signal rising edge/failing edge triggering interrupt flag signal-obtaining buffer in data and be converted
For absolute displacement values of the grid in a pitch of capacitor grid transducer 10.
In the embodiment of above-described displacement measurement system, the timer 41 in single-chip microcontroller 40 is mentioned with counting clock 42
The clock frequency continuous counter of confession.In another embodiment, such a timer can be used:It is monitoring CLK512
It is counted from zero when the rising edge of signal with the clock frequency that counting clock 42 provides, and in the rising for monitoring ADSO signal
Along when terminate to count and by current count write buffer (it should be understood that can also be according to CLK512 signal and ADSO signal
Failing edge counts to control).CPU 43 can be according to the rising of the rising edge/failing edge or CLK512 signal of ADSO signal
Data in the interrupt flag signal-obtaining buffer of edge/failing edge triggering are simultaneously converted into the grid of capacitor grid transducer 10 and exist
Absolute displacement values in one pitch.In yet another embodiment, such a timer can be used:It is being monitored
Start from scratch when the rising edge of CLK512 signal and timing and current time is written when monitoring the rising edge of ADSO signal
Buffer is (alternatively, the timing and in the case where monitoring ADSO signal of starting from scratch when monitoring the failing edge of CLK512 signal
Drop along when by current time write buffer).CPU 43 receives the data after interrupt flag signal in read buffers, according to
The data and clock frequency (for example, the current time in buffer is multiplied with clock frequency) obtain the grid of capacitor grid transducer 10
Position equivalent of the pole in a pitch, and position equivalent of the grid of capacitor grid transducer 10 in a pitch is converted to
Absolute displacement values of the grid of capacitor grid transducer 10 in a pitch.In yet another embodiment, such one can also be used
Kind timer:It, by current count write buffer, while generating interrupt flag when monitoring the rising edge of CLK512 signal
Interrupt flag signal is simultaneously sent to CPU 43, interruption mark of the CPU 43 in the rising edge triggering for receiving CLK512 signal by signal
Data after note signal in read buffers;When monitoring the rising edge of ADSO signal by current count write buffer, together
When also generate interrupt flag signal and the interrupt flag signal be sent to CPU 43, CPU 43 is receiving the upper of ADSO signal
The data in read buffers after the interrupt flag signal of triggering are risen, and the two data are subtracted each other, to can also obtain
Position equivalent of the grid of capacitor grid transducer 10 in a pitch.
In the embodiment of above-described displacement measurement system, timer 41 includes buffer for temporarily storing
It counts, and in another embodiment, timer 41 can not use buffer, when the rising edge for monitoring CLK512 signal
When, timer 41 will be counted and be reset;When monitoring the rising edge of ADSO signal, current count is directly sent to by timer 41
CPU 43 converts this data to absolute displacement values of the grid of capacitor grid transducer 10 in a pitch by CPU 43.
Although not being described in detail hereinbefore, it is understood by one skilled in the art that the RAM 44 in single-chip microcontroller 40 can
To be used to store the data used in calculating process of CPU 43.For example, CPU 43 after receiving interrupt flag signal, is incited somebody to action
Data in buffer are stored into RAM 44;Or the data for directly transmitting timer 41 are stored into RAM 44,
Then the data stored in RAM 44 are handled (for example, being converted to the grid of capacitor grid transducer 10 in a pitch
Absolute displacement values).Using ARM single-chip microcontroller, DMA access can be directly by the data storage in buffer to RAM
In 44, CPU 43 can extract the data being stored in recently from RAM 44 and be converted according to the interrupt flag signal received
Processing.
(that is, obtained capacitor grid transducer 10 in the higher situation of clock frequency that counting clock 42 provides
Position equivalent of the grid in a pitch resolution ratio it is higher), have by timing or the position equivalent data counted to get
Possible less stable understands some fluctuations.In order to reduce the influence of this fluctuation, in a further embodiment, CPU 43 can be with
Digitized filtered processing is carried out to position equivalent before executing conversion operation (for example, to be averaged to come by using 8 groups of data
Digitized filtered is executed, for example, from the grid for 8 groups of capacitor grid transducers 10 being stored in recently is extracted in RAM 44 in a pitch
Position equivalent be averaged), so as to obtain relatively stable data at high resolutions, then to executing number
Data after changing filtering processing are converted, and absolute displacement values of the grid of capacitor grid transducer 10 in a pitch are obtained.
In a further embodiment, the absolute displacement values in the grid for obtaining capacitor grid transducer 10 in a pitch it
Afterwards, CPU 43 also carries out deviation correction to the absolute displacement values.For example, position mark can be carried out by using STANDARD MEASURING APPARATUS FOR
Fixed mode carries out segmentation or point-by-point drift correction to eliminate the influence of nonlinearity erron and moving grid foozle, to realize one
High-acruracy survey in a pitch.For example, when in pitch resolution equivalent (that is, in a pitch timer the most matter of fundamental importance
Numerical value) be 20000 when, then for 5.08mm pitch, resolution ratio reaches 0.000254mm, i.e. 254nm, by divide equally 8 sections
After (0.635mm) carries out linear coefficient interpolation amendment, estimate that precision can be original in 1um range by 4 times of uncertain errors
10 times.This deviation correction technology is suitable for a large amount of micrometer instrument.
Each embodiment of displacement measurement system described above is suitable for measuring the grid of capacitor grid transducer in a grid
It will be more than hereafter that total absolute displacement values expansion an of pitch describes to how to measure mobile away from interior absolute displacement values.
Another embodiment according to the present utility model also provides a kind of displacement measurement system for sensor device,
The sensor device includes capacitor grid transducer, and system that employs preiodic type position measurement technique is monitored pitch position with continuous
The mode that the incremental displacement measuring technology of variation combines is set, the movement suitable for measuring capacitor grid transducer grid is more than one
The case where pitch (that is, measurement of wide range).The displacement measurement system includes asic chip 30 and such as Fig. 6 as shown in Figure 3
Shown in single-chip microcontroller 60.
Due to hereinbefore in Fig. 3 capacitor grid transducer 10 and asic chip 30 and they workflow carry out
Description, therefore details are not described herein again.The embodiment is described in detail hereinafter with reference to Fig. 6.As shown in fig. 6, single-chip microcontroller 60 includes:
Two timers 41,61 (i.e. timer 1, timer 2), counting clock 42, CPU 43, RAM 44, display unit 45 and string
Mouth 46, wherein each timer 41,61 respectively further comprises buffer.Briefly, timer 41, which receives, comes from asic chip 30
The CLK512 of the ADSO signal of interior capacitive grating signal processing circuit 24 and the clock division circuits 22 in asic chip 30
Signal, the clock frequency that timer 41 is provided using counting clock 42 is as count frequency, and according to ADSO signal and CLK512
Signal is counted, with obtain the grid of capacitor grid transducer 10 in a pitch position equivalent (this with above in conjunction with
The counting mode of Fig. 4 description is identical);Timer 61 also receives ADSO signal and CLK512 signal, and timer 61 is according to the two
Signal executes plus or minus one operation, the mobile pitch number of the grid to obtain capacitor grid transducer 10.On this basis, CPU 43 can
It is total absolute to be calculated according to the pitch number of position equivalent of the grid of capacitor grid transducer 10 in a pitch and movement
It is displaced equivalent, and then obtains total absolute displacement values.One embodiment according to the present utility model, the workflow of the single-chip microcontroller 60
Journey is as follows:
1) timer 41 in single-chip microcontroller 60 is using the clock frequency (for example, 6MHz) that counting clock 42 provides as counting frequency
Rate, and at the same time receiving ADSO signal and CLK512 signal.It, will when timer 41 monitors the rising edge of CLK512 signal
It counts and resets;When timer 41 monitors the rising edge of ADSO signal, its buffer, and timer is written into current count
41 also send interrupt flag signal to CPU 43.
Meanwhile another timer 61 in single-chip microcontroller 60 also receives ADSO signal and CLK512 signal, timer 61
According to whether occurring the rising edge of ADSO signal between the two neighboring rising edge of CLK512 signal and several ADSO signals occur
Rising edge carry out plus-minus counting operation (wherein, if do not occurred between the two neighboring rising edge of CLK512 signal
The rising edge of ADSO signal or the rising edge of ADSO signal occur twice, then it represents that across the pitch shifting of the grid of capacitor grid transducer
It is dynamic).Specifically, timer 61 is executed when monitoring the rising edge of CLK512 signal plus 1 operation;Monitoring ADSO signal
Rising edge when execute the operation that subtracts 1, and its buffer is written into current count, which indicates the grid of current capacitor grid transducer 10
(wherein, 0) initial value of timer 61 is to the dynamic pitch number of Ghandler motion.
2) CPU 43 is receiving interrupt flag signal (that is, the interrupt flag signal triggered by the rising edge of ADSO signal)
After perform the following operations:
210) data in the buffer of timer 41, i.e. position of the grid of capacitor grid transducer 10 in a pitch are read
Set equivalent An;Meanwhile reading the data in the buffer of timer 61, i.e. the mobile pitch number N of the grid of capacitor grid transducer 10n。
220) following calculating is executed, to obtain total absolute displacement equivalent L more than a pitchn:
Ln=An+Nn×M (1)
Wherein, M indicates the corresponding resolution equivalent of each pitch (as described above, when the clock frequency that counting clock 42 provides
When rate is 6MHz, M=20000).
230) by total absolute displacement equivalent L of the grid of capacitor grid transducer 10nBe converted into total actual displacement value (or it is total absolutely
To shift value).
240) total absolute displacement values of the grid of capacitor grid transducer 10 are exported to display unit 45 and serial ports 46, by showing
Show that unit 45, serial ports 46 export.In this way, realizing high-resolution, the measurement of high-precision great-scale displacement.
From above scheme as it can be seen that timer 41 and timer 61 are write in the rising edge of ADSO signal to respective buffer
Enter current count, subsequent CPU 43 is after receiving by the interrupt flag signal of the rising edge triggering of ADSO signal respectively from two
A buffer reads data and carries out subsequent processing, this ensure that the buffer from timer 41 and the buffer from timer 61
Read data are synchronous.It will be understood by those skilled in the art that timer 61 is being supervised although not mentioning hereinbefore
When measuring the rising edge of ADSO signal, in addition to executing the operation that subtracts 1 and by current count write buffer, it can also be sent out to CPU 43
Send interrupt flag signal, therefore, CPU 43 can receive come self-timer 41 or timer 61, by the upper of ADSO signal
It rises after the interrupt flag signal of triggering, data are read from two buffers and carries out subsequent processing.
In another embodiment, above-mentioned process is executed using the failing edge of signal.When timer 41 monitors CLK512
When the failing edge of signal, reset counting;And it is when timer 41 monitors the failing edge of ADSO signal, timer is current
It counts and its buffer is written.Meanwhile when timer 61 monitors the failing edge of CLK512 signal, executes plus 1 operates;Work as monitoring
To ADSO signal failing edge when execute the operation that subtracts 1, and its buffer is written into current count.Wherein, when monitor ADSO believe
Number failing edge when, interrupt flag signal is sent to CPU 43 by timer 41 or timer 61 or by both.CPU
43 read after data carry out after receiving by the interrupt flag signal of the failing edge triggering of ADSO signal from two buffers
Continuous processing also ensures that the buffer from timer 41 with the data read from the buffer of timer 61 is synchronous in this way.
In another embodiment, timer 41 and 61 can also not use buffer, when monitoring ADSO rising edge
Current count is sent directly to CPU 43 respectively, and is handled by CPU 43.In yet another embodiment, CPU 43 is connecing
It receives and stores the data in the buffer of timer 41 and 61 into RAM 44 after interrupt flag signal, or by timer
41 and 61, which directly transmit the data come, stores into RAM 44, then handles the data stored in RAM 44, calculates again
Total absolute displacement values of the grid of capacitor grid transducer 10 out.In addition, DMA access can be straight using ARM single-chip microcontroller
The data connect in the buffer by timer 41 and 61 are stored into RAM 44, and CPU 43 can be according to the interrupt flag received
Signal reads the data being stored in recently (that is, carrying out self-timer 41, capacitor grid transducer 10 grid at one from RAM 44
Position equivalent in pitch, and carry out the mobile pitch number of self-timer 61, capacitor grid transducer 10 grid) handled.
In a further embodiment, referring to Fig. 7, before step 230, i.e., before the conversion operation 606, CPU 43 is also right
Total absolute displacement equivalent L of the grid of capacitor grid transducer 10nCarry out digitized filtered processing, with obtain stable data (referring to
Step 221).After step 230, i.e., after conversion operation, CPU 43 is also to the total absolute of the grid of capacitor grid transducer 10
Shift value executes the drift correction in pitch and (referring to step 231), then executes the drift correction between pitch (referring to step
232).Wherein, it is to calibrate the calibration correcting mode of equivalent that the drift correction between pitch, which can be used with pitch step-length, to identical grid
Periodic signal away from position carries out pitch error correction, to realize the amendment to the foozle of capacitor grid transducer grid.
Above-mentioned displacement measurement system embodiment (for measuring the mobile total absolute displacement more than a pitch of grid
Value) in, it is counted using the pitch number mobile to grid of timer 61.However, it will be understood by those skilled in the art that other one
A little method of counting are also applicable.For example, in another embodiment, two counters can be used and monitor CLK512 letter respectively
Number and ADSO signal, one of counter is executed when monitoring the rising edge of CLK512 signal plus 1 count and be written accordingly
Buffer, another counter executed when monitoring the rising edge of ADSO signal plus 1 count and respective buffer is written, this
Outside, the rising edge of ADSO signal also triggers CPU 43 and reads and compare the counting in two buffers, if to CLK512 signal
The counting of rising edge compares the counting more 1 of ADSO signal rising edge, then illustrates between the two neighboring rising edge of CLK512 signal
There is not the rising edge (then CPU 43 can execute the mobile pitch number of current grid plus 1 operates) of ADSO signal, such as
Fruit few 1, then illustrate occur rising edge (then 43 CPU of ADSO signal twice between the two neighboring rising edge of CLK512 signal
Operation that the pitch number execution that can be moved to current grid subtract 1, wherein 0) initial value of the mobile pitch number of grid is.
To realize wide range, high-resolution and high-precision measurement, another embodiment according to the present utility model is gone back
A kind of displacement measurement system for sensor device is provided, the sensor device includes capacitor grid transducer, the system benefit
With the function of traditional asic chip, according to the output of traditional asic chip and the timing of single-chip microcontroller timer (counting) function
Total actual displacement value of capacitor grid transducer grid can be measured, be particularly suitable for actual displacement of the capacitor grid transducer after static
Measurement.
As shown in figure 8, asic chip 80 therein is similar with traditional asic chip 20 in Fig. 1 (in addition to crystal oscillating circuit 21
Deng being also integrated with phase demodulation and counting circuit 25, displacement data processing circuit 26 and serial output port 27 etc.).Difference is,
Capacitive grating signal processing circuit 24 in Fig. 8 in addition to the phase demodulation that is delivered to ADSO signal in asic chip 80 and counting circuit 25 into
Except row phase demodulation, counting processing, the ADSO signal is also transported to single-chip microcontroller 90 shown in Fig. 9, and clock division circuits 22
It is also exported to single-chip microcontroller 90 identical as the period of 8 tunnel driving signals and identical with the phase of any road driving signal all the way
CLK512 signal.In addition to this, the single-chip microcontroller 90 in Fig. 9 also receives the defeated of the serial output port 27 from asic chip 80
Out, including DATA signal and CLK signal.Wherein, DATA signal is data-signal, includes by asic chip 80 according to conventional method
Total absolute position of the grid for the capacitor grid transducer 10 that (passing through the operation such as phase demodulation, counting, data processing to ADSO signal) generates
It moves value information (abbreviation displacement information);CLK signal is synchronizing clock signals.Traditional data acquisition modes are:It is narrow in CLK signal
The failing edge of pulse samples DATA signal.
Single-chip microcontroller 90 shown in Fig. 9 is used in addition to also having the port I/O 91 including component those of in Fig. 4 from ASIC core
The serial output port 27 of piece 80 receives DATA signal and CLK signal.Specifically, according to this embodiment, the single-chip microcontroller 90 in Fig. 9
Workflow include:
1) single-chip microcontroller 90 receives CLK signal and DATA signal from serial output port 27 by its port I/O 91.Together
When, the timer 41 in single-chip microcontroller 90 receives ADSO signal and CLK512 signal, and above calculates capacitor grid transducer 10
Position equivalent method of the grid in a pitch is identical, clock frequency that timer 41 is provided with counting clock 42 (for example,
It 6MHz) is used as count frequency, is counted according to ADSO signal and CLK512 signal, is such as monitoring the upper of CLK512 signal
Rise along when restart to count and when monitoring the rising edge of ADSO signal by current count (that is, capacitor grid transducer 10
Grid is in the position equivalent in a pitch) write buffer is (in the working principle of the timer 41 in Fig. 9 and Fig. 4 and Fig. 6
Timer 41 is identical).
2) CPU 43 obtains the grid of capacitor grid transducer 10 according to from the received DATA signal in the port I/O 91 and CLK signal
The dynamic pitch number of Ghandler motion;And number is read from the buffer of timer 41 according to the interrupt flag signal that timer 41 is sent
According to obtaining position equivalent of the grid of capacitor grid transducer 10 in a pitch.CPU 43 is further according to mobile pitch number and one
Position equivalent in a pitch obtains total absolute displacement values.One embodiment according to the present utility model specifically includes:
21) interrupt signal generated according to the rising edge of CLK signal or failing edge, reads the high and low level of DATA signal
State, and the displacement information for obtaining including in DATA signal (the multidigit binary number indicated with 0,1, wherein low level is preceding, and the 12nd
Rising is mobile pitch number), therefrom isolate the mobile pitch number of the grid of capacitor grid transducer 10.And according to timer
The 41 interrupt flag signals sent read data from the buffer of timer 41, obtain the grid of capacitor grid transducer 10 at one
Position equivalent in pitch.
22) total absolute displacement equivalent of the grid of capacitor grid transducer 10 is obtained according to formula (1), that is, will be from DATA signal
Obtained in pitch number multiplied by the corresponding resolution equivalent (for example, 20000) of each pitch, then with counting according to timer 41
Position equivalent of the grid of the capacitor grid transducer 10 arrived in a pitch is added, thus obtain the grid of capacitor grid transducer 10
Total absolute displacement equivalent.
23) total absolute displacement equivalent of capacitor grid transducer grid is converted into total absolute displacement values.
24) total absolute displacement values of the grid of capacitor grid transducer 10 are exported to display unit 45 and serial ports 46, by showing
Show that unit 45 and serial ports 46 are exported.In this way, realizing high-resolution, the measurement of high-precision great-scale displacement.
It is similar with some schemes given above, buffer can also not be used in timer 41.In addition, with giving above
Some schemes out are similar, and the data and CPU 43 that RAM 44 can be used in storage buffer generate during processing
Data etc..
It is similar with some schemes given above, in conversion operation (that is, by total absolute position of the grid of capacitor grid transducer 10
Move equivalent and be converted into total absolute displacement values) before, CPU 43 can be to total absolute displacement equivalent of the grid of capacitor grid transducer 10
Digitized filtered processing is carried out, and after conversion operation, total absolute displacement values of the grid of capacitor grid transducer 10 are executed
The drift correction between drift correction and pitch in pitch.
For wide range, high-resolution and high-precision angle displacement measurement, another implementation according to the present utility model
Example also provides a kind of displacement measurement system for sensor device, and the sensor device includes two capacitor grid transducers, under
Face 0 and Figure 11 will be described referring to Fig.1.
In the present embodiment, two capacitor grid transducers, a rough segmentation capacitor grid transducer 11 and a subdivision capacitive grating to be used
Sensor 12 (can about the description of the absolute position of polarizers of big angle scope is measured using rough segmentation, the combination of subdivision capacitor grid transducer
Referring to application No. is the Chinese patent applications of CN200710050658.3), wherein rough segmentation sensor has on a circumference
One pitch (that is, a pitch is equal to 360 ° of circumference gamut), segment sensor has multiple pitch (examples on a circumference
Such as, 20);
The asic chip 100 that the present embodiment is shown in Figure 10 is integrated with crystal oscillating circuit 21,22,8 tunnel of clock division circuits
Driving and analog switch signal generating circuit 23 are (it should be noted that in the present embodiment, 8 tunnel driving signals are thick for driving
Partial volume gate sensor 11 and subdivision capacitor grid transducer 12) and two capacitive grating signal processing circuits 101 and 102;Described two appearances
Gate signal processing circuit 101,102 receives the output signal CSI1 from rough segmentation sensor 11 respectively and comes from subdivision sensor 12
Output signal CSI2, and single-chip microcontroller 110 into Figure 11 exports ADSO1 signal and ADSO2 signal respectively;In addition, clock
Single-chip microcontroller 110 output of the frequency dividing circuit 22 into Figure 11 is identical as the period of 8 tunnel driving signals all the way and drives with any road
The identical CLK512 signal of the phase of signal.
Single-chip microcontroller 110 in Figure 11 includes two identical timers 111 and 112 (that is, timer 1 and timer 2);Its
In, timer 111 receives ADSO1 signal from capacitive grating signal processing circuit 101 and from clock division circuits 22
CLK512 signal, timer 112 receive the ADSO2 signal from capacitive grating signal processing circuit 102 and come from clock division circuits
22 CLK512 signal.The workflow of one embodiment according to the present utility model, single-chip microcontroller 110 is as follows:
1) be described above to obtain the method phase of position equivalent of the grid in a pitch of capacitor grid transducer
Together, timer 111 is believed using the clock frequency (for example, 6MHz) that counting clock 42 provides as count frequency, and according to ADSO1
Number and CLK512 signal counted, to obtain position equivalent of the grid of rough segmentation capacitor grid transducer 11 in a pitch;
The clock frequency that timer 112 is equally provided using counting clock 42 is as count frequency, and according to ADSO2 signal and CLK512
Signal is counted, to obtain position equivalent of the grid of subdivision capacitor grid transducer 12 in the pitch.It is practical according to this
Novel one embodiment, timer 111 itself include buffer, and timer 111 is in the rising edge for monitoring CLK512 signal
When count from zero, its buffer is written into current count when monitoring the rising edge of ADSO1 signal, which indicates thick
Position equivalent of the grid of partial volume gate sensor 11 in a pitch;Timer 112 also includes buffer, and timer 112 exists
It monitors to count from zero when the rising edge of CLK512 signal, when monitoring the rising edge of ADSO2 signal by current count
Its buffer is written, which indicates position equivalent of the grid of subdivision capacitor grid transducer 12 in a pitch.Timer 111
Or timer 112 can send interrupt flag signal to CPU 43 when monitoring the rising edge of CLK512 signal, so that CPU
43 can be synchronous with the reading of the buffer of timer from timer 111 data.
2) CPU 43 receive come self-timer 111 or timer 112, triggered by the rising edge of 512 signal of CLK
After interrupt flag signal, following operation is executed:
21) CPU from reading data in the buffer of timer 111 and reads data from the timer of timer 112,
The two data are position equivalent of the grid of rough segmentation capacitor grid transducer 11 in a pitch and subdivision capacitor grid transducer respectively
Position equivalent of 12 grid in a pitch.
22) the position equivalent according to the grid of rough segmentation capacitor grid transducer 11 in a pitch determines subdivision capacitive grating sensing
The mobile pitch number of the grid of device 12.
For example, it is assumed that the corresponding resolution equivalent of each pitch is 20000, then on a circumference, rough segmentation capacitive grating is sensed
For the corresponding measurement data of device 11,20000/20=1000;0th pitch of i.e. 0~999 corresponding subdivision capacitor grid transducer 12
Position (mobile pitch number is 0), and the 1st pitch position of 1000~1999 corresponding subdivision capacitor grid transducers 12, with such
It pushes away.Thus, it is possible to determine that subdivision capacitive grating is passed according to position equivalent of the grid of rough segmentation capacitor grid transducer 11 in a pitch
The mobile pitch number of sensor grid.
23) referring to formula (1), which is held with subdivision again multiplied by the corresponding resolution equivalent of every pitch (such as 20000)
Position equivalent of the grid of gate sensor 12 in a pitch is added, and obtains the grid of subdivision capacitor grid transducer 12 in circumference model
Enclose interior total absolute position equivalent.
24) total absolute position equivalent of the grid in circumference range of subdivision capacitor grid transducer 12 is converted (i.e. multiplied by
Equivalent coefficient 18/20000), obtain total absolute displacement values (i.e. physical location angle value) of the grid of subdivision capacitor grid transducer 12.
25) total absolute displacement values are exported to display unit 45 and serial ports 46, it is defeated by display unit 45 and serial ports 46
Out.
Above-mentioned timer 111 and timer 112 has the buffer of their own, however in other embodiments, it can also
Not use buffer.In timer 111 and the 112 not embodiment of buffer, when timer 111 monitors that ADSO1 believes
Number rising edge when, current count can be sent directly to CPU 43 and by the storage of CPU 43 to RAM 44;When timer 112
When monitoring the rising edge of ADSO2 signal, current count can be sent directly to CPU 43 and by the storage of CPU 43 to RAM
44.When CPU 43 receives interruption coming self-timer 111 or timer 112, being triggered by the rising edge of CLK512 signal
When marking signal, the two countings are taken out from RAM, and carry out subsequent processing.In addition, in the embodiment using ARM single-chip microcontroller
In, DMA access can directly store the data in the buffer of timer 111 and 112 into RAM 44, and CPU 43 can root
According to the interrupt flag signal received, the data being stored in recently are extracted from RAM 44 and are handled.
It will be understood by those skilled in the art that in another embodiment, timer 111 and timer 112 can also bases
The failing edge of CLK512 signal will count clearing, and respectively according to the failing edge of ADSO1 signal, ADSO2 signal come to slow
Device write-in current count is rushed, and can be in rising edge (or the failing edge) for monitoring CLK512 signal into the transmission of CPU 43
Disconnected marking signal.In other embodiments, timer 111 can be sent out when monitoring the rising edge of ADSO1 signal to CPU 43
Interrupt flag signal is sent, timer 112 can send interrupt flag letter to CPU 43 when monitoring the rising edge of ADSO2 signal
Number.
In addition, in a further embodiment, grid of the CPU 43 before conversion operation also to subdivision capacitor grid transducer 12
Total absolute position equivalent in circumference range carries out digitized filtered processing, and to total absolute displacement values after conversion operation
Carry out the drift correction in pitch and between pitch.
Although hereinbefore being described as rough segmentation sensor that there is a pitch on a circumference and sensing subdivision
Device is described as having multiple pitch on a circumference, i.e. displacement measurement system can be realized the angle measurement in whole circumference,
It should be understood that the displacement measurement system is also applied for the measurement of fan angle, in this case, it is desirable that subdivision sensor is thick
There is N number of pitch in one pitch of sub-sensor (N is integer and N >=2).In addition, in addition to angle, shown in Figure 10 and Figure 11
Displacement measurement system can be used for the absolute measurement of length.
Three kinds are presented above for wide range, high-resolution and high-precision displacement measurement system.Wherein, Fig. 3 and
Displacement measurement system shown in fig. 6 uses traditional phase demodulation and counting circuit 25, displacement data processing circuit 26 etc. due to being not necessarily to,
Therefore the space occupied it is smaller, and the system be suitable for move neutralization it is static after displacement measurement;Fig. 8 and position shown in Fig. 9
Shift measurement system can use existing asic chip and be manufactured, and implement compared with other displacement measurement systems more simple
It is single, but occupied space is larger, this system be primarily adapted for use in it is static after displacement measurement;Displacement measurement shown in Figure 10 and Figure 11
System is suitable for the measurement of angular displacement and displacement of the lines, can both measure or measure during exercise after static.Using
Provided by the utility model these are used for the displacement measurement system of sensor device, are inheriting traditional phase demodulating sensor
On the basis of large-scale production technology, phase demodulating sensor measuring technique can be realized to inexpensive performance boost, and
Improve the resolution ratio and precision of measurement.
It will be understood by those skilled in the art that although the count internal clock 42 of single-chip microcontroller is used above to realize timing
The timing and counting of device, but in other embodiments, the external clock of single-chip microcontroller can be used also to provide clock frequency.Separately
Outside, it although being described by taking asic chip and single-chip microcontroller as an example above, i.e., separates to be described as two components, so
And in other embodiments, single-chip microcontroller also can integrate in asic chip, or asic chip can be integrated in single-chip microcontroller
On, or the two integrated, it can integrate on the same chip, also can integrate on multiple chips.
It should also be understood by those skilled in the art that can also be used at other numbers with computing function in addition to single-chip microcontroller
Device is managed to realize the utility model.
It should also be understood by those skilled in the art that other than capacitor grid transducer, displacement measurement system provided by the utility model
System is also applied for other displacement sensors, for example, other capacitance type sensors, induction in addition to capacitor grid transducer synchronize
Device, grating sensor etc..The working principle of these displacement sensors is similar with capacitor grid transducer --- and driving signal is periodically
The voltage signal of variation, the space week that its time period of change respective sensor pitch changes after displacement sensor coupling modulation
Phase, and the signal exported can be obtained corresponding with pitch position by way of phase demodulation and have electricity with initial driving signal
The same periodic signal of square wave of phase difference.
In addition, although above to describe the utility model for receiving the capacitor grid transducer of multichannel (8 tunnel) driving signal,
But it should be noted that the displacement sensor for receiving 1 tunnel driving signal is also applied for the utility model, in this case, drive
Dynamic signal generating circuit 23 can only export driving signal all the way, the CLK512 signal and the driving that clock division circuits 22 exports
Signal period is identical and phase is identical.In a further embodiment, the period or phase of CLK512 signal and driving signal
May be not exactly the same, for example, the period can be in multiple proportion, phase can be on the contrary or with other corresponding relationships.
It should be noted that some illustrative methods are depicted as flow chart.It is executed although operation is expressed as sequence by flow chart,
But it is understood that many operations can be parallel while or synchronously being executed.Furthermore it is possible to rearrange the sequence of operation.
Processing can be terminated when operating and completing, but also be can have and be not included in the other step in figure or in embodiment.
The above method can pass through hardware, software, firmware, middleware, pseudocode, hardware description language or their times
Meaning combination is to realize.When with the implementation of software, firmware, middleware or pseudocode, for executing the program code or code of task
Segmentation can be stored in computer-readable medium, and such as storage medium, processor can execute the task.
It should be understood that the exemplary embodiment of software realization usually carried out in some form of program storage medium coding or
Person realizes on some type of transmission medium.Program storage medium can be arbitrary non-transitory storage media, such as disk
(for example, floppy disk or hard disk) or CD (for example, compact disk read-only memory or " CD ROM "), and can be it is read-only or
Random access.Similarly, transmission medium can be twisted pair, coaxial cable, optical fiber or known in the art some other
Applicable transmission medium.
Although the utility model has been described by means of preferred embodiments, the utility model is not limited to this
In described embodiment, further include made various changes and change in the case where not departing from the scope of the utility model
Change.
Claims (18)
1. a kind of displacement measurement system for sensor device, the sensor device include the first displacement sensor (10,
12), which is characterized in that the displacement measurement system includes:
Drive signal generation circuit (23) is used for the first displacement sensor (10,12) output drive signal;
First signal processing circuit (24,102), for receives come from first displacement sensor (10,12) signal and
Export the first ADSO signal;And
It calculates equipment (40,60,90,110), including first timer (41,112);
Wherein, the first timer (41,112) is for receiving CLK512 signal and the first ADSO signal, and according to
The CLK512 signal and the first ADSO signal carry out timing or counting;Wherein, the CLK512 signal is and the drive
The period of dynamic signal and the relevant square-wave signal of phase.
2. displacement measurement system according to claim 1, which is characterized in that further include:
Clock division circuits (22), for being exported described in clock signal and output to the drive signal generation circuit (23)
CLK512 signal.
3. displacement measurement system according to claim 1 or 2, which is characterized in that the calculating equipment (40,60,90,
110) further include:
Processor (43), it is described for being converted to the first timer (41,112) by timing or the data counted to get
Absolute displacement values of the grid of first displacement sensor (10,12) in a pitch.
4. displacement measurement system according to claim 3, which is characterized in that further include:
Counting clock (42);
Wherein, the clock frequency that the first timer (41,112) is used to provide with the counting clock (42) is according to
CLK512 signal and the first ADSO signal carry out timing or counting.
5. displacement measurement system according to claim 4, which is characterized in that the first timer (41,112) is used for
Monitor when the rising edge of the CLK512 signal with the counting clock (42) provide clock frequency start from scratch timing or
It counts, and current time or current count is sent to the processing when monitoring the rising edge of the first ADSO signal
Device (43).
6. displacement measurement system according to claim 4, which is characterized in that the first timer (41,112) is also wrapped
It includes:
First buffer;
Wherein, the first timer (41,112) is used for when monitoring the rising edge of the CLK512 signal with the counting
The clock frequency that clock (42) provides is started from scratch timing or counting, and in the rising edge for monitoring the first ADSO signal
When first buffer is written into current time or current count;
The processor (43) is used to receive the interruption mark by the first ADSO signal or CLK512 signal triggering
After remembering signal, the data in first buffer are read.
7. displacement measurement system according to claim 4, which is characterized in that the processor (43) is used for according to described the
The clock frequency that the data and the counting clock (42) that one timer (41,112) is obtained by timing provide obtains described
Position equivalent of the grid of first displacement sensor (10,12) in a pitch, and by first displacement sensor
Position equivalent of the grid of (10,12) in a pitch is converted to the grid of first displacement sensor (10,12) one
Absolute displacement values in a pitch.
8. displacement measurement system according to claim 7, which is characterized in that the processor (43) is also used to described
Position equivalent of the grid of one displacement sensor (10,12) in a pitch carries out digitized filtered processing, and to described
Absolute displacement values of the grid of first displacement sensor (10,12) in a pitch carry out drift correction.
9. displacement measurement system according to claim 4, which is characterized in that the counting clock (42) is included in the meter
It calculates in equipment (40,60,90,110).
10. displacement measurement system according to claim 3, which is characterized in that the calculating equipment (60) further include:
Second timer (61), for receiving the CLK512 signal and the first ADSO signal, and according to described
The mobile pitch number of the grid of CLK512 signal and the first ADSO signal to first displacement sensor (10) is counted
Number;
Wherein, the processor (43) is also used to pass through according to the second timer (61) data that count to get and described
First timer (41) by timing or the data that count to get obtain first displacement sensor (10) grid it is total absolutely
To shift value.
11. displacement measurement system according to claim 10, which is characterized in that the processor (43) is for calculating following formula
To obtain total absolute displacement equivalent L of the grid of first displacement sensor (10)n:
Ln=An+Nn×M
Wherein, AnIndicate that the first timer (41) pass through the data counted to get, NnIndicate that the second timer (61) are logical
The data counted to get are crossed, M indicates the corresponding resolution equivalent of each pitch of first displacement sensor (10);And
By total absolute displacement equivalent L of the grid of first displacement sensor (10)nBe converted to first displacement sensor
(10) total absolute displacement values of grid.
12. displacement measurement system according to claim 3, which is characterized in that the drive signal generation circuit (23) and
First signal processing circuit (24,102) is integrated in same chip, and the chip further includes:
Phase demodulation and counting circuit (25), for receiving the first ADSO signal;And
Serial output port (27), for exporting the displacement of CLK signal and the grid including first displacement sensor (10)
The DATA signal of information;
The calculating equipment (90) is also used to receive the CLK signal and the DATA signal;
Wherein, the processor (43) is also used to obtain described the according to the received CLK signal of institute and the DATA signal
The mobile pitch number of the grid of one displacement sensor (10), and mobile according to the grid of first displacement sensor (10)
The data that pitch number and the first timer (41) pass through timing or count to get obtain first displacement sensor (10)
Grid total absolute displacement values.
13. displacement measurement system according to claim 12, which is characterized in that the processor (43) is used for according to
The mobile pitch number of the grid of first displacement sensor (10) and the first timer (41) are by timing or count to get
Data obtain total absolute displacement equivalent of the grid of first displacement sensor (10), and by first displacement sensor
(10) total absolute displacement equivalent of grid is converted to total absolute displacement values of the grid of first displacement sensor (10).
14. displacement measurement system according to claim 4, which is characterized in that the sensor device further includes second
Displacement sensor (11), wherein first displacement sensor (12) tool in a pitch of the second displacement sensor (11)
There are multiple pitch, the drive signal generation circuit (23) is also used to export the driving to the second displacement sensor (11)
Signal, the displacement measurement system further include:
Second signal processing circuit (101), for receiving the signal from the second displacement sensor (11) and output the
Two ADSO signals;
The calculating equipment (110) further include:
Third timer (111), for receiving the 2nd ADSO signal and the CLK512 signal, with the counting clock
(42) clock frequency provided carries out timing or counting according to the 2nd ADSO signal and the CLK512 signal;
Wherein, the processor (43) is also used to pass through timing or the data counted to get according to the third timer (111)
Determine the mobile pitch number of the grid of first displacement sensor (12), and according to first displacement sensor (12)
The mobile pitch number and the first timer (41) of grid obtain described first by timing or the data counted to get
Total absolute displacement values of the grid of displacement sensor (12).
15. displacement measurement system according to claim 14, which is characterized in that the third timer (111) is used for
Monitor when the rising edge of the CLK512 signal with the counting clock (42) provide clock frequency start from scratch timing or
It counts, and current time or current count is sent to the processing when monitoring the rising edge of the 2nd ADSO signal
Device (43) records the current time or current count.
16. displacement measurement system according to claim 14, which is characterized in that first displacement sensor (10,12)
And the second displacement sensor (11) is capacitor grid transducer.
17. displacement measurement system according to claim 1, which is characterized in that the CLK512 signal is and the driving
The period of signal is identical and the identical square-wave signal of phase.
18. displacement measurement system according to claim 1, which is characterized in that the calculating equipment (40,60,90,110),
The drive signal generation circuit (23) and first signal processing circuit (24,102) are integrated in same chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820578278.0U CN208171165U (en) | 2018-04-23 | 2018-04-23 | Displacement measurement system for sensor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820578278.0U CN208171165U (en) | 2018-04-23 | 2018-04-23 | Displacement measurement system for sensor device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208171165U true CN208171165U (en) | 2018-11-30 |
Family
ID=64370218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201820578278.0U Active CN208171165U (en) | 2018-04-23 | 2018-04-23 | Displacement measurement system for sensor device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208171165U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110388870A (en) * | 2018-04-23 | 2019-10-29 | 桂林市晶瑞传感技术有限公司 | Displacement measurement system and displacement measurement method for sensor device |
-
2018
- 2018-04-23 CN CN201820578278.0U patent/CN208171165U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110388870A (en) * | 2018-04-23 | 2019-10-29 | 桂林市晶瑞传感技术有限公司 | Displacement measurement system and displacement measurement method for sensor device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102012209B (en) | Digital transmission demodulating method of differential transformer displacement transducer | |
CN200986461Y (en) | Intelligent capacitance type liquid level measuring apparatus | |
CN1687730A (en) | Circuit of testing capacitance and capacitance type pressure transmitter | |
CN110836992B (en) | Oscillography power meter acquisition system based on FPGA | |
CN102749510A (en) | Method and FPGA (Field Programmable Gate Array) device for performing multi-channel digital frequency measurement | |
CN101408409B (en) | High precision digital type linear displacement transducer | |
CN200993665Y (en) | Small digitalized prase-comparing measuring device | |
CN110388870A (en) | Displacement measurement system and displacement measurement method for sensor device | |
CN105806201B (en) | Displacement measuring device and displacement measurement method | |
CN208171165U (en) | Displacement measurement system for sensor device | |
JP2593257B2 (en) | Displacement measuring device | |
US3582962A (en) | Hand entry position sensing system | |
CN101972142A (en) | Pressure sensor reading method | |
CN202018254U (en) | Display device of digital display micrometer | |
CN203658463U (en) | Digital frequency meter based on DSP | |
CN109298238A (en) | A kind of frequency measurement method and its measuring system | |
JPWO2019205847A5 (en) | ||
CN202216656U (en) | Digital display measuring instrument capacitive grating sensor and signal processing integrated circuit adopting same | |
CN103616840A (en) | Speed self-adaptive measuring device based on FPGA (Field Programmable Gata Array) | |
CN2676184Y (en) | Digital concrete sclerometer | |
CN215550966U (en) | 3D printer including synchronous belt of magnetic grid | |
CN108037358A (en) | Microcontroller frequency testing system and method | |
CN210603339U (en) | Rotary encoder reading circuit | |
CN102495824B (en) | Method for generating multi-channel analog signals with different frequencies on same analog output card | |
CN201497504U (en) | Digital level meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |