A kind of RFID reader reads the adaptive setting method and device of parameter
Technical field
The present invention relates to a kind of adaptive setting methods that radio frequency arts more particularly to RFID reader read parameter
And its device.
Background technique
In flow instrument intelligence production line, it is related to multiple complicated procedures of forming, and each process there are 1 to 3 settings, and
Each each station of setting is respectively mounted RFID (Radio Frequency Identification, radio frequency identification) reader,
Various information entrained by current instrument are obtained by the corresponding RFID label tag of flow instrument each on reading assembly line, such as:
Order number, order date of manufacture, order client, the instrument bore, reference pressure value, the airtight value of standard etc..It then will be respective
Information uploads to MES (Manufacturing Execution System, manufacturing execution system), carries out a hierarchical system
Processing in real time.Usual one intelligent line configuration has a RFID reader more than 20, and according to the technological design of production line
With the arrangement of setting, more than 20 a RFID reader physical location and tranmitting frequency are fixed.When each RFID is marked
Label, by material disc, flow through the RFID reader that will enter process, then MES system meeting according to the fixed flowing water speed of production line
The RFID reader history for recording each setting successfully reads the number of label.
RFID reader be not it is each read RFID label tag be all successfully, there is also the situation for reading information failure,
And RFID reader reads information success or not, under the premise of RFID reader physical location and fixed tranmitting frequency, mainly
Depending on the reading parameter of RFID reader, i.e., the number of RFID label tag is read in its unit time.If it is (i.e. single to read parameter
Reading times in the time of position) it is excessively high, then it is easily reduced the service life of reader;If reading parameter (to read in the unit time
Take number) it is too low, then it will increase the probability for reading failure, to need manually to be read out, this provides for improved operating personnel's
Labor intensity also reduces the production efficiency of entire intelligent production line.
Currently, usually RFID reader reading times are set as not metering number, however in the actual production process, not metering
The case where several modes fails there is also a large amount of read-write, this allows for needing manually to read FRID label information, thus
When increasing the chief engineer manually spent in the process;Meanwhile the service life journey exponential decrease of RFID reader, future cost
Expense is big.
Summary of the invention
For the above technical problems, the present invention provides a kind of adaptive setting side of RFID reader reading parameter
Method and its device can read parameter by adaptive setting RFID reader, to reduce to the maximum extent manually
The number for reading FRID label information, thereby reduces the labor intensity of operating personnel, also improves the use of RFID reader
Service life makes entire intelligent production line maximizing the benefits.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A kind of RFID reader reads the adaptive setting method of parameter comprising step:
The history number of RFID label tag is successfully read according to all RFID readers in preset history reading database,
The maximum RFID reader of success rate is read in positioning;
It obtains the maximum RFID reader of the success rate and currently reads parameter, and using the current reading parameter as institute
There is RFID reader to read the reading parameter of RFID label tag next time;
Judge that each RFID reader is read again and whether read success, if success, keeps the reading of the success reading
Write the reading parameter constant of device;If unsuccessful, the reading for reading the RFID reader of failure is reset according to preset adjustable strategies
Take parameter.
Correspondingly, the present invention also provides the adaptive setting devices that a kind of RFID reader reads parameter comprising:
Locating module, for successfully reading RFID mark according to all RFID readers in preset history reading database
The maximum RFID reader of success rate is read in the history number of label, positioning;
Parameter setting module is read, for obtaining the current reading parameter of the prominent RFID reader, and will
The current reading parameter for reading parameter and carrying out RFID label tag reading next time as all RFID readers;Then judgement is every
A RFID reader reads again whether label reads success, if success, remains successful the reading of the RFID reader of reading
Parameter constant;If unsuccessful, the reading parameter for reading the RFID reader of failure is reset according to preset adjustable strategies.
The invention has the beneficial effects that:
The present invention reads parameter by adaptive setting RFID reader, manually reads to reduce to the maximum extent
The number of FRID label information thereby reduces the labor intensity of operating personnel, also improves the service life of RFID reader,
Make entire intelligent production line maximizing the benefits.
Detailed description of the invention
Fig. 1 is the process of an embodiment of the adaptive setting method that a kind of RFID reader of the invention reads parameter
Figure;
Fig. 2 is the process of the another embodiment for the adaptive setting method that a kind of RFID reader of the invention reads parameter
Figure;
Fig. 3 is an embodiment functional module of the adaptive setting device that a kind of RFID reader of the invention reads parameter
Figure.
Specific embodiment
With reference to the accompanying drawing, the present invention is described in detail.
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Embodiment one
Referring to Fig. 1, the process of an embodiment of the adaptive setting method of parameter is read for RFID reader of the invention
Figure, specifically, the method for the present embodiment specifically includes step:
S11, the total degree of RFID label tag is successfully read according to RFID readers all in history reading database, and positioning is read
Take the maximum RFID reader of success rate.
In the present embodiment, MES can record all RFID readers (in the same period) in real time and successfully read RFID label tag
Number, certainly, the number for reading failure also will record, and therefore, data can be read according to these history and construct a history reading
Database calculates so as to successfully read the number of RFID label tag according to each RFID reader in the history reading database
Its success rate, i.e., each RFID reader success reading times account in entire history reading database all readings (in the same period)
The ratio of device success reading times summation is write, and then according to the maximum reader of ratio position success rate, specifically, the step
S11 specifically includes step:
I successfully reads the number and all RFID of RFID label tag according to RFID reader each in history reading database
The total degree that reader is successfully read calculates the success rate of the successful reading RFID label tag of each RFID reader.
II, the success rate of more each RFID reader, the maximum RFID reader of rate of succeeding.
In the present embodiment, the maximum RFID reader of the success rate referred within the same period, in all readers, the reading
Write device successfully read RFID label tag number it is most, that is to say, its read parameter setting the most rationally.
In the present embodiment, the period is by a flow instrument by the basis of entire assembly line, then system in the same period
In each RFID reader successfully read the history number of RFID label tag, refer to when the same flow instrument passes through in entire flowing water
In line when each setting, the corresponding RFID reader O of each settingnRead success when RFID label tag on the flow instrument
Reading times.
S13, obtains the current reading parameter of the maximum RFID reader of the success rate, and using the current reading parameter as
All RFID readers read the reading parameter of RFID label tag next time.
In the present embodiment, it is pre-set, such as default setting that this, which currently reads parameter, or factory is not provided with, and
It is to be arranged when being initialized or in work.
S15 judges that each RFID reader is read again and whether reads success, if success, thens follow the steps S17, otherwise
Execute step S19.
S17, remains successful the reading parameter constant of the RFID reader of reading, and executes step S15.
Since the reading parameter by step S13, all readers is both configured to work as with the maximum reader of success rate
Preceding reading parameter is consistent, and when each reader is read out label success according to the current reading parameter again, then illustrate
Therefore reading parameter (i.e. above-mentioned current reading parameter) at this time can protect for the optimal reading parameter relative to the reader
It holds constant.
S19 resets the reading parameter of the RFID reader of reading failure according to preset adjustable strategies, while according to institute
There is the reading result more new historical reading database of reader, and executes step S11.
Since the reading parameter by step S13, all readers is both configured to work as with the maximum reader of success rate
Preceding reading parameter is consistent, and when each reader carries out label reading according to the current reading parameter again, and fails, then it says
Bright reading parameter (i.e. above-mentioned current reading parameter) at this time is not the optimal reading parameter relative to the reader, therefore,
It needs to be adjusted on the basis of the reading parameter.In one embodiment, which, which refers to, will read failure
Reader reading parameter at this time, i.e., above-mentioned current reading parameter, on the basis of plus one.
The adaptive setting device of the present embodiment passes through according within the same period, and each reader successfully reads label
Probability determine the maximum reader of the probability of success, and obtain its current reading parameter, i.e. reading times in the unit time,
So that it is determined that read the optimum reader of parameter setting in all readers, parameter conduct current is then read according to it
All readers read again the reading parameter of label, are then adjusted in real time according to result is read, and then maximum limit
The number that degree ground reduces manually reading FRID label information is also improved simultaneously with reducing the labor intensity of operating personnel
The service life of RFID reader makes entire intelligent production line maximizing the benefits.
Embodiment two
Referring to fig. 2, the second embodiment of the adaptive setting method of parameter is read for a kind of RFID reader of the invention
Flow chart specifically in the present embodiment, enable in system and there are 20 settings in total, and each setting is one corresponding
RFID reader On(n=1,2,3...20), then the adaptive setting method comprising steps of
S211 obtains each RFID reader O in the history reading database of MES systemnRFID label tag is read in success
Number MN, n=1,2 ..., 20The total degree N of RFID label tag is successfully read with 20 RFID readers.
In the present embodiment, which successfully reads the total degree of RFID label tag are as follows: N=M1+M2+…
M20。
S213 calculates the reading probability of success P of each RFID readerN, n=1,2 ..., 20。
In the present embodiment, which refers to that each RFID reader success reading times own in the database
Reader successfully reads the ratio of total degree, then 20 respective success rates of reader are as follows:
S215 compares the respective reading probability of success of 20 readers, and positions successfully maximum probability value PmaxRead-write
Device.
In the present embodiment, the maximum probability of the 10th reader is enabled, it specifically can be according to the corresponding position of the reader when positioning
It sets serial number or other marks is positioned, then its success rate are as follows:
S217 obtains the 10th RFID reader O10In current reading parameter i.
In the present embodiment, this currently reads the reading times i in the parameter i.e. reader current one time.
S219, using the current reading parameter i as 20 RFID reader O1,2,…,20RFID label tag is read next time
Read parameter.
S221 judges each reader O1,2,...,20It reads again and whether succeeds, if success, thens follow the steps S223,
If unsuccessful, S225 is thened follow the steps.
In the present embodiment, there may be the readings that partially succeeds again in 20 readers, it is also possible to exist and read again
It takes unsuccessful, is then adjusted separately respectively for reading successfully and read unsuccessful reader, if such as reader O1-
O15,O17-O20It is all successful, then follow the steps S223, and reader O16It reads unsuccessful, thens follow the steps S225.
S223 remains successful each reader O of reading1-O15,O17-O20Reading parameter i it is constant, and execute step
S219.S225 will read the reader O of failure16Reading parameter change be i+1, while according to each reader
O1,2,...,20Data in the result read again more new historical reading database, and execute step S211.
Embodiment three
Reading parameter adaptive setting method based on above-mentioned RFID reader, the present invention also provides a kind of RFID readings
The adaptive setting device that device reads parameter is write, is described in detail in the following with reference to the drawings and specific embodiments.
Referring to Fig. 3, an embodiment of the adaptive setting device of parameter is read for a kind of RFID reader of the invention
Functional block diagram, specifically, the adaptive setting device includes: in the present embodiment
Locating module 11, for successfully reading RFID according to all RFID readers in preset history reading database
The maximum RFID reader of success rate is read in the history number of label, positioning;Specifically, in the present embodiment, the locating module 11
It include: probability statistics unit, for successfully reading time of RFID label tag according to RFID reader each in history reading database
The total degree that several and all RFID readers are successfully read calculates the success of the successful reading RFID label tag of each RFID reader
Rate;Positioning unit, for comparing the success rate for each RFID reader that the probability statistics unit is calculated, rate of succeeding
Maximum RFID reader;
Parameter setting module 12 is read, for obtaining the current reading parameter of the maximum RFID reader of the success rate, and
The reading parameter of label is read again using acquired current reading parameter as all RFID readers, then judgement is each
RFID reader reads again whether succeed, if success, will remain successful the reading parameter constant of the reader of reading;If no
Success then resets the reading parameter for reading the RFID reader of failure according to preset adjustable strategies, in one embodiment,
The adjustable strategies add one on the basis of referring to reading parameter in this prior.
In another embodiment, which may also include update module, be used for when reading parameter setting
While the reading parameter for the RFID reader that module 12 resets above-mentioned reading failure according to preset adjustable strategies, according to each
Data in the reading result of RFID reader more new historical reading database, including all RFID readers successfully read RFID
The history number of label.
In the present embodiment, which is according to each RFID reader is successfully read in system in the same period
The history number of RFID label tag is taken to construct;Wherein, the period is by a flow instrument by the basis of entire assembly line, then together
Each RFID reader successfully reads the history number of RFID label tag in system in one period, refers to when the same flow instrument is logical
When crossing each setting in entire assembly line, the corresponding RFID reader O of each settingnIt successfully reads on the flow instrument
The number of RFID label tag.
The adaptive setting device can be independently of MES system in the present embodiment, and the components group such as single-chip microcontroller can be used
At it is also possible to be integrated in the MES system module certainly.
The adaptive setting device of the present embodiment passes through according within the same period, and each reader successfully reads label
Probability determine the maximum reader of the probability of success, and its current reading parameter is obtained, so that it is determined that all readers
The middle optimum reader for reading parameter setting, then according to its current parameter that reads as the reading ginseng for reading again label
Then number is adjusted in real time according to result is read, and then reduce manually read RFID label tag letter to the maximum extent
The number of breath to reduce the labor intensity of operating personnel, while also improving the service life of RFID reader, makes entire intelligence
Production line maximizing the benefits.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.