Disclosure of Invention
In order to solve the problems, the invention discloses a method, a device and a system for workpiece positioning, wherein the method, the device and the system are used for workpiece positioning, and the workpiece sends positioning information without manual searching.
The technical scheme of the invention is realized as follows:
the invention discloses a method for workpiece positioning, which comprises the following steps:
s1, importing coding information of a workpiece;
s2, setting configuration information of the workpiece, wherein the configuration information corresponds to the coding information one by one;
and S3, controlling the emission of electromagnetic waves of the RFID tag carried on the workpiece according to the configuration information.
Further, the steps S2 and S3 further include the following steps, specifically:
s21, acquiring physical information of a workpiece;
s22, coding the physical information and adding the physical information into the configuration information.
Further, the step S21 specifically includes: the physical information of the work is acquired by different sensors.
Further, the physical information includes electric quantity, position, temperature and illuminance.
The invention discloses a device for workpiece positioning, which comprises:
the code information importing unit is used for importing the code information of the workpiece;
the configuration information setting unit is used for setting configuration information of the workpiece, and the configuration information corresponds to the coding information one by one;
and the control transmitting unit is used for controlling the transmission of electromagnetic waves of the RFID tag carried on the workpiece according to the configuration information.
Further, the configuration information setting unit and the control transmitting unit further have the following units, specifically:
the physical information acquisition unit is used for acquiring the physical information of the workpiece;
and the adding unit is used for coding the physical information and adding the physical information into the configuration information.
Further, the physical information acquisition unit specifically includes: the physical information of the work is acquired by different sensors.
Further, the physical information includes electric quantity, position, temperature and illuminance.
The invention discloses a system for workpiece positioning, which comprises a workpiece with a positioning control device and a positioning information receiving device, wherein the positioning control device comprises the device.
Further, the positioning information receiving device comprises a card reader capable of reading wireless electromagnetic wave information.
The method, the device and the system for positioning the workpiece have the following beneficial technical effects:
the tool can automatically report the possible positions of the missing without remembering the specific missing positions manually, so that the labor cost is saved, and the omission, the error, the instantaneity, the reliability and the objectivity of the tool searching process can be ensured.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, in an embodiment of the present invention, a method for positioning a workpiece includes:
s1, importing coding information of a workpiece;
the coded information of the workpiece corresponds to the workpiece itself, has uniqueness, and can be represented by one byte of information.
S2, setting configuration information of the workpiece, wherein the configuration information corresponds to the coding information one by one;
the configuration information of the workpiece may be a format string information amount, including a preamble byte, a message byte, and a check byte, where the preamble byte may be set as encoding information, the message byte may be 8 to 10 bytes, the check result in the check byte is 2 bytes, it is required that validity check in the configuration of the workpiece is enabled, and the same protocol is used for transmission and reception.
And S3, controlling the emission of electromagnetic waves of the RFID tag carried on the workpiece according to the configuration information.
For the working tool, different RFID tags can be attached, the last four digits of the tag number are marked beside the tag, and each RFID tag is provided with a unique code corresponding to the tool information, similar to an identity card of us, and has uniqueness. The RFID tag may transmit and receive electromagnetic waves.
Further, the steps S2 and S3 further include the following steps, specifically:
s21, acquiring physical information of a workpiece;
s22, coding the physical information and adding the physical information into the configuration information.
The step S21 specifically includes: the working physical information is obtained through different sensors, and the physical information comprises electric quantity, position, temperature and illuminance. The electric quantity information can be obtained through an electric quantity sensor; acquiring position information through a displacement sensor; acquiring humidity information through a humidity sensor; the illuminance information is acquired by the photosensitive sensor, and relates to the luminous flux received on the unit area of the surface of the workpiece.
The two steps are to further grasp the real-time state of the workpiece.
In the technical scheme, the specified working frequency of the RFID tag is 2400.00 MHz-2527.00 MHz, 128 channels are provided in the frequency band, the channel sequence number is 0-127, and the bandwidth of each channel is 1MHz. The default operating channel is channel 0, the default operating frequency is 2400.00MHz, and the operating frequency accuracy is 16 MHz+ -30 ppm.
The center frequency calculation formula: f=2400 mhz+rf_ch×1.0MHz;
f: center frequency, 2400.00 MHz-2527.00 MHz;
rf_ch: channels, 0-127;
the RF_CH in the technical scheme is 81, and the central frequency of the system is 2481.00MHz.
And step S3, the following steps are also carried out, namely receiving an audible and visual alarm signal for starting, and starting the workpiece to send out audible and visual information.
People can only search for lost workpieces by vision, can not be accurately positioned in time, and have audible and visual alarms, so that the method is more convenient and quicker. This step is to more conveniently find the missing tool.
The device for implementing the present invention is described below, and the parts not described in the device may refer to the statements in the above method, and will not be described in detail herein.
Referring to fig. 2, an apparatus 1 for workpiece positioning, comprises:
an encoded information importing unit 10 for importing encoded information of a workpiece;
the coded information of the workpiece corresponds to the workpiece itself, has uniqueness, and can be represented by one byte of information.
A configuration information setting unit 20, configured to set configuration information of the workpiece, where the configuration information corresponds to the coding information one by one;
the configuration information of the workpiece may be a format string information amount, including a preamble byte, a message byte, and a check byte, where the preamble byte may be set as encoding information, the message byte may be 8 to 10 bytes, the check result in the check byte is 2 bytes, it is required that validity check in the configuration of the workpiece is enabled, and the same protocol is used for transmission and reception.
And a control transmitting unit 30 for controlling the transmission of electromagnetic waves of the RFID tag carried on the workpiece according to the configuration information.
For the working tool, different RFID tags can be attached, the last four digits of the tag number are marked beside the tag, and each RFID tag is provided with a unique code corresponding to the tool information, similar to an identity card of us, and has uniqueness. The RFID tag included in the control transmitting unit 30 may transmit and receive electromagnetic waves.
Further, the configuration information setting unit 20 and the control transmitting unit 30 further have the following units, specifically:
a physical information acquisition unit 21 for acquiring physical information of the workpiece;
and a joining unit 22, configured to encode the physical information and join the physical information into the configuration information.
The physical information acquisition unit 21 specifically includes: physical information of the workpiece is acquired by different sensors.
The physical information includes electric quantity, position, temperature and illuminance.
The following audible and visual alarm unit is further arranged behind the control transmitting unit 30 and is used for receiving the starting audible and visual alarm signal and starting the workpiece to send out audible and visual information.
Referring to fig. 3, in a first embodiment, a system 100 for positioning a workpiece includes a workpiece 200 having a positioning control device, and a positioning information receiving apparatus 300, wherein the positioning control device includes the apparatus 1.
The positioning information receiving apparatus 300 includes a card reader capable of reading wireless electromagnetic wave information.
The workpiece 200 is constantly actively transmitting a radio signal (3 seconds for 1 time, the transmission power can be modified according to the user's requirements) and can travel a long distance, the radio signal is coded, and the code of each identification card is unique. If the wireless signal sent by the identification card is within the effective measurement distance of the card reader, the wireless signal is received and decoded by the card reader in the positioning information receiving device 300 through an antenna on the card reader, and then the card reader sends information to a management system or other monitoring systems through TTL232/RS232/RS485/CAN bus/Ethernet/Wiegand-26/Wiegand-34/USB/GPRS interfaces.
The method, the device and the system for positioning the workpiece have the following beneficial technical effects:
the tool can automatically report the possible positions of the missing without remembering the specific missing positions manually, so that the labor cost is saved, and the omission, the error, the instantaneity, the reliability and the objectivity of the tool searching process can be ensured.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.