Summary of the invention
The object 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: the edition system of beating by host computer generates the action data that needs braided fabric, copy in operating case by USB flash disk, after system boot, powered to operating case by described Computerized flat knitting machine special purpose driver, Computerized flat knitting machine special purpose driver starts self-inspection, after System self-test is normal, wait for user's operation, user pulls startup handle, detect and tell operating case by CAN communication by Computerized flat knitting machine special purpose driver, after judging, operating case tells Computerized flat knitting machine special purpose driver and head control box by CAN communication again, started to carry out the braiding of fabric according to the braid movement file of original importing according to action data control straight-bar machines by straight-bar machines controller.
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 driver element, Yarn feeder alternating current generator driver element and sensor interface unit;
Described power conversion unit comprises the direct current 310V output voltage that AC power monitors through zero passage detection, rectification, busbar voltage in order, and described 310V output voltage is for 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; Export for secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element on AC power another road after zero passage detection;
Described main servo electric-motor drive unit comprises main servo IGBT power drive part and main servo encoder interfaces, and 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 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 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 FOC algorithm, export corresponding control signal to IGBT intelligent power driver module through the three-phase PWM output unit one of CPU again, drive main servo motor;
A described driven by servomotor unit that moves comprises and moves bed servo IGBT power drive 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 is read and is moved a servomotor 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 by FOC algorithm the working current that moves a servomotor again, export corresponding control signal to IGBT intelligent power driver module through the three-phase PWM output unit two of CPU again, drive and move a servomotor;
Described batching stepper motor driver element comprises controls power supply, the supervision of stepper motor working power and dual H-bridge driving circuit; The 5V out-put supply of Switching Power Supply connects dual H-bridge control circuit; CPU provides current needed speed, torque and direction signal to dual H-bridge control circuit, worked by 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, to CPU, is provided and is reported to the police and guard signal by CPU;
Described secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element are operatively connected to CPU, AC power zero cross detection circuit provides phase-locking signal to CPU, and CPU realizes secondary batching alternating current generator, the shutdown of left and right Yarn feeder alternating current generator, the control of speed according to this signal controlling bidirectional triode thyristor; Meanwhile, the phase-locking signal that CPU also provides according to this zero cross detection circuit judges that whether outside is power-off, carries out the preservation of power-off data;
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; I/O interface connects outside each sensor, and debugging interface is for producing debugging and offline debugger work use, and expansion interface is later Function Extension use, and 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 control of left and right Yarn feeder alternating current generator and the detection of external sensor.
The present invention, Computerized flat knitting machine special purpose driver described in described operating case control; Operating case is system operation core, the control of input, editor, management and the run action judgement of supervision, motion test, the motion file of system interface, system works is provided, and completes respective action by head control box.
The present invention, described head control box comprises Power conversion board and head control drive plate, and the correspondence being sended over by CAN communication by operating case drives the action naming of head, and it is respective action by corresponding command interpretation that head control drive plate receives order; The corresponding electromagnet of head control drive plate, density stepper motor, slide cam selector complete the action of corresponding braided fabric.
The present invention, after system boot, powered for operating case by described Computerized flat knitting machine special purpose driver, Computerized flat knitting machine special purpose driver starts self-inspection, after System self-test is normal, waits for user's operation, user pulls startup handle, detect and tell operating case by CAN communication by Computerized flat knitting machine special purpose driver, after operating case judges, tell Computerized flat knitting machine special purpose driver and head control box by CAN communication again, allow straight-bar machines start 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 starts, initialization I/O and CAN communication, after judgement has master routine and primary power normally, initialization timing device, after normal by FOC initiation parameter, by CAN communication command, control main servo motor, move a servomotor, batching stepper motor, the action of left and right Yarn feeder alternating current generator; Realize external fault detection, busbar voltage detection, system temperature detection, button detection and stepper motor working current detects simultaneously.
The invention has the beneficial effects as follows:
1), whole controller only has Computerized flat knitting machine special purpose driver, nose controller and three composition modules of operating case, without UPS uninterrupted power source, also without 12V power supply, two commercial Switching Power Supplies of 5V power supply, make straight-bar machines controller become a complete product, volume-diminished 2/3; Due to product modular, no longer need user oneself assembling, system is installed so no longer needs 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), Computerized flat knitting machine special purpose driver has been reduced system board; 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), 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 Yarn feeder alternating current generator and the detection of external sensor.
The present invention, have advantages of simple and reasonable, reduce 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 embodiment below.
Embodiment
With reference to Fig. 1, the 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 driver element, Yarn feeder alternating current generator driver element and sensor interface unit; The direct current 310V output voltage that comprise ~ 220V of described power conversion unit AC power monitors through zero passage detection, rectification, busbar voltage in order, described 310V output voltage is for 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; Export for secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element on ~ 220V AC power another road after zero passage detection; Described main servo electric-motor drive unit comprises main servo IGBT power drive part and main servo encoder interfaces, and 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 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 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 FOC algorithm, export corresponding control signal to IGBT intelligent power driver module through the three-phase PWM output unit one of CPU again, drive main servo motor; A described driven by servomotor unit that moves comprises and moves bed servo IGBT power drive 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 is read and is moved a servomotor 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 by FOC algorithm the working current that moves a servomotor again, export corresponding control signal to IGBT intelligent power driver module through the three-phase PWM output unit two of CPU again, drive and move a servomotor; Described batching stepper motor driver element comprises controls power supply, the supervision of stepper motor working power and dual H-bridge driving circuit; The 5V out-put supply of Switching Power Supply connects dual H-bridge control circuit; CPU provides current needed speed, torque and direction signal to dual H-bridge control circuit, worked by 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, to CPU, is provided and is reported to the police and guard signal by CPU; Described secondary batching alternating current generator driver element and Yarn feeder alternating current generator driver element are operatively connected to CPU, ~ 220V AC power zero cross detection circuit provides phase-locking signal to CPU, and CPU realizes secondary batching alternating current generator, the shutdown of left and right Yarn feeder alternating current generator, the control of speed according to this signal controlling bidirectional triode thyristor; Meanwhile, the phase-locking signal that CPU also provides according to this zero cross detection circuit judges that whether outside is power-off, carries out the preservation of power-off data; 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; I/O interface connects outside each sensor, and debugging interface is for producing debugging and offline debugger work use, and expansion interface is later Function Extension use, and 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 control of left and right Yarn feeder alternating current generator and the detection of external sensor; Computerized flat knitting machine special purpose driver described in described operating case control; Operating case is system operation core, the control of input, editor, management and the run action judgement of supervision, motion test, the motion file of system interface, system works is provided, and completes respective action by head control box; Described head control box comprises Power conversion board and head control drive plate, and the correspondence being sended over by CAN communication by operating case drives the action naming of head, and it is respective action by 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 complete the action of corresponding braided fabric.The present invention, after system boot, powered for operating case by described Computerized flat knitting machine special purpose driver, Computerized flat knitting machine special purpose driver starts self-inspection, after System self-test is normal, waits for user's operation, user pulls startup handle, detect and tell operating case by CAN communication by Computerized flat knitting machine special purpose driver, after operating case judges, tell Computerized flat knitting machine special purpose driver and head control box by CAN communication again, allow straight-bar machines start 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 starts, initialization I/O and CAN communication, after judgement has master routine and primary power normally, initialization timing device, after normal by FOC initiation parameter, by CAN communication command, control main servo motor, move a servomotor, batching stepper motor, the action of left and right Yarn feeder alternating current generator; Realize external fault detection, busbar voltage detection, system temperature detection, button detection and stepper motor working current detects simultaneously.
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 just complicated a little point of structure, but also simple than existing disclosed technical scheme.