CN109492443B - Reader-writer power calibration method and power calibration method - Google Patents

Reader-writer power calibration method and power calibration method Download PDF

Info

Publication number
CN109492443B
CN109492443B CN201811427781.7A CN201811427781A CN109492443B CN 109492443 B CN109492443 B CN 109492443B CN 201811427781 A CN201811427781 A CN 201811427781A CN 109492443 B CN109492443 B CN 109492443B
Authority
CN
China
Prior art keywords
power
current
preset
transmitting power
calibration
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
CN201811427781.7A
Other languages
Chinese (zh)
Other versions
CN109492443A (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.)
Beijing China Transinfo Stock Co ltd
Original Assignee
Beijing China Transinfo Stock Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing China Transinfo Stock Co ltd filed Critical Beijing China Transinfo Stock Co ltd
Priority to CN201811427781.7A priority Critical patent/CN109492443B/en
Publication of CN109492443A publication Critical patent/CN109492443A/en
Application granted granted Critical
Publication of CN109492443B publication Critical patent/CN109492443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Transmitters (AREA)

Abstract

The invention discloses a power calibration method and a power calibration method for a reader-writer, wherein the calibration method comprises the following steps: reading the current transmitting voltage of the transmitting radio frequency signal by the reader-writer; determining current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and a preset power calibration data table; and if the difference value between the current transmitting power and the preset transmitting power is larger than or equal to a first preset threshold value, calibrating the power according to the current transmitting power and a power calibration data table. In the calibration process, the upper computer generates a power calibration data table, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.

Description

Reader-writer power calibration method and power calibration method
Technical Field
The invention belongs to the technical field of radio frequency identification, and particularly relates to a reader-writer power calibration method and a power calibration method.
Background
An RFID (Radio Frequency Identification) is a Radio Frequency communication technology, and mainly includes a reader/writer and a transponder, and the transponder generally uses a passive tag. When a passive tag is adopted, the reader-writer is required to continuously provide carrier energy for the tag to work and respond. The carrier energy is determined by the transmission power of the reader/writer. In order to reduce the interference to the radiation of the human body and other surrounding devices on the basis of meeting the requirement of the tag counting distance, the transmitting power of the reader-writer needs to be accurately controlled, and the transmitting power is calibrated.
Currently, a method for calibrating reader power is provided in the related art, including: the control equipment detects the actual transmitting power of the reader-writer through the detection equipment, and when the difference value between the actual transmitting power of the reader-writer and the preset transmitting power is larger than the preset threshold value, the control equipment continuously changes the actual transmitting power of the reader-writer through a preset algorithm, so that the final actual transmitting power is approximately equal to the preset transmitting power, and the power calibration of the reader-writer is realized.
However, in the related art, signal transmission needs to be performed among multiple devices such as the control device, the detection device, and the reader/writer during the power calibration process, the control device performs the power calibration, and performing the signal transmission among the multiple devices wastes a lot of time, and errors in the power calibration are increased due to errors in the signal transmission, which results in low power reference efficiency and poor accuracy of the reader/writer.
Disclosure of Invention
In order to solve the problems, the invention provides a power calibration method and a power calibration method for a reader-writer, wherein a pre-generated power calibration data table is configured on the reader-writer, and the reader-writer independently finishes power calibration according to the power calibration data table in practical application without participation of external equipment such as an upper computer, a spectrum analyzer and the like, so that the time for signal transmission among a plurality of devices is saved, the power calibration error caused by signal transmission errors is avoided, and the efficiency and the accuracy of power calibration of the reader-writer are improved. The present invention solves the above problems by the following aspects.
In a first aspect, an embodiment of the present invention provides a method for calibrating power of a reader, where the method includes:
reading the current transmitting voltage of the transmitting radio frequency signal;
determining the current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and a preset power calibration data table;
and if the difference value between the current transmitting power and the preset transmitting power is greater than or equal to a first preset threshold value, performing power calibration according to the current transmitting power and the power calibration data table.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the determining, according to the current transmit voltage and a preset power scaling data table, the current transmit power corresponding to the current transmit voltage includes:
inquiring whether a preset power calibration data table contains the current transmitting voltage or not;
if yes, obtaining the current transmitting power corresponding to the current transmitting voltage from the power calibration data table;
if not, acquiring a first scaling number pair and a second scaling number pair from the power scaling data table according to the current transmitting voltage, and calculating the current transmitting power corresponding to the current transmitting voltage according to the first scaling number pair and the second scaling number pair; the first voltage included in the first scaling number pair is the maximum value of all voltages in the power scaling data table that are smaller than the current transmission voltage, and the second voltage included in the second scaling number pair is the minimum value of all voltages in the power scaling data table that are larger than the current transmission voltage.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the calculating, according to the first scaling number pair and the second scaling number pair, a current transmit power corresponding to the current transmit voltage includes:
calculating a slope value according to the first scaling number pair and the second scaling number pair;
calculating the current transmitting power corresponding to the current transmitting voltage according to the current transmitting power and the slope value by a formula (1);
P=V/K…(1)
in the formula (1), K ═ Vn+1-Vn)/(Pn+1-Pn) K is the slope value, P is the current transmission power, V is the current transmission voltagenThe first voltage, V, included for the first scalar pairn+1Said second voltage, P, comprised for said second scaling number pairnA first power, P, corresponding to the first voltagen+1And the second power is the second power corresponding to the second voltage.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the performing power calibration according to the current transmit power and the power scaling data table includes:
acquiring a corresponding calibration parameter pair from the power calibration data table according to the preset transmitting power;
if the difference value between the current transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, adjusting the current transmitting power according to the coarse tuning parameters included in the calibration parameters until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value;
if the difference between the current transmitting power and the preset transmitting power is smaller than the second preset threshold and larger than or equal to the first preset threshold, adjusting the current transmitting power according to the calibration parameters, wherein the current fine adjustment parameters are included until the difference between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the adjusting the current transmission power according to the coarse tuning parameter pair includes:
adjusting the current transmitting power according to the coarse adjusting parameters included in the calibration parameter pair, and reading the current transmitting voltage of the adjusted transmitting radio frequency signal;
determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table;
and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the second preset threshold value, returning to execute the step of adjusting the current transmitting power according to the coarse adjustment parameters until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold value.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the adjusting, according to the current fine tuning parameter included in the calibration parameter pair, the current transmit power includes:
calculating a new current fine adjustment parameter according to the current fine adjustment parameter included in the current transmitting power, the preset transmitting power and the calibration parameter pair;
adjusting the current transmitting power according to the new current fine adjustment parameter, and reading the current transmitting voltage of the transmitted radio frequency signal after adjustment;
determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table;
and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the first preset threshold value, returning to recalculate the new current fine tuning parameter until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the calculating a new current fine-tuning parameter according to a current fine-tuning parameter included in the current transmit power, the preset transmit power, and the calibration parameter pair includes:
calculating a new current fine tuning parameter according to the current fine tuning parameter included in the current transmitting power, the preset transmitting power and the calibration parameter pair by using a formula (2);
K1=K0*(10∧((P1-P0)/20))…(2)
in the formula (2), K1For the new current fine-tuning parameter, K0For the current fine-tuning parameter, P1For the preset transmission power, P0Is the current transmit power.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where before determining, according to the current transmission voltage and a preset power scaling data table, the method further includes:
receiving a power calibration data table sent by an upper computer, wherein the power calibration data table comprises a mapping relation of preset transmitting power, a calibration number pair and a calibration parameter pair;
storing the power scaling data table.
In a second aspect, an embodiment of the present invention provides a reader power calibration method, where the method includes:
generating a calibration parameter pair corresponding to preset transmitting power, and sending the calibration parameter pair to a reader-writer;
acquiring actual transmitting power of the reader-writer for transmitting radio frequency signals according to the calibration parameters;
generating a power calibration data table according to the calibration parameter pair, the actual transmitting power and the preset transmitting power;
and sending the power calibration data table to the reader-writer so that the reader-writer carries out power calibration according to the power calibration data table.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the generating a power calibration data table according to the calibration parameter pair, the actual transmit power, and a preset transmit power includes:
if the difference value between the actual transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, adjusting coarse tuning parameters included in the calibration parameter pair, and sending the adjusted calibration parameter pair to the reader-writer so that the reader-writer performs power adjustment according to the adjusted calibration parameter pair until the difference value between the actual transmitting power and the preset transmitting power of the reader-writer after adjustment is smaller than the second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value;
if the difference value between the actual transmitting power and the preset transmitting power is smaller than the second preset threshold value and larger than or equal to the first preset threshold value, fine tuning parameters included in the calibration parameter pair are adjusted, and the adjusted calibration parameter pair is sent to the reader-writer, so that the reader-writer performs power adjustment according to the adjusted calibration parameter pair until the difference value between the actual transmitting power and the preset transmitting power of the reader-writer is smaller than the first preset threshold value;
if the difference value between the actual transmitting power and the preset transmitting power is smaller than a first preset threshold value, acquiring the current transmitting voltage when the reader-writer transmits the radio frequency signal, forming the current actual transmitting power of the reader-writer and the current transmitting voltage into a calibration number pair corresponding to the preset transmitting power, and correspondingly storing the preset transmitting power, the calibration number pair and the current calibration parameter pair in a power calibration data table.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a schematic diagram of a hardware architecture on which a reader/writer power calibration method provided in embodiment 1 of the present invention is based;
fig. 2 is a schematic flowchart illustrating a reader power calibration method according to embodiment 1 of the present invention;
fig. 3 shows a schematic flowchart of another reader/writer power scaling method provided in embodiment 1 of the present invention.
Fig. 4 is a schematic flowchart illustrating a reader/writer power calibration method according to embodiment 2 of the present invention.
Fig. 5 is a schematic structural diagram illustrating a reader/writer power calibration apparatus according to embodiment 3 of the present invention.
Fig. 6 is a schematic structural diagram illustrating a reader/writer power calibration apparatus according to embodiment 4 of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
The embodiment of the invention provides a reader-writer power calibration method. The hardware architecture on which the method is based is shown in fig. 1, and the hardware architecture comprises a reader-writer, a test tool, a spectrum analyzer, a switch and an upper computer. The upper computer is connected with the reader-writer, the test tool and the spectrum analyzer through a network port of the switch, software for calibrating the power of the reader-writer is installed on the upper computer, the upper computer is an execution main body of the embodiment of the invention, and the upper computer can be a notebook computer or a desktop computer and the like. The network port of the test fixture is connected with the reader-writer through a serial port line, the test fixture is connected with the antenna port of the reader-writer through a coaxial cable, and the test fixture is further connected with a signal input port of the spectrum analyzer. After the hardware architecture according to the embodiment of the present invention is built as shown in fig. 1, the line loss measurement needs to be performed on the coaxial cable to ensure that the initial power measured on the spectrum analyzer is 0 dBm.
The predetermined transmitting power of the reader/writer is usually within a certain power interval, for example, the power interval may be [15,33] or [10,20 ]. The preset transmitting power of the reader-writer generally takes an integer value included in the power interval. The method provided by the embodiment of the invention is to respectively calibrate each preset transmitting power by taking each integer power in the power interval as the preset transmitting power so as to generate the power calibration data table. And then configuring the power calibration data table on the reader-writer, thereby realizing that the reader-writer can carry out power calibration according to the power calibration data table in practical application and improving the efficiency and accuracy of power calibration.
As shown in fig. 2, the method specifically includes the following steps:
step 101: and the upper computer generates a calibration parameter pair corresponding to the preset transmitting power and sends the calibration parameter pair to the reader-writer.
Since the scaling process is the same for each integer power in the power interval, the embodiment of the present invention is described in detail by taking an integer power as an example. And the upper computer selects an integer power from the power interval as the preset transmitting power of the reader-writer, and if the power interval is assumed to be [15,33], 15 can be selected as the preset transmitting power of the reader-writer. The upper computer generates a calibration parameter pair corresponding to the preset transmitting power, wherein the calibration parameter pair comprises a fine adjustment parameter and a coarse adjustment parameter, and in the embodiment of the invention, (K, DATT) is used for representing the calibration parameter pair. Wherein K represents a fine adjustment parameter, and the step of the fine adjustment parameter K is small, for example, the step of K may be 0.01 or 0.05. DATT represents a coarse tuning parameter, and the step of the coarse tuning parameter DATT is larger, for example, the step of DATT can be 0.1 or 0.5, etc. And after the upper computer generates the calibration parameter pair, the upper computer sends the calibration parameter pair to the reader-writer.
As shown in fig. 3, S1: and the reader-writer receives the calibration parameter pair sent by the upper computer and transmits the radio frequency signal according to the calibration parameter pair.
The reader-writer is provided with a signal processing chip. And after receiving the calibration parameter pair sent by the upper computer, the reader inputs the calibration parameter pair into the signal processing chip, and the signal processing chip determines the current transmitting voltage according to the calibration parameter pair and transmits the radio frequency signal by using the current transmitting voltage.
Step 102: and the upper computer acquires the actual transmitting power of the reader-writer for transmitting the radio frequency signal according to the calibration parameters.
When the reader-writer transmits radio frequency signals, the test tool receives the radio frequency signals transmitted by the reader-writer and transmits the video signals to the spectrum analyzer. And the spectrum analyzer analyzes the current actual transmitting power of the reader according to the radio frequency signal. The upper computer reads the actual transmitting power from the spectrum analyzer.
Step 103: and the upper computer generates a power calibration data table according to the calibration parameter pair, the actual transmitting power and the preset transmitting power.
As shown in fig. 3, S2: when the upper computer reads the actual transmitting power, calculating a difference value between the actual transmitting power and a preset transmitting power, judging whether the difference value is smaller than a first preset threshold value, and if so, executing step S3; if not, step S6 is performed. S3: and the upper computer reads the current transmitting voltage from the reader-writer and forms a calibration number pair corresponding to the preset transmitting power by the current actual transmitting power and the current transmitting voltage. S4: and the upper computer correspondingly stores the preset transmitting power, the calibration number pair corresponding to the preset transmitting power and the calibration parameter pair at the moment in a power calibration data table. S5: and judging whether preset transmitting power which is not calibrated exists in the power interval, if so, executing step S6, and if not, executing step 104. S6: and reselecting a preset transmitting power from the power interval, and returning to the step 101 to start execution.
When a preset transmission power is reselected from the power interval, an integer power can be randomly selected from a plurality of integer powers which are not scaled in the power interval as the preset transmission power. Or selecting the lower limit value of the power interval when the first preset transmitting power is selected in step 101, then adding one to the current preset transmitting power when the preset transmitting power is selected again until the final preset transmitting power is equal to the upper limit value of the power interval, generating a power scaling data table corresponding to the reader after the scaling operation of each power in the power interval is completed, and then executing step 104. Or selecting the upper limit value of the power interval when the first preset transmitting power is selected in step 101, then subtracting one from the current preset transmitting power when the preset transmitting power is selected again until the final preset transmitting power is equal to the lower limit value of the power interval, generating a power calibration data table corresponding to the reader after the calibration operation of each power in the power interval is completed, and then executing step 104.
In the embodiment of the present invention, a first preset threshold is set, where the first preset threshold is an allowable minimum error value, for example, the first preset threshold is 0.01 or 0.02. If the difference is smaller than the first preset threshold, the current actual transmitting power of the reader-writer is approximately considered to be equal to the preset transmitting power, the current transmitting voltage is read from the reader-writer at the moment, and the current actual transmitting power and the current transmitting voltage form a calibration number pair corresponding to the preset transmitting power. And the upper computer correspondingly stores the preset transmitting power, the calibration number pair corresponding to the preset transmitting power and the calibration parameter pair in a power calibration data table.
For example, assume that the preset transmission power is 15, the calibration parameter pair (K, DATT) corresponding to the preset transmission power 15 is (0.01,0.5), and the current actual transmission power is P0Current transmission voltage is V0Then, the preset transmitting power 15 corresponds to a scaling number pair of (P)0,V0). The upper computer presets the transmitting power 15 and the corresponding scaling number pair (P)0,V0) And the calibration parameter pairs (0.01,0.5) are stored in the power scaling data table as shown in table 1.
TABLE 1
Preset transmission power Scaling number pair Calibration parameter pair
15 (P0,V0) (0.01,0.5)
If the difference between the actual transmitting power read by the upper computer and the preset transmitting power is greater than or equal to the first preset threshold, the difference between the actual transmitting power and the preset transmitting power is too large, and the actual transmitting power needs to be adjusted. The power adjustment in the embodiment of the invention is divided into a coarse adjustment mode and a fine adjustment mode, the step of the coarse adjustment is larger each time, and the actual transmitting power of the reader-writer can quickly approach the preset transmitting power conveniently. The fine adjustment is performed in a small step at each time, so that the fine adjustment is performed when the difference between the actual transmission power and the preset transmission power is not large, and the actual transmission power is approximately equal to the preset transmission power.
In the embodiment of the present invention, a second preset threshold is set, where the second preset threshold is greater than the first preset threshold, and if the first preset threshold is 0.01, the second preset threshold may be 0.5 or 1, and so on. And if the difference value between the actual transmitting power and the preset transmitting power is smaller than a second preset threshold value and larger than or equal to a first preset threshold value, directly fine-adjusting the actual transmitting power of the reader-writer until the difference value between the actual transmitting power and the preset transmitting power is smaller than the first preset threshold value. If the difference value between the actual transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, the actual transmitting power of the reader-writer is roughly adjusted, and when the difference value between the actual transmitting power and the preset transmitting power is smaller than the second preset threshold value and larger than or equal to a first preset threshold value, the actual transmitting power of the reader-writer is finely adjusted until the difference value between the actual transmitting power and the preset transmitting power is smaller than the first preset threshold value.
Specifically, as shown in fig. 3, S7: the upper computer judges whether the difference value between the actual transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, if so, the step S8 is executed; if not, step S11 is performed. S8: and the upper computer adjusts the coarse adjustment parameters included in the calibration parameter pair and sends the adjusted calibration parameter pair to the reader-writer.
When the difference between the actual transmitting power and the preset transmitting power is greater than or equal to a second preset threshold, the upper computer needs to adjust the calibration parameters to the included coarse tuning parameters. Specifically, the upper computer adds a preset value to the coarse tuning parameters included in the calibration parameters generated in step 101 to generate new coarse tuning parameters, and combines the fine tuning parameters included in the calibration parameters generated in step 101 and the generated new coarse tuning parameters to form new calibration parameters. The preset value may be 1 or 2, and if the calibration parameter pair corresponding to the preset transmit power in step 101 is (K, DATT), the generated new calibration parameter pair may be (K, DATT + 2). And the upper computer sends the generated new calibration parameter pair to the reader-writer.
S9: and the reader-writer receives the adjusted calibration parameter pair sent by the upper computer and transmits the radio frequency signal according to the adjusted calibration parameter pair.
And after receiving the new calibration parameter pair sent by the upper computer, the reader inputs the new calibration parameter pair into the signal processing chip, and the signal processing chip determines the current transmitting voltage again according to the new calibration parameter pair and transmits the radio-frequency signal by using the determined current transmitting voltage.
S10: the upper computer obtains the actual transmitting power of the radio frequency signal transmitted by the reader-writer at the moment, calculates the difference between the actual transmitting power and the preset transmitting power, judges whether the difference is still larger than or equal to a second preset threshold value, and if so, returns to execute the step S8; if not, that is, if the difference is smaller than the second preset threshold and greater than or equal to the first preset threshold, step S11 is executed.
S11: and the upper computer adjusts the fine adjustment parameters included in the calibration parameter pair and sends the adjusted calibration parameter pair to the reader-writer.
When the difference between the actual transmitting power and the preset transmitting power is smaller than the second preset threshold and larger than or equal to the first preset threshold, the upper computer needs to adjust the fine tuning parameters included in the calibration parameters. Specifically, the upper computer calculates a new fine adjustment parameter according to the following formula (2) for the current fine adjustment parameter included in the current transmission power, the preset transmission power and the calibration parameter of the current reader-writer;
K1=K0*(10∧((P1-P0)/20))…(2)
in the formula (2), K1For new fine-tuning parameters, K0Current fine tuning parameter, P, included for said pair of calibration parameters1For a predetermined transmission power, P0The current actual transmitting power of the reader-writer.
Calculating new fine tuning parameters by the formula (2) to obtain the adjusted calibration parameter pair (K)1DATT), the adjusted pair of calibration parameters is sent to the reader/writer.
S12: and the reader-writer receives the adjusted calibration parameter pair sent by the upper computer and transmits the radio frequency signal according to the adjusted calibration parameter pair.
And after receiving the new calibration parameter pair sent by the upper computer, the reader inputs the new calibration parameter pair into the signal processing chip, and the signal processing chip determines the current transmitting voltage again according to the new calibration parameter pair and transmits the radio-frequency signal by using the determined current transmitting voltage.
S13, the upper computer obtains the actual transmitting power of the radio frequency signal transmitted by the reader-writer at the moment, calculates the difference between the actual transmitting power and the preset transmitting power, judges whether the difference is still smaller than a second preset threshold and larger than or equal to a first preset threshold, if so, returns to execute S11; if not, that is, if the difference is smaller than the first preset threshold, the step S3 is skipped to.
And for each integer preset transmitting power included in the power interval, storing each preset transmitting power, a calibration number pair and a calibration parameter pair corresponding to each preset transmitting power in a power calibration data table according to the operation of the steps. And generating a power calibration data table corresponding to the reader-writer after storing the information corresponding to each preset transmitting power.
Step 104: and the upper computer sends the power calibration data table to the reader-writer so that the reader-writer performs power calibration according to the power calibration data table.
As shown in fig. 3, in S14, the reader receives the power calibration data table sent by the upper computer, stores the power calibration data table, and performs power calibration according to the power calibration data table in practical application.
In the embodiment of the present invention, before the upper computer sends the power calibration data table to the reader/writer, the upper computer may also sort the entries in the power calibration data table according to the order of the calibration number from small to large or from large to small, and send the sorted power calibration data table to the reader/writer.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 2
The embodiment of the invention provides a power calibration method for a reader-writer, which is characterized in that a pre-configured power calibration data table is utilized to carry out real-time power calibration in the practical application of the reader-writer, the participation of an upper computer, a test tool, a spectrum analyzer and other external equipment is not needed in the power calibration process, the power calibration is completely realized by the reader-writer, and the efficiency and the accuracy of the power calibration are greatly improved.
In the embodiment of the present invention, the reader/writer receives the power scaling data table sent by the upper computer, and the power scaling data table includes a mapping relationship between a preset transmission power, a scaling number pair and a calibration parameter pair. The reader-writer stores the power calibration data table, and power calibration is carried out by using the power calibration data table in the calibration process.
Referring to fig. 4, the method specifically includes the following steps:
step 201: the reader reads the current transmission voltage of the transmission radio frequency signal.
In practical application, the reader-writer continuously transmits radio frequency signals, and the reader-writer reads the current transmission voltage of the self-transmitted radio frequency signals.
Step 202: and the reader-writer determines the current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and a preset power calibration data table.
Specifically, whether the current transmission voltage is contained in a preset power scaling data table is inquired. If yes, the current transmitting power corresponding to the current transmitting voltage is obtained from the power scaling data table. If not, according to the current transmitting voltage, obtaining a first scaling number pair and a second scaling number pair from the power scaling data table, and calculating the current transmitting power corresponding to the current transmitting voltage according to the first scaling number pair and the second scaling number pair. And the second voltage included by the second scaling number pair is the minimum value of all the voltages which are larger than the current transmitting voltage in the power scaling data table.
When calculating the current transmitting power corresponding to the current transmitting voltage, firstly calculating a slope value according to a first calibration number pair and a second calibration number pair; calculating the current transmitting power corresponding to the current transmitting voltage through a formula (1) according to the current transmitting power and the slope value;
P=V/K…(1)
in formula (1), K ═ Vn+1-Vn)/(Pn+1-Pn) K is the slope value, P is the current transmit power, V is the current transmit voltage, V is the current transmit powernA first voltage, V, included for a first pair of indicesn+1A second voltage, P, included for a second pair of scalar numbersnA first power, P, corresponding to the first voltagen+1And the second power corresponds to the second voltage.
Step 203: and if the difference value between the current transmitting power and the preset transmitting power is greater than or equal to a first preset threshold value, the reader-writer performs power calibration according to the current transmitting power and the power calibration data table.
In the embodiment of the present invention, a first preset threshold is preset in the reader/writer, where the first preset threshold is an allowable minimum error value, for example, the first preset threshold is 0.01 or 0.02. And after the reader calculates the current transmitting power corresponding to the current transmitting voltage, the reader calculates the difference between the current transmitting power and the preset transmitting power. If the difference is smaller than the first preset threshold, the current transmitting power of the reader-writer is approximately considered to be equal to the preset transmitting power, and at the moment, the current transmitting power does not need to be calibrated.
If the difference is greater than or equal to the first preset threshold, the difference between the current transmitting power of the reader-writer and the preset transmitting power is too large, and the current transmitting power needs to be adjusted. The power calibration in the embodiment of the invention is divided into a coarse adjustment mode and a fine adjustment mode, the step of each adjustment of the coarse adjustment is larger, and the current transmitting power of the reader-writer can quickly approach the preset transmitting power conveniently. The fine adjustment is performed in a small step at each time, so that the fine adjustment is performed when the difference between the current transmission power and the preset transmission power is not large, and the current transmission power is approximately equal to the preset transmission power.
In the embodiment of the present invention, a second preset threshold is further set in the reader/writer, where the second preset threshold is greater than the first preset threshold, and if the first preset threshold is 0.01, the second preset threshold may be 0.5 or 1, and so on. And if the difference value between the current transmitting power and the preset transmitting power is smaller than a second preset threshold value and larger than or equal to a first preset threshold value, directly fine-adjusting the current transmitting power of the reader-writer until the difference value between the current transmitting power and the preset transmitting power is smaller than the first preset threshold value. If the difference value between the current transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, the current transmitting power of the reader-writer is roughly adjusted, and when the difference value between the current transmitting power and the preset transmitting power is smaller than the second preset threshold value and larger than or equal to a first preset threshold value, the current transmitting power of the reader-writer is finely adjusted until the difference value between the current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
Specifically, the reader-writer obtains a corresponding calibration parameter pair from the power calibration data table according to a preset transmitting power; if the difference between the current transmitting power and the preset transmitting power is larger than or equal to a second preset threshold, adjusting the current transmitting power according to the acquired calibration parameters, namely, coarsely adjusting the current transmitting power until the difference between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold.
And in the process of coarsely adjusting the current transmitting power, the reader-writer adjusts the current transmitting power according to the coarse adjusting parameters included in the calibration parameter pair. Specifically, the reader inputs the coarse tuning parameters into the signal processing chip, the signal processing chip re-determines the current transmitting voltage according to the coarse tuning parameters, and transmits the radio frequency signal by using the re-determined current transmitting voltage. And the reader-writer reads the current transmitting voltage of the adjusted transmitting radio frequency signal. And determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table. The operation of determining the current transmission power corresponding to the adjusted current transmission voltage is the same as the operation in step 202, and is not described herein again.
If the difference between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the second preset threshold, the step of adjusting the current transmitting power according to the rough adjustment parameters is executed, and each time the step of adjusting the current transmitting power according to the rough adjustment parameters is executed, the rough adjustment parameters can be adjusted, for example, the rough adjustment parameters are increased according to certain steps, and then the adjusted rough adjustment parameters are used for adjusting the current transmitting power. The coarse tuning parameters may not be adjusted, and the current transmission power may be continuously adjusted by using the same coarse tuning parameters each time. Until the difference between the adjusted current transmitting power and the preset transmitting power is smaller than a second preset threshold.
And when the difference value between the current transmitting power and the preset transmitting power is smaller than a second preset threshold value and larger than or equal to a first preset threshold value, adjusting the current transmitting power according to the included current fine adjustment parameters, namely, finely adjusting the current transmitting power until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
And in the process of fine-tuning the current transmitting power, calculating new current fine-tuning parameters according to the current transmitting power, the preset transmitting power and the calibration parameters. Specifically, according to the current fine tuning parameters included in the current transmission power, the preset transmission power and the calibration parameter pair, calculating new current fine tuning parameters through a formula (2);
K1=K0*(10∧((P1-P0)/20))…(2)
in the formula (2), K1For new current fine-tuning parameters, K0For the current fine-tuning parameter, P1For a predetermined transmission power, P0Is the current transmit power.
And after calculating a new current fine tuning parameter, adjusting the current transmitting power according to the new current fine tuning parameter, and reading the current transmitting voltage of the transmitted radio frequency signal after adjustment. Specifically, the reader inputs the new current fine adjustment parameter into the signal processing chip, the signal processing chip re-determines the current transmission voltage according to the new current fine adjustment parameter, and transmits the radio frequency signal by using the re-determined current transmission voltage. And the reader-writer reads the current transmitting voltage of the adjusted transmitting radio frequency signal. And determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table. The operation of determining the current transmission power corresponding to the adjusted current transmission voltage is the same as the operation in step 202, and is not described herein again.
And if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the first preset threshold value, returning to recalculate a new current fine tuning parameter according to the new current fine tuning parameter until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
When the difference value between the current transmitting power and the preset transmitting power of the reader-writer is smaller than a first preset threshold value, the current transmitting power is approximately considered to be equal to the preset transmitting power, and at the moment, the calibration process of the power of the reader-writer is completed.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 3
Referring to fig. 5, an embodiment of the present invention provides a reader/writer power calibration apparatus, where the apparatus is configured to execute the reader/writer power calibration method described in embodiment 2, and the apparatus includes:
a reading module 30, configured to read a current transmission voltage of the transmission radio frequency signal;
the determining module 31 is configured to determine, according to the current transmit voltage and a preset power calibration data table, a current transmit power corresponding to the current transmit voltage;
and the calibration module 32 is configured to perform power calibration according to the current transmit power and the power calibration data table if the difference between the current transmit power and the preset transmit power is greater than or equal to a first preset threshold.
The determining module 31 includes:
the query unit is used for querying whether a preset power calibration data table contains the current transmitting voltage or not;
the acquisition unit is used for acquiring the current transmitting power corresponding to the current transmitting voltage from the power calibration data table when the query unit queries that the preset power calibration data table contains the current transmitting voltage;
the calculation unit is used for acquiring a first scaling number pair and a second scaling number pair from the power scaling data table according to the current transmitting voltage when the query unit queries that the preset power scaling data table does not contain the current transmitting voltage, and calculating the current transmitting power corresponding to the current transmitting voltage according to the first scaling number pair and the second scaling number pair; the first voltage included in the first scaling number pair is the maximum value of all voltages in the power scaling data table which are smaller than the current transmission voltage, and the second voltage included in the second scaling number pair is the minimum value of all voltages in the power scaling data table which are larger than the current transmission voltage.
The calculating unit is specifically configured to calculate a slope value according to the first scaling number pair and the second scaling number pair; calculating the current transmitting power corresponding to the current transmitting voltage according to the current transmitting power and the slope value by a formula (1);
P=V/K…(1)
in formula (1), K ═ Vn+1-Vn)/(Pn+1-Pn) K is the slope value, P is the current transmit power, V is the current transmit voltage, V is the current transmit powernA first voltage, V, included for a first scalar pairn+1A second voltage, P, included for a second pair of scalar numbersnIs a first power corresponding to a first voltage, Pn+1And the second power corresponds to the second voltage.
The calibration module 32 includes:
the parameter acquisition unit is used for acquiring a corresponding calibration parameter pair from the power calibration data table according to preset transmitting power;
a coarse adjustment unit, configured to adjust the current transmit power according to the calibration parameter if a difference between the current transmit power and the preset transmit power is greater than or equal to a second preset threshold, until the difference between the adjusted current transmit power and the preset transmit power is smaller than the second preset threshold, where the second preset threshold is greater than the first preset threshold;
and the fine adjustment unit is used for adjusting the current transmitting power according to the calibration parameters if the difference value between the current transmitting power and the preset transmitting power is smaller than a second preset threshold value and larger than or equal to a first preset threshold value until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
The coarse tuning unit is specifically configured to adjust the current transmission power according to the coarse tuning parameter pair included in the calibration parameter pair, and read the current transmission voltage of the adjusted transmission radio frequency signal; determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and a power calibration data table; and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to a second preset threshold value, returning to the step of adjusting the current transmitting power according to the coarse adjustment parameters until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold value.
The fine tuning unit is specifically configured to calculate a new current fine tuning parameter for the included current fine tuning parameter according to the current transmit power, the preset transmit power, and the calibration parameter; adjusting the current transmitting power according to the new current fine adjustment parameter, and reading the current transmitting voltage of the transmitted radio frequency signal after adjustment; determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and a power calibration data table; and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the first preset threshold value, returning to recalculate the new current fine adjustment parameter until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
The fine tuning unit is specifically configured to calculate a new current fine tuning parameter according to a formula (2) for the included current fine tuning parameter according to the current transmit power, the preset transmit power, and the calibration parameter;
K1=K0*(10∧((P1-P0)/20))…(2)
in the formula (2), K1For new current fine-tuning parameters, K0For the current fine-tuning parameter, P1For a predetermined transmission power, P0Is the current transmit power.
In an embodiment of the present invention, the apparatus further includes:
the power calibration data table configuration module is used for receiving a power calibration data table sent by an upper computer, and the power calibration data table comprises a mapping relation among preset transmitting power, a calibration number pair and a calibration parameter pair; a power scaling data table is stored.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 4
Referring to fig. 6, an embodiment of the present invention provides a reader/writer power scaling apparatus, where the apparatus is configured to perform the reader/writer power scaling method provided in embodiment 1, and the apparatus includes:
the parameter sending module 40 is configured to generate a calibration parameter pair corresponding to a preset transmitting power, and send the calibration parameter pair to the reader;
a power obtaining module 41, configured to obtain actual transmission power of the transmission radio frequency signal by the reader according to the calibration parameter;
a generating module 42, configured to generate a power scaling data table according to the calibration parameter pair, the actual transmit power, and the preset transmit power;
and a calibration data sending module 43, configured to send the power calibration data table to the reader/writer, so that the reader/writer performs power calibration according to the power calibration data table.
The generating module 42 is configured to, if the difference between the actual transmission power and the preset transmission power is greater than or equal to a second preset threshold, adjust a coarse adjustment parameter included in the calibration parameter pair, and send the adjusted calibration parameter pair to the reader/writer, so that the reader/writer adjusts the power according to the adjusted calibration parameter pair until the difference between the actual transmission power and the preset transmission power of the reader/writer after adjustment is smaller than the second preset threshold, where the second preset threshold is greater than the first preset threshold; if the difference value between the actual transmitting power and the preset transmitting power is smaller than a second preset threshold value and is larger than or equal to a first preset threshold value, fine adjustment parameters included in the calibration parameter pair are adjusted, and the adjusted calibration parameter pair is sent to the reader-writer, so that the reader-writer adjusts the power according to the adjusted calibration parameter pair until the difference value between the actual transmitting power and the preset transmitting power of the reader-writer after adjustment is smaller than the first preset threshold value; if the difference value between the actual transmitting power and the preset transmitting power is smaller than a first preset threshold value, the current transmitting voltage when the current reader-writer transmits the radio frequency signal is obtained, the current actual transmitting power and the current transmitting voltage of the reader-writer form a calibration number pair corresponding to the preset transmitting power, and the preset transmitting power, the calibration number pair and the current calibration parameter pair are correspondingly stored in a power calibration data table.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 5
An embodiment of the present invention provides a reader/writer power calibration apparatus, where the apparatus includes one or more processors and one or more storage devices, where the one or more storage devices store one or more programs, and when the one or more programs are loaded and executed by the one or more processors, the reader/writer power calibration method provided in embodiment 1 above is implemented.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 6
The embodiment of the present invention provides a computer-readable storage medium, where an executable program is stored in the storage medium, and when the executable program is loaded and executed by a processor, the method for calibrating the power of a reader/writer provided in embodiment 1 is implemented.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
Example 7
An embodiment of the present invention provides a reader/writer, including one or more processors and one or more storage devices, where the one or more storage devices store one or more programs and a power scaling data table generated by the reader/writer power scaling method provided in embodiment 1, and when the one or more programs are loaded and executed by the one or more processors, the reader/writer power calibration method provided in embodiment 2 above is implemented.
In the embodiment of the invention, the power calibration data table is generated by the upper computer in the calibration process, and the reader-writer stores the power calibration data table. In practical application, the reader independently finishes power calibration according to the power calibration data sheet, does not need external equipment such as an upper computer and a spectrum analyzer, and does not need to transmit signals among a plurality of pieces of equipment in the power calibration process, so that the time of signal transmission among the plurality of pieces of equipment is saved, power calibration errors caused by signal transmission errors are avoided, and the efficiency and the accuracy of power calibration of the reader are improved.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the creation apparatus of a virtual machine according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. A reader power calibration method, the method comprising:
reading the current transmitting voltage of the transmitting radio frequency signal;
determining the current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and a preset power calibration data table; the power calibration data table comprises a preset transmitting power, a calibration number pair corresponding to the preset transmitting power and a mapping relation of a calibration parameter pair; the calibration number pair comprises actual transmitting power and transmitting voltage corresponding to the preset transmitting power;
if the difference value between the current transmitting power and the preset transmitting power is larger than or equal to a first preset threshold value, performing power calibration according to the current transmitting power and the power calibration data table;
wherein, the determining the current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and a preset power calibration data table comprises:
inquiring whether a preset power calibration data table contains the current transmitting voltage or not; if yes, obtaining the current transmitting power corresponding to the current transmitting voltage from the power calibration data table; if not, acquiring a first scaling number pair and a second scaling number pair from the power scaling data table according to the current transmitting voltage, and calculating the current transmitting power corresponding to the current transmitting voltage according to the first scaling number pair and the second scaling number pair; a first voltage included in the first scaling number pair is the maximum value of all voltages in the power scaling data table which are smaller than the current transmission voltage, and a second voltage included in the second scaling number pair is the minimum value of all voltages in the power scaling data table which are larger than the current transmission voltage;
the calculating the current transmitting power corresponding to the current transmitting voltage according to the first scaling number pair and the second scaling number pair comprises: calculating a slope value according to the first scaling number pair and the second scaling number pair; calculating the current transmitting power corresponding to the current transmitting voltage according to the current transmitting voltage and the slope value through a formula (1);
P=V/K…(1)
in the formula (1), K is (Vn +1-Vn)/(Pn +1-Pn), K is a slope value, P is the current transmission power, V is the current transmission voltage, Vn is a first voltage included in the first scaling number pair, Vn +1 is a second voltage included in the second scaling number pair, Pn is a first power corresponding to the first voltage, and Pn +1 is a second power corresponding to the second voltage.
2. The method of claim 1, wherein the performing power calibration according to the current transmit power and the power scaling data table comprises:
acquiring a corresponding calibration parameter pair from the power calibration data table according to the preset transmitting power;
if the difference value between the current transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, adjusting the current transmitting power according to the coarse tuning parameters included in the calibration parameters until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value;
if the difference between the current transmitting power and the preset transmitting power is smaller than the second preset threshold and larger than or equal to the first preset threshold, adjusting the current transmitting power according to the current fine adjustment parameters included in the calibration parameters until the difference between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold.
3. The method of claim 2, wherein said adjusting the current transmit power according to the coarse tuning parameters included in the calibration parameter pair comprises:
adjusting the current transmitting power according to the coarse adjusting parameters included in the calibration parameter pair, and reading the current transmitting voltage of the adjusted transmitting radio frequency signal;
determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table;
and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the second preset threshold value, returning to execute the step of adjusting the current transmitting power according to the coarse adjustment parameters until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the second preset threshold value.
4. The method of claim 2, wherein the adjusting the current transmit power according to the current fine tuning parameter included in the calibration parameter pair comprises:
calculating a new current fine adjustment parameter according to the current fine adjustment parameter included in the current transmitting power, the preset transmitting power and the calibration parameter pair;
adjusting the current transmitting power according to the new current fine adjustment parameter, and reading the current transmitting voltage of the transmitted radio frequency signal after adjustment;
determining the current transmitting power corresponding to the adjusted current transmitting voltage according to the adjusted current transmitting voltage and the power calibration data table;
and if the difference value between the adjusted current transmitting power and the preset transmitting power is still larger than or equal to the first preset threshold value, returning to recalculate the new current fine tuning parameter until the difference value between the adjusted current transmitting power and the preset transmitting power is smaller than the first preset threshold value.
5. The method of claim 4, wherein calculating a new current fine tuning parameter according to the current fine tuning parameter included in the pair of current transmit power, the preset transmit power and the calibration parameter comprises:
calculating a new current fine tuning parameter according to the current fine tuning parameter included in the current transmitting power, the preset transmitting power and the calibration parameter pair by using a formula (2);
K1=K0*(10^((P1-P0)/20))…(2)
in the formula (2), K1For the new current fine-tuning parameter, K0For the current fine-tuning parameter, P1For the preset transmission power, P0Is the current transmit power.
6. The method of claim 1, wherein before determining the current transmit power corresponding to the current transmit voltage according to the current transmit voltage and a preset power scaling data table, the method further comprises:
receiving a power calibration data table sent by an upper computer, wherein the power calibration data table comprises a mapping relation of preset transmitting power, a calibration number pair and a calibration parameter pair;
storing the power scaling data table.
7. A reader power calibration method, the method comprising:
generating a calibration parameter pair corresponding to preset transmitting power, and sending the calibration parameter pair to a reader-writer;
acquiring actual transmitting power of the reader-writer for transmitting radio frequency signals according to the calibration parameters;
generating a power calibration data table according to the calibration parameter pair, the actual transmitting power and the preset transmitting power;
sending the power calibration data table to the reader-writer so that the reader-writer performs power calibration according to the power calibration data table;
generating a power calibration data table according to the calibration parameter pair, the actual transmitting power and the preset transmitting power, wherein the power calibration data table comprises: if the difference value between the actual transmitting power and the preset transmitting power is smaller than a first preset threshold value, acquiring the current transmitting voltage when the reader-writer transmits the radio frequency signal, forming the current actual transmitting power of the reader-writer and the current transmitting voltage into a calibration number pair corresponding to the preset transmitting power, and correspondingly storing the preset transmitting power, the calibration number pair and the current calibration parameter pair in a power calibration data table.
8. The method of claim 7, further comprising:
if the difference value between the actual transmitting power and the preset transmitting power is larger than or equal to a second preset threshold value, adjusting coarse tuning parameters included in the calibration parameter pair, and sending the adjusted calibration parameter pair to the reader-writer so that the reader-writer performs power adjustment according to the adjusted calibration parameter pair until the difference value between the actual transmitting power and the preset transmitting power of the reader-writer after adjustment is smaller than the second preset threshold value;
if the difference between the actual transmitting power and the preset transmitting power is smaller than the second preset threshold and larger than or equal to a first preset threshold, fine tuning parameters included in the calibration parameter pair are adjusted, and the adjusted calibration parameter pair is sent to the reader-writer, so that the reader-writer performs power adjustment according to the adjusted calibration parameter pair until the difference between the actual transmitting power and the preset transmitting power of the reader-writer is smaller than the first preset threshold after adjustment.
CN201811427781.7A 2018-11-27 2018-11-27 Reader-writer power calibration method and power calibration method Active CN109492443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811427781.7A CN109492443B (en) 2018-11-27 2018-11-27 Reader-writer power calibration method and power calibration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811427781.7A CN109492443B (en) 2018-11-27 2018-11-27 Reader-writer power calibration method and power calibration method

Publications (2)

Publication Number Publication Date
CN109492443A CN109492443A (en) 2019-03-19
CN109492443B true CN109492443B (en) 2022-05-24

Family

ID=65697853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811427781.7A Active CN109492443B (en) 2018-11-27 2018-11-27 Reader-writer power calibration method and power calibration method

Country Status (1)

Country Link
CN (1) CN109492443B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113260035A (en) * 2020-03-05 2021-08-13 深圳怡化电脑股份有限公司 Method and device for controlling transmission power of reader-writer, computer equipment and storage medium
CN111476329B (en) * 2020-04-13 2021-01-08 深圳市觅拓物联信息技术有限公司 Method, system and equipment for measuring link loss
CN112114403B (en) * 2020-09-23 2023-05-05 武汉光迅科技股份有限公司 Calibration method, device and equipment for optical switch and computer readable storage medium
CN112799459B (en) * 2021-03-29 2021-07-13 成都沃特塞恩电子技术有限公司 Power source debugging method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60102713T2 (en) * 2000-09-19 2005-03-31 France Telecom LASER MEASURING DEVICE OF A HIGH-FREQUENCY MAGNETIC FIELD WITH CONSTANT AMPLITUDE AND FREQUENCY
CN101888211A (en) * 2010-07-22 2010-11-17 华为终端有限公司 Calibration method of RF power amplifier and device
CN106066974A (en) * 2016-05-25 2016-11-02 安徽汉威电子有限公司 A kind of low power consumption, RF card is without switch inspection card device
CN106709388A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Reader-writer power calibration device and calibration method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60102713T2 (en) * 2000-09-19 2005-03-31 France Telecom LASER MEASURING DEVICE OF A HIGH-FREQUENCY MAGNETIC FIELD WITH CONSTANT AMPLITUDE AND FREQUENCY
CN101888211A (en) * 2010-07-22 2010-11-17 华为终端有限公司 Calibration method of RF power amplifier and device
CN106709388A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Reader-writer power calibration device and calibration method
CN106066974A (en) * 2016-05-25 2016-11-02 安徽汉威电子有限公司 A kind of low power consumption, RF card is without switch inspection card device

Also Published As

Publication number Publication date
CN109492443A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109492443B (en) Reader-writer power calibration method and power calibration method
US8483632B2 (en) Radiated power control systems and methods in wireless communication devices
EP4085510A1 (en) System for wirelessly transmitting energy at a near-field distance without using beam-forming control
US11265036B2 (en) Self-tuning method, self-tuning system and mobile terminal
CN104052506B (en) Antenna Tuner Control System and method for generating control signals used for antenna tuner control system
US20210359740A1 (en) Beam measurement method and apparatus
CN105337631B (en) A kind of aerial matching method, device, system and mobile terminal
CN108650034A (en) A kind of gain calibration methods thereof and device of radio-frequency apparatus
US9628044B2 (en) Parameter scanned tunable antenna
US20130017782A1 (en) Near field communications apparatus
CN106413042B (en) User terminal and frequency point searching method thereof
CN114866096A (en) Antenna impedance tuning method, antenna impedance tuning device, terminal equipment and storage medium
Merz et al. A low power design for radio frequency energy harvesting applications
US10971954B2 (en) Systems and methods for object detection
WO2017211109A1 (en) Gnss antenna system utilized in mobile terminal, mobile terminal, and electronic device
CN108985396B (en) Matching method and device of radio frequency chip
CN112986729A (en) Radiation stray detection method, detection device and readable storage medium
CN109426840B (en) Wireless clock calibration device of card reader and card reader
JP2009171523A (en) Matching method of antenna matcher
KR20140112319A (en) Rfid reader based on automatic matching network and controlling method thereof
US10079432B2 (en) Parameter scanned tunable antenna
CN115062729A (en) Classification model and training method, classification method, device and medium thereof
CN114004321A (en) Passive tag and setting method thereof
Jordana et al. Power Efficiency Maximization of an RF Energy Harvester by Fine-tuning an L-matching Network and the Load
Dieng et al. Study of adaptive tuning strategies for near field communication (nfc) transmitter module

Legal Events

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