Has the continuous knitting equipment of function of knitting of outage
Technical field
The utility model relates to the knitting equipment field, specifically is a kind of continuous knitting equipment of function of knitting of outage that has.
Background technology
Knitting equipment refers to small-sized light industry and machinery such as hosiery machine, straight-bar machines, a kind of by servo or variable-frequency motor drive, according to the requirement of flower type and the position of machine turns, control the machine that electromagnetic valve, motor, piezoelectric ceramics or coil type needle selection device and other output equipments are finished knitting.In use, owing to the restriction of condition of power supply, the situation of sudden power can appear unavoidably at work, and traditional knitting equipment is the continuous function of knitting of outage not, when restoring electricity after powering-off state takes place, the woven textiles of interruption need be taken off to restart usually and weave.Thereby because outage has normally caused very big waste in the program of weaving to factory.
The utility model content
The technical problems to be solved in the utility model is that a kind of continuous knitting equipment of function of knitting of outage that has is provided.
Technical solution of the present utility model provides following a kind of continuous knitting equipment of function of knitting of outage that has, comprise microprocessor, also comprise outage detection module, continued power module and nonvolatile memory, described continued power module is electrically connected with outage detection module and microprocessor as the power supply input, and nonvolatile memory is connected with microprocessor.
After adopting above scheme, outage when taking place in the utility model, the continued power module is powered to each module, the outage detection module detect power-off signal take place and input to microprocessor and will cut off the power supply the time equipment each operating status record and be stored in the nonvolatile memory, after treating service restoration, microprocessor will be stored in that equipment working state in the nonvolatile memory reads and with the state of device initialize before for outage, thereby realize the continuous function of knitting of outage.
As preferably, described outage detection module has following circuit, comprise first divider resistance, the 3rd divider resistance, photoelectrical coupler, second divider resistance, electric capacity, the alternating current input respectively with first divider resistance, one end of the 3rd divider resistance connects, first divider resistance is in parallel with the 3rd divider resistance, the two ends of the 3rd divider resistance connect respectively photoelectrical coupler input the 1st pin and the 2nd pin, photoelectrical coupler the 4th pin ground connection, the 3rd pin of photoelectrical coupler connects an end of second divider resistance, the other end of second divider resistance connects power supply, and electric capacity is connected in parallel on the 3rd pin and the 4th pin of photoelectrical coupler.This preferred version utilizes three resistance, a photoelectrical coupler and an electric capacity can finish outage detection, and circuit structure is simple, and cost is lower, utilizes photoelectrical coupler to detect AC signal, and is safe and reliable.
As preferably, described nonvolatile memory is located at microprocessor internal.This preferred version is a kind of embodiment of standard, and processor inside is provided with nonvolatile memory, is convenient to implement.
As preferably, described nonvolatile memory is connected on the microprocessor outward.This preferred version is applicable to bigger knitting equipment, and control program is comparatively complicated, needs the situation of jumbo nonvolatile memory.
Description of drawings
Fig. 1 the utlity model has the circuit control structure schematic diagram that outage continues the embodiment one of the knitting equipment of knitting function.
Fig. 2 the utlity model has the circuit control structure schematic diagram that outage continues the embodiment two of the knitting equipment of knitting function.
Fig. 3 is an outage detection modular circuit schematic diagram.
Shown in the figure:
1, microprocessor, 2, the outage detection module, 3, the continued power module, 4, nonvolatile memory.
The specific embodiment
The specific embodiment of the present utility model is described in detail the technical solution of the utility model for better illustrating below in conjunction with accompanying drawing.
Embodiment one:
As shown in accompanying drawing 1, a kind of have a continuous knitting equipment of function of knitting of outage, comprise microprocessor 1, also comprise outage detection module 2, continued power module 3 and nonvolatile memory 4, described continued power module 3 is electrically connected with outage detection module 2 and microprocessor 1 as the power supply input, nonvolatile memory 4 is connected with microprocessor 1, described outage detection module 2 has following circuit, comprise the first divider resistance R1, the 3rd divider resistance R3, photoelectrical coupler OPT, the second divider resistance R2, capacitor C 1, the alternating current input respectively with the first divider resistance R1, the end of the 3rd divider resistance R3 connects, the first divider resistance R1 is in parallel with the 3rd divider resistance R3, the two ends of the 3rd divider resistance R3 connect input the 1st pin and the 2nd pin of the OPT of photoelectrical coupler respectively, the 4th pin ground connection of the OPT of photoelectrical coupler, OPT the 3rd pin of photoelectrical coupler connects the end of the second divider resistance R2, the other end of the second divider resistance R2 connects power Vcc, capacitor C 1 is connected in parallel on OPT the 3rd pin and the 4th pin of photoelectrical coupler, and described nonvolatile memory 4 is located at microprocessor 1 inside.
Embodiment two:
As shown in accompanying drawing 1, a kind of have a continuous knitting equipment of function of knitting of outage, comprise microprocessor 1, also comprise outage detection module 2, continued power module 3 and nonvolatile memory 4, described continued power module 3 is electrically connected with outage detection module 2 and microprocessor 1 as the power supply input, nonvolatile memory 4 is connected with microprocessor 1, described outage detection module 2 has following circuit, comprise the first divider resistance R1, the 3rd divider resistance R3, photoelectrical coupler OPT, the second divider resistance R2, capacitor C 1, the alternating current input respectively with the first divider resistance R1, the end of the 3rd divider resistance R3 connects, the first divider resistance R1 is in parallel with the 3rd divider resistance R3, the two ends of the 3rd divider resistance R3 connect input the 1st pin and the 2nd pin of the OPT of photoelectrical coupler respectively, the 4th pin ground connection of the OPT of photoelectrical coupler, OPT the 3rd pin of photoelectrical coupler connects the end of the second divider resistance R2, the other end of the second divider resistance R2 connects power Vcc, capacitor C 1 is connected in parallel on OPT the 3rd pin and the 4th pin of photoelectrical coupler, described nonvolatile memory 4 outer being connected on the microprocessor 1.
In the above-described embodiments, a kind of preferred forms of the utility model is described, obviously, under inventive concept of the present utility model, still can be made a lot of changes and improvements, power failure detection circuit as described also can adopt the circuit of other versions.At this, should illustrate that any change of being made all will fall in the protection domain of the present utility model under inventive concept of the present utility model.