A kind of translation system and method for work thereof
Technical field
The present invention relates to a kind of translation system and method for work thereof.
Background technology
Automatic technology refers to machine or the program of device as prescribed in the situation that of unmanned intervention the or the process that instruction automatically operates or controls.Automatic technology not only can free people from heavy manual labor, part brainwork and severe, dangerous working environment, and can expand people's organ dysfunction, greatly raise labour productivity, strengthen the ability of the human knowledge world and reforming world.
For most of automation equipments, such as Automated production line device, translation mechanism is requisite member wherein.With more a kind of translation mechanism, be to adopt a plurality of cylinders or motor to drive parallelogram fork to do two-dimentional compound motion at present, thereby realize the carrying work to object.The translation mechanism of this structure is because drive element is many, and the action between each drive element need to be consistent, so the running velocity of mechanism is lower, and noise is larger.Meanwhile, electrical control mechanism interchangeability and the transplantability of existing a lot of similar driver trains are poor, and alerting ability is inadequate, so time-to-market is long, and cost of development is high.And more existing electrical control mechanisms are all the basic communication protocol adopting, poor compatibility.
Summary of the invention
It is fast that first technical matters to be solved by this invention is to provide a kind of running velocity, the translation system that noise is little.
In order to solve the problems of the technologies described above, technical scheme provided by the present invention is: a kind of translation system, comprises translation mechanism and control mechanism; Described translation mechanism comprises substrate, through substrate the first rotating shaft being connected with substrate rotating and the second rotating shaft, the first connecting rod, second connecting rod and the fork that are positioned at substrate front side, be arranged on the performance element of fork head, and the driving device, actuating device and the electrical controller that are positioned at substrate rear side; Described first connecting rod and second connecting rod be arranged in parallel; One end of described first connecting rod is fixedly connected with the second rotating shaft with the first rotating shaft respectively with one end of second connecting rod, and the other end of first connecting rod and the other end of second connecting rod are all hinged with middle part and the afterbody of fork; Described actuating device drive transmission drives the first rotating shaft and the second rotating shaft synchronously to rotate; Described actuating device and electrical controller are installed on substrate; Described actuating device and performance element are all electrically connected to electrical controller; Described control mechanism comprises pcb board and is arranged on main control module, sensing module, driver module, output module and the communication module on pcb board; Described main control module is mechanism's core; The sensor input connection of described sensing module, mouth connects the input end of main control module; The input end of described driver module connects the mouth of main control module, and the mouth of driver module is electrically connected to the electrical controller of translation mechanism; The input end of described output module connects the mouth of main control module; Described communication module and upper computer communication connection.
The actuating device of described translation mechanism comprises motor and electric machine support; Described electric machine support is fixed on substrate, and motor is fixed on electric machine support; Described driving device comprises the first belt wheel, the second belt wheel, the 3rd belt wheel and Timing Belt; Described the 3rd belt wheel is fixed on the output shaft of motor; Described Timing Belt is around the first belt wheel, the second belt wheel and the 3rd belt wheel; Described motor is electrically connected to electrical controller; The industrial bus that in described control mechanism, communication module is communicated by letter with upper computer comprises RS485 bus or CAN bus.
Described translation mechanism also comprises the pinch device that is arranged on substrate rear side; Described pinch device compresses Timing Belt, makes Timing Belt tightly around the first belt wheel, the second belt wheel and the 3rd belt wheel.
The pinch device of described translation mechanism comprises axle and bearing; Described axle is arranged on substrate; Described bearing is arranged on axle, and compresses Timing Belt.
The electrical controller of described translation mechanism comprises electric-controlled plate and electric-controlled plate support; Described electric-controlled plate support is fixed on substrate, and electric-controlled plate is fixed on electric-controlled plate support; Described actuating device and performance element are all electrically connected to electric-controlled plate; The driver module of described control mechanism is electrically connected to electric-controlled plate.
The performance element of described translation mechanism comprises vacuum cups or Pneumatic clamping jaw.
Described translation mechanism also comprises two spacing double-screw bolts that are fixed on substrate front side; Described two spacing double-screw bolts are all positioned at the outside of first connecting rod; The rotational travel of described two spacing double-screw bolt restriction first connecting rod both directions.
Described translation mechanism also comprises and is fixed on the photoelectric switch of substrate front side and is fixed on the photoelectricity catch on fork; Described photoelectric switch and photoelectricity catch are all positioned at the inner side of first connecting rod; Described photoelectric switch is electrically connected to electrical controller.
Described translation mechanism also comprises front cover shell, pillar, panel beating support and motor case; Described front cover shell is fixed on the front side of substrate; Described pillar is fixed on actuating device, and panel beating support is fixed on pillar, and motor case is fixed on panel beating support; Described motor case is provided with louvre.
Second technical matters to be solved by this invention is to provide the method for work of translation system.
For solving aforementioned technical problem, technical scheme provided by the present invention is: a kind of method of work of translation system, adopt aforesaid translation system, and comprise the following steps:
1. translation system initialization;
2. enter uC-OS major cycle, increase real time operating system (RTOS) uC-OS II, carry out task management;
3. create translation system main task and each parallel electric machine control task; Communication task is translation system main task, and each parallel electric machine control task receives relevant instruction by main task and starts;
4. receive the order from upper computer, resolve, resolve into various instruction tasks;
5. translation system is carried out instruction task and each parallel electric machine control task;
6., after complete, translation system standby, waits for that next communication instruction arrives.
Adopted after technique scheme, the present invention has following beneficial effect: (1) the present invention drives fork to do two-dimentional compound motion by a motor, simplifies the structure, and has improved the running velocity of mechanism, has reduced the noise of mechanism.
(2) control mechanism that the present invention coordinates with translation mechanism is simple in structure, driver module has interchangeability, can select driver module according to the parameter of real electrical machinery, therefore translation system of the present invention can be applied in the electromechanical integration equipments such as automatic production line, robot, have good interchangeability, operability, transplantability, alerting ability, can realize the reconstruct of single shaft module, shorten the development time simultaneously, reduce cost.
(3) control mechanism of the present invention can also be communicated by letter with upper computer, then by the RS485 in industrial bus or CAN bus, realizing networking connects, wherein RS485 bus can be expanded at most 31 axles, CAN bus can be expanded 255 axles, therefore can well for a plurality of single motors of needs, drive the occasion of translation mechanism, such as automatic production line, by upper computer, such as PLC, PC or other control system etc. are controlled the action of a plurality of translation mechanisms.
(4) the RS485 communication protocol support that control mechanism of the present invention adopts comprises the various protocols such as MODBUS-CRC, SUM verification and MODBUS-LRC, exclusive or check, compatible good.
(5) translation system of the present invention adopts uC-OS major cycle, and method of work arranges scientific and reasonable, can realize multi-task parallel operation, realizes in real time and controlling.
Accompanying drawing explanation
For content of the present invention is more easily expressly understood, according to specific embodiment also by reference to the accompanying drawings, the present invention is further detailed explanation, wherein below
Fig. 1 is the structural representation of translation mechanism of the present invention.
Fig. 2 is that Fig. 1 removes the structural representation after front cover shell and motor case.
Fig. 3 is the left view of Fig. 2.
Fig. 4 is the upward view of Fig. 2.
Fig. 5 is that Fig. 2 removes the right elevation after actuating device, electrical controller, pillar and panel beating support.
Fig. 6 is the path of motion schematic diagram of the performance element of translation mechanism of the present invention.
Fig. 7 is the schematic diagram of control mechanism of the present invention.
Fig. 8 is the schematic diagram during by group net operation of the present invention.
Label in accompanying drawing is:
Substrate 1, the first rotating shaft 2, the second rotating shaft 3, first connecting rod 4, second connecting rod 5, fork 6, the first belt wheel 7, the second belt wheel 8, the 3rd belt wheel 9, actuating device 10, motor 10-1, electric machine support 10-2, Timing Belt 11, pinch device 12, axle 12-1, bearing 12-2, electrical controller 13, electric-controlled plate 13-1, electric-controlled plate support 13-2, spacing double-screw bolt 14, photoelectric switch 15, photoelectricity catch 16, front cover shell 17, pillar 18, panel beating support 19, motor case 20, louvre 20-1;
Initial station a, absorption station b, release station c;
Main control module 21, sensing module 22, driver module 23, output module 24, communication module 25, upper computer 26.
The specific embodiment
(embodiment 1)
The translation system of the present embodiment comprises translation mechanism and control mechanism.
See Fig. 1 to Fig. 5, translation mechanism comprises substrate 1, the first rotating shaft 2, the second rotating shaft 3, first connecting rod 4, second connecting rod 5, fork 6, driving device, actuating device 10, pinch device 12, electrical controller 13, spacing double-screw bolt 14, photoelectric switch 15, photoelectricity catch 16, front cover shell 17, pillar 18, panel beating support 19, motor case 20 and performance element.
The first rotating shaft 2 and the second rotating shaft 3 are passed substrate 1 and are rotationally connected with substrate 1.
First connecting rod 4, second connecting rod 5 and fork 6 are positioned at the front side of substrate 1.First connecting rod 4 and second connecting rod 5 be arranged in parallel.One end of one end of first connecting rod 4 and second connecting rod 5 is fixedly connected with the second rotating shaft 3 with the first rotating shaft 2 respectively, and the other end of the other end of first connecting rod 4 and second connecting rod 5 is all hinged with middle part and the afterbody of fork 6.Performance element is arranged on fork 6 heads.Spacing double-screw bolt 14 is provided with two.Two spacing double-screw bolts 14 are fixed on substrate 1 front side, and are positioned at the outside of first connecting rod 4.The rotational travel of two spacing double-screw bolt 14 restriction first connecting rod 4 both directions.Photoelectric switch 15 is fixed on substrate 1 front side, and photoelectricity catch 16 is fixed on fork 6.Photoelectric switch 15 and photoelectricity catch 16 are all positioned at the inner side of first connecting rod 4.Front cover shell 17 is fixed on the front side of substrate 1.
Driving device, actuating device 10, pinch device 12 and electrical controller 13 are positioned at the rear side of substrate 1.Driving device comprises the first belt wheel 7, the second belt wheel 8, the 3rd belt wheel 9 and Timing Belt 11.Actuating device 10 comprises motor 10-1 and electric machine support 10-2.Electric machine support 10-2 is fixed on substrate 1, and motor 10-1 is fixed on electric machine support 10-2.The first belt wheel 7 and the second belt wheel 8 are separately fixed in the first rotating shaft 2 and the second rotating shaft 3.The 3rd belt wheel 9 is fixed on the output shaft of motor 10-1.Timing Belt 11 is around the first belt wheel 7, the second belt wheel 8 and the 3rd belt wheel 9.Pinch device 12 comprises axle 12-1 and bearing 12-2.Axle 12-1 is arranged on substrate 1.It is upper that bearing 12-2 is arranged on axle 12-1, and compress Timing Belt 11, makes Timing Belt 11 tightly around the first belt wheel 7, the second belt wheel 8 and the 3rd belt wheel 9.Electrical controller 13 comprises electric-controlled plate 13-1 and electric-controlled plate support 13-2.Electric-controlled plate support 13-2 is fixed on substrate 1, and electric-controlled plate 13-1 is fixed on electric-controlled plate support 13-2.Performance element is vacuum cups or Pneumatic clamping jaw.The motor 10-1 of actuating device 10, photoelectric switch 15 and performance element are all electrically connected to electric-controlled plate 13-1.Pillar 18 is fixed on actuating device 10, and panel beating support 19 is fixed on pillar 18, and motor case 20 is fixed on panel beating support 19.Motor case 20 is provided with louvre 20-1.
See Fig. 6, the motion flow of translation mechanism is: vacuum cups rests on initial station a → material detected to put in place (without material signal, at initial station a, wait for) → vacuum cups moves to and draws station b absorbing material (if material is not drawn, or drop and will again draw while drawing) → get back to initial station a, wait for and discharge station c signal, detect and can move to the signal (signal of nothing release station c that discharges station c, at initial station a, wait for) → vacuum cups moves to and discharges station c and discharge the initial station a of the material drawn → get back to, wait for next circulation.
See Fig. 7, control mechanism comprises pcb board and is arranged on main control module 21, sensing module 22, driver module 23, output module 24 and the communication module 25 on pcb board.Main control module 21Wei mechanism core, the task of responsible Coordination Treatment modules.The sensor input connection of sensing module 22, mouth connects the input end of main control module 21, is responsible for conversion sensor incoming signal.The input end of driver module 23 connects the mouth of main control module 21, the mouth of driver module 23 is electrically connected to the electric-controlled plate 13-1 of the electrical controller of translation mechanism 13, driver module 23 is responsible for the control signal of master control system to be converted into the driving signal of motor, this module has interchangeability, can select driver module according to the parameter of real electrical machinery.The input end of output module 24 connects the mouth of main control module 1, is responsible for general purpose I/O driver output.Communication module 25 and upper computer 26 communication connections, transmit data command.
This translation system can have two kinds of mode of operation.The first: automatically control.Main control module 21 can carry out automatic start up system operation task by the incoming signal of judgement sensing module 22; The second: networking is controlled.As shown in Figure 8, upper computer 26 can directly be controlled a plurality of translation systems by industrial bus to the many translation systems that form when networking is controlled, and industrial bus comprises RS485 bus or CAN bus.
Translation system, comprises the following steps:
1. translation system initialization; After translation system powers on, carry out initialization, comprise and read the pre-deposit data of flash.
2. enter uC-OS major cycle, for realizing control system real-time Communication for Power, and can move by multi-task parallel, increase real time operating system (RTOS) uC-OS II, carry out task management;
3. create translation system main task and each parallel electric machine control task; Communication task is translation system main task, and each parallel electric machine control task receives relevant instruction by main task and starts;
4. receive the order from upper computer 26, resolve, resolve into various instruction tasks; The instruction task here comprises all kinds of conventional instructions, such as read coil instruction, write coil instruction, read single or multiple register instructions, write single register instruction, broadcasting instructions, query statement, illegal command and fault instruction etc.
5. translation system is carried out instruction task and each parallel electric machine control task;
6., after complete, translation system standby, waits for that next communication instruction arrives.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.