Summary of the invention
The objective of the invention is for above-mentioned existing problems, provide a kind of simple and reasonable, reduce the full-computer flat knitting machine controller that a large amount of wiring, convenient for maintaining are safeguarded, system is reliable, cost is lower, more energy-conservation.
Principle of work of the present invention: by the action data that edition system generates needs braided fabric of beating of host computer, copy in the operating case by USB flash disk, behind the system boot, powered to operating case by described Computerized flat knitting machine special purpose driver, the Computerized flat knitting machine special purpose driver begins self check, after System self-test is normal, wait for user's operation, the user spurs the startup handle, tell operating case by the detection of Computerized flat knitting machine special purpose driver by the CAN communication, tell Computerized flat knitting machine special purpose driver and head control box by the CAN communication again after operating case is judged, begin to carry out the braiding of fabric by the straight-bar machines controller according to the braid movement file of original importing according to action data control straight-bar machines.
The object of the present invention is achieved like this: comprise Computerized flat knitting machine special purpose driver, operating case and head control box, described Computerized flat knitting machine special purpose driver comprises power conversion unit, CPU control module, main servo electric-motor drive unit, moves a driven by servomotor unit, batching stepper motor driver element, secondary batching alternating current generator drive, the Yarn feeder alternating current generator drives and sensor interface unit;
Described power conversion unit comprises direct current 310V output voltage that AC power monitors through zero passage detection, rectification, busbar voltage in order for the main servo electric-motor drive unit and moves a driven by servomotor unit and outside 24V Switching Power Supply; Another road output that busbar voltage monitors is through Switching Power Supply conversion output direct current 15V, 12V, 5V power supply; AC power another road output after zero passage detects is for secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element;
Described main servo electric-motor drive unit comprises main servo IGBT power drive part and main servo encoder interfaces, and the main servo encoder interfaces is that main servo connects outside specific coding communication interface; One group of 5V out-put supply of Switching Power Supply offers the main servo encoder interfaces; The 15V out-put supply of Switching Power Supply connects IGBT power drive part, the AD analog to digital conversion interface of CPU reads the main servo electric machine phase current by current sensor, the position data that CPU feeds back according to this value and the required phase current of current control and external encoder, determine again the working current of main servo motor by the FOC algorithm, control signal corresponding to three-phase PWM output unit one output through CPU arrives IGBT intelligent power driver module again, drives the main servo motor;
A described driven by servomotor unit that moves comprises and moves the servo IGBT power drive of bed part and move an encoded servo device interface, moves an encoded servo device interface for moving an outside specific coding communication interface of servo connection; One group of 5V out-put supply of Switching Power Supply offers and moves an encoded servo device interface; The 15V out-put supply of Switching Power Supply connects IGBT power drive part, the AD analog to digital conversion interface of CPU reads by current sensor and moves a servomotor phase current, the position data that CPU feeds back according to this value and the required phase current of current control and external encoder, determine to move again the working current of a servomotor by the FOC algorithm, control signal corresponding to three-phase PWM output unit two outputs through CPU arrives IGBT intelligent power driver module again, drives and moves a servomotor;
Described batching stepper motor driver element comprises that control power supply, stepper motor working power monitor and the dual H-bridge driving circuit; The 5V out-put supply of Switching Power Supply connects the dual H-bridge control circuit; CPU provides current needed speed, torque and direction signal to the dual H-bridge control circuit, worked by the dual H-bridge Driving Stepping Motor by this circuit, whether the power monitoring unit current stepper motor of charge of overseeing is working properly, this circuit feedback supervisory signal provides warning and guard signal to CPU by CPU;
Described secondary batching alternating current generator drives and the driving of Yarn feeder alternating current generator is operatively connected to CPU, the AC power zero cross detection circuit provides the phase-locking signal to CPU, and CPU realizes secondary batching alternating current generator, the shutdown of left and right sides Yarn feeder alternating current generator, the control of speed according to this signal controlling bidirectional triode thyristor; Simultaneously, the phase-locking signal that CPU also provides according to this zero cross detection circuit judges whether the outside cuts off the power supply, and the data of cutting off the power supply are preserved;
Described sensor interface unit comprises that the 12V out-put supply of Switching Power Supply is connected to the working temperature monitoring circuit of this controller, running status indicating circuit, I/O interface, debugging interface, expansion interface and CAN communication interface; The I/O interface connects outside each sensor, and debugging interface is for producing debugging and offline debugger work usefulness, and expansion interface is later Function Extension usefulness, and the CAN communication interface is attended operation box and head control box.
The present invention, by described Computerized flat knitting machine special purpose driver realize all main servo motors, move a servomotor, batching stepper motor, secondary batching alternating current generator, whole controls of left and right sides Yarn feeder alternating current generator and the detection of external sensor.
The present invention, described operating case is controlled described Computerized flat knitting machine special purpose driver; Operating case is system operation core, the control that provides input, editor, management and the run action of supervision, motion test, the motion file of system interface, system works to judge, and finish respective action by the head control box.
The present invention, described head control box comprises Power conversion board and head control drive plate, and the correspondence that is sended over by the CAN communication by operating case drives the action naming of head, and it is respective action with corresponding command interpretation that head control drive plate receives order; The corresponding electromagnet of head control drive plate, density stepper motor, slide cam selector are finished the action of corresponding braided fabric.
The present invention, behind the system boot, powered for operating case by described Computerized flat knitting machine special purpose driver, the Computerized flat knitting machine special purpose driver begins self check, after System self-test is normal, waits for user's operation, the user spurs the startup handle, tell operating case by the detection of Computerized flat knitting machine special purpose driver by the CAN communication, tell Computerized flat knitting machine special purpose driver and head control box by the CAN communication again after operating case is judged, allow straight-bar machines begin to carry out the braiding of fabric according to the braid movement file of original importing.
The present invention, described Computerized flat knitting machine special purpose driver program begins, initialization I/O and CAN communication, after judgement has master routine and primary power normally, the initialization timing device, after normal by the FOC initiation parameter, by the CAN communication command, control main servo motor, move a servomotor, batching stepper motor, the action of left and right sides Yarn feeder alternating current generator; Realize that simultaneously external fault detects, busbar voltage detects, system temperature detects, button detects and the stepper motor working current detects.
The invention has the beneficial effects as follows:
1), whole controller only has Computerized flat knitting machine special purpose driver, nose controller and three of operating cases to form module, need not the UPS uninterrupted power source, also need not 12V power supply, two commercial Switching Power Supplies of 5V power supply, make the straight-bar machines controller become a complete product, volume-diminished 2/3; Because product modular no longer needs user oneself assembling, system installs so no longer needs the professional and technical personnel, and after sale service is simpler, and the application popularization popularization of full-computer flat knitting machine is more prone to;
2), the Computerized flat knitting machine special purpose driver has been reduced system board; The head control box has been introduced present up-to-date technology, makes head control box integrated level higher, more perfect; Operating case has been introduced the indignant thought of virtual memory, and system need to just can smoothly not worked under very high frequency of operation, has improved the anti-interference of system;
3), the Computerized flat knitting machine special purpose driver realize all main servo motors, move a servomotor, batching stepper motor, secondary batching alternating current generator, the control of left and right sides Yarn feeder alternating current generator and the detection of external sensor.
The present invention, have simple and reasonable, reduce the advantage that a large amount of wiring, convenient for maintaining are safeguarded, system is reliable, cost is lower, more energy-conservation.
The present invention is further illustrated by reference to the accompanying drawings for following embodiment.
Embodiment
With reference to Fig. 1, present embodiment is a kind of full-computer flat knitting machine controller, comprise Computerized flat knitting machine special purpose driver, operating case and head control box, described Computerized flat knitting machine special purpose driver comprises power conversion unit, CPU control module, main servo electric-motor drive unit, moves a driven by servomotor unit, batching stepper motor driver element, secondary batching alternating current generator drive, the Yarn feeder alternating current generator drives and sensor interface unit; Described power conversion unit comprises ~ direct current 310V output voltage that the 220V AC power monitors through zero passage detection, rectification, busbar voltage in order is for the main servo electric-motor drive unit and move a driven by servomotor unit and outside 24V Switching Power Supply; Another road output that busbar voltage monitors is through Switching Power Supply conversion output direct current 15V, 12V, 5V power supply; Another road output after zero passage detects of ~ 220V AC power is for secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element; Described main servo electric-motor drive unit comprises main servo IGBT power drive part and main servo encoder interfaces, and the main servo encoder interfaces is that main servo connects outside specific coding communication interface; One group of 5V out-put supply of Switching Power Supply offers the main servo encoder interfaces; The 15V out-put supply of Switching Power Supply connects IGBT power drive part, the AD analog to digital conversion interface of CPU reads the main servo electric machine phase current by current sensor, the position data that CPU feeds back according to this value and the required phase current of current control and external encoder, determine again the working current of main servo motor by the FOC algorithm, control signal corresponding to three-phase PWM output unit one output through CPU arrives IGBT intelligent power driver module again, drives the main servo motor; A described driven by servomotor unit that moves comprises and moves the servo IGBT power drive of bed part and move an encoded servo device interface, moves an encoded servo device interface for moving an outside specific coding communication interface of servo connection; One group of 5V out-put supply of Switching Power Supply offers and moves an encoded servo device interface; The 15V out-put supply of Switching Power Supply connects IGBT power drive part, the AD analog to digital conversion interface of CPU reads by current sensor and moves a servomotor phase current, the position data that CPU feeds back according to this value and the required phase current of current control and external encoder, determine to move again the working current of a servomotor by the FOC algorithm, control signal corresponding to three-phase PWM output unit two outputs through CPU arrives IGBT intelligent power driver module again, drives and moves a servomotor; Described batching stepper motor driver element comprises that control power supply, stepper motor working power monitor and the dual H-bridge driving circuit; The 5V out-put supply of Switching Power Supply connects the dual H-bridge control circuit; CPU provides current needed speed, torque and direction signal to the dual H-bridge control circuit, worked by the dual H-bridge Driving Stepping Motor by this circuit, whether the power monitoring unit current stepper motor of charge of overseeing is working properly, this circuit feedback supervisory signal provides warning and guard signal to CPU by CPU; Described secondary batching alternating current generator drives and the driving of Yarn feeder alternating current generator is operatively connected to CPU, ~ 220V AC power zero cross detection circuit provides the phase-locking signal to CPU, and CPU realizes secondary batching alternating current generator, the shutdown of left and right sides Yarn feeder alternating current generator, the control of speed according to this signal controlling bidirectional triode thyristor; Simultaneously, the phase-locking signal that CPU also provides according to this zero cross detection circuit judges whether the outside cuts off the power supply, and the data of cutting off the power supply are preserved; Described sensor interface unit comprises that the 12V out-put supply of Switching Power Supply is connected to the working temperature monitoring circuit of this controller, running status indicating circuit, I/O interface, debugging interface, expansion interface and CAN communication interface; The I/O interface connects outside each sensor, and debugging interface is for producing debugging and offline debugger work usefulness, and expansion interface is later Function Extension usefulness, and the CAN communication interface is attended operation box and head control box; By described Computerized flat knitting machine special purpose driver realize all main servo motors, move a servomotor, batching stepper motor, secondary batching alternating current generator, whole controls of left and right sides Yarn feeder alternating current generator and the detection of external sensor; Described operating case is controlled described Computerized flat knitting machine special purpose driver; Operating case is system operation core, the control that provides input, editor, management and the run action of supervision, motion test, the motion file of system interface, system works to judge, and finish respective action by the head control box; Described head control box comprises Power conversion board and head control drive plate, and the correspondence that is sended over by the CAN communication by operating case drives the action naming of head, and it is respective action with corresponding command interpretation that head control drive plate receives order; The corresponding electromagnet of head control drive plate, density stepper motor and slide cam selector are finished the action of corresponding braided fabric.The present invention, behind the system boot, powered for operating case by described Computerized flat knitting machine special purpose driver, the Computerized flat knitting machine special purpose driver begins self check, after System self-test is normal, waits for user's operation, the user spurs the startup handle, tell operating case by the detection of Computerized flat knitting machine special purpose driver by the CAN communication, tell Computerized flat knitting machine special purpose driver and head control box by the CAN communication again after operating case is judged, allow straight-bar machines begin to carry out the braiding of fabric according to the braid movement file of original importing.
Program work flow process of the present invention: with reference to Fig. 2, program begins, initialization I/O and CAN communication, after judgement has master routine and primary power normally, the initialization timing device, after normal by the FOC initiation parameter, by the CAN communication command, control main servo motor, move a servomotor, batching stepper motor, the action of left and right sides Yarn feeder alternating current generator; Realize that simultaneously external fault detects, busbar voltage detects, system temperature detects, button detects and the stepper motor working current detects.
As replacement scheme of the present invention, main control system can not integrated batching stepper motor driver, and adopts commercial batching stepper motor driver, the complicated a little point of structure just, but also simple than existing disclosed technical scheme.