CN104422420A - Method and apparatus for detecting reading and writing distances of radio frequency reader-writer - Google Patents

Method and apparatus for detecting reading and writing distances of radio frequency reader-writer Download PDF

Info

Publication number
CN104422420A
CN104422420A CN201310373808.XA CN201310373808A CN104422420A CN 104422420 A CN104422420 A CN 104422420A CN 201310373808 A CN201310373808 A CN 201310373808A CN 104422420 A CN104422420 A CN 104422420A
Authority
CN
China
Prior art keywords
card
distance
numerical value
antenna
reader
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
CN201310373808.XA
Other languages
Chinese (zh)
Other versions
CN104422420B (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201310373808.XA priority Critical patent/CN104422420B/en
Publication of CN104422420A publication Critical patent/CN104422420A/en
Application granted granted Critical
Publication of CN104422420B publication Critical patent/CN104422420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/16Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring distance of clearance between spaced objects

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The embodiment of the invention provides a method and apparatus for detecting reading and writing distances of a radio frequency reader-writer. The method mainly comprises the following steps that: a distance between a card and an antenna of a reader is set as an initial distance through a card driving system, and the reader-writer performs card information reading on the card through the antenna; after successfully performing the card information reading on the card, the reader-writer transmits card driving signals to the card driving system, and a current distance between the card and the antenna of the reader is recorded through an upper computer; and after receiving the card driving signals, the card driving system adds a set distance numerical value to the distance between the card and the antenna of the reader, and the reader-writer performs card information reading on the card through the antenna, wherein the distance of the card is adjusted. With the method and apparatus for detecting reading and writing distances of the radio frequency reader-writer provided by the embodiment of the invention adopted, rapid, accurate and real-time detection of the reading and writing distances of the radio frequency reader-writer can be realized, and it can be ensured that the distances between the card and the reader-writer can be continuously adjusted in a certain distance range, and dead zones which may possibly appear in a reading and writing process of the reader-writer can be accurately grasped.

Description

Detect the method and apparatus of the reading/writing distance of frequency read/write
Technical field
The present invention relates to frequency read/write technical field, particularly relate to a kind of method and apparatus detecting the reading/writing distance of frequency read/write.
Background technology
Along with the development of information-based industry, the use of 13.56MHz read write line is more and more general, and the read write line being applicable to different occasion also arises at the historic moment.In the performance history of 13.56MHz read write line, the reading/writing distance of read write line is an important indicator in product development process, to the detection of the reading/writing distance of read write line, debugging and optimization, and an important job beyond doubt.At research and development and the later stage test phase of product, all need a kind of equipment that quick and precisely can detect read write line reading/writing distance, to improve development efficiency, and can give comparatively objectively judging to the readwrite performance of product.
At present, a kind of method detecting the reading/writing distance of read write line of the prior art is: by the matching parameter of technician's manual setting antenna, staff estimates the reading/writing distance of read write line.
Above-mentioned a kind of shortcoming detecting the method for the reading/writing distance of read write line of the prior art is: continuous setup and the Real-time Feedback that can not realize the reading/writing distance of read write line, such detection method, not only take time and effort, and testing result is inaccurate, more can not meet the continuous setup of measuring distance, judge the reading range of read write line and the demand in Card Reader dead band exactly.
Summary of the invention
The embodiment provides a kind of method and apparatus detecting the reading/writing distance of frequency read/write, the reading/writing distance of read write line can be detected fast, accurately and real-time.
The invention provides following scheme:
Detect a method for the reading/writing distance of frequency read/write, comprising:
By card drive system, the distance between card and the antenna of reader is set to initial distance, described read write line carries out card image reading by described antenna to described card;
Described read write line carries out card image to described card and reads successfully, sends card drive singal, by the current distance described in host computer record between card and the antenna of reader to described card drive system;
After described card drive system receives described card drive singal, the distance between described card and the antenna of reader is increased setpoint distance numerical value, and described read write line carries out card image reading by described antenna to the described card that have adjusted distance.
Described card drive system comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.
Describedly by card drive system, the distance between card and the antenna of reader is set to initial distance, comprises:
In host computer, set and store the access times of described initial distance, setpoint distance numerical value and described setpoint distance numerical value, the distance of described initial distance when to be described read write line carry out that first time, card image read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased;
Described host computer sends the control signal of carrying described initial distance to described read write line, described control signal is sent to described motor control module by described read write line, described motor control module is according to the structure of described initial distance and described stepper motor, single-chip microcomputer is utilized to calculate step angle corresponding to the described initial distance of described stepper motor, the drive singal carrying step angle corresponding to described initial distance is sent to driver module, after described driver module receives described drive singal, start described stepper motor, and control described stepper motor and run distance corresponding to step angle corresponding to described initial distance, described stepper motor drives described ball-screw and described card tray motion, and then the distance between described card and the antenna of reader is set to described initial distance,
The access times of described setpoint distance numerical value are set to 1 by described host computer, and are stored in the storer of host computer inside by the access times of described setpoint distance numerical value.
Described read write line carries out card image to described card and reads successfully, sends card drive singal, by the current distance described in host computer record between card and the antenna of reader, comprising to described card drive system:
Described read write line carries out card image to described card and reads successfully, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
After described card drive system receives described card drive singal, the distance between described card and the antenna of reader is increased setpoint distance numerical value, comprising:
After described motor control module receives the card drive singal carrying described setpoint distance numerical value, according to the structure of described setpoint distance numerical value and described stepper motor, single-chip microcomputer is utilized to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, the drive singal carrying step angle corresponding to described setpoint distance numerical value is sent to driver module, after described driver module receives described drive singal, start described stepper motor, and control described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value, described stepper motor drives described ball-screw and described card tray motion, and then the distance between described card and the antenna of reader is increased described setpoint distance numerical value,
The access times of described setpoint distance numerical value are increased by 1 time by described host computer, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
Described read write line also comprises after carrying out card image reading by described antenna to the described card that have adjusted distance:
Described read write line carries out card image to the described card that have adjusted distance and reads successfully, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing;
After described motor control module receives the card drive singal carrying described setpoint distance numerical value, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, distance between described card and the antenna of reader is increased described setpoint distance numerical value, and the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time by described host computer;
Described read write line carries out card image to the described card that have adjusted distance and reads unsuccessfully, send card image to described host computer and read failure information, the current distance between the described card of record and the antenna of reader and described card image are read failure information and associate by described host computer.
Detect a device for the reading/writing distance of frequency read/write, comprising: host computer, read write line and card drive system,
Described card drive system, for the distance between card and the antenna of reader is set to initial distance, after receiving the card drive singal that described read write line sends over, the distance between described card and the antenna of reader is increased setpoint distance numerical value;
Described read write line, for carrying out card image reading by described antenna to described card, carry out card image to described card to read successfully, send card drive singal to described card drive system, by described antenna, card image reading is carried out to the described card that have adjusted distance;
Described host computer, reading successfully for carrying out card image at described read write line to described card, recording the current distance between described card and the antenna of reader;
Described card drive system comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.
Described host computer, specifically for setting and the access times storing described initial distance, setpoint distance numerical value and described setpoint distance numerical value, the distance of described initial distance when to be described read write line carry out that first time, card image read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased; The control signal of carrying described initial distance is sent to described read write line;
Described read write line, specifically for sending to the motor control module in described card drive system by described control signal;
Described motor control module, specifically for the structure according to described initial distance and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described initial distance of described stepper motor, send the drive singal carrying step angle corresponding to described initial distance to driver module
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described initial distance;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then is set to described initial distance by the distance between described card and the antenna of reader;
The access times of described setpoint distance numerical value specifically for the access times of described setpoint distance numerical value are set to 1, and are stored by described host computer in the storer of host computer inside.
Described read write line, reads successfully specifically for carrying out card image to described card, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, according to the structure of described setpoint distance numerical value and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, send the drive singal carrying step angle corresponding to described setpoint distance numerical value to driver module;
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then increases described setpoint distance numerical value by the distance between described card and the antenna of reader;
Described host computer, specifically for the access times of described setpoint distance numerical value are increased by 1 time, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
Described read write line, read successfully specifically for carrying out card image to the described card that have adjusted distance, send card image to described host computer and read successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system; Carry out card image to the described card that have adjusted distance to read unsuccessfully, send card image to described host computer and read failure information;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing; After receiving described card image reading failure information, the current distance between the described card of record and the antenna of reader and described card image are read failure information and associates; After the distance between described card and described read write line is increased described setpoint distance numerical value by described card drive system, the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time;
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, the distance between described card and the antenna of reader is increased described setpoint distance numerical value.
The technical scheme provided as can be seen from the embodiment of the invention described above, the embodiment of the present invention carrys out the distance between continuous setup card and read write line by the step angle of the stepper motor in continuous setup card drive system, constantly achieve and the reading/writing distance of read write line is detected fast, accurately and real-time, and the distance between continuous setup card and read write line within the scope of certain distance can be guaranteed, the dead band that may occur in the read-write process of accurate grasp read write line, also by host computer, measurement result is shown in real time, more directly perceived and convenient.Compared with existing manual measurement technology, accuracy is high, good reliability, substantially increases the measurement efficiency of the reading/writing distance of frequency read/write.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 for the embodiment of the present invention one provide a kind of detect the method for the reading/writing distance of frequency read/write realize principle schematic;
A kind of processing flow chart detecting the method for the reading/writing distance of frequency read/write that Fig. 2 provides for the embodiment of the present invention one;
A kind of structural representation detecting the device 300 of the reading/writing distance of frequency read/write that Fig. 3 provides for the embodiment of the present invention two, in figure, host computer 310, read write line 320 and card drive system 330.
Embodiment
For ease of the understanding to the embodiment of the present invention, be further explained explanation below in conjunction with accompanying drawing for several specific embodiment, and each embodiment does not form the restriction to the embodiment of the present invention.
Embodiment one
This embodiment provide a kind of detect the method for the reading/writing distance of frequency read/write realize principle schematic as shown in Figure 1, the treatment scheme of the method as shown in Figure 2, comprises following treatment step:
Step S210, by card drive system, the distance between card and the antenna of reader is set to initial distance.
As described in Figure 1, card drive system in the embodiment of the present invention comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.
First, the access times of setting and storing initial distance, setpoint distance numerical value and described setpoint distance numerical value in host computer, the distance of described initial distance when to be described read write line carry out that first time, information read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased.Can realize increasing progressively continuously the distance between card and the antenna of reader by above-mentioned setpoint distance numerical value.
In actual applications, above-mentioned initial distance can be 0, and above-mentioned setpoint distance numerical value can be 1mm distance.When above-mentioned initial distance is not 0, described host computer sends the control signal of carrying described initial distance to described read write line, described control signal is sent to described motor control module by described read write line.Described motor control module take single-chip microcomputer as core, in conjunction with the structure of selected stepper motor, utilize setting program to carry out segmentation according to above-mentioned initial distance to calculate, calculate the step angle that the described initial distance of described stepper motor is corresponding, send the drive singal carrying step angle corresponding to described initial distance to driver module.The micro-stepping control of stepper motor can be realized by motor control module, carry out the distance between continuous setup card and read write line by the step angle of continuous setup stepper motor.
Described driver module is by the break-make of the phase winding electric current of control interface control step motor, and control interface adopts optocoupler to realize isolation features.After described driver module receives described drive singal, start described stepper motor.Its phase sequence only needing change winding to be energized that controls to commutate of described stepper motor, described driver module controls described stepper motor and runs distance corresponding to step angle corresponding to described initial distance, and then drive described ball-screw and described card tray motion, the distance between described card and the antenna of reader is set to described initial distance.Stepper motor drags ball-screw, changes angular displacement into straight-line displacement, thus make can back and forth movement in the rectilinear path of card pallet above antenna within the scope of 10cm.
The access times of described setpoint distance numerical value are set to 1 by described host computer, and are stored in the storer of host computer inside by the access times of described setpoint distance numerical value.Above-mentioned setpoint distance numerical value is also sent to read write line by host computer.
Step S220, described read write line carry out card image reading to described card, read successfully in card image, send card image to described host computer and read successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system.
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out record, and by display screen, above-mentioned current record is shown.
After step S230, described card drive system receive described card drive singal, the distance between described card and the antenna of reader is increased setpoint distance numerical value.
After motor control module in described card drive system receives the card drive singal carrying described setpoint distance numerical value, according to the structure of described setpoint distance numerical value and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, send the drive singal carrying step angle corresponding to described setpoint distance numerical value to driver module.After described driver module receives described drive singal, start described stepper motor, control described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value, and then drive described ball-screw and described card tray motion, the distance between described card and the antenna of reader is increased described setpoint distance numerical value.Said process achieves and the distance between card and the antenna of reader is increased progressively above-mentioned setpoint distance numerical value at every turn.
The access times of described setpoint distance numerical value are increased by 1 time by described host computer, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
Step S240, described read write line carry out card image reading by described antenna to the described card that have adjusted distance, read successfully in card image, perform step S250; Read unsuccessfully in card image, perform step S260.
Step S250, described read write line carry out card image to the described card that have adjusted distance and read successfully, send card image to described host computer and read successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system.
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
After described motor control module receives the card drive singal carrying described setpoint distance numerical value, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, distance between described card and the antenna of reader is increased described setpoint distance numerical value, and the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time by described host computer.
Re-execute above-mentioned steps S240.
After step S260, distance between above-mentioned card and read write line constantly increase, time read write line occurs beyond Card Reader dead band or card run to reading/writing distance scope, so, read write line carries out card image to card and reads Card Reader failure unsuccessfully, hummer is ring not, now do not produce control signal and send to motor control module, motor shuts down, and card pallet keeps last measuring height.Read write line sends card image to host computer and reads failure information, and the current distance between the described card of record and the antenna of reader and described card image are read failure information and associate by host computer.
Above-mentioned read write line can be 13.56MHz read write line etc.
Embodiment two
A kind of structural representation detecting the device of the reading/writing distance of frequency read/write that this embodiment provides as shown in Figure 3, comprising: host computer, read write line and card drive system,
Described card drive system, for the distance between card and the antenna of reader is set to initial distance, after receiving the card drive singal that described read write line sends over, the distance between described card and the antenna of reader is increased setpoint distance numerical value;
Described read write line, for carrying out card image reading by described antenna to described card, carry out card image to described card to read successfully, send card drive singal to described card drive system, by described antenna, card image reading is carried out to the described card that have adjusted distance;
Described host computer, reading successfully for carrying out card image at described read write line to described card, recording the current distance between described card and the antenna of reader.
Above-mentioned card drive system comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.Described DC power supply comprises to be provided the 24V power supply of stepper motor winding voltage and provides the power supply of the 5V needed for driver module, motor control module.Described ball-screw is little lead screw, is made up of screw rod, nut; Screw rod is fixed, and card pallet can do rectilinear motion along screw rod along with nut within the scope of 10cm.Described card pallet is non-magnet_conductible material (as plastics), and its material can not affect the electromagnetic field change of radio-frequency antenna.
Described host computer, specifically for setting and the access times storing described initial distance, setpoint distance numerical value and described setpoint distance numerical value, the distance of described initial distance when to be described read write line carry out that first time, information read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased; The control signal of carrying described initial distance is sent to described read write line;
Described read write line, specifically for sending to the motor control module in described card drive system by described control signal;
Described motor control module, specifically for the structure according to described initial distance and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described initial distance of described stepper motor, send the drive singal carrying step angle corresponding to described initial distance to driver module
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described initial distance;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then is set to described initial distance by the distance between described card and the antenna of reader;
The access times of described setpoint distance numerical value specifically for the access times of described setpoint distance numerical value are set to 1, and are stored by described host computer in the storer of host computer inside.
Described read write line, reads successfully specifically for carrying out card image to described card, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, according to the structure of described setpoint distance numerical value and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, send the drive singal carrying step angle corresponding to described setpoint distance numerical value to driver module;
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then increases described setpoint distance numerical value by the distance between described card and the antenna of reader;
Described host computer, specifically for the access times of described setpoint distance numerical value are increased by 1 time, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
Described read write line, read successfully specifically for carrying out card image to the described card that have adjusted distance, send card image to described host computer and read successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system; Carry out card image to the described card that have adjusted distance to read unsuccessfully, send card image to described host computer and read failure information;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing; After receiving described card image reading failure information, the current distance between the described card of record and the antenna of reader and described card image are read failure information and associates; After the distance between described card and described read write line is increased described setpoint distance numerical value by described card drive system, the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time;
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, the distance between described card and the antenna of reader is increased described setpoint distance numerical value.
Detailed process and the preceding method embodiment of carrying out the reading/writing distance detecting frequency read/write with the device of the embodiment of the present invention are similar, repeat no more herein.
In sum, the embodiment of the present invention carrys out the distance between continuous setup card and read write line by the step angle of the stepper motor in continuous setup card drive system, constantly achieve and the reading/writing distance of read write line is detected fast, accurately and real-time, and the distance between continuous setup card and read write line within the scope of certain distance can be guaranteed, the dead band that may occur in the read-write process of accurate grasp read write line, also by host computer, measurement result is shown in real time, more directly perceived and convenient.Compared with existing manual measurement technology, accuracy is high, good reliability, substantially increases the measurement efficiency of the reading/writing distance of frequency read/write.
The structure of the device of the embodiment of the present invention is simple, and with low cost, control program succinctly easily realizes, and is the innovative application of motor drag technology in field of radio frequency communication.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Apparatus and system embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (12)

1. detect a method for the reading/writing distance of frequency read/write, it is characterized in that, comprising:
By card drive system, the distance between card and the antenna of reader is set to initial distance, described read write line carries out card image reading by described antenna to described card;
Described read write line carries out card image to described card and reads successfully, sends card drive singal, by the current distance described in host computer record between card and the antenna of reader to described card drive system;
After described card drive system receives described card drive singal, the distance between described card and the antenna of reader is increased setpoint distance numerical value, and described read write line carries out card image reading by described antenna to the described card that have adjusted distance.
2. the method for the reading/writing distance of detection frequency read/write according to claim 1, it is characterized in that, described card drive system comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.
3. the method for the reading/writing distance of detection frequency read/write according to claim 1, is characterized in that, describedly by card drive system, the distance between card and the antenna of reader is set to initial distance, comprising:
In host computer, set and store the access times of described initial distance, setpoint distance numerical value and described setpoint distance numerical value, the distance of described initial distance when to be described read write line carry out that first time, card image read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased;
Described host computer sends the control signal of carrying described initial distance to described read write line, described control signal is sent to described motor control module by described read write line, described motor control module is according to the structure of described initial distance and described stepper motor, single-chip microcomputer is utilized to calculate step angle corresponding to the described initial distance of described stepper motor, the drive singal carrying step angle corresponding to described initial distance is sent to driver module, after described driver module receives described drive singal, start described stepper motor, and control described stepper motor and run distance corresponding to step angle corresponding to described initial distance, described stepper motor drives described ball-screw and described card tray motion, and then the distance between described card and the antenna of reader is set to described initial distance,
The access times of described setpoint distance numerical value are set to 1 by described host computer, and are stored in the storer of host computer inside by the access times of described setpoint distance numerical value.
4. the method for the reading/writing distance of detection frequency read/write according to claim 3, it is characterized in that, described read write line carries out card image to described card and reads successfully, card drive singal is sent to described card drive system, by the current distance described in host computer record between card and the antenna of reader, comprising:
Described read write line carries out card image to described card and reads successfully, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
5. the method for the reading/writing distance of detection frequency read/write according to claim 3, it is characterized in that, after described card drive system receives described card drive singal, the distance between described card and the antenna of reader is increased setpoint distance numerical value, comprising:
After described motor control module receives the card drive singal carrying described setpoint distance numerical value, according to the structure of described setpoint distance numerical value and described stepper motor, single-chip microcomputer is utilized to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, the drive singal carrying step angle corresponding to described setpoint distance numerical value is sent to driver module, after described driver module receives described drive singal, start described stepper motor, and control described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value, described stepper motor drives described ball-screw and described card tray motion, and then the distance between described card and the antenna of reader is increased described setpoint distance numerical value,
The access times of described setpoint distance numerical value are increased by 1 time by described host computer, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
6. the method for the reading/writing distance of detection frequency read/write according to claim 5, is characterized in that, described read write line also comprises after carrying out card image reading by described antenna to the described card that have adjusted distance:
Described read write line carries out card image to the described card that have adjusted distance and reads successfully, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
After described host computer receives described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing;
After described motor control module receives the card drive singal carrying described setpoint distance numerical value, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, distance between described card and the antenna of reader is increased described setpoint distance numerical value, and the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time by described host computer;
Described read write line carries out card image to the described card that have adjusted distance and reads unsuccessfully, send card image to described host computer and read failure information, the current distance between the described card of record and the antenna of reader and described card image are read failure information and associate by described host computer.
7. detect a device for the reading/writing distance of frequency read/write, it is characterized in that, comprising: host computer, read write line and card drive system,
Described card drive system, for the distance between card and the antenna of reader is set to initial distance, after receiving the card drive singal that described read write line sends over, the distance between described card and the antenna of reader is increased setpoint distance numerical value;
Described read write line, for carrying out card image reading by described antenna to described card, carry out card image to described card to read successfully, send card drive singal to described card drive system, by described antenna, card image reading is carried out to the described card that have adjusted distance;
Described host computer, reading successfully for carrying out card image at described read write line to described card, recording the current distance between described card and the antenna of reader.
8. the device of the reading/writing distance of detection frequency read/write according to claim 7, it is characterized in that, described card drive system comprises: stepper motor, driver module, motor control module, DC power supply, ball-screw and card pallet, described motor control module is connected with described read write line, driver module by cable, described stepper motor is connected with driver module, ball-screw by cable, described ball-screw is connected with described card pallet, and described card is held by described pallet.
9. the device of the reading/writing distance of detection frequency read/write according to claim 8, is characterized in that:
Described host computer, specifically for setting and the access times storing described initial distance, setpoint distance numerical value and described setpoint distance numerical value, the distance of described initial distance when to be described read write line carry out that first time, card image read to described card, between described card and the antenna of reader, described setpoint distance numerical value reads successfully for carrying out card image at described read write line to described card at every turn, the fixing numerical value distance between described card and the antenna of reader increased; The control signal of carrying described initial distance is sent to described read write line;
Described read write line, specifically for sending to the motor control module in described card drive system by described control signal;
Described motor control module, specifically for the structure according to described initial distance and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described initial distance of described stepper motor, send the drive singal carrying step angle corresponding to described initial distance to driver module
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described initial distance;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then is set to described initial distance by the distance between described card and the antenna of reader;
The access times of described setpoint distance numerical value specifically for the access times of described setpoint distance numerical value are set to 1, and are stored by described host computer in the storer of host computer inside.
10. the device of the reading/writing distance of detection frequency read/write according to claim 9, is characterized in that:
Described read write line, reads successfully specifically for carrying out card image to described card, sends card image and reads successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system to described host computer;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing.
The device of the reading/writing distance of 11. detection frequency read/writes according to claim 9, is characterized in that:
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, according to the structure of described setpoint distance numerical value and described stepper motor, utilize single-chip microcomputer to calculate step angle corresponding to the described setpoint distance numerical value of described stepper motor, send the drive singal carrying step angle corresponding to described setpoint distance numerical value to driver module;
Described driver module, after receiving described drive singal, starts described stepper motor, and controls described stepper motor and run distance corresponding to step angle corresponding to described setpoint distance numerical value;
Described stepper motor, specifically for driving described ball-screw and described card tray motion, and then increases described setpoint distance numerical value by the distance between described card and the antenna of reader;
Described host computer, specifically for the access times of described setpoint distance numerical value are increased by 1 time, and the access times of described setpoint distance numerical value after amendment are stored in the storer of host computer inside, delete the access times of the original described setpoint distance numerical value stored in described storer.
The device of the reading/writing distance of 12. detection frequency read/writes according to claim 11, is characterized in that:
Described read write line, read successfully specifically for carrying out card image to the described card that have adjusted distance, send card image to described host computer and read successful information, and send the card drive singal carrying described setpoint distance numerical value to described card drive system; Carry out card image to the described card that have adjusted distance to read unsuccessfully, send card image to described host computer and read failure information;
Described host computer, after receiving described card image reading successful information, read the access times of the described setpoint distance numerical value stored in the storer of host computer inside, the access times of described setpoint distance numerical value are multiplied by described setpoint distance numerical value, obtain the current distance between described card and the antenna of reader, described current distance is carried out recording and showing; After receiving described card image reading failure information, the current distance between the described card of record and the antenna of reader and described card image are read failure information and associates; After the distance between described card and described read write line is increased described setpoint distance numerical value by described card drive system, the access times of the setpoint distance numerical value stored in internal storage are increased by 1 time;
Described motor control module, specifically for receive carry described setpoint distance numerical value card drive singal after, control driver module and start described stepper motor, and then drive described ball-screw and described card tray motion, the distance between described card and the antenna of reader is increased described setpoint distance numerical value.
CN201310373808.XA 2013-08-23 2013-08-23 Method and apparatus for detecting reading and writing distances of radio frequency reader-writer Active CN104422420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310373808.XA CN104422420B (en) 2013-08-23 2013-08-23 Method and apparatus for detecting reading and writing distances of radio frequency reader-writer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310373808.XA CN104422420B (en) 2013-08-23 2013-08-23 Method and apparatus for detecting reading and writing distances of radio frequency reader-writer

Publications (2)

Publication Number Publication Date
CN104422420A true CN104422420A (en) 2015-03-18
CN104422420B CN104422420B (en) 2017-05-10

Family

ID=52972092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310373808.XA Active CN104422420B (en) 2013-08-23 2013-08-23 Method and apparatus for detecting reading and writing distances of radio frequency reader-writer

Country Status (1)

Country Link
CN (1) CN104422420B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087774A1 (en) * 2022-10-27 2024-05-02 敏捷医疗科技(苏州)有限公司 System and method for reading and writing surgical instrument information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382989A (en) * 2008-10-06 2009-03-11 浪潮电子信息产业股份有限公司 RFID recognizing range rapid teat device
CN101750547A (en) * 2009-07-08 2010-06-23 中国科学院自动化研究所 Measuring system and measuring method for power contour of reader-writer antenna
CN101826146A (en) * 2009-03-06 2010-09-08 财团法人工业技术研究院 Detection method and system for wireless radio frequency identification tag
KR20110041190A (en) * 2009-10-15 2011-04-21 주식회사 에이스테크놀로지 Backward detection sensor using active antenna
CN202257632U (en) * 2011-09-15 2012-05-30 广东天波信息技术股份有限公司 Test card used for defining card reading range of radio frequency identification (RFID) card reader
US20130213112A1 (en) * 2012-02-21 2013-08-22 Symbol Technologies, Inc. Ultrasonic positioning system with reverberation and flight time compensation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382989A (en) * 2008-10-06 2009-03-11 浪潮电子信息产业股份有限公司 RFID recognizing range rapid teat device
CN101826146A (en) * 2009-03-06 2010-09-08 财团法人工业技术研究院 Detection method and system for wireless radio frequency identification tag
CN101750547A (en) * 2009-07-08 2010-06-23 中国科学院自动化研究所 Measuring system and measuring method for power contour of reader-writer antenna
KR20110041190A (en) * 2009-10-15 2011-04-21 주식회사 에이스테크놀로지 Backward detection sensor using active antenna
CN202257632U (en) * 2011-09-15 2012-05-30 广东天波信息技术股份有限公司 Test card used for defining card reading range of radio frequency identification (RFID) card reader
US20130213112A1 (en) * 2012-02-21 2013-08-22 Symbol Technologies, Inc. Ultrasonic positioning system with reverberation and flight time compensation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087774A1 (en) * 2022-10-27 2024-05-02 敏捷医疗科技(苏州)有限公司 System and method for reading and writing surgical instrument information

Also Published As

Publication number Publication date
CN104422420B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN205333824U (en) Detecting system of linear motor
CN100462882C (en) Emulation test method of aerospace optical remote sensing machine focusing control circuit
CN104707880B (en) A kind of truck drive shaft circle glitch detection and collimating system and method
CN105157810B (en) A kind of full-automatic sound velocimeter and its measurement method
CN114125591B (en) Terminal sensor for optical fiber sensing communication and sensing method
CN113159212A (en) OCR recognition model training method, device and computer readable storage medium
CN113325311A (en) Method and device for obtaining characteristic parameters of vibration motor and storage medium
CN105320584A (en) Terminal smoothness testing method and terminal thereof
CN114719862A (en) Navigation positioning auxiliary system and navigation positioning method for suspension type robot
CN106053952B (en) System and method for accurately measuring inductance curve of switched reluctance motor
CN103018059B (en) Equipment and method for detecting pressure and pressure sensitivity property of electromagnetic pen
CN104422420A (en) Method and apparatus for detecting reading and writing distances of radio frequency reader-writer
CN111930058A (en) Servo driver fault monitoring system and method
CN206161055U (en) Environmental parameter detection device
CN103107920B (en) Multifunction IC card automatic testing equipment and method
CN109596155A (en) The synchronous device for detecting multiple sensors
US11948408B2 (en) Apparatus and method for evaluating vehicle sensor performance
CN203881906U (en) Smart alternating current load testing device
CN115112325A (en) Hard disk vibration inspection equipment, system, method, device and storage medium
CN111047852B (en) Detection device and method for unmanned aerial vehicle operation instruction time delay
CN202562619U (en) Multi-point continuous on-line vibrating screen amplitude detector
CN116086313A (en) Rotor position calibration method and related device of direct-drive transmission system
CN109783745B (en) Method, device and computer equipment for personalized typesetting of pages
CN110987977B (en) Intelligent servo cylinder type purification and separation control system and method
CN112667077A (en) Motor model parameter detection method and device, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant