Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of electroplating traveling crane Controlling System and control method thereof are provided, its utmost point bar that can solve electroplating traveling crane is preferably piled up and the utmost point bar free time, makes the production efficiency of electroplating assembly line the highest.
According to technical scheme provided by the invention, described electroplating traveling crane Controlling System comprises in-circuit emulator, on-the-spot real-time controller, electric operator, electroplating traveling crane and proofing unit; The process period that is input as workpiece and the processing process of described in-circuit emulator, the output of described in-circuit emulator links to each other with on-the-spot real-time controller by fieldbus; The output of described on-the-spot real-time controller is connected to electric operator, and described electric operator drives electric bicycle; Proofing unit detects electroplating traveling crane and arrives the time of determining to electroplate station, and feeds back to described in-circuit emulator; In-circuit emulator arrives detected electroplating traveling crane in the time of definite plating station and imports as the control of on-the-spot real-time controller according to the difference of technical process setting-up time.
Described electric operator comprises lifting motor, movable motor and step-down gear; Described lifting motor drives by chain and flies the target lifting; Described movable motor and step-down gear drive electroplating traveling crane and move along the plating tank guide rail.Described proofing unit is that one group of contact-free integrated circuits is near switch and zinc-plated signal plate, describedly be fixed on the electroplating traveling crane near switch, the fixed order that described zinc-plated signal plate adopts 2 scale codings each station over against position near switch, when electroplating traveling crane each station of walking, represent different station near the different combinations of pairs of switch and zinc-plated signal plate.
Described in-circuit emulator is an industrial computer.Described on-the-spot real-time controller is PLC or micro-chip.
Described electroplating traveling crane control method comprises the steps:
One, the resetting system time;
Two,, obtain first and hang workpiece, and begin to process the first extension workpiece, timing system time in the beginning and ending time of electroplating station processing according to processing process;
Three, judge the follow-up situation of hanging workpiece that goes up: when on not having subsequent workpiece, hanging, carry out the processing of workpiece, enter to unload until workpiece and hang the district, finish processing by technical process; When the follow-up workpiece of upward hanging is identical with the workpiece of processing, performing step four; When the follow-up workpiece of going up the workpiece of extension and processing is inequality, performing step seven;
Four, according to the process modeling in the in-circuit emulator, obtain just in the scope of processing work in beginning and ending time of electroplating station processing and electroplating traveling crane control, the prediction subsequent workpiece is hung the timed interval on beginning and ending time of electroplating station processing and workpiece, make the described processing beginning and ending time and on hang and can avoid taking place the accumulation of utmost point bar in the timed interval;
Five, in-circuit emulator is by bus, will electroplate to hang the timed interval on station processing beginning and ending time and the workpiece and write on-the-spot real-time controller, by the process period of on-the-spot real-time controller control workpiece at the plating station;
Six, on-the-spot real-time controller arrives the time of electroplating station according to workpiece in the driving of beginning and ending time of electroplating station processing and proofing unit detection, judge when workpiece enters next processing stations by technical process, whether with the concluding time overlaid of next station processing; If overlapping, prolong workpiece in the process period that requires undemanding plating station; If can not carry out described prolongation operation process period, on-the-spot real-time controller sends utmost point bar and piles up signal and point out the particular location that utmost point bar is piled up, wait for manual handling, and manually adjust the parameter of in-circuit emulator and on-the-spot real-time controller, make processing work that utmost point bar not take place and pile up, proceed the processing of workpiece; If not overlapping, the output driving electric operator by on-the-spot real-time controller makes electroplating traveling crane drive workpiece and walks by technical process, and performing step three;
Seven, according to the technical process of workpiece, in in-circuit emulator, set up the process modeling of new processing work and the utmost point bar number that this workpiece of calculating processing needs, be that the interior utmost point bar number of electric bath groove adds the utmost point bar number that each driving is sling, compare with existing utmost point bar sum on the production line; When the utmost point bar that needs more than the processing work complete processing when existing total utmost point bar number on the production line was counted, the on-the-spot real-time controller control driving utmost point bar of slinging was distinguished to unloading to hang, and lays down unnecessary utmost point bar; When the utmost point bar that is less than the product innovation needs when the utmost point bar sum on the production line was counted, on-the-spot real-time controller control electroplating traveling crane was to utmost point bar storage zone, the utmost point bar that also needs from described utmost point bar storage zone extraction processing work, and join on the plating line; When the utmost point bar number on the plating line satisfies the utmost point bar of product innovation needs, hang on the beginning product innovation; In-circuit emulator obtains first and hangs product innovation in the processing beginning and ending time of electroplating station according to process modeling and system time, hangs product innovation by technical process processing first, and performing step three.
Advantage of the present invention is: feed back the position by the detection of dynamic electroplating traveling crane, has overcome the problem of the accumulation of utmost point bar, empty utmost point bar on the plating line, can process the workpiece of different process simultaneously, has improved the level of automation of plating line.
Embodiment
The invention will be further described below in conjunction with concrete drawings and Examples.
As shown in Figure 1, article one, plating line comprises: the both sides mounting guide rail 10 of a series of electric bath grooves 11, electroplating traveling crane 4 is along guide rail 10 walkings, described electroplating traveling crane 4 is provided with and promotes motor 6, movable motor 8, step-down gear 9, described lifting motor 6 drives the lifting that flies target 7 by chain, and described movable motor 8 and step-down gear 9 drive electroplating traveling crane 4 along track 10 walking in a horizontal state.Electroplating traveling crane 4 is provided with near switch 13, is provided with zinc-plated signal plate 12 on each processing stations of electric bath groove 11, described zinc-plated signal plate 12 and near 13 on the switch formation proofing unit that cooperatively interacts.
Described electroplating traveling crane 4 is done tangential movement along guide rail 10, is used for mobile processing work each station to electric bath groove 11.Fly to hang up workpiece to be processed on the target 7, promote motor 6 and drive the lifting that flies target by chain, fly target 7 and put into electric bath groove 11, carry out the plating processing of workpiece, after processing work is electroplated and is finished, electroplating traveling crane 4 liftings fly target 7 and leave electric bath groove 11, drive by movable motor 8 and step-down gear 9 and fly target 7 to appointed positions.Be provided with the different electroplate liquid of function in the electric bath groove 11, processing work is put into electric bath groove 11, and workpiece is electroplated processing.
Electroplating traveling crane Controlling System of the present invention comprises in-circuit emulator, on-the-spot real-time controller, electric operator, electroplating traveling crane 4 and proofing unit; The process period that is input as workpiece and the processing process of described in-circuit emulator, the output of described in-circuit emulator links to each other with on-the-spot real-time controller by fieldbus; The output of described on-the-spot real-time controller is connected to electric operator, and described electric operator drives electric bicycle 4; Proofing unit detects electroplating traveling crane and arrives the time of determining to electroplate station, and feeds back to described in-circuit emulator; Detected electroplating traveling crane is arrived the time of definite plating station to in-circuit emulator and the difference of predicted time is imported as the control of on-the-spot real-time controller.
Described electric operator is formed by promoting motor 6 and movable motor 8 and step-down gear 9, wherein promotes motor 6 and is the 2.2KW braking motor, and movable motor 8 is the 1.5KW braking motor, and step-down gear 9 is the aluminium alloy step-down gear.
Described proofing unit forms 12 by one group of contact-free integrated circuits near switch 13 and zinc-plated signal plate, when zinc-plated signal plate being arranged under near switch 13, is high level, during the no signal plate, is lower level.Be fixed in the driving near switch 13, the fixed order that zinc-plated signal plate 12 adopts 2 scale codings each station over against position near switch 11, when electroplating traveling crane 4 each station of walking, represent different station near the different combinations of pairs of switch 11 and zinc-plated signal plate 12.For example: this programme adopts 4, and 0001 represents station No. one near switch 11 definite each station, and 0010 represents station No. 2, analogizes 1111 and represents station No. 15.
In-circuit emulator is industrial computer or other monitoring and arithmetic facility, mainly is to realize on-line monitoring and calculation function.Be provided with the process modeling of processing work in the in-circuit emulator, comprise the details of workpiece processing such as workpiece work flow and processing request in the described process modeling.In-circuit emulator, calculates processing work and avoids taking place the upward extension timed interval of utmost point bar accumulation and the time range that processing work is processed at the plating station by sofeware simulation method according to process modeling, workpiece work flow and processing requirement.On-the-spot real-time controller is PLC, micro-chip or other controllers.In-circuit emulator and on-the-spot real-time controller communicate by fieldbus, and can revise the parameter of on-the-spot real-time controller.Be provided with the processing work information table in the on-the-spot real-time controller, when hanging on the processing work, on-the-spot real-time controller is being electroplated time and the processing process that station is processed by lookup table mode control processing work.In-circuit emulator is compared with the structure of proofing unit feedback according to the simulation calculating result, information such as time parameter are write on-the-spot real-time controller, on-the-spot real-time controller can dynamically be adjusted processing work in the time of electroplating station processing, and drives electric operator.
The electroplating traveling crane control method comprises the steps:
One, the resetting system time; During open system, make system since zero point, during the following process workpiece, add up process period successively, and in-circuit emulator and on-the-spot real-time controller dynamically read in system time;
Two,, obtain first and hang workpiece, and begin to process the first extension workpiece, timing system time in the beginning and ending time of electroplating station processing according to processing process;
Three, judge the follow-up situation of hanging workpiece that goes up: when on not having subsequent workpiece, hanging, carry out the processing of workpiece, enter to unload until workpiece and hang the district, finish processing by technical process; When the follow-up workpiece of upward hanging is identical with the workpiece of processing, performing step four; When the follow-up workpiece of going up the workpiece of extension and processing is inequality, performing step seven;
Four, according to the process modeling in the in-circuit emulator, obtain just in the scope of processing work in beginning and ending time of electroplating station processing and electroplating traveling crane 4 controls, the prediction subsequent workpiece is hung the timed interval on beginning and ending time of electroplating station processing and workpiece, make the described processing beginning and ending time and on hang and can avoid taking place the accumulation of utmost point bar in the timed interval;
Five, in-circuit emulator is by bus, will electroplate to hang the timed interval on station processing beginning and ending time and the workpiece and write on-the-spot real-time controller, by the process period of on-the-spot real-time controller control workpiece at the plating station;
Six, on-the-spot real-time controller arrives the time of electroplating station according to workpiece in the driving of beginning and ending time of electroplating station processing and proofing unit detection, judge when workpiece enters next processing stations by technical process, whether with the concluding time overlaid of next station processing; If overlapping, prolong workpiece in the process period that requires undemanding plating station; If can not carry out described prolongation operation process period, on-the-spot real-time controller sends utmost point bar and piles up signal and point out the particular location that utmost point bar is piled up, wait for manual handling, and manually adjust the parameter of in-circuit emulator and on-the-spot real-time controller, make processing work that utmost point bar not take place and pile up, proceed the processing of workpiece; If not overlapping, the output driving electric operator by on-the-spot real-time controller makes electroplating traveling crane 4 drive workpiece and walks by technical process, and performing step three;
Seven, according to the technical process of workpiece, in in-circuit emulator, set up the process modeling of new processing work and the utmost point bar number that this workpiece of calculating processing needs, be that the interior utmost point bar number of electric bath groove adds the utmost point bar number that each driving is sling, compare with existing utmost point bar sum on the production line; When the utmost point bar that needs more than the processing work complete processing when existing total utmost point bar number on the production line was counted, the on-the-spot real-time controller control driving utmost point bar of slinging was distinguished to unloading to hang, and lays down unnecessary utmost point bar; When the utmost point bar that is less than the product innovation needs when the utmost point bar sum on the production line was counted, on-the-spot real-time controller control electroplating traveling crane 4 extracted the utmost point bar that processing work also needs, and joins on the plating line to utmost point bar storage zone from described utmost point bar storage zone; When the utmost point bar number on the plating line satisfies the utmost point bar of product innovation needs, hang on the beginning product innovation; In-circuit emulator obtains first and hangs product innovation in the processing beginning and ending time of electroplating station according to process modeling and system time, hangs product innovation by technical process processing first, and performing step three.