CN102768237A - Three-dimensional near-field vector scanning method and device - Google Patents

Three-dimensional near-field vector scanning method and device Download PDF

Info

Publication number
CN102768237A
CN102768237A CN2011101116552A CN201110111655A CN102768237A CN 102768237 A CN102768237 A CN 102768237A CN 2011101116552 A CN2011101116552 A CN 2011101116552A CN 201110111655 A CN201110111655 A CN 201110111655A CN 102768237 A CN102768237 A CN 102768237A
Authority
CN
China
Prior art keywords
thread
field vector
analyzing spot
data
dimensional near
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101116552A
Other languages
Chinese (zh)
Other versions
CN102768237B (en
Inventor
刘若鹏
栾琳
刘斌
何振明
季春霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kuang Chi Institute of Advanced Technology
Kuang Chi Innovative Technology Ltd
Original Assignee
Kuang Chi Institute of Advanced Technology
Kuang Chi Innovative Technology Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kuang Chi Institute of Advanced Technology, Kuang Chi Innovative Technology Ltd filed Critical Kuang Chi Institute of Advanced Technology
Priority to CN201110111655.2A priority Critical patent/CN102768237B/en
Publication of CN102768237A publication Critical patent/CN102768237A/en
Application granted granted Critical
Publication of CN102768237B publication Critical patent/CN102768237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a three-dimensional near-field vector scanning method which comprises main thread and first thread which are performed in parallel. The main thread comprises steps of: acquiring scanning information, driving a motor to a target position, and triggering the first thread which executes data collection. The invention also provides a parallel scanning device of the three-dimensional near-field vector so as to realize the above method. The device comprises: a main thread working module 100 used for acquiring the scanning information, driving the motor to the target position and triggering a first thread module to work; the first thread working module 101 used for executing data collection; and a second thread working module 102 used for executing data output. By reading points in a scanning spot queue, acquiring data and printing or outputting data in parallel, serial waiting time is minimized, and data acquisition and analysis efficiency of a near-field vector scanning system is substantially raised.

Description

A kind of scan method of three-dimensional near-field vector and device
[technical field]
The present invention relates to the electromagnetic field detection field, particularly a kind of scan method of three-dimensional near-field vector and device.
[background technology]
Magnetic field and electromagnetic wave be the widespread use of fields of society in modern times, for example is applied to medical instruments field, and the various illnesss with the magnetic field detecting human body that excites have obtained good effect.People have had further understanding for the distribution of understanding, field strength and the direction of three-dimensional near-field vector and the measurement of characteristic.Therefore, efficient, accurate, visual 3 d-space field vector scan system to the efficiency of measurement of various magnetic elements such as permanent magnet, electromagnet to quickening its application important that seems in different technologies and engineering field.
Measure a medium to electromagnetic response characteristic, need to detect the electromagnetic property of passing each point of its space of electromagnetic wave behind this medium, utilize certain treatment facility that the electromagnetic property value record of detected space each point is got off then and analyze.In the electromagnetic field detection process, it is particularly important that the collection of data and analysis efficiency seem.
Prior art can only scan the square region of appointment and data acquisition, and adopts the motor mode that stops data collection, and makes that the picking rate of data is very slow, when large-area scan sample, often will expend for a long time and could accomplish.The process of image data is serial code control; Whenever move to an analyzing spot and all need stop 50 milliseconds to 500 milliseconds; Be saved to a data file after obtaining the data in the collecting device, move to next point again, all accomplish data acquisition up to all analyzing spots.
As shown in Figure 2, prior art whenever moves to an analyzing spot needs static a period of time, waits for after data acquisition equipment is accomplished data acquisition and continues to move again; This just causes long problem sweep time because when scanning area very big, under the very little situation of sweep spacing; The quantity of analyzing spot is very surprising, and total so static stand-by period just can not have been accepted, for example; Static 50 milliseconds of each analyzing spot is when analyzing spot one panel region is 500mm*500mm, when sweep spacing is 1mm; Light waits for that data acquisition time all needs 54 hours, if when sweep spacing is set as 0.1mm, the needed time of scan task dare not be imagined simply.
Under the prior art background, to how improving prior art, improve the sweep velocity of sample, the data acquisition and the analysis efficiency of three-dimensional near-field vector scanister there is crucial effects.
[summary of the invention]
The present invention is directed to existing scan method; Just continuation is moved after whenever moving to an analyzing spot to need static a period of time wait data acquisition completion, thereby causes under the efficient, and a kind of scan method of three-dimensional near-field vector is provided; Method is carried out by the main thread and first thread simultaneously
Main thread may further comprise the steps: obtain scanning information, drive motor triggers first thread of carrying out data aggregation to the target location.
In the scan method of three-dimensional near-field vector of the present invention, after triggering, carries out first thread second thread of data output.
In the scan method of three-dimensional near-field vector of the present invention, obtain scanning information, the step of drive motor to target location specifically comprises:
S01: scanning curve or the sweep limit of obtaining user's input;
S02: scanning curve or sweep limit are changed into the respective scanned dot information, and deposit the analyzing spot formation in;
S03: judge whether the analyzing spot formation is empty, if EOP (end of program) if not, skips to step S04;
S04: the analyzing spot that reads the head pointer indication in the analyzing spot formation;
S05: drive motor moves to the position of the analyzing spot of head pointer indication in the analyzing spot formation, skips to S03.
In the scan method of three-dimensional near-field vector of the present invention, the step of carrying out second thread of data aggregation comprises:
S11: judge whether motor moves to the position of the analyzing spot of head pointer indication, if skip to S12;
S12: starting outfit, collect data;
S13: deposit data in buffer queue, skip to S11.
In the scan method of three-dimensional near-field vector of the present invention, after triggering, carries out second thread the 3rd thread of data output.
In the scan method of three-dimensional near-field vector of the present invention, the step of the data of second thread execution output comprises:
S21: judge whether buffer queue has data, if, skip to S22, if not, skip to S21;
S22: print or output data.
In the scan method of three-dimensional near-field vector of the present invention, in step S02, analyzing spot information comprises analyzing spot coordinate information and the mark of whether accomplishing this spot scan.
In the scan method of three-dimensional near-field vector of the present invention, in step S02, use the method for cubic spline interpolation, scanning curve or sweep limit are changed into the respective scanned dot information.
In the scan method of three-dimensional near-field vector of the present invention, in step S05, motor is a servomotor, has feedback mechanism, constantly detects the position of servomotor in moving.
In the scanister of three-dimensional near-field vector of the present invention, device comprises:
Main thread operational module 100 is used to obtain scanning information, and drive motor triggers the first thread module work to the target location;
The first thread work module 101 is used to carry out data aggregation;
The second thread work module 102 is used to carry out data output
Main thread operational module 100, the first thread work module 101,102 concurrent workings of the second thread work module.
The present invention is directed to the deficiency of prior art, a kind of scan method of three-dimensional near-field vector is provided, utilize the feedback mechanism of motor, constantly detect the motor position in moving.Point, image data and printing or the parallel of output data through reading in the analyzing spot formation are carried out, and have reduced the serial stand-by period.
[description of drawings]
Fig. 1 is the process flow diagram of the present invention to the scan method main thread of three-dimensional near-field vector;
Fig. 2 is the process flow diagram of the existing scan method of three-dimensional near-field vector;
Fig. 3 is the process flow diagram of the present invention to scan method first thread of three-dimensional near-field vector;
Fig. 4 is the process flow diagram of the present invention to scan method second thread of three-dimensional near-field vector;
Fig. 5 is the data structure synoptic diagram of analyzing spot information;
Fig. 6 is the structural representation of the scanister of three-dimensional near-field vector of the present invention;
Fig. 7 is main thread operational module 100 synoptic diagram;
Fig. 8 is the structural representation of the first thread work module 101;
Fig. 9 is the structural representation of the second thread work module 102.
[embodiment]
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
The scan method of three-dimensional near-field vector shown in Figure 1, method is undertaken by the main thread and first thread parallel,
Main thread may further comprise the steps:
S01: scanning curve or the sweep limit of obtaining user's input;
Obtaining the information to be scanned of user's input, can be a curve, also can be a scope, but also be not limited only to above-mentioned expression way.
S02: scanning curve or sweep limit are changed into the respective scanned dot information, and deposit the analyzing spot formation in;
Innovative point of the present invention is that in the S01 step, the scanning curve of user's input or sweep limit are used the method for cubic spline interpolation, change into corresponding analyzing spot information, deposit the analyzing spot formation in.The data structure of each analyzing spot information is as shown in Figure 5, behind analyzing spot of every completion, will accomplish mark and be made as True by False, representes that the data acquisition of this analyzing spot information is accomplished.In scanning next time, only need begin from the position that is labeled as True, need not start anew.
In the analyzing spot formation, analyzing spot information of every increase, the head pointer of analyzing spot formation is constant, and tail pointer adds one.
S03: judge whether to accomplish the analyzing spot in the formation of traverse scanning point, if EOP (end of program) if not, skips to S04;
In the analyzing spot formation, judge in the analyzing spot formation whether also have the not analyzing spot of traversal, if head pointer overlaps then analyzing spot formation for empty with tail pointer, traversal is accomplished.
S04: the analyzing spot that reads the head pointer indication in the analyzing spot formation;
S05: drive motor moves to the position of the analyzing spot of head pointer indication in the analyzing spot formation, triggers first thread simultaneously, skips to S03;
The process flow diagram of scan method first thread of three-dimensional near-field vector as shown in Figure 3.
First thread may further comprise the steps:
S11: judge whether motor moves to the position of the analyzing spot of head pointer indication, if, skip to S12, if not, skip to S11;
Innovative point of the present invention is, the moving of motor in step S05 is separated with two processes of data acquisition among S11, the S12.Use the automatic feedback characteristic of servomotor, judge current location whether in the analyzing spot formation, the analyzing spot of head pointer indication; Utilize the feedback mechanism of servomotor constantly to detect the motor position in moving, promptly realized, under the situation that does not stop servomotor, obtain image data.
For example, suppose that the user imports a square scanning area, coordinate range x:0-10, y:0-10, sweep spacing is 1mm, then can calculate all analyzing spot positions and be (0,0), (0; 1), (0,2) ..., (0,10), (1,0); (1,1), (1,2) ..., (1,10) ....When task begins; It is at the uniform velocity mobile that motor is pressed the position of analyzing spot, because servomotor has automatic feedback function, when motor moves to a certain analyzing spot; Then to the collecting device request msg and deposit local data base in; The speed of considering storage maybe be very slow, and therefore, this part adopts asynchronous mode to accomplish.
S12: starting outfit, collect data;
When current location has moved to analyzing spot queue head pointer analyzing spot, log-on data collecting device, the electromagnetic field related data of collection current location.
S13: deposit data in buffer queue and skip to S11.
Innovative point of the present invention is, behind step S13, also comprises second thread, moves simultaneously with the main thread and first thread, and as shown in Figure 4, it may further comprise the steps:
S21: judge whether also have data point in the buffer queue, if, skip to S22, if not, skip to S21;
In the buffer queue, if when head pointer and tail pointer overlap, data output or print and accomplish in this formation;
S22: print or the output data point.
The invention still further relates to a kind of scanister of three-dimensional near-field vector, as shown in Figure 6, device comprises:
Main thread operational module 100 is used to obtain scanning information, and drive motor triggers the first thread work module 101 to the target location;
The first thread work module 101 is used for data aggregation;
The second thread work module 102 is used for data output.
Further, as shown in Figure 7, main thread operational module 100 comprises with lower unit:
Data input cell 1001 is used to obtain the scanning curve or the sweep limit of user's input;
In this unit, obtain the information to be scanned of user's input, can be a curve, also can be a scope, but also be not limited only to above-mentioned expression way.
Date Conversion Unit 1002 is used for scanning curve or sweep limit are changed into the respective scanned dot information, and deposits the analyzing spot formation in;
In this unit, use the method for cubic spline interpolation to convert scanning curve or the sweep limit that the user imports to corresponding analyzing spot information, deposit the analyzing spot formation in.The data structure of each analyzing spot information is as shown in Figure 5, behind analyzing spot of every completion, will accomplish mark and be made as True by False, representes that the data acquisition of this analyzing spot information is accomplished.In scanning next time, only need begin from the position that is labeled as True, need not start anew.
Data determining unit 1003 is used to judge whether the analyzing spot formation is empty, if EOP (end of program) if not, gets into data extracting unit 1004;
Data extracting unit 1004 is used for reading the analyzing spot of the head pointer indication of analyzing spot formation;
Drive motor units 1005 is used for the position that drive motor moves to the analyzing spot of analyzing spot formation head pointer indication, gets into data determining unit 1003.
The first thread work module 101, as shown in Figure 8, comprise with lower unit:
Motor position judging unit 1011 is used to judge whether motor moves to the position of the analyzing spot of head pointer indication, if get into and collect data cell 1012;
Collect data cell 1012, be used for starting outfit, collect data;
Data deposit buffer queue unit 1013 in, are used for depositing data in buffer queue, get into motor position judging unit 1011.
Innovative point of the present invention is, declares in the segment unit at drive motor units 1005 and motor position, utilizes the feedback mechanism of servomotor constantly to detect the motor position in moving, and under the situation that does not stop servomotor, obtains the data of collection.
The second thread work module 102, as shown in Figure 9, comprise with lower unit:
Buffer queue judging unit 1021 is used to judge whether buffer queue has data, if, get into and print or output unit 1022, if not, be back to buffer queue judging unit 1021 and continue to judge;
Print or output unit 1022, be used for printing or output data.
Use method of the present invention, can be set as in sweep spacing under the situation of 0.1mm, compare former method when the sector scanning of 500mm*500mm, saved 54 hours so that whenever moving a point all no longer needs 50 milliseconds rest time.
The present invention is directed to the deficiency of prior art, three-dimensional near-field vector scan method inefficiency provides a kind of scan method of three-dimensional near-field vector; Formulated a kind of standard data structure of analyzing spot information; Utilize the feedback mechanism of servomotor, constantly detect the motor position in moving, through reading point, image data and the printing in the analyzing spot formation or output data is parallel carries out; Reduce the serial stand-by period, improved the data acquisition of near-field vector scanning system and the efficient of analysis greatly.
In the above-described embodiments, only the present invention has been carried out exemplary description, but those skilled in the art can carry out various modifications to the present invention after reading present patent application under the situation that does not break away from the spirit and scope of the present invention.

Claims (10)

1. the scan method of a three-dimensional near-field vector is characterized in that, said method is undertaken by the main thread and first thread parallel,
Main thread comprises step: obtain scanning information, drive motor triggers first thread of carrying out data aggregation to the target location.
2. the scan method of three-dimensional near-field vector according to claim 1 is characterized in that, also is included in said first thread and triggers second thread of carrying out data aggregation afterwards.
3. the scan method of three-dimensional near-field vector according to claim 1 is characterized in that, the said scanning information that obtains, and the step of drive motor to target location specifically comprises:
S01: scanning curve or the sweep limit of obtaining user's input;
S02: scanning curve or sweep limit are changed into the respective scanned dot information, and deposit the analyzing spot formation in;
S03: judge whether the analyzing spot formation is empty, if EOP (end of program) if not, skips to step S04;
S04: the analyzing spot that reads the head pointer indication in the analyzing spot formation;
S05: drive motor moves to the position of the analyzing spot of head pointer indication described in the analyzing spot formation, skips to S03.
4. the scan method of three-dimensional near-field vector according to claim 1 is characterized in that, the step of second thread of said execution data aggregation comprises:
S11: judge whether said motor moves to the position of the analyzing spot of said head pointer indication, if skip to S12;
S12: starting outfit, collect data;
S13: deposit said data in buffer queue, skip to S11.
5. the scan method of three-dimensional near-field vector according to claim 2 is carried out the 3rd thread that data are exported after said second thread triggers.
6. the scan method of three-dimensional near-field vector according to claim 5 is characterized in that, the step of the data output of said second thread execution comprises:
S21: judge whether said buffer queue has data, if, skip to S22, if not, skip to S21;
S22: print or export said data.
7. the scan method of three-dimensional near-field vector according to claim 3 is characterized in that, in step S02, said analyzing spot information comprises analyzing spot coordinate information and the mark of whether accomplishing this spot scan.
8. the scan method of three-dimensional near-field vector according to claim 3 is characterized in that, in step S02, uses the method for cubic spline interpolation, and scanning curve or sweep limit are changed into the respective scanned dot information.
9. the scan method of three-dimensional near-field vector according to claim 3 is characterized in that, in step S05, said motor is a servomotor, has feedback mechanism, constantly detects the position of servomotor in moving.
10. the scanister of a three-dimensional near-field vector is used to realize the said method of claim 1, it is characterized in that said device comprises:
Main thread operational module 100 is used to obtain scanning information, and drive motor triggers the first thread module work to the target location;
The first thread work module 101 is used to carry out data aggregation;
The second thread work module 102 is used to carry out data output
Main thread operational module 100, the first thread work module 101,102 concurrent workings of the second thread work module.
CN201110111655.2A 2011-04-30 2011-04-30 A kind of scan method of three-dimensional near-field vector and device Active CN102768237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110111655.2A CN102768237B (en) 2011-04-30 2011-04-30 A kind of scan method of three-dimensional near-field vector and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110111655.2A CN102768237B (en) 2011-04-30 2011-04-30 A kind of scan method of three-dimensional near-field vector and device

Publications (2)

Publication Number Publication Date
CN102768237A true CN102768237A (en) 2012-11-07
CN102768237B CN102768237B (en) 2016-04-06

Family

ID=47095710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110111655.2A Active CN102768237B (en) 2011-04-30 2011-04-30 A kind of scan method of three-dimensional near-field vector and device

Country Status (1)

Country Link
CN (1) CN102768237B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395912A (en) * 2017-07-12 2017-11-24 深圳怡化电脑股份有限公司 Synchronous method, device, ATM and the storage medium of image scanning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372644A (en) * 2000-04-28 2002-10-02 株式会社爱德万测试 Field distribution measuring mehtod and device
US20070176599A1 (en) * 2006-01-31 2007-08-02 Hiroki Funato Magnetic field measurement method and magnetic field measurement system
CN101026670A (en) * 2006-02-17 2007-08-29 明基电通股份有限公司 Prescan device and method
CN101815155A (en) * 2009-02-25 2010-08-25 山东新北洋信息技术股份有限公司 Scanning method and scanning control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372644A (en) * 2000-04-28 2002-10-02 株式会社爱德万测试 Field distribution measuring mehtod and device
US20070176599A1 (en) * 2006-01-31 2007-08-02 Hiroki Funato Magnetic field measurement method and magnetic field measurement system
CN101026670A (en) * 2006-02-17 2007-08-29 明基电通股份有限公司 Prescan device and method
CN101815155A (en) * 2009-02-25 2010-08-25 山东新北洋信息技术股份有限公司 Scanning method and scanning control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395912A (en) * 2017-07-12 2017-11-24 深圳怡化电脑股份有限公司 Synchronous method, device, ATM and the storage medium of image scanning

Also Published As

Publication number Publication date
CN102768237B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN102141867B (en) Electromagnetic induction device and touch positioning method thereof
CN105157810B (en) A kind of full-automatic sound velocimeter and its measurement method
CN102735861B (en) A kind of sample rack method for supervising and device, a kind of body fluid work station
CN102788888B (en) Probe inserting device of scanning probe microscope and method thereof
CN103438824B (en) A kind of large-scale wallboard class Components Digital quality determining method
CN102692188A (en) Dynamic crack length measurement method for machine vision fatigue crack propagation test
CN107490463B (en) A kind of online Modal detection positioning device
CN100538720C (en) Bar code scanner and method
CN102680800A (en) Three-dimensional scanning system for magnetic fields
CN102262494B (en) Electromagnetic writing device and multi-way scanning method of antenna thereof
CN110955981B (en) On-site modeling method for loading
CN104284078A (en) Handheld electronic apparatus and image capturing apparatus and focusing method thereof
CN203941240U (en) A kind of 3 D electromagnetic radiation scanning device based on near-field array probe
CN103018059B (en) Equipment and method for detecting pressure and pressure sensitivity property of electromagnetic pen
CN102768237A (en) Three-dimensional near-field vector scanning method and device
CN103940391A (en) Carriage locating method and system based on automatic material collecting and transferring, and automatic material sampling system
CN104284080A (en) Image capturing device and method of acquiring information of depth of field
CN103630925B (en) The yardstick scaling method of electronic beam section power density distribution signal
CN204231520U (en) A kind of core image acquisition instrument of energy auto-focusing
CN102937657B (en) Real-time correction method and system for high-speed atomic force microscopic imaging
CN201331525Y (en) Up-conversion phosphorescence biological detector
JP2010225001A (en) Electromagnetically coupled digitizer for detecting a plurality of indicators
CN106447899A (en) Multinational currency whole-breadth magnetic image acquisition platform and multinational currency whole-breadth magnetic image acquisition method
CN201166625Y (en) Apparatus for scanning and measuring solid material deflection
CN202661819U (en) Atomic force microscope control system based on digital signal processor (DSP) and field programmable gate array (FPGA)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant