Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of measurement method of car body component, device and measurement work stations
PLC, with the workload for process of measurement of reducing the staff, while reducing the error rate of program.
In a first aspect, this method is applied to measurement work the embodiment of the invention provides a kind of measurement method of car body component
Make the PLC to stand;This method comprises: the identity information of acquisition testee;Judge identity information whether with the measurement that issues in advance
Task matches;If so, parsing obtains the corresponding configuration information of identity information, configuration information is sent to measurement control system
System, so that Measurement and Control System obtains the process of measurement to match with identity information, root from the process of measurement library pre-saved
Testee is measured according to process of measurement;Wherein, general program and dedicated program are preserved in process of measurement library.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein adopts
The step of collecting the identity information of testee, comprising: pass through RFID (Radio Frequency Identification, radio frequency
Identification) reader reads the RFID label tag that is arranged on testee, obtain identity information.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein sentences
The step of whether disconnected identity information matches with the measurement task issued in advance, comprising: if identity information and measurement task are not
Matching generates alarm signal, so that testee returns to sealing wire.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein surveys
It measures program library to establish by following manner: using PC-DMIS (Personal Computer-Dimensional Measuring
Interface Specification, the dimensional measuring interface standard of PC) Survey Software, by the vehicle body of same vehicle
The process of measurement of component is decomposed into general program and dedicated program;General program and dedicated program are saved as to the survey of current vehicle
Measure program library.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein will
Configuration information is sent to Measurement and Control System, so that Measurement and Control System is obtained from the process of measurement library pre-saved and identity
The process of measurement that information matches, the step of being measured according to process of measurement to testee, comprising: send configuration information
To the controller of measuring machine, so that controller extracts general program from process of measurement library, and match with identity information
Dedicated program controls corresponding measuring appliance according to general program and dedicated program and measures to testee.
Second aspect, the embodiment of the present invention also provide a kind of measuring device of car body component, which is set to measurement work
Make the PLC to stand;The device includes: acquisition module, for acquiring the identity information of testee;Authentication module, for judging body
Whether part information matches with the measurement task issued in advance;Configuration module, if for identity information and the survey that in advance issues
Amount task matches, and parsing obtains the corresponding configuration information of identity information, and configuration information is sent to Measurement and Control System, so that
Measurement and Control System obtains the process of measurement to match with identity information from the process of measurement library pre-saved, according to measurement journey
Ordered pair testee measures;Wherein, general program and dedicated program are preserved in process of measurement library.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein adopts
Collect module, be also used to: the RFID label tag being arranged on testee being read by RFID reader, obtains identity information.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein tests
Module is demonstrate,proved, is also used to: if identity information and measurement task mismatch, generating alarm signal, so that testee returns to welding
Line.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein matches
Set module, be also used to: configuration information is sent to the controller of measuring machine so that controller extracted from process of measurement library it is general
Program, and the dedicated program to match with identity information control corresponding measuring appliance pair according to general program and dedicated program
Testee measures.
The third aspect, the embodiment of the invention also provides a kind of PLC for measuring work station, including memory and processor,
Wherein, memory is for storing one or more computer instruction, and one or more computer instruction is executed by processor, with reality
The measurement method of existing above-mentioned car body component.
The embodiment of the present invention bring it is following the utility model has the advantages that
Measurement method, device and the PLC for measuring work station of a kind of car body component provided in an embodiment of the present invention, measurement control
From process of measurement library has been pre-saved in system processed, after PLC acquires the identity information of testee, whether the identity information is judged
Match with the measurement task issued in advance;If so, the corresponding configuration information of identity information is sent to Measurement and Control System,
System obtains the process of measurement to match with identity information from process of measurement library, is carried out according to the process of measurement to testee
Measurement;Wherein, general program and dedicated program are preserved in process of measurement library.Which is according to different automobile type configurations from program
Required process of measurement block is recalled in library, reduces the workload of establishment process of measurement, while reducing the error rate of program.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
A kind of measurement method of the corresponding process of measurement of automobile type configuration, generally requires that same vehicle is every one kind is occurred and match
It sets, it is necessary to work out a set of test program;When programming, the setting variation of program caused by data change needs programmer
It is all updated in all process of measurement sections, programmer updates manually is also easy to produce omission, and workload is huge;In addition, vehicle is matched
Confidence breath needs operator artificially to determine, the configuration information being similarly configured also is easy to obscure, and existing car body component is caused to be surveyed
Amount mode heavy workload and error rate height, are based on this, the embodiment of the invention provides a kind of measurement methods of car body component, device
With the PLC of measurement work station, which be can be applied in vehicle body automatic detection.The technology can by relevant software or
Hardware realization is described below by embodiment.
A kind of flow chart of the measurement method of car body component shown in Figure 1;This method is applied to measurement work station
PLC;This method comprises the following steps:
Step S102 acquires the identity information of testee;
The testee can be the components, such as white body, car door, front cover, rear cover etc. of composition vehicle;Work as measured object
Body enters before measurement work station, label can be arranged on the testee in advance, for example, graphical label (including two dimensional code, item
Shape code), electronic tag etc.;The label can indicate the identity information of testee, for example, vehicle described in the testee,
Configuration, status information and car number etc. are somebody's turn to do the identity information to testee convenient for the PLC automatic identification of measurement work, and
Corresponding program is found according to the identity information of testee to measure;Setting label is also conducive to treat testee
Real-time tracking and monitoring are carried out, obtains the progress of testee, the unified management and adjustment of line easy to produce in time.
Step S104, judges whether identity information matches with the measurement task issued in advance;
MES (Manufacturing Execution System, manufacturing enterprise's production process execute system) system is usual
Measurement task can be issued to measurement work station;It usually carries in the measurement task and believes with the automobile type configuration of measurement object etc.
Breath;The identity information and measurement task of testee in order to prevent, needs first to determine testee the case where causing measuring error
Identity information whether match with the measurement task issued in advance, when identity information and the measurement task phase that issues in advance
Match, following operation can be carried out.
Configuration information is sent to measurement control if so, parsing obtains the corresponding configuration information of identity information by step S106
System processed, so that Measurement and Control System obtains the measurement journey to match with identity information from the process of measurement library pre-saved
Sequence measures testee according to process of measurement;Wherein, general program and dedicated journey are preserved in the process of measurement library
Sequence.
It is usually preserved in process of measurement library and measures a kind of program block that all configurations of vehicle may use;For example, vehicle
Type A includes economical configuration, comfort type standard configuration and luxury configuration;It, can when testing the corresponding testee of economical configuration
Program block 1 in general program and program block 2 and the corresponding dedicated program of economical configuration can be will use;In test person of outstanding talent
When magnificent type configures corresponding testee, program block 2, program block 3 and the program block 4 in general program may be used, with
And the corresponding dedicated program of luxury configuration.
When identity information matches with the measurement task issued in advance, the PLC for measuring work station will parse identity letter
Corresponding configuration information is ceased, configuration information is sent to Measurement and Control System, Measurement and Control System is typically mounted at measuring machine
In control cabinet, Measurement and Control System transferred from the process of measurement library pre-saved the general program to match with identity information and
Dedicated program measures testee according to process of measurement.
The measurement method of a kind of car body component provided in an embodiment of the present invention, from having pre-saved survey in Measurement and Control System
Measure program library, after PLC acquires the identity information of testee, judge the identity information whether with the measurement task phase that issues in advance
Matching;If so, the corresponding configuration information of identity information is sent to Measurement and Control System, system is obtained from process of measurement library
The process of measurement to match with identity information measures testee according to the process of measurement;Wherein, in process of measurement library
Preserve general program and dedicated program.Which recalls required process of measurement according to different automobile type configurations from program library
Block, reduces the workload of establishment process of measurement, while reducing the error rate of program.
The flow chart of the measurement method of another car body component shown in Figure 2;This method method base shown in Fig. 1
It is realized on plinth, this method is applied to the PLC of measurement work station;In this method, measurement is established by step S202 and S204 first
Program library, this method comprises the following steps:
The process of measurement of the car body component of same vehicle is decomposed into general by step S202 using PC-DMIS Survey Software
Program and dedicated program;
Above-mentioned steps are to establish process of measurement library, using PC-DMIS secondary development function, by the white body of the same vehicle
And components process of measurement is decomposed into general program and dedicated program, realizes flexibility measurement, is conducive to the pipe for measuring work station
Reason and configuration;In general, same vehicle establishes a process of measurement library, and when configuration information changes, journey caused by all data change
Sequence sets change and only needs to carry out unified change in the corresponding program library of vehicle;When only one program library of same vehicle, occur complete
When new configuration, it is only necessary to update configuration list or newly-increased program block can meet demand.
General program and dedicated program are saved as the process of measurement library of current vehicle by step S204;
Specifically, process of measurement library is to store process of measurement in a modular fashion, i.e. program block;The modularization measures journey
Sequence include but is not limited to stored with modular form independent process of measurement, subprogram, sub-programme gather, with advanced surveying program language
Integrated form process of measurement of production etc.;The storage form of the program block includes but is not limited to be locally stored, network storage, move Jie
Matter storage etc..
Step S206 reads the RFID label tag being arranged on testee by RFID reader, obtains identity information;
The overall structure diagram of measurement work station, RFID reader (are read and write in Fig. 3 with ultrahigh frequency RFID as shown in Figure 3
For device) it can be set in the inlet of measurement work station, it is connect with plc communication;When testee enter measurement work station it
Before, testee, which can be stuck, RFID label tag, this RFID label tag is used to store the identity information of testee, can paste
On testee, it can also be pasted on measurement bracket, the identity information of testee includes car status information and vehicle
Number etc.;Testee enters measurement work station, and RFID reader reads the RFID label tag pasted on testee, obtains RFID
The identity information of tag memory storage;High frequency or ultrahigh frequency reader-writer can be used in the RFID reader, and read-write mode can be with AGV
(Automated Guided Vehicle, automated guided vehicle) or other delivery vehicles are implemented in combination with automatic read-write, can also
To use hand-held RFID read-write device manually to read and write.
Step S208, judges whether identity information matches with measurement task;If not, executing step S210;If so, holding
Row step S212;Specifically, the PLC of work station is measured the identity information in RFID reader reading testee RFID label tag
It is compared with the measurement task that MES system issues, and judges whether to match.
Step S210 generates alarm signal, so that testee returns to sealing wire;
When identity information is mismatched with the measurement task issued in advance, the PLC for measuring work station issues alarm signal, and mentions
Show that testee returns to sealing wire;In general, the car status information and car number and MES that store in RFID electronic label are direct
The measurement order demand issued is compared;Identity information and the unmatched reason of measurement task, are roughly divided into two kinds, one is
Testee send mistake;Secondly being sealing wire temporary changes car number, car number is caused not to be inconsistent with car status information.
Step S212, parsing obtain the corresponding configuration information of identity information, configuration information are sent to the control of measuring machine
Device, so that controller extracts general program, and the dedicated program to match with identity information from process of measurement library, according to logical
Corresponding measuring appliance is controlled with program and dedicated program to measure testee.
Specifically, the configuration information parsed is passed into Measurement and Control System, measurement task is by Measurement and Control System control
System, Measurement and Control System are mounted in the control cabinet of measuring machine, are made of electronic components such as PLC, and soft equipped with dedicated control
Part, Measurement and Control System call corresponding process of measurement block to measure from process of measurement library;For example, vehicle as shown in Figure 4
The structural schematic diagram in the process of measurement library of body component;It include multiple program blocks in the process of measurement library, for example, program block 1 is MT
(ManualTransmission, manual transmission) cabin program block, program block 2 be AT (Automatic Transmission,
Automatic transmission) cabin program block.When RFID configuration information is comfort standard configuration, then control system can be called from program library
2,4,6,9,10,14 program block;When RFID configuration information is the mixed luxurious configuration of ejector half, then control system can be adjusted from program library
With 3,4,8,9,13,14 program blocks.
Aforesaid way realizes same vehicle and establishes a program library, and program caused by all data change sets change only needs
Unified change is carried out in program library;Program library is established, only one program library of same vehicle when there is completely new configuration, only needs
It updates configuration list or newly-increased program block can meet demand;Testee information, and and MES are read using RFID reader
The measurement task comparison that system issues, avoids erroneous judgement when manual identified;Reduce existing car body component measurement method work
Amount and error rate.
The embodiment of the invention also provides the measurement method of another car body component, this method is shown in above-mentioned Fig. 1 or Fig. 2
It is realized on the basis of method, as shown in figure 5, this method comprises the following steps:
Step S502, testee enter measurement work station;
Step S504, RFID reader identify object information;
Step S506, compares whether object information is consistent with MES task;If so, executing step S508;If not, holding
Row step S510;
Step S508, RFID information typing control system;
Step S510 transfers corresponding program block from program library;
Step S512, measuring machine are detected.
Aforesaid way provides a kind of test technique automatic based on ultrahigh frequency RFID, solves at present with vehicle difference
Configuration needs the problem of weaving different processs of measurement, reduces existing car body component measurement method workload and error rate.
Corresponding to above method embodiment, the embodiment of the invention provides a kind of measuring devices of car body component, such as Fig. 6 institute
Show, which includes:
Acquisition module 60, for acquiring the identity information of testee;
Authentication module 61, for judging whether identity information matches with the measurement task issued in advance;
Configuration module 62, if matched for identity information with the measurement task issued in advance, parsing obtains identity letter
Corresponding configuration information is ceased, configuration information is sent to Measurement and Control System, so that Measurement and Control System is from the survey pre-saved
The process of measurement to match with identity information is obtained in amount program library, testee is measured according to process of measurement;Wherein,
Process of measurement preserves general program and dedicated program in library.
Above-mentioned acquisition module, is also used to: reading the RFID label tag being arranged on testee by RFID reader, obtains
Identity information.
Above-mentioned authentication module, is also used to: if identity information and measurement task mismatch, alarm signal is generated, so that by
It surveys object and returns to sealing wire.
Above-mentioned configuration module, is also used to: configuration information is sent to the controller of measuring machine so that controller from measurement journey
General program, and the dedicated program to match with identity information are extracted in sequence library, are controlled according to general program and dedicated program
Corresponding measuring appliance measures testee.
The measuring device of a kind of car body component provided in an embodiment of the present invention, from having pre-saved survey in Measurement and Control System
Measure program library, after PLC acquires the identity information of testee, judge the identity information whether with the measurement task phase that issues in advance
Matching;If so, the corresponding configuration information of identity information is sent to Measurement and Control System, system is obtained from process of measurement library
The process of measurement to match with identity information measures testee according to the process of measurement;Wherein, in process of measurement library
Preserve general program and dedicated program.Which recalls required process of measurement according to different automobile type configurations from program library
Block, reduces the workload of establishment process of measurement, while reducing the error rate of program.
A kind of PLC for measuring work station is present embodiments provided, as shown in fig. 7, the PLC includes memory 100 and processing
Device 101;Wherein, memory 100 is for storing one or more computer instruction, and one or more computer instruction is by processor
It executes, to realize the measurement method of above-mentioned car body component, this method may include one of above method or a variety of.
Further, PLC shown in Fig. 7 further includes bus 102 and communication interface 103, processor 101,103 and of communication interface
Memory 100 is connected by bus 102.
Wherein, memory 100 may include high-speed random access memory (RAM, Random Access Memory),
It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely
A few communication interface 103 (can be wired or wireless) is realized logical between the system network element and at least one other network element
Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..Bus 102 can be isa bus, pci bus or
Eisa bus etc..The bus can be divided into address bus, data/address bus, control bus etc..Only to be used in Fig. 7 convenient for indicating
One four-headed arrow indicates, it is not intended that an only bus or a type of bus.
Processor 101 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization
Each step of method can be completed by the integrated logic circuit of the hardware in processor 101 or the instruction of software form.On
The processor 101 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation
CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital
Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated
Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or
Person other programmable logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute sheet
Disclosed each method, step and logic diagram in open embodiment.General processor can be microprocessor or the processing
Device is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present disclosure, can be embodied directly in
Hardware decoding processor executes completion, or in decoding processor hardware and software module combination execute completion.Software mould
Block can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory 100, and processor 101 reads memory
Information in 100, in conjunction with its hardware complete previous embodiment method the step of.
The embodiment of the invention also provides a kind of machine readable storage medium, which is stored with machine
Executable instruction, for the machine-executable instruction when being called and being executed by processor, machine-executable instruction promotes processor real
The measurement method of existing above-mentioned car body component, specific implementation can be found in embodiment of the method, and details are not described herein.
The technical effect of the PLC of measurement work station provided by the embodiment of the present invention, realization principle and generation and aforementioned
Embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to corresponding in preceding method embodiment
Content.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent portion can also be integrated to form with two or more modules
Point.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the disclosure is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the disclosure all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.