CN110361999A - Active optics micro-displacement sensor signal processing system and method based on DSP - Google Patents
Active optics micro-displacement sensor signal processing system and method based on DSP Download PDFInfo
- Publication number
- CN110361999A CN110361999A CN201910511399.2A CN201910511399A CN110361999A CN 110361999 A CN110361999 A CN 110361999A CN 201910511399 A CN201910511399 A CN 201910511399A CN 110361999 A CN110361999 A CN 110361999A
- Authority
- CN
- China
- Prior art keywords
- dsp
- signal
- module
- micro
- displacement sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/21—Pc I-O input output
- G05B2219/21137—Analog to digital conversion, ADC, DAC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Abstract
The signal processing system and method for the invention discloses a kind of active optics micro-displacement sensor based on DSP, system includes power module, AD conversion module, memory module, DSP and display module.Method includes: that power module progress voltage is converted to other module for power supply;DSP controls AD conversion chip work, and the analog signal modulated through micro-displacement sensor is converted to digital signal;DSP read AD conversion after digital signal and be stored in memory module;DSP demodulates digital signal, obtains microbit shifting signal and is stored in memory module;DSP is filtered the microbit shifting signal after demodulation, and is stored in memory module;Filtered micro-displacement data are sent to host computer by serial ports, carry out display and subsequent processing.The present invention realizes the processing to active optics micro-displacement sensor signal by digital signal processing method, carries out Real-time demodulation and filtering processing, and real-time display micro-displacement data to modulated noisy microbit shifting signal, disposed of in its entirety speed is fast and precision is high.
Description
Technical field
The invention belongs to digital processing field, especially a kind of active optics micro-displacement sensor letter based on DSP
Number processing system and method.
Background technique
Digital Signal Processing has benefited from the rapid development of Computer Subject and information science and shape as a new branch of science
At a Men Xueke, multiple fields application in play the effect to become more and more important.Simplified summary, Digital Signal Processing use
Sequence (Serial No. or symbol sebolic addressing) representation signal, by general or dedicated digital signal processing appts to the sequence into
Row processing extracts useful information to apply.The method of processing includes filtering, variation, compression, enhancing, estimation etc..Compared to mould
Quasi- signal processing, Digital Signal Processing speed, flexibility, accuracy, research and development cost, in terms of it is all very big excellent
Gesture.Most of functions of analog device can be substituted, therefore play increasingly important role in present signal application.Number
The realization platform of word signal processing is digital information processing system.Such as using computer, digital signal processor (DSP) or
Dedicated integrated circuit of person etc. is properly termed as digital information processing system.
The signal processing system of early stage mainly realizes signal processing by analog machine.But in certain practical applications
In, it is often necessary to data are first recorded on tape, are then handled on large-scale digital computer.Analog machine has can
The disadvantage poor by property and flexibility, and it is to be not easy, and computer is both flexible that the algorithm of certain complexity, which is implemented different,
Speed is again fast, therefore before forming processing system with analog device, and people get used to first simulating on computers, with true
Determine the feasibility of scheme, this is the old model that digital method realizes signal processing, and complexity is higher.
Summary of the invention
The active optics micro-displacement sensor signal processing system and side that the purpose of the present invention is to provide a kind of based on DSP
Method.
The technical solution for realizing the aim of the invention is as follows: the active optics micro-displacement sensor signal processing based on DSP
System, including power module, AD conversion module, memory module, DSP and display module;
The AD conversion module, for the analog signal modulated through micro-displacement sensor to be converted to digital signal;
The DSP, for controlling AD conversion module work, demodulation obtains microbit shifting signal, carries out to the signal after demodulation
It filters and is communicated with host computer;
The memory module is used for stored signal data;
The display module is used for real-time display micro-displacement data;
The power module, for providing required voltage for above-mentioned all modules.
The signal processing method of active optics micro-displacement sensor based on DSP, comprising the following steps:
The voltage that the 5v voltage of input is converted to 3.3v and 1.9v is other module for power supply by step 1, power module;
Step 2, DSP control AD conversion chip work, are converted to number for the analog signal modulated through micro-displacement sensor
Signal, and store into A/D chip register;
Step 3, DSP read AD conversion after digital signal and be stored in memory module;
Step 4, DSP demodulate digital signal, obtain microbit shifting signal and are stored in memory module;
Step 5, DSP are filtered the microbit shifting signal after demodulation, and are stored in memory module;
Filtered micro-displacement data are sent to host computer by serial ports by step 6, carry out display and subsequent processing.
Compared with prior art, the present invention its remarkable advantage are as follows: 1) present invention is realized to the modulated Noise of input
Microbit shifting signal demodulated, be filtered, obtain ideal useful signal, and pass through display screen real-time display micro-displacement data
Overal system design;2) micro-displacement analog signal is converted into digital signal, and carries out data processing with DSP, improve number
According to processing speed, and then lifting system real-time;3) using the Fast Fourier Transform (FFT) method pair in frequency-region signal processing method
Microbit shifting signal is handled, and calculation amount is small, and calculating speed is fast;4) the small, feature with high accuracy for micro-displacement signal intensity,
Specific aim addition high-precision AD conversion chip improves signal processing accuracy in system.
Detailed description of the invention
The present invention is based on the signal processing system composed structure schematic diagrames of the active optics micro-displacement sensor of DSP by Fig. 1.
Fig. 2 the present invention is based on the hardware circuit diagram in the signal processing system of the active optics micro-displacement sensor of DSP,
In (a) be power module circuitry figure, (b) be AD conversion module circuit diagram, (c) be memory module circuit diagram, (d) be DSP circuit
Figure is (e) the telecommunication circuit figure of DSP and host computer.
The present invention is based on signal demodulation principle figures in the signal processing system of the active optics micro-displacement sensor of DSP by Fig. 3.
The present invention is based on the filtering algorithm processes in the signal processing system of the active optics micro-displacement sensor of DSP by Fig. 4
Figure.
Specific embodiment
In conjunction with Fig. 1, the present invention is based on the active optics micro-displacement sensor signal processing system of DSP, including power module,
AD conversion module, memory module, DSP and display module;
Shown in AD conversion module such as Fig. 2 (b), for the analog signal modulated through micro-displacement sensor to be converted to digital letter
Number;
Shown in DSP such as Fig. 2 (d), for controlling AD conversion module work, demodulation obtains microbit shifting signal, to demodulation after
Signal is filtered and is communicated with host computer such as Fig. 2 (e);
Shown in memory module such as Fig. 2 (c), it to be used for stored signal data;
Display module is used for real-time display micro-displacement data;
Shown in power module such as Fig. 2 (a), for providing required voltage for above-mentioned all modules.
It is further preferred that AD conversion module is connected with DSP by SPI Serial Peripheral Interface (SPI), DSP passes through with display module
RS232 serial ports is connected.
It is exemplary preferably, power module specifically uses PS767D301 power supply chip;Memory module specifically uses
IS61LV25616SRAM chip;AD conversion module specifically uses ADS1256 conversion chip;DSP specifically uses TMS320F28335
Chip.
A kind of active optics micro-displacement sensor signal processing method based on DSP, comprising the following steps:
The voltage that the 5v voltage of input is converted to 3.3v and 1.9v is other module for power supply by step 1, power module;
Step 2, DSP control AD conversion chip work, are converted to number for the analog signal modulated through micro-displacement sensor
Signal, and store into A/D chip register.AD conversion chip uses four-wire system (clock cable SCLK, Data In-Line DI
N, DOL Data Output Line DOUT and chip select line CS) SPI communication modes .ADS1256 can only operate in SPI communication slave pattern under, lead to
DSP is crossed to control the register of ADS1256 on piece, CS must be kept when reading or writing these registers serial communication by serial ports
For low level.In SPI transmit process, data are synchronously sent and received, SCLK and DIN, DOUT synchronizing moving.DIN knot
SCLK is closed to be used to send data to ADS1256, it is effective in the failing edge of SCLK;DOUT combination SCLK is used to read from ADS1256
Data are effective in the rising edge of SCLK.
Step 3, DSP read AD conversion after digital signal and be stored in memory module;
Step 4, DSP demodulate digital signal, obtain microbit shifting signal and are stored in memory module;
Step 5, DSP are filtered the microbit shifting signal after demodulation, and are stored in memory module;
Filtered micro-displacement data are sent to host computer by serial ports by step 6, carry out display and subsequent processing, DSP
Micro-displacement data are sent to host computer by MAX3232 chip, RS232 serial ports.
It is exemplary preferably, specifically use synchronous demodulation method as shown in Figure 3 digital demodulation signal in step 4.
Further, in conjunction with Fig. 4, step 5 filtering is specially frequency domain low-pass wave, including following procedure:
Step 5-1, discrete Fourier transform, formula used are carried out to the signals and associated noises x (n) of input are as follows:
WN=e-j2π/N
In formula, N is the points of discrete Fourier transform, and X (k) is discrete Fourier transform as a result, WNFor phase factor;
Step 5-2, phase factor W is utilizedNSymmetry and periodically simplify discrete Fourier transform, realize FFT transform,
It obtains frequency domain signal X (k);
Step 5-3, low-pass filtering is carried out to frequency domain signal X (k), cutoff frequency is f Hz, and wherein f is displacement signal frequency
Rate;
Step 5-4, FFT inverse transformation is carried out to filtered X (k), that is, obtains filtered microbit shifting signal y (n) are as follows:
The present invention is realized by digital signal processing method to the processing of the signal of active optics micro-displacement sensor, is exchanged
Noisy micro-displacement live signal after system carries out Real-time demodulation and filtering processing, and real-time display micro-displacement data, disposed of in its entirety
Speed is fast and precision is high.
Claims (6)
1. a kind of active optics micro-displacement sensor signal processing system based on DSP, which is characterized in that including power module,
AD conversion module, memory module, DSP and display module;
The AD conversion module, for the analog signal modulated through micro-displacement sensor to be converted to digital signal;
The DSP, for controlling AD conversion module work, demodulation obtains microbit shifting signal, is filtered to the signal after demodulation
And it is communicated with host computer;
The memory module is used for stored signal data;
The display module is used for real-time display micro-displacement data;
The power module, for providing required voltage for above-mentioned all modules.
2. the active optics micro-displacement sensor signal processing system according to claim 1 based on DSP, the AD conversion
Module is connected with DSP by SPI Serial Peripheral Interface (SPI), and DSP is connected with display module by RS232 serial ports.
3. the active optics micro-displacement sensor signal processing system according to claim 1 or 2 based on DSP, feature
It is, the power module specifically uses PS767D301 power supply chip;The memory module specifically uses IS61LV25616
Sram chip;The AD conversion module specifically uses ADS1256 conversion chip;The DSP specifically uses TMS320F28335 core
Piece.
4. a kind of active optics micro-displacement sensor signal processing method based on DSP, which comprises the following steps:
The voltage that the 5v voltage of input is converted to 3.3v and 1.9v is other module for power supply by step 1, power module;
Step 2, DSP control AD conversion chip work, are converted to digital signal for the analog signal modulated through micro-displacement sensor,
And it stores into A/D chip register;
Step 3, DSP read AD conversion after digital signal and be stored in memory module;
Step 4, DSP demodulate digital signal, obtain microbit shifting signal and are stored in memory module;
Step 5, DSP are filtered the microbit shifting signal after demodulation, and are stored in memory module;
Filtered micro-displacement data are sent to host computer by serial ports by step 6, carry out display and subsequent processing.
5. the active optics micro-displacement sensor signal processing method according to claim 4 based on DSP, feature exist
In synchronous demodulation method is specifically used described in step 4 to digital demodulation signal.
6. the active optics micro-displacement sensor signal processing system according to claim 5 based on DSP, feature exist
In filtering described in step 5 is specially frequency domain low-pass wave, including following procedure:
Step 5-1, FFT transform is carried out to the signals and associated noises x (n) of input, obtained frequency domain signal X (k);
Step 5-2, low-pass filtering is carried out to frequency domain signal X (k), cutoff frequency is f Hz, and wherein f is shift signal frequencies;
Step 5-3, FFT inverse transformation is carried out to filtered X (k), that is, obtains filtered microbit shifting signal y (n).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910511399.2A CN110361999A (en) | 2019-06-13 | 2019-06-13 | Active optics micro-displacement sensor signal processing system and method based on DSP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910511399.2A CN110361999A (en) | 2019-06-13 | 2019-06-13 | Active optics micro-displacement sensor signal processing system and method based on DSP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110361999A true CN110361999A (en) | 2019-10-22 |
Family
ID=68216747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910511399.2A Pending CN110361999A (en) | 2019-06-13 | 2019-06-13 | Active optics micro-displacement sensor signal processing system and method based on DSP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110361999A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112904773A (en) * | 2021-01-20 | 2021-06-04 | 南京理工大学 | Capacitor plate micro-displacement generation system based on ARM |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0981054A2 (en) * | 1998-08-10 | 2000-02-23 | Sony/Tektronix Corporation | Wide band signal analyzer |
CN101577848A (en) * | 2009-03-12 | 2009-11-11 | 北京中星微电子有限公司 | Supper bass boosting method and system |
CN102843170A (en) * | 2011-06-24 | 2012-12-26 | 三星电子株式会社 | Communication system using wireless power |
CN103278203A (en) * | 2013-04-25 | 2013-09-04 | 合肥工业大学 | High frequency Coriolis mass flowmeter digital signal processing system |
CN109059744A (en) * | 2017-06-13 | 2018-12-21 | 南京理工大学 | Micro-displacement signal detection system and measurement method based on ADA2200 |
-
2019
- 2019-06-13 CN CN201910511399.2A patent/CN110361999A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0981054A2 (en) * | 1998-08-10 | 2000-02-23 | Sony/Tektronix Corporation | Wide band signal analyzer |
CN101577848A (en) * | 2009-03-12 | 2009-11-11 | 北京中星微电子有限公司 | Supper bass boosting method and system |
CN102843170A (en) * | 2011-06-24 | 2012-12-26 | 三星电子株式会社 | Communication system using wireless power |
CN103278203A (en) * | 2013-04-25 | 2013-09-04 | 合肥工业大学 | High frequency Coriolis mass flowmeter digital signal processing system |
CN109059744A (en) * | 2017-06-13 | 2018-12-21 | 南京理工大学 | Micro-displacement signal detection system and measurement method based on ADA2200 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112904773A (en) * | 2021-01-20 | 2021-06-04 | 南京理工大学 | Capacitor plate micro-displacement generation system based on ARM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018170682A1 (en) | Signal processing method for active pen, active pen, and touch screen | |
CN102362810B (en) | Heart sound identification system and method based on virtual instrument | |
CN101615888A (en) | A kind of signal demodulation method of portable multifunctional optical fiber hydrophone | |
CN103592881A (en) | Multi-path signal synchronous sampling control circuit based on FPGA | |
CN110361999A (en) | Active optics micro-displacement sensor signal processing system and method based on DSP | |
CN204631954U (en) | Fingerprint attendance system in a kind of enterprise management system | |
CN201897821U (en) | Universal wireless attendance system | |
CN105427258A (en) | Optimization processing method and system for smooth display of circular patterns as well as intelligent equipment | |
CN104965200B (en) | Dynamic Signal generating means based on pull-type underwater sound signal emission system | |
CN103019437A (en) | Touch type electronic whiteboard | |
CN104020864A (en) | Dual-mode pen | |
CN107102729A (en) | A kind of PPT Demonstration Control Systems based on CSI gesture identifications | |
CN106155607A (en) | A kind of former person's handwriting multi-screen adaptation method, system and equipment | |
CN110389669A (en) | The transmitting module switching device and control method of a set of mouse control two computers | |
CN213715133U (en) | Acoustic imaging device based on edge computing platform | |
CN208937712U (en) | It is embedded in leading second order pole type seismic data collector | |
CN114461012A (en) | Method and device for acquiring running time stamps of different clock domains of embedded system | |
CN202221633U (en) | DSP (digital signal processor) experiment teaching device | |
CN203165097U (en) | Desk type needle POS machine | |
CN208580432U (en) | It is a kind of that system is eliminated based on the image alias of small echo and Canny operator | |
CN113281700B (en) | Wireless electromagnetic positioning system and method | |
CN204812934U (en) | Sofa handrail structure of long -range health information guardianship equipment imbeds | |
CN104732264B (en) | The system, method and smart card of contactless communication are realized based on GPIO interface | |
CN217213668U (en) | Signal processing circuit and electromagnetic handwriting device | |
CN103383806A (en) | Gesture language transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191022 |