CN104422420B - 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
CN104422420B
CN104422420B CN201310373808.XA CN201310373808A CN104422420B CN 104422420 B CN104422420 B CN 104422420B CN 201310373808 A CN201310373808 A CN 201310373808A CN 104422420 B CN104422420 B CN 104422420B
Authority
CN
China
Prior art keywords
card
distance
numerical value
reader
antenna
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310373808.XA
Other languages
Chinese (zh)
Other versions
CN104422420A (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

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

The method and apparatus of the reading/writing distance of detection frequency read/write
Technical field
The present invention relates to frequency read/write technical field, more particularly to a kind of side of the reading/writing distance of detection frequency read/write Method and device.
Background technology
With the development of information-based industry, the use of 13.56MHz read write lines is increasingly popular, it is adaptable to different occasions Read write line also arise at the historic moment.In the development process of 13.56MHz read write lines, the reading/writing distance of read write line is product development An important indicator in journey, the detection, debugging and optimization to the reading/writing distance of read write line, undoubtedly an important job. Research and development and later stage test phase in product, are required to a kind of equipment that can quick and precisely detect read write line reading/writing distance, with Development efficiency is improved, and the readwrite performance of product can be given more objectively to judge.
At present, a kind of method of the reading/writing distance of detection read write line of the prior art is:Adjusted by hand by technical staff All day line match parameter, staff estimate read write line reading/writing distance.
A kind of above-mentioned shortcoming of method of the reading/writing distance of detection read write line of the prior art is:Read write line can not be realized Reading/writing distance continuous adjustment and Real-time Feedback, such detection method, not only take time and effort, and testing result is inaccurate Really, the continuous adjustment of measurement distance can not be met, the reading range of read write line and the demand in Card Reader dead band is judged exactly.
The content of the invention
The embodiment provides a kind of method and apparatus of the reading/writing distance of detection frequency read/write, can be fast Speed, the reading/writing distance for accurately and real-time detecting read write line.
The invention provides following scheme:
A kind of method of the reading/writing distance of detection frequency read/write, including:
The distance between antenna of card and reader is set to by initial distance, the read-write by card drive system Device carries out card image reading by card described in the antenna pair;
The card image that the read write line carries out to the card is read after success, and to the card drive system card is sent Drive signal, by host computer the current distance between the card and the antenna of reader is recorded;
The card drive system is received after the card drive signal, by between the card and the antenna of reader Distance increase setpoint distance numerical value, the read write line carries out card letter by the card that the antenna pair have adjusted distance Breath reads.
The card drive system includes:Stepper motor, drive module, motor control module, D/C power, ball-screw and Card pallet, the motor control module passes through line by cable and the read write line, drive module connection, the stepper motor Cable and drive module, ball-screw connection, the ball-screw and the card pallet connect, and the pallet is by the card holder Firmly.
It is described that the distance between antenna of card and reader is set to by initial distance by card drive system, bag Include:
The use of the initial distance, setpoint distance numerical value and the setpoint distance numerical value is set and stored in host computer Number of times, the initial distance carries out the card and reading when first time card image reads to the card for the read write line The distance between antenna of device, the setpoint distance numerical value is to carry out card image reading to the card in the read write line every time After taking successfully, the numerical value of the fixation that the distance between antenna of the card and reader is increased;
Described host computer sends the control signal for carrying the initial distance to the read write line, and the read write line is by institute State control signal and be sent to the motor control module, the motor control module is according to the initial distance and stepping electricity The structure of machine, using single-chip microcomputer the corresponding step angle of the initial distance of the stepper motor is calculated, and is sent to drive module The drive signal of the corresponding step angle of the initial distance is carried, the drive module is received after the drive signal, started The stepper motor, and control the corresponding distance of the corresponding step angle of the stepper motor operation initial distance, the step Stepper motor drives the ball-screw and the card tray motion, so by between the card and the antenna of reader away from From being set to the initial distance;
The access times of the setpoint distance numerical value are set to 1 by the host computer, and by the setpoint distance numerical value Access times are stored in the memory inside host computer.
Described read write line carries out card image to the card and reads after success, to the card drive system sending card Piece drive signal, by host computer the current distance between the card and the antenna of reader is recorded, including:
The card image that the read write line carries out to the card is read after success, is sent card image to the host computer and is read Successful information is taken, and the card drive signal for carrying the setpoint distance numerical value is sent to the card drive system;
The card image that the host computer receives is read after successful information, is read in the memory inside host computer and is deposited The access times of the setpoint distance numerical value are multiplied by the setpoint distance number by the access times of the setpoint distance numerical value of storage Value, obtains the current distance between the card and the antenna of reader, and the current distance is recorded and shown.
Described card drive system is received after the card drive signal, by the antenna of the card and reader it Between distance increase setpoint distance numerical value, including:
The motor control module is received after the card drive signal for carrying the setpoint distance numerical value, is set according to described The structure of set a distance numerical value and the stepper motor, using single-chip microcomputer the setpoint distance numerical value pair of the stepper motor is calculated The step angle answered, the drive signal for carrying the corresponding step angle of the setpoint distance numerical value, the driving are sent to drive module Module is received after the drive signal, is started the stepper motor, and is controlled the stepper motor and runs the setpoint distance The corresponding distance of the corresponding step angle of numerical value, the stepper motor drives the ball-screw and the card tray motion, enters And the distance between antenna by the card and reader increases the setpoint distance numerical value;
The host computer increases the access times of the setpoint distance numerical value 1 time, and the setpoint distance after changing The access times of numerical value are stored in the memory inside host computer, delete in the memory the described of original storage The access times of setpoint distance numerical value.
Described read write line is carried out after card image reading by the card that the antenna pair have adjusted distance, also Including:
The card image that the read write line carries out to the card that have adjusted distance is read after success, is sent out to the host computer Card feed information reads successful information, and the card driving for carrying the setpoint distance numerical value is sent to the card drive system Signal;
The card image that the host computer receives is read after successful information, is read in the memory inside host computer and is deposited The access times of the setpoint distance numerical value are multiplied by the setpoint distance number by the access times of the setpoint distance numerical value of storage Value, obtains the current distance between the card and the antenna of reader, and the current distance is recorded and shown;
The motor control module is received after the card drive signal for carrying the setpoint distance numerical value, and control drives mould Block starts the stepper motor, and then drives the ball-screw and the card tray motion, by the card and reader The distance between antenna increase the setpoint distance numerical value, the host computer is by the setpoint distance number stored in internal storage The access times of value increase by 1 time;
The card image that the read write line carries out to the card that have adjusted distance is read after failure, is sent out to the host computer Card feed information read failure information, the host computer by record the card and the antenna of reader between current distance Failure information is read with the card image to be associated.
A kind of device of the reading/writing distance of detection frequency read/write, including:Host computer, read write line and card drive system,
Described card drive system, for the distance between antenna of card and reader to be set to into initial distance, After receiving the card drive signal that the read write line is sended over, the distance between antenna of the card and reader is increased Plus setpoint distance numerical value;
Described read write line, for carrying out card image reading by card described in the antenna pair, enters to the card Row card image is read after success, and to the card drive system card drive signal is sent, and be have adjusted by the antenna pair The card of distance carries out card image reading;
Described host computer, for after the read write line carries out card image reading success to the card, recording institute State the current distance between card and the antenna of reader;
The card drive system includes:Stepper motor, drive module, motor control module, D/C power, ball-screw and Card pallet, the motor control module passes through line by cable and the read write line, drive module connection, the stepper motor Cable and drive module, ball-screw connection, the ball-screw and the card pallet connect, and the pallet is by the card holder Firmly.
Described host computer, specifically for set and store the initial distance, setpoint distance numerical value and the setting away from From the access times of numerical value, the initial distance carries out first time card image to the card and reads when institute for the read write line The distance between antenna of card and reader is stated, the setpoint distance numerical value is every time the card to be entered in the read write line Row card image is read after success, the numerical value of the fixation that the distance between antenna of the card and reader is increased;To institute State read write line and send the control signal for carrying the initial distance;
Described read write line, specifically for the motor control being sent to the control signal in the card drive system Module;
Described motor control module, specifically for the structure according to the initial distance and the stepper motor, utilizes Single-chip microcomputer calculates the corresponding step angle of the initial distance of the stepper motor, send to drive module carry it is described it is initial away from From the drive signal of corresponding step angle,
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control institute State stepper motor and run the corresponding distance of the corresponding step angle of the initial distance;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then will be described The distance between antenna of card and reader is set to the initial distance;
Described host computer, specifically for the access times of the setpoint distance numerical value are set to into 1, and by the setting The access times of distance values are stored in the memory inside host computer.
Described read write line, reads after success specifically for carrying out card image to the card, sends out to the host computer Card feed information reads successful information, and the card driving for carrying the setpoint distance numerical value is sent to the card drive system Signal;
Described host computer, reads after successful information specifically for receiving the card image, reads inside host computer Memory in store the setpoint distance numerical value access times, the access times of the setpoint distance numerical value are multiplied by into institute Setpoint distance numerical value is stated, the current distance between the card and the antenna of reader is obtained, the current distance is remembered Record and display.
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value Afterwards, according to the setpoint distance numerical value and the structure of the stepper motor, calculated described in the stepper motor using single-chip microcomputer The corresponding step angle of setpoint distance numerical value, the driving for carrying the corresponding step angle of the setpoint distance numerical value is sent to drive module Signal;
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control institute State stepper motor and run the corresponding distance of the corresponding step angle of the setpoint distance numerical value;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then will be described The distance between antenna of card and reader increases the setpoint distance numerical value;
Described host computer, increases by 1 time specifically for the access times by the setpoint distance numerical value, and institute after changing State and stored in memory of the access times of setpoint distance numerical value inside host computer, delete original in the memory The access times of the setpoint distance numerical value of storage.
Described read write line, carries out card image and reads after success specifically for the card to have adjusted distance, to The host computer sends card image and reads successful information, and sends the carrying setpoint distance number to the card drive system The card drive signal of value;The card image that the card to have adjusted distance carries out is read after failure, is sent out to the host computer Card feed information reads failure information;
Described host computer, reads after successful information specifically for receiving the card image, reads inside host computer Memory in store the setpoint distance numerical value access times, the access times of the setpoint distance numerical value are multiplied by into institute Setpoint distance numerical value is stated, the current distance between the card and the antenna of reader is obtained, the current distance is remembered Record and display;Receive the card image to read after failure information, by between the card and the antenna of reader of record Current distance and the card image read failure information be associated;In the card drive system by the card and institute Stating the distance between read write line increases after the setpoint distance numerical value, by making for the setpoint distance numerical value stored in internal storage Increased by 1 time with number of times;
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value Afterwards, control drive module and start the stepper motor, and then drive the ball-screw and the card tray motion, will be described The distance between antenna of card and reader increases the setpoint distance numerical value.
The technical scheme provided by embodiments of the invention described above can be seen that the embodiment of the present invention by continuous adjustment card The step angle of the stepper motor in piece drive system is constantly realized to reading continuously adjusting the distance between card and read write line The reading/writing distance of writing device is quick, accurately and real-time detect, and be able to ensure that in the range of certain distance continuous adjustment card and The distance between read write line, the dead band being likely to occur during the read-write for accurately grasping read write line be able to also will be surveyed by host computer Show during amount fructufy, it is more directly perceived and convenient.Compared with existing manual measurement technology, accuracy is high, and good reliability is carried significantly The high measurement efficiency of the reading/writing distance of frequency read/write.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to use needed for embodiment description Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, without having to pay creative labor, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 realizes principle for a kind of method of the reading/writing distance of detection frequency read/write of the offer of the embodiment of the present invention one Schematic diagram;
Fig. 2 is a kind of handling process of the method for the reading/writing distance of detection frequency read/write that the embodiment of the present invention one is provided Figure;
Fig. 3 is a kind of structure of the device 300 of the reading/writing distance of detection frequency read/write that the embodiment of the present invention two is provided Schematic diagram, in figure, host computer 310, read write line 320 and card drive system 330.
Specific embodiment
For ease of the understanding to the embodiment of the present invention, do by taking several specific embodiments as an example further below in conjunction with accompanying drawing Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Embodiment one
A kind of method of the reading/writing distance of detection frequency read/write that the embodiment is provided realizes principle schematic such as Fig. 1 Shown, the handling process of the method is as shown in Fig. 2 including following process step:
Step S210, by card drive system by the distance between antenna of card and reader be set to it is initial away from From.
As described in Figure 1, the card drive system in the embodiment of the present invention includes:Stepper motor, drive module, motor control Module, D/C power, ball-screw and card pallet, the motor control module is by cable and the read write line, drive module Connection, the stepper motor is connected by cable and drive module, ball-screw connection, the ball-screw and the card pallet Connect, the pallet holds the card.
First, setting and storing initial distance, setpoint distance numerical value and the setpoint distance numerical value make in host computer With number of times, the initial distance carries out the card and reader when first time information reads to the card for the read write line The distance between antenna, the setpoint distance numerical value to the card in the read write line to carry out card image reading every time After success, the numerical value of the fixation that the distance between antenna of the card and reader is increased.By above-mentioned setpoint distance number Value can realize that the distance between antenna to card and reader is continuously incremented by.
In actual applications, above-mentioned initial distance can be 0, and above-mentioned setpoint distance numerical value can be 1mm distances.When above-mentioned When initial distance is not 0, described host computer sends the control signal for carrying the initial distance, the reading to the read write line Write device and the control signal is sent to into the motor control module.Described motor control module is tied with single-chip microcomputer as core The structure of selected stepper motor is closed, calculating is finely divided using setting program according to above-mentioned initial distance, calculate the stepping The corresponding step angle of the initial distance of motor, the drive for carrying the corresponding step angle of the initial distance is sent to drive module Dynamic signal.The micro-stepping control of stepper motor can be realized by motor control module, by the step pitch of continuous adjustment stepper motor Angle is continuously adjusting the distance between card and read write line.
Described drive module can control the break-make of the phase winding electric current of stepper motor by control interface, and control interface is adopted Isolation features are realized with optocoupler.The drive module is received after the drive signal, starts the stepper motor.Described step Stepper motor its control commutation only needs to change the phase sequence that winding is powered, and it is described that the drive module controls the stepper motor operation The corresponding distance of the corresponding step angle of initial distance, and then the ball-screw and the card tray motion are driven, will be described The distance between antenna of card and reader is set to the initial distance.Stepper motor drags ball-screw, by angular displacement It is changed into straight-line displacement, so that can back and forth movement in rectilinear path of the card pallet in the range of 10cm above antenna.
The access times of the setpoint distance numerical value are set to 1 by the host computer, and by the setpoint distance numerical value Access times are stored in the memory inside host computer.Above-mentioned setpoint distance numerical value is also sent to read-write by host computer Device.
Step S220, the read write line carry out card image reading to the card, after card image reads success, to The host computer sends card image and reads successful information, and sends the carrying setpoint distance number to the card drive system The card drive signal of value.
The card image that the host computer receives is read after successful information, is read in the memory inside host computer and is deposited The access times of the setpoint distance numerical value are multiplied by the setpoint distance number by the access times of the setpoint distance numerical value of storage Value, obtains the current distance between the card and the antenna of reader, and the current distance is recorded, and by showing Screen shows to above-mentioned current record.
Step S230, the card drive system are received after the card drive signal, by the card and reader The distance between antenna increase setpoint distance numerical value.
Motor control module in the card drive system receives the card driving for carrying the setpoint distance numerical value After signal, according to the setpoint distance numerical value and the structure of the stepper motor, using single-chip microcomputer the stepper motor is calculated The corresponding step angle of the setpoint distance numerical value, sends to drive module and carries the corresponding step angle of the setpoint distance numerical value Drive signal.The drive module is received after the drive signal, starts the stepper motor, controls the stepper motor fortune The corresponding distance of the corresponding step angle of the row setpoint distance numerical value, and then drive the ball-screw and card pallet fortune It is dynamic, the distance between antenna of the card and reader is increased into the setpoint distance numerical value.Said process is realized card The distance between antenna of piece and reader is incremented by every time above-mentioned setpoint distance numerical value.
The host computer increases the access times of the setpoint distance numerical value 1 time, and the setpoint distance after changing The access times of numerical value are stored in the memory inside host computer, delete in the memory the described of original storage The access times of setpoint distance numerical value.
Step S240, described read write line carry out card image reading by the card that the antenna pair have adjusted distance Take, after card image reads success, execution step S250;After card image reads failure, execution step S260.
Step S250, the read write line carry out card image to the card that have adjusted distance and read after success, to institute State host computer and send card image reading successful information, and the carrying setpoint distance numerical value is sent to the card drive system Card drive signal.
The card image that the host computer receives is read after successful information, is read in the memory inside host computer and is deposited The access times of the setpoint distance numerical value are multiplied by the setpoint distance number by the access times of the setpoint distance numerical value of storage Value, obtains the current distance between the card and the antenna of reader, and the current distance is recorded and shown.
The motor control module is received after the card drive signal for carrying the setpoint distance numerical value, and control drives mould Block starts the stepper motor, and then drives the ball-screw and the card tray motion, by the card and reader The distance between antenna increase the setpoint distance numerical value, the host computer is by the setpoint distance number stored in internal storage The access times of value increase by 1 time.
Re-execute above-mentioned steps S240.
Step S260, after the distance between above-mentioned card and read write line constantly increase, read write line occur Card Reader dead band or When card run is to beyond reading/writing distance scope, then, read write line carries out card image to card and reads Card Reader after failure Failure, buzzer not ring, does not now produce control signal and is sent to motor control module, and motor shuts down, card pallet Keep last measurement height.Read write line to host computer send card image read failure information, host computer will record described in Current distance and the card image between card and the antenna of reader reads failure information and is associated.
Above-mentioned read write line can be 13.56MHz read write lines etc..
Embodiment two
A kind of structural representation such as Fig. 3 institutes of the device of the reading/writing distance of detection frequency read/write that the embodiment is provided Show, including:Host computer, read write line and card drive system,
Described card drive system, for the distance between antenna of card and reader to be set to into initial distance, After receiving the card drive signal that the read write line is sended over, the distance between antenna of the card and reader is increased Plus setpoint distance numerical value;
Described read write line, for carrying out card image reading by card described in the antenna pair, enters to the card Row card image is read after success, and to the card drive system card drive signal is sent, and be have adjusted by the antenna pair The card of distance carries out card image reading;
Described host computer, for after the read write line carries out card image reading success to the card, recording institute State the current distance between card and the antenna of reader.
Above-mentioned card drive system includes:Stepper motor, drive module, motor control module, D/C power, ball-screw and Card pallet, the motor control module passes through line by cable and the read write line, drive module connection, the stepper motor Cable and drive module, ball-screw connection, the ball-screw and the card pallet connect, and the pallet is by the card holder Firmly.Described D/C power includes providing the 24V power supplys of stepper motor winding voltage and offer drive module, motor control module institute The 5V power supplys for needing.Described ball-screw is little lead screw, is made up of screw rod, nut;Screw rod is fixed, and card pallet is with spiral shell Mother can move along a straight line along screw rod in the range of 10cm.Described card pallet is non-magnet_conductible material(Such as plastics), its material is not The electromagnetic field that radio-frequency antenna can be affected changes.
Described host computer, specifically for set and store the initial distance, setpoint distance numerical value and the setting away from From the access times of numerical value, the initial distance carries out card when first time information reads to the card for the read write line The distance between antenna of piece and reader, the setpoint distance numerical value is for every time in the read write line to the card card Piece information is read after success, the numerical value of the fixation that the distance between antenna of the card and reader is increased;To the reading Write device and send the control signal for carrying the initial distance;
Described read write line, specifically for the motor control being sent to the control signal in the card drive system Module;
Described motor control module, specifically for the structure according to the initial distance and the stepper motor, utilizes Single-chip microcomputer calculates the corresponding step angle of the initial distance of the stepper motor, send to drive module carry it is described it is initial away from From the drive signal of corresponding step angle,
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control institute State stepper motor and run the corresponding distance of the corresponding step angle of the initial distance;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then will be described The distance between antenna of card and reader is set to the initial distance;
Described host computer, specifically for the access times of the setpoint distance numerical value are set to into 1, and by the setting The access times of distance values are stored in the memory inside host computer.
Described read write line, reads after success specifically for carrying out card image to the card, sends out to the host computer Card feed information reads successful information, and the card driving for carrying the setpoint distance numerical value is sent to the card drive system Signal;
Described host computer, reads after successful information specifically for receiving the card image, reads inside host computer Memory in store the setpoint distance numerical value access times, the access times of the setpoint distance numerical value are multiplied by into institute Setpoint distance numerical value is stated, the current distance between the card and the antenna of reader is obtained, the current distance is remembered Record and display.
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value Afterwards, according to the setpoint distance numerical value and the structure of the stepper motor, calculated described in the stepper motor using single-chip microcomputer The corresponding step angle of setpoint distance numerical value, the driving for carrying the corresponding step angle of the setpoint distance numerical value is sent to drive module Signal;
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control institute State stepper motor and run the corresponding distance of the corresponding step angle of the setpoint distance numerical value;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then will be described The distance between antenna of card and reader increases the setpoint distance numerical value;
Described host computer, increases by 1 time specifically for the access times by the setpoint distance numerical value, and institute after changing State and stored in memory of the access times of setpoint distance numerical value inside host computer, delete original in the memory The access times of the setpoint distance numerical value of storage.
Described read write line, carries out card image and reads after success specifically for the card to have adjusted distance, to The host computer sends card image and reads successful information, and sends the carrying setpoint distance number to the card drive system The card drive signal of value;The card image that the card to have adjusted distance carries out is read after failure, is sent out to the host computer Card feed information reads failure information;
Described host computer, reads after successful information specifically for receiving the card image, reads inside host computer Memory in store the setpoint distance numerical value access times, the access times of the setpoint distance numerical value are multiplied by into institute Setpoint distance numerical value is stated, the current distance between the card and the antenna of reader is obtained, the current distance is remembered Record and display;Receive the card image to read after failure information, by between the card and the antenna of reader of record Current distance and the card image read failure information be associated;In the card drive system by the card and institute Stating the distance between read write line increases after the setpoint distance numerical value, by making for the setpoint distance numerical value stored in internal storage Increased by 1 time with number of times;
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value Afterwards, control drive module and start the stepper motor, and then drive the ball-screw and the card tray motion, will be described The distance between antenna of card and reader increases the setpoint distance numerical value.
The detailed process and preceding method of the reading/writing distance of detection frequency read/write are carried out with the device of the embodiment of the present invention Embodiment is similar to, and here is omitted.
In sum, the embodiment of the present invention is connected by the step angle of the stepper motor in continuous adjustment card drive system Continuous adjustment the distance between card and read write line, constantly realize the reading/writing distance to read write line and quickly, accurately and real-time examine Survey, and the distance being able to ensure that in the range of certain distance between continuous adjustment card and read write line, accurately grasp read write line Read-write during the dead band that is likely to occur, also measurement result can in real time be shown by host computer, it is more directly perceived and convenient.With Existing manual measurement technology is compared, and accuracy is high, good reliability, substantially increases the measurement effect of the reading/writing distance of frequency read/write Rate.
The simple structure of the device of the embodiment of the present invention, with low cost, control program is succinctly easily realized, is motor drag skill Innovative application of the art in field of radio frequency communication.
One of ordinary skill in the art will appreciate that:Accompanying drawing is the schematic diagram of one embodiment, module in accompanying drawing or Flow process is not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Realize by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence On prior art is contributed part in other words can be embodied in the form of software product, the computer software product Can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment (Can be personal computer, server, or network equipment etc.)Some of execution each embodiment of the invention or embodiment Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.Apparatus and system embodiment described above is only schematic, wherein the conduct Separating component explanation unit can be or may not be it is physically separate, can be as the part that unit shows or Person may not be physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be with root The factually purpose for needing to select some or all of module therein to realize this embodiment scheme on border.Ordinary skill Personnel are not in the case where creative work is paid, you can to understand and implement.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, All should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims It is defined.

Claims (8)

1. it is a kind of detection frequency read/write reading/writing distance method, it is characterised in that include:
The distance between antenna of card and reader is set to by initial distance by card drive system, the read write line leads to Crossing card described in the antenna pair carries out card image reading;
The card image that the read write line carries out to the card is read after success, is sent card to the card drive system and is driven Signal, by host computer the current distance between the card and the antenna of reader is recorded;
The card drive system is received after the card drive signal, by between the card and the antenna of reader away from From setpoint distance numerical value is increased, the read write line carries out card image reading by the card that the antenna pair have adjusted distance Take;
The card drive system includes:Stepper motor, drive module, motor control module, D/C power, ball-screw and card Pallet, the motor control module by cable and the read write line, drive module connection, the stepper motor by cable and Drive module, ball-screw connection, the ball-screw and the card pallet connect, and the pallet holds the card;
It is described that the distance between antenna of card and reader is set to by initial distance by card drive system, including:
The use time of the initial distance, setpoint distance numerical value and the setpoint distance numerical value is set and stored in host computer Number, the initial distance carries out the card and reader when first time card image reads to the card for the read write line The distance between antenna, the setpoint distance numerical value to the card in the read write line to carry out card image reading every time After success, the numerical value of the fixation that the distance between antenna of the card and reader is increased;
Described host computer sends the control signal for carrying the initial distance to the read write line, and the read write line is by the control Signal processed is sent to the motor control module, and the motor control module is according to the initial distance and the stepper motor Structure, using single-chip microcomputer the corresponding step angle of the initial distance of the stepper motor is calculated, and is sent to drive module and is carried The drive signal of the corresponding step angle of the initial distance, the drive module is received after the drive signal, is started described Stepper motor, and control the corresponding distance of the corresponding step angle of the stepper motor operation initial distance, the stepping electricity Machine drives the ball-screw and the card tray motion, and then the distance between the antenna by the card and reader sets It is set to the initial distance;
The access times of the setpoint distance numerical value are set to 1 by the host computer, and by the use of the setpoint distance numerical value Number of times is stored in the memory inside host computer.
2. it is according to claim 1 detection frequency read/write reading/writing distance method, it is characterised in that described read-write The card image that device carries out to the card is read after success, card drive signal is sent to the card drive system, by upper Position machine records the current distance between the card and the antenna of reader, including:
The card image that the read write line carries out to the card is read after success, is sent card image to the host computer and is read into Work(information, and the card drive signal for carrying the setpoint distance numerical value is sent to the card drive system;
The card image that the host computer receives is read after successful information, reads what is stored in the memory inside host computer The access times of the setpoint distance numerical value are multiplied by the setpoint distance numerical value by the access times of the setpoint distance numerical value, The current distance between the card and the antenna of reader is obtained, the current distance is recorded and shown.
3. it is according to claim 1 detection frequency read/write reading/writing distance method, it is characterised in that described card Drive system is received after the card drive signal, by the distance between antenna of the card and reader increase setting away from From numerical value, including:
The motor control module is received after the card drive signal for carrying the setpoint distance numerical value, according to it is described setting away from From numerical value and the structure of the stepper motor, the setpoint distance numerical value for calculating the stepper motor using single-chip microcomputer is corresponding Step angle, the drive signal for carrying the corresponding step angle of the setpoint distance numerical value, the drive module are sent to drive module After receiving the drive signal, start the stepper motor, and control the stepper motor and run the setpoint distance numerical value The corresponding distance of corresponding step angle, the stepper motor drives the ball-screw and the card tray motion, and then will The distance between antenna of the card and reader increases the setpoint distance numerical value;
The host computer increases the access times of the setpoint distance numerical value 1 time, and the setpoint distance numerical value after changing Memory of the access times inside host computer in stored, delete the setting of original storage in the memory The access times of distance values.
4. it is according to claim 3 detection frequency read/write reading/writing distance method, it is characterised in that described read-write Device carries out after card image reading, also including by the card that the antenna pair have adjusted distance:
The read write line carries out card image to the card that have adjusted distance and reads after success, to the host computer sending card Piece information reads successful information, and the card driving letter for carrying the setpoint distance numerical value is sent to the card drive system Number;
The card image that the host computer receives is read after successful information, reads what is stored in the memory inside host computer The access times of the setpoint distance numerical value are multiplied by the setpoint distance numerical value by the access times of the setpoint distance numerical value, The current distance between the card and the antenna of reader is obtained, the current distance is recorded and shown;
The motor control module is received after the card drive signal for carrying the setpoint distance numerical value, and control drive module is opened The stepper motor is moved, and then drives the ball-screw and the card tray motion, by the card and the day of reader The distance between line increases the setpoint distance numerical value, and the host computer is by the setpoint distance numerical value stored in internal storage Access times increase by 1 time;
The read write line carries out card image to the card that have adjusted distance and reads after failure, to the host computer sending card Piece information read failure information, the host computer by record the card and the antenna of reader between current distance and institute State card image reading failure information to be associated.
5. it is a kind of detection frequency read/write reading/writing distance device, it is characterised in that include:Host computer, read write line and card Drive system,
Described card drive system, for the distance between antenna of card and reader to be set to into initial distance, receives After the card drive signal sended over to the read write line, the distance between antenna of the card and reader is increased and is set Set a distance numerical value;
Described read write line, for carrying out card image reading by card described in the antenna pair, to the card card Piece information is read after success, and to the card drive system card drive signal is sent, and by the antenna pair distance is have adjusted The card carry out card image reading;
Described host computer, for after the read write line carries out card image reading success to the card, recording the card Current distance between piece and the antenna of reader;
The card drive system includes:Stepper motor, drive module, motor control module, D/C power, ball-screw and card Pallet, the motor control module by cable and the read write line, drive module connection, the stepper motor by cable and Drive module, ball-screw connection, the ball-screw and the card pallet connect, and the pallet holds the card;
Described host computer, specifically for setting and storing the initial distance, setpoint distance numerical value and the setpoint distance number The access times of value, the initial distance carries out card when first time card image reads to the card for the read write line The distance between antenna of piece and reader, the setpoint distance numerical value is for every time in the read write line to the card card Piece information is read after success, the numerical value of the fixation that the distance between antenna of the card and reader is increased;To the reading Write device and send the control signal for carrying the initial distance;
Described read write line, specifically for the motor control mould being sent to the control signal in the card drive system Block;
Described motor control module, specifically for the structure according to the initial distance and the stepper motor, using monolithic Machine calculates the corresponding step angle of the initial distance of the stepper motor, sends to drive module and carries the initial distance pair The drive signal of the step angle answered,
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control the step Stepper motor runs the corresponding distance of the corresponding step angle of the initial distance;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then by the card The initial distance is set to the distance between the antenna of reader;
Described host computer, specifically for the access times of the setpoint distance numerical value are set to into 1, and by the setpoint distance The access times of numerical value are stored in the memory inside host computer.
6. it is according to claim 5 detection frequency read/write reading/writing distance device, it is characterised in that:
Described read write line, reads after success, to the host computer sending card specifically for carrying out card image to the card Piece information reads successful information, and the card driving letter for carrying the setpoint distance numerical value is sent to the card drive system Number;
Described host computer, reads after successful information specifically for receiving the card image, reads depositing inside host computer The access times of the setpoint distance numerical value are multiplied by described setting by the access times of the setpoint distance numerical value stored in reservoir Set a distance numerical value, obtains the current distance between the card and the antenna of reader, by the current distance carry out record and Show.
7. it is according to claim 5 detection frequency read/write reading/writing distance device, it is characterised in that:
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value after, root According to the setpoint distance numerical value and the structure of the stepper motor, using single-chip microcomputer calculate the setting of the stepper motor away from From the corresponding step angle of numerical value, the drive signal for carrying the corresponding step angle of the setpoint distance numerical value is sent to drive module;
Described drive module, specifically for receiving the drive signal after, start the stepper motor, and control the step Stepper motor runs the corresponding distance of the corresponding step angle of the setpoint distance numerical value;
Described stepper motor, specifically for driving the ball-screw and the card tray motion, and then by the card Increase the setpoint distance numerical value with the distance between the antenna of reader;
Described host computer, increases by 1 time specifically for the access times by the setpoint distance numerical value, and sets described after modification The access times of set a distance numerical value are stored in the memory inside host computer, are deleted and are stored originally in the memory The setpoint distance numerical value access times.
8. it is according to claim 7 detection frequency read/write reading/writing distance device, it is characterised in that:
Described read write line, carries out card image and reads after success, to described specifically for the card to have adjusted distance Host computer sends card image and reads successful information, and sends the carrying setpoint distance numerical value to the card drive system Card drive signal;The card to have adjusted distance carries out card image and reads after failure, to the host computer sending card Piece information reads failure information;
Described host computer, reads after successful information specifically for receiving the card image, reads depositing inside host computer The access times of the setpoint distance numerical value are multiplied by described setting by the access times of the setpoint distance numerical value stored in reservoir Set a distance numerical value, obtains the current distance between the card and the antenna of reader, by the current distance carry out record and Show;Receive the card image to read after failure information, by working as between the card and the antenna of reader of record Front distance and the card image read failure information and are associated;In the card drive system by the card and the reading Writing the distance between device increases after the setpoint distance numerical value, by the use of the setpoint distance numerical value stored in internal storage time Number increases by 1 time;
Described motor control module, specifically for receiving the card drive signal for carrying the setpoint distance numerical value after, control Drive module processed starts the stepper motor, and then drives the ball-screw and the card tray motion, by the card Increase the setpoint distance numerical value with the distance between the antenna of reader.
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 CN104422420A (en) 2015-03-18
CN104422420B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115630667A (en) * 2022-10-27 2023-01-20 敏捷医疗科技(苏州)有限公司 Reading and writing system and method for surgical instrument information

Citations (4)

* 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
CN202257632U (en) * 2011-09-15 2012-05-30 广东天波信息技术股份有限公司 Test card used for defining card reading range of radio frequency identification (RFID) card reader

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101096363B1 (en) * 2009-10-15 2011-12-20 주식회사 에이스테크놀로지 Backward Detection Sensor Using Active Antenna
US8869588B2 (en) * 2012-02-21 2014-10-28 Symbol Technologies, Inc. Ultrasonic positioning system with reverberation and flight time compensation

Patent Citations (4)

* 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
CN202257632U (en) * 2011-09-15 2012-05-30 广东天波信息技术股份有限公司 Test card used for defining card reading range of radio frequency identification (RFID) card reader

Also Published As

Publication number Publication date
CN104422420A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
US5731973A (en) Developing system and measuring system for filing apparatus
US8433942B2 (en) Storage apparatus and power consumption estimation method
CN109142971A (en) The method for inspecting and inspection device of transmission line polling robot
US10248090B2 (en) Trace data collection system, controller, motor control device, operation terminal, and trace data collection method
CN102033201A (en) Simulation device and method using AC servo motor as variable-torque load
CN103307980A (en) Automatic measuring device for volume of grain pile and measuring method thereof
CN202661082U (en) Automatic calibration turnplate system
EP2221717B1 (en) Method for controlling write on magnetic tape and magnetic tape device for executing the method
CN105157810A (en) Fully automatic sound velocity measuring instrument and measurement method
CN104422420B (en) Method and apparatus for detecting reading and writing distances of radio frequency reader-writer
CN102353513A (en) Pneumatic test system of deformable aircraft
CN109839513A (en) Current velocity flow-measuring method, apparatus and system
CN102308336A (en) Data recording device, data reading device, tape drive, method of recording data, and method of reading data
CN113092178A (en) Control method and control system of sampling machine and readable storage medium
CN106053952B (en) System and method for accurately measuring inductance curve of switched reluctance motor
CN103026412B (en) Tape drive velocity control and method for operating same
BE1026674B1 (en) SUPPORT CHARGING SYSTEM FOR A DRONE
CN203881906U (en) Smart alternating current load testing device
CN110023167A (en) Electronic control unit, onboard system and power control method
CN105004993B (en) A kind of linear stepping motor force-frequency effect test device and method
CN107478155A (en) Product inspection method, apparatus and system
CN101513883B (en) Device and method for measuring height of induction plate
US10185304B2 (en) Timing a machine tool using an accelerometer
CN110440963A (en) A kind of inertia friction welder energy conversion efficiency detection system and method
CN103701393B (en) The compensation method of torque precision during a kind of asynchronous machine weak magnetic

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